swagger.yaml 775 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794
  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.MyPerformanc:
  11262. properties:
  11263. accountname:
  11264. description: useraccount
  11265. type: string
  11266. amount:
  11267. description: 履约金额
  11268. type: number
  11269. buyerfreezeamount:
  11270. description: 买方履约前冻结资金
  11271. type: number
  11272. buyerfreezeamountremain:
  11273. description: 买方履约前冻结资金剩余
  11274. type: number
  11275. buyerinfo:
  11276. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11277. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11278. type: string
  11279. buyorsell:
  11280. description: 方向 - 0:买 1:卖
  11281. type: integer
  11282. buypaidamount:
  11283. description: 买方已冻/已扣金额
  11284. type: number
  11285. curstepid:
  11286. description: 当前步骤ID
  11287. type: string
  11288. overshortamount:
  11289. description: 溢短金额
  11290. type: number
  11291. paymenttype:
  11292. description: 买方支付方式 - 1:冻结 2:扣款
  11293. type: integer
  11294. performanceplanid:
  11295. description: PerformancePlan
  11296. type: string
  11297. performancestatus:
  11298. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11299. 9:超时待处理 10:超时关闭
  11300. type: integer
  11301. price:
  11302. description: 价格
  11303. type: number
  11304. priceper:
  11305. description: 克拉单价
  11306. type: string
  11307. relatedorderid:
  11308. description: 关联单号(履约类型的关联单号)
  11309. type: string
  11310. sellerfreezeamount:
  11311. description: 卖方履约前冻结资金
  11312. type: number
  11313. sellerfreezeamountremain:
  11314. description: 卖方履约前冻结资金剩余
  11315. type: number
  11316. sellerinfo:
  11317. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11318. "xxxxxxxx"}'
  11319. type: string
  11320. sellreceivedamount:
  11321. description: 卖方已收金额
  11322. type: number
  11323. sizedisplay:
  11324. description: 尺寸
  11325. type: string
  11326. steptypeid:
  11327. description: PerformanceStep
  11328. type: integer
  11329. warehousenamedisplay:
  11330. type: string
  11331. zscategorydisplay:
  11332. type: string
  11333. zscerttypedisplay:
  11334. type: string
  11335. zsclaritytype1display:
  11336. type: string
  11337. zsclaritytype2display:
  11338. type: string
  11339. zscolortype1display:
  11340. type: string
  11341. zscolortype2display:
  11342. type: string
  11343. zscrystaltypedisplay:
  11344. type: string
  11345. zscurrencytypedisplay:
  11346. type: string
  11347. zscurrencytypedisplayunit:
  11348. type: string
  11349. zscuttype1display:
  11350. type: string
  11351. zscuttype2display:
  11352. type: string
  11353. zsczcolor1typedisplay:
  11354. type: string
  11355. zsczcolor2typedisplay:
  11356. type: string
  11357. zsczcolor3typedisplay:
  11358. type: string
  11359. zsfluorescencetype1display:
  11360. type: string
  11361. zsfluorescencetype2display:
  11362. type: string
  11363. zspolishtype1display:
  11364. type: string
  11365. zspolishtype2display:
  11366. type: string
  11367. zsshapetypedisplay:
  11368. type: string
  11369. zsstyletypedisplay:
  11370. type: string
  11371. zssymmetrytype1display:
  11372. type: string
  11373. zssymmetrytype2display:
  11374. type: string
  11375. type: object
  11376. models.MySellOrder:
  11377. properties:
  11378. accountid:
  11379. description: 资金账号
  11380. type: integer
  11381. applyid:
  11382. description: 申请单ID
  11383. type: integer
  11384. attachment1:
  11385. description: 附件1
  11386. type: string
  11387. attachment2:
  11388. description: 附件2
  11389. type: string
  11390. buyorsell:
  11391. description: 买卖 - 0:买 1:卖
  11392. type: integer
  11393. canbargain:
  11394. description: 是否可议价 - 0:不可 1:可
  11395. type: integer
  11396. cancelqty:
  11397. description: 撤销数量
  11398. type: integer
  11399. canceltime:
  11400. description: 撤销时间
  11401. type: string
  11402. cerno:
  11403. type: string
  11404. chargealgorithm:
  11405. description: 手续费收取方式 1:比率 2:固定
  11406. type: integer
  11407. chargealgorithmvalue:
  11408. description: 手续费设置值(交易所部分)
  11409. type: number
  11410. chargealgorithmvalue2:
  11411. description: 手续费设置值(会员部分)
  11412. type: number
  11413. clientordertime:
  11414. description: 客户端委托时间
  11415. type: string
  11416. cpcertno:
  11417. type: string
  11418. exchangerate:
  11419. description: 汇率[67]
  11420. type: number
  11421. firstratio:
  11422. description: 首付比率 - [挂牌时指定,摘牌时使用]
  11423. type: number
  11424. fixedprice:
  11425. description: '[克拉单价]固定价格 - [挂牌]'
  11426. type: number
  11427. freezecharge:
  11428. description: 冻结手续费
  11429. type: number
  11430. freezefirstamount:
  11431. description: 冻结首付金额 - [摘牌]
  11432. type: number
  11433. freezemargin:
  11434. description: 冻结保证金
  11435. type: number
  11436. goodsno:
  11437. description: 商品编号
  11438. type: string
  11439. imagepath:
  11440. type: string
  11441. isspecified:
  11442. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  11443. type: integer
  11444. kppath:
  11445. type: string
  11446. kpweight:
  11447. type: string
  11448. marginalgorithm:
  11449. description: 保证金方式 - 1:比率 2:固定
  11450. type: integer
  11451. marginvalue:
  11452. description: 保证金设置值
  11453. type: number
  11454. marketid:
  11455. description: 市场ID
  11456. type: integer
  11457. marketprice:
  11458. type: string
  11459. orderamount:
  11460. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  11461. type: number
  11462. ordertime:
  11463. description: 委托时间
  11464. type: string
  11465. performancetemplateid:
  11466. description: 履约计划模板ID
  11467. type: integer
  11468. price:
  11469. description: 价格
  11470. type: number
  11471. pricefactor:
  11472. description: 价格系数(浮动价时填写) - [挂牌]
  11473. type: number
  11474. pricemove:
  11475. description: 升贴水(浮动价时填写) - [挂牌]
  11476. type: number
  11477. priceper:
  11478. type: string
  11479. relatedwrtradeorderid:
  11480. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  11481. type: integer
  11482. remark:
  11483. type: string
  11484. retcode:
  11485. description: 错误代码
  11486. type: integer
  11487. selledqty:
  11488. description: 成交重量
  11489. type: number
  11490. settingmaterial:
  11491. type: string
  11492. size1:
  11493. type: string
  11494. size2:
  11495. type: string
  11496. size3:
  11497. type: string
  11498. stonedesc:
  11499. type: string
  11500. totalqty:
  11501. description: 总重量
  11502. type: number
  11503. tradedate:
  11504. description: 交易日(yyyyMMdd)
  11505. type: string
  11506. tradeprice:
  11507. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  11508. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  11509. type: number
  11510. unfreezecharge:
  11511. description: 解冻手续费
  11512. type: number
  11513. unfreezefirstamount:
  11514. description: 解冻首付金额 - [摘牌]
  11515. type: number
  11516. unfreezemargin:
  11517. description: 解冻保证金
  11518. type: number
  11519. userid:
  11520. description: 用户ID
  11521. type: integer
  11522. uuid:
  11523. description: 发起端唯一id
  11524. type: string
  11525. validtime:
  11526. description: 有效期限
  11527. type: string
  11528. validtype:
  11529. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  11530. type: integer
  11531. warehousenamedisplay:
  11532. type: string
  11533. wrbargainid:
  11534. description: 议价申请单ID
  11535. type: integer
  11536. wrfactortypeid:
  11537. description: 仓单要素类型ID/商品ID(77)
  11538. type: integer
  11539. wrpath:
  11540. type: string
  11541. wrpricetype:
  11542. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  11543. type: integer
  11544. wrstandardid:
  11545. description: 现货商品ID
  11546. type: integer
  11547. wrtradeorderid:
  11548. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11549. type: string
  11550. wrtradeorderstatus:
  11551. 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:撤单解冻贷款失败
  11552. type: integer
  11553. wrtradetype:
  11554. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  11555. type: integer
  11556. wrtransferuserid:
  11557. description: 仓单受让用户 - [摘牌]
  11558. type: integer
  11559. zscategory:
  11560. description: 钻石分类 - 枚举”ZSCategory“
  11561. type: integer
  11562. zscategorydisplay:
  11563. description: 钻石分类 - 描述
  11564. type: string
  11565. zscerttypedisplay:
  11566. type: string
  11567. zsclaritytype1display:
  11568. type: string
  11569. zsclaritytype2display:
  11570. type: string
  11571. zscolortype1display:
  11572. type: string
  11573. zscolortype2display:
  11574. type: string
  11575. zscrystaltype:
  11576. type: string
  11577. zscrystaltypedisplay:
  11578. type: string
  11579. zscurrencytype:
  11580. description: 货币类型 - 枚举“ZSCurrencyType”
  11581. type: integer
  11582. zscurrencytypedisplay:
  11583. type: string
  11584. zscurrencytypedisplayunit:
  11585. type: string
  11586. zscuttype1display:
  11587. type: string
  11588. zscuttype2display:
  11589. type: string
  11590. zsczcolor1typedisplay:
  11591. type: string
  11592. zsczcolor2typedisplay:
  11593. type: string
  11594. zsczcolor3typedisplay:
  11595. type: string
  11596. zsfluorescencetype1display:
  11597. type: string
  11598. zsfluorescencetype2display:
  11599. type: string
  11600. zspolishtype1display:
  11601. type: string
  11602. zspolishtype2display:
  11603. type: string
  11604. zsshapetypedisplay:
  11605. type: string
  11606. zsstyletypedisplay:
  11607. type: string
  11608. zssymmetrytype1display:
  11609. type: string
  11610. zssymmetrytype2display:
  11611. type: string
  11612. required:
  11613. - userid
  11614. type: object
  11615. models.MyWRPosition:
  11616. properties:
  11617. cerno:
  11618. description: 证书编号 - 类型:2,4,5
  11619. type: string
  11620. cpcertno:
  11621. description: 金伯利证书编号 - 类型:3
  11622. type: string
  11623. ffreezeqty:
  11624. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  11625. type: number
  11626. ftotalqty:
  11627. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  11628. type: number
  11629. goodsno:
  11630. description: 商品编号
  11631. type: string
  11632. imagepath:
  11633. description: 商品照片(相对地址)
  11634. type: string
  11635. isvalid:
  11636. description: 是否有效 - 0:无效 1:有效
  11637. type: integer
  11638. kppath:
  11639. description: 金伯利证书图片(相对地址) - 类型:3
  11640. type: string
  11641. kpweight:
  11642. description: 金伯利证书重量 - 类型:3
  11643. type: string
  11644. ladingbillid:
  11645. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  11646. type: string
  11647. marketflag:
  11648. description: 是否上架,0-全部 1-是 2-否
  11649. type: integer
  11650. marketprice:
  11651. description: 市场价
  11652. type: string
  11653. origin:
  11654. description: 原产地 - 类型:3
  11655. type: string
  11656. price:
  11657. description: 总价(价格) - 类型:1,2,3,4,5
  11658. type: number
  11659. priceper:
  11660. description: 克拉单价 - 类型:1,2,3,5
  11661. type: string
  11662. remark:
  11663. description: 备注
  11664. type: string
  11665. sellmobile:
  11666. description: 手机号码(加密存储)
  11667. type: string
  11668. sellusername:
  11669. description: 账户名称(机构名称)
  11670. type: string
  11671. settingmaterial:
  11672. description: 镶嵌材料 - 类型:4
  11673. type: string
  11674. size1:
  11675. description: 尺寸1 - 类型:2,4,5
  11676. type: string
  11677. size2:
  11678. description: 尺寸2 - 类型:2,4,5
  11679. type: string
  11680. size3:
  11681. description: 尺寸3 - 类型:2,4,5
  11682. type: string
  11683. stonedesc:
  11684. description: 配石描述 - 类型:4
  11685. type: string
  11686. subnum:
  11687. description: 提单子单号
  11688. type: integer
  11689. userid:
  11690. description: 用户ID
  11691. type: integer
  11692. warehouseid:
  11693. description: 仓库ID
  11694. type: integer
  11695. warehousenamedisplay:
  11696. type: string
  11697. weight:
  11698. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11699. type: number
  11700. weightavg:
  11701. description: 平均单颗重量 - 类型:1,3
  11702. type: number
  11703. wrpath:
  11704. description: 仓单扫描件(相对地址)
  11705. type: string
  11706. wrstandardid:
  11707. description: 现货商品ID
  11708. type: integer
  11709. wrtradeorderid:
  11710. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11711. type: string
  11712. wruserid:
  11713. description: 登录用户ID
  11714. type: integer
  11715. zscategory:
  11716. description: 钻石分类 - 枚举”ZSCategory“
  11717. type: integer
  11718. zscategorydisplay:
  11719. type: string
  11720. zscerttype:
  11721. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  11722. type: integer
  11723. zscerttypedisplay:
  11724. type: string
  11725. zsclaritytype1:
  11726. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  11727. type: integer
  11728. zsclaritytype1display:
  11729. type: string
  11730. zsclaritytype2:
  11731. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  11732. type: integer
  11733. zsclaritytype2display:
  11734. type: string
  11735. zscolortype1:
  11736. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  11737. type: integer
  11738. zscolortype1display:
  11739. type: string
  11740. zscolortype2:
  11741. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  11742. type: integer
  11743. zscolortype2display:
  11744. type: string
  11745. zscrystaltype:
  11746. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  11747. type: string
  11748. zscrystaltypedisplay:
  11749. type: string
  11750. zscurrencytype:
  11751. description: 货币类型 - 枚举“ZSCurrencyType”
  11752. type: integer
  11753. zscurrencytypedisplay:
  11754. type: string
  11755. zscurrencytypedisplayunit:
  11756. type: string
  11757. zscuttype1:
  11758. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  11759. type: integer
  11760. zscuttype1display:
  11761. type: string
  11762. zscuttype2:
  11763. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  11764. type: integer
  11765. zscuttype2display:
  11766. type: string
  11767. zsczcolor1type:
  11768. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  11769. type: integer
  11770. zsczcolor1typedisplay:
  11771. type: string
  11772. zsczcolor2type:
  11773. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  11774. type: integer
  11775. zsczcolor2typedisplay:
  11776. type: string
  11777. zsczcolor3type:
  11778. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  11779. type: integer
  11780. zsczcolor3typedisplay:
  11781. type: string
  11782. zsfluorescencetype1:
  11783. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  11784. type: integer
  11785. zsfluorescencetype1display:
  11786. type: string
  11787. zsfluorescencetype2:
  11788. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  11789. type: integer
  11790. zsfluorescencetype2display:
  11791. type: string
  11792. zspolishtype1:
  11793. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  11794. type: integer
  11795. zspolishtype1display:
  11796. type: string
  11797. zspolishtype2:
  11798. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  11799. type: integer
  11800. zspolishtype2display:
  11801. type: string
  11802. zsshapetype:
  11803. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  11804. type: string
  11805. zsshapetypedisplay:
  11806. type: string
  11807. zsstyletype:
  11808. description: 款式 - 类型:4
  11809. type: integer
  11810. zsstyletypedisplay:
  11811. type: string
  11812. zssymmetrytype1:
  11813. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  11814. type: integer
  11815. zssymmetrytype1display:
  11816. type: string
  11817. zssymmetrytype2:
  11818. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  11819. type: integer
  11820. zssymmetrytype2display:
  11821. type: string
  11822. required:
  11823. - wruserid
  11824. type: object
  11825. models.NewFuncmenulist:
  11826. properties:
  11827. authtype:
  11828. description: 权限类型 - 1:菜单 2:组件 3:按钮
  11829. type: integer
  11830. buttonname:
  11831. description: 按钮名称
  11832. type: string
  11833. buttontype:
  11834. description: 按钮类型 - 存按钮样式
  11835. type: string
  11836. component:
  11837. description: 组件名或组件地址
  11838. type: string
  11839. hidden:
  11840. description: 是否隐藏 - 0:显示 1:隐藏
  11841. type: integer
  11842. iconame:
  11843. description: 菜单图标
  11844. type: string
  11845. menutype:
  11846. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  11847. type: integer
  11848. parentcode:
  11849. description: 上级资源代码
  11850. type: string
  11851. remark:
  11852. description: Remark
  11853. type: string
  11854. resourcecode:
  11855. description: 资源代码
  11856. type: string
  11857. resourcelevel:
  11858. description: 级别1-一级 2-二级 3-三级4-四级
  11859. type: integer
  11860. resourcename:
  11861. description: 资源名(Title)
  11862. type: string
  11863. sort:
  11864. description: 排序
  11865. type: integer
  11866. url:
  11867. description: Url
  11868. type: string
  11869. urltype:
  11870. description: 地址类型 - 1:路由 2:外链 3:内联框架
  11871. type: integer
  11872. required:
  11873. - resourcecode
  11874. type: object
  11875. models.OperationPrimaryMenu:
  11876. properties:
  11877. Children:
  11878. description: 二级功能菜单
  11879. items:
  11880. $ref: '#/definitions/models.OperationSecondaryMenu'
  11881. type: array
  11882. Key:
  11883. description: 菜单KEY
  11884. type: string
  11885. Label:
  11886. description: 菜单标题
  11887. type: string
  11888. type: object
  11889. models.OperationSecondaryMenu:
  11890. properties:
  11891. Key:
  11892. description: 菜单KEY
  11893. type: string
  11894. Label:
  11895. description: 菜单标题
  11896. type: string
  11897. TabList:
  11898. description: 三级功能菜单
  11899. items:
  11900. $ref: '#/definitions/models.OperationTabMenu'
  11901. type: array
  11902. type: object
  11903. models.OperationTabMenu:
  11904. properties:
  11905. Key:
  11906. description: 菜单KEY
  11907. type: string
  11908. Label:
  11909. description: 菜单标题
  11910. type: string
  11911. type: object
  11912. models.Patradelinkdetail:
  11913. properties:
  11914. accountname:
  11915. description: 套期主体
  11916. type: string
  11917. agreeunit:
  11918. description: 合约乘数
  11919. type: number
  11920. amount:
  11921. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11922. type: number
  11923. areauserid:
  11924. description: 所属机构
  11925. type: integer
  11926. bizsubjectid:
  11927. description: 归属业务部门ID - SubjectID
  11928. type: integer
  11929. buyorsell:
  11930. description: 方向 - 0:买 1:卖
  11931. type: integer
  11932. convertratio:
  11933. description: 品种系数
  11934. type: number
  11935. convertratiochange:
  11936. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11937. type: number
  11938. createtime:
  11939. description: '[日期时间]创建时间'
  11940. type: string
  11941. creatorid:
  11942. description: 创建人ID
  11943. type: integer
  11944. creatorsrc:
  11945. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11946. type: integer
  11947. goodscode:
  11948. description: 商品代码(内部)
  11949. type: string
  11950. goodsgroupid:
  11951. description: 对冲品种ID[期货合约商品组ID]
  11952. type: integer
  11953. goodsid:
  11954. description: 商品ID
  11955. type: integer
  11956. hedgeditemid:
  11957. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11958. type: integer
  11959. hedgeflag:
  11960. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11961. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11962. type: integer
  11963. linkdetailid:
  11964. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11965. type: string
  11966. linkstatus:
  11967. description: 关联状态 - 1:成功 2:失败 3:解绑
  11968. type: integer
  11969. middlegoodsid:
  11970. description: 套保品种ID
  11971. type: integer
  11972. name:
  11973. description: 账户名/子账户
  11974. type: string
  11975. optioncode:
  11976. description: '[期货合约]期权代码 [期权]'
  11977. type: string
  11978. ordertype:
  11979. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11980. type: integer
  11981. relatedlot:
  11982. description: '[数量]关联手数'
  11983. type: number
  11984. relatedmode:
  11985. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11986. type: integer
  11987. relatedqty:
  11988. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11989. type: number
  11990. retcode:
  11991. description: 返回码
  11992. type: integer
  11993. saleuserid:
  11994. description: 业务员ID
  11995. type: integer
  11996. tradedate:
  11997. description: 关联交易日(yyyyMMdd)
  11998. type: string
  11999. tradeid:
  12000. description: '[成交单号]内部成交单ID'
  12001. type: string
  12002. tradelot:
  12003. description: 成交手数
  12004. type: integer
  12005. tradeprice:
  12006. description: '[价格]成交价格'
  12007. type: number
  12008. tradetradedate:
  12009. description: 成交交易日(yyyyMMdd)
  12010. type: string
  12011. type: object
  12012. models.QueryErrorInfosRsp:
  12013. properties:
  12014. description:
  12015. description: 异常描述
  12016. type: string
  12017. errorcode:
  12018. description: 异常代码
  12019. type: string
  12020. errorid:
  12021. description: 异常ID
  12022. type: integer
  12023. modulecode:
  12024. description: 所属模块
  12025. type: string
  12026. operatecode:
  12027. description: 所属操作
  12028. type: string
  12029. rownumber:
  12030. description: 行号
  12031. type: string
  12032. required:
  12033. - errorid
  12034. type: object
  12035. models.QueryHedgeOrderDetailRsp:
  12036. properties:
  12037. accountid:
  12038. description: 账户ID
  12039. type: integer
  12040. buyorsell:
  12041. description: 买卖 - 0:买 1:卖
  12042. type: integer
  12043. cancellogincode:
  12044. description: 撤单人
  12045. type: string
  12046. channelbuildtype:
  12047. description: 开平标志 - 0:无 1:建仓 2:平仓
  12048. type: integer
  12049. channelinnerorderstatus:
  12050. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12051. 9:全部成交
  12052. type: integer
  12053. channeloperatetype:
  12054. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12055. type: integer
  12056. closetype:
  12057. description: 平仓方式 - 0:无 1:平今 2:平昨
  12058. type: integer
  12059. curexchangerate:
  12060. description: 当前汇率
  12061. type: number
  12062. decimalplace:
  12063. description: 商品报价小数位
  12064. type: integer
  12065. exchangefullname:
  12066. description: 外部交易所全称
  12067. type: string
  12068. goodscode:
  12069. description: 商品代码(内部)
  12070. type: string
  12071. goodsid:
  12072. description: 商品ID
  12073. type: integer
  12074. goodsname:
  12075. description: 商品名称
  12076. type: string
  12077. marketid:
  12078. description: 市场ID
  12079. type: integer
  12080. openfreezemargin:
  12081. description: 冻结保证金(冻结交易金额)
  12082. type: number
  12083. orderid:
  12084. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12085. type: string
  12086. orderlogincode:
  12087. description: 委托人
  12088. type: string
  12089. orderprice:
  12090. description: 委托价格(账户)
  12091. type: number
  12092. orderqty:
  12093. description: 委托数量
  12094. type: integer
  12095. ordertime:
  12096. description: 委托时间
  12097. type: string
  12098. pricemode:
  12099. description: '取价方式 - 1:市价 2: 限价'
  12100. type: integer
  12101. tradedate:
  12102. description: 交易日(yyyyMMdd)
  12103. type: string
  12104. tradeqty:
  12105. description: 成交数量
  12106. type: integer
  12107. type: object
  12108. models.QueryHedgeTradeDetailRsp:
  12109. properties:
  12110. accountid:
  12111. description: 账号ID
  12112. type: integer
  12113. buyorsell:
  12114. description: 方向 - 0:买 1:卖
  12115. type: integer
  12116. channelbuildtype:
  12117. description: 委托单据类型 0:无 1:建仓 2:平仓
  12118. type: integer
  12119. closecharge:
  12120. description: 平仓手续费(账户)
  12121. type: number
  12122. closecharge2:
  12123. description: 平仓手续费(商品)
  12124. type: number
  12125. closepl:
  12126. description: 平仓盈亏(账户)
  12127. type: number
  12128. closepl2:
  12129. description: 平仓盈亏(商品)
  12130. type: number
  12131. closepl3:
  12132. description: 平仓盈亏(账户)(逐笔)
  12133. type: number
  12134. closepl4:
  12135. description: 平仓盈亏(商品)(逐笔)
  12136. type: number
  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. opencharge:
  12162. description: 建仓手续费(账户)
  12163. type: number
  12164. opencharge2:
  12165. description: 建仓手续费(商品)
  12166. type: number
  12167. orderid:
  12168. description: 委托单号
  12169. type: string
  12170. orderlogincode:
  12171. description: 委托人
  12172. type: string
  12173. tradeamount:
  12174. description: 成交金额(账户)
  12175. type: number
  12176. tradedate:
  12177. description: 交易日(yyyyMMdd)
  12178. type: string
  12179. tradeid:
  12180. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12181. type: string
  12182. tradeprice:
  12183. description: 成交价格
  12184. type: number
  12185. tradeqty:
  12186. description: 成交数量
  12187. type: integer
  12188. tradetime:
  12189. description: 成交时间
  12190. type: string
  12191. tradetype:
  12192. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12193. type: integer
  12194. type: object
  12195. models.QuotePrimaryMenu:
  12196. properties:
  12197. Index:
  12198. description: 序号
  12199. type: integer
  12200. Key:
  12201. description: 键名
  12202. type: string
  12203. Name:
  12204. description: 菜单名称
  12205. type: string
  12206. SubMenus:
  12207. description: 子菜单
  12208. items:
  12209. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12210. type: array
  12211. SubTitleType:
  12212. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12213. type: integer
  12214. TradeModes:
  12215. description: 包含市场交易类型
  12216. type: string
  12217. type: object
  12218. models.QuoteSecondaryMenu:
  12219. properties:
  12220. ExExchangeCode:
  12221. description: 外部交易所代码
  12222. type: string
  12223. ExExchangeID:
  12224. description: 外部交易所ID
  12225. type: integer
  12226. GoodsGroupIDs:
  12227. description: 商品组ID列表
  12228. items:
  12229. type: integer
  12230. type: array
  12231. Index:
  12232. description: 序号
  12233. type: integer
  12234. MarketID:
  12235. description: 市场ID
  12236. type: integer
  12237. MenuTitle:
  12238. description: 菜单标题(市场名称或外部交易所名称)
  12239. type: string
  12240. TradeMode:
  12241. description: 交易模式
  12242. type: integer
  12243. type: object
  12244. models.RelatedTaAccount:
  12245. properties:
  12246. accountid:
  12247. description: 资金账户ID
  12248. type: integer
  12249. type: object
  12250. models.RoleMenu:
  12251. properties:
  12252. hasright:
  12253. description: 是否有权限 0-没有权限 1-有权限
  12254. type: integer
  12255. iconame:
  12256. description: 菜单图标
  12257. type: string
  12258. menutype:
  12259. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12260. type: integer
  12261. parentcode:
  12262. description: 上级资源代码
  12263. type: string
  12264. remark:
  12265. description: 菜单备注
  12266. type: string
  12267. resourcecode:
  12268. description: 菜单代码
  12269. type: string
  12270. resourcelevel:
  12271. description: 级别
  12272. type: integer
  12273. resourcename:
  12274. description: 菜单名称
  12275. type: string
  12276. roleid:
  12277. description: 角色id
  12278. type: integer
  12279. sort:
  12280. description: 排序
  12281. type: integer
  12282. subMenu:
  12283. description: 子级菜单(结构同上层一样, swag解析不出来)
  12284. items:
  12285. $ref: '#/definitions/models.RoleMenu'
  12286. type: array
  12287. url:
  12288. description: URL
  12289. type: string
  12290. userid:
  12291. description: 用户id
  12292. type: integer
  12293. type: object
  12294. models.SearchGoods:
  12295. properties:
  12296. goodscode:
  12297. description: 商品代码(内部)
  12298. type: string
  12299. goodsid:
  12300. description: 商品ID(自增ID SEQ_GOODS)
  12301. type: integer
  12302. goodsname:
  12303. description: 商品名称
  12304. type: string
  12305. marketid:
  12306. description: 所属市场ID
  12307. type: integer
  12308. marketname:
  12309. description: 市场名称
  12310. type: string
  12311. trademode:
  12312. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12313. 21:竞拍-大宗式 22:受托竞价
  12314. type: integer
  12315. required:
  12316. - goodscode
  12317. - goodsid
  12318. - goodsname
  12319. - marketid
  12320. - trademode
  12321. type: object
  12322. models.SellOrder:
  12323. properties:
  12324. accountid:
  12325. description: 资金账号
  12326. type: integer
  12327. applyid:
  12328. description: 申请单ID
  12329. type: integer
  12330. attachment1:
  12331. description: 附件1
  12332. type: string
  12333. attachment2:
  12334. description: 附件2
  12335. type: string
  12336. buyorsell:
  12337. description: 买卖 - 0:买 1:卖
  12338. type: integer
  12339. canbargain:
  12340. description: 是否可议价 - 0:不可 1:可
  12341. type: integer
  12342. cancelqty:
  12343. description: 撤销数量
  12344. type: integer
  12345. canceltime:
  12346. description: 撤销时间
  12347. type: string
  12348. cerno:
  12349. type: string
  12350. chargealgorithm:
  12351. description: 手续费收取方式 1:比率 2:固定
  12352. type: integer
  12353. chargealgorithmvalue:
  12354. description: 手续费设置值(交易所部分)
  12355. type: number
  12356. chargealgorithmvalue2:
  12357. description: 手续费设置值(会员部分)
  12358. type: number
  12359. clientordertime:
  12360. description: 客户端委托时间
  12361. type: string
  12362. cpcertno:
  12363. type: string
  12364. exchangerate:
  12365. description: 汇率[67]
  12366. type: number
  12367. firstratio:
  12368. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12369. type: number
  12370. fixedprice:
  12371. description: '[克拉单价]固定价格 - [挂牌]'
  12372. type: number
  12373. freezecharge:
  12374. description: 冻结手续费
  12375. type: number
  12376. freezefirstamount:
  12377. description: 冻结首付金额 - [摘牌]
  12378. type: number
  12379. freezemargin:
  12380. description: 冻结保证金
  12381. type: number
  12382. goodsno:
  12383. description: 商品编号
  12384. type: string
  12385. imagepath:
  12386. type: string
  12387. isQueryDiamond:
  12388. description: 是否钻石查询
  12389. type: boolean
  12390. isspecified:
  12391. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12392. type: integer
  12393. kppath:
  12394. type: string
  12395. kpweight:
  12396. type: string
  12397. marginalgorithm:
  12398. description: 保证金方式 - 1:比率 2:固定
  12399. type: integer
  12400. marginvalue:
  12401. description: 保证金设置值
  12402. type: number
  12403. marketid:
  12404. description: 市场ID
  12405. type: integer
  12406. marketprice:
  12407. type: string
  12408. orderamount:
  12409. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12410. type: number
  12411. ordertime:
  12412. description: 委托时间
  12413. type: string
  12414. performancetemplateid:
  12415. description: 履约计划模板ID
  12416. type: integer
  12417. price:
  12418. description: 价格
  12419. type: number
  12420. pricefactor:
  12421. description: 价格系数(浮动价时填写) - [挂牌]
  12422. type: number
  12423. pricemove:
  12424. description: 升贴水(浮动价时填写) - [挂牌]
  12425. type: number
  12426. priceper:
  12427. type: string
  12428. relatedwrtradeorderid:
  12429. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12430. type: integer
  12431. remainqty:
  12432. description: 剩余重量
  12433. type: number
  12434. remark:
  12435. type: string
  12436. retcode:
  12437. description: 错误代码
  12438. type: integer
  12439. sellusername:
  12440. description: 卖方(查询字段-模糊查询)
  12441. type: string
  12442. settingmaterial:
  12443. type: string
  12444. size1:
  12445. type: string
  12446. size2:
  12447. type: string
  12448. size3:
  12449. type: string
  12450. sizedisplay:
  12451. description: 尺寸
  12452. type: string
  12453. stonedesc:
  12454. type: string
  12455. totalqty:
  12456. description: 总重量
  12457. type: number
  12458. tradedate:
  12459. description: 交易日(yyyyMMdd)
  12460. type: string
  12461. tradeprice:
  12462. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12463. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12464. type: number
  12465. unfreezecharge:
  12466. description: 解冻手续费
  12467. type: number
  12468. unfreezefirstamount:
  12469. description: 解冻首付金额 - [摘牌]
  12470. type: number
  12471. unfreezemargin:
  12472. description: 解冻保证金
  12473. type: number
  12474. userid:
  12475. description: 用户ID
  12476. type: integer
  12477. uuid:
  12478. description: 发起端唯一id
  12479. type: string
  12480. validtime:
  12481. description: 有效期限
  12482. type: string
  12483. validtype:
  12484. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12485. type: integer
  12486. warehousenamedisplay:
  12487. type: string
  12488. wrbargainid:
  12489. description: 议价申请单ID
  12490. type: integer
  12491. wrfactortypeid:
  12492. description: 仓单要素类型ID/商品ID(77)
  12493. type: integer
  12494. wrpath:
  12495. type: string
  12496. wrpricetype:
  12497. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12498. type: integer
  12499. wrstandardid:
  12500. description: 现货商品ID
  12501. type: integer
  12502. wrtradeorderid:
  12503. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12504. type: string
  12505. wrtradeorderstatus:
  12506. 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:撤单解冻贷款失败
  12507. type: integer
  12508. wrtradetype:
  12509. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12510. type: integer
  12511. wrtransferuserid:
  12512. description: 仓单受让用户 - [摘牌]
  12513. type: integer
  12514. zscategory:
  12515. description: 钻石分类 - 枚举”ZSCategory“
  12516. type: integer
  12517. zscategorydisplay:
  12518. description: 钻石分类 - 描述
  12519. type: string
  12520. zscerttypedisplay:
  12521. type: string
  12522. zsclaritytype1display:
  12523. type: string
  12524. zsclaritytype2display:
  12525. type: string
  12526. zscolortype1display:
  12527. type: string
  12528. zscolortype2display:
  12529. type: string
  12530. zscrystaltype:
  12531. type: string
  12532. zscrystaltypedisplay:
  12533. type: string
  12534. zscurrencytype:
  12535. description: 货币类型 - 枚举“ZSCurrencyType”
  12536. type: integer
  12537. zscurrencytypedisplay:
  12538. type: string
  12539. zscurrencytypedisplayunit:
  12540. type: string
  12541. zscuttype1display:
  12542. type: string
  12543. zscuttype2display:
  12544. type: string
  12545. zsczcolor1typedisplay:
  12546. type: string
  12547. zsczcolor2typedisplay:
  12548. type: string
  12549. zsczcolor3typedisplay:
  12550. type: string
  12551. zsfluorescencetype1display:
  12552. type: string
  12553. zsfluorescencetype2display:
  12554. type: string
  12555. zspolishtype1display:
  12556. type: string
  12557. zspolishtype2display:
  12558. type: string
  12559. zsshapetypedisplay:
  12560. type: string
  12561. zsstyletypedisplay:
  12562. type: string
  12563. zssymmetrytype1display:
  12564. type: string
  12565. zssymmetrytype2display:
  12566. type: string
  12567. type: object
  12568. models.SellOrderQueryReq:
  12569. properties:
  12570. origin:
  12571. description: 原产地
  12572. type: string
  12573. page:
  12574. description: 页码
  12575. type: integer
  12576. pagesize:
  12577. description: 每页大小
  12578. type: integer
  12579. total:
  12580. description: 总条数
  12581. type: integer
  12582. warehouseid:
  12583. description: 仓库ID
  12584. type: integer
  12585. weight1:
  12586. description: 总重量(克拉重量)-从
  12587. type: number
  12588. weight2:
  12589. description: 总重量(克拉重量)-至
  12590. type: number
  12591. weightavg1:
  12592. description: 平均单颗重量-从
  12593. type: number
  12594. weightavg2:
  12595. description: 平均单颗重量-至
  12596. type: number
  12597. zscategory:
  12598. description: 钻石分类 - 枚举”ZSCategory“
  12599. type: integer
  12600. zscerttype:
  12601. description: 证书类型
  12602. items:
  12603. type: string
  12604. type: array
  12605. zsclaritytype:
  12606. description: 净度
  12607. items:
  12608. type: integer
  12609. type: array
  12610. zscolortype:
  12611. description: 颜色
  12612. items:
  12613. type: integer
  12614. type: array
  12615. zscurrencytype:
  12616. description: 货币类型 - 枚举“ZSCurrencyType”
  12617. items:
  12618. type: string
  12619. type: array
  12620. zscuttype:
  12621. description: 切工
  12622. items:
  12623. type: integer
  12624. type: array
  12625. zsczcolor1type:
  12626. description: 彩钻颜色1
  12627. items:
  12628. type: string
  12629. type: array
  12630. zsfluorescencetype:
  12631. description: 荧光
  12632. items:
  12633. type: integer
  12634. type: array
  12635. zspolishtype:
  12636. description: 抛光度
  12637. items:
  12638. type: integer
  12639. type: array
  12640. zsshapetype:
  12641. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12642. items:
  12643. type: string
  12644. type: array
  12645. zsstyletype:
  12646. description: 款式
  12647. items:
  12648. type: string
  12649. type: array
  12650. zssymmetrytype:
  12651. description: 对称度
  12652. items:
  12653. type: integer
  12654. type: array
  12655. required:
  12656. - zscategory
  12657. type: object
  12658. models.Systemparam:
  12659. properties:
  12660. loginid:
  12661. description: 更新用户账号,登录账号
  12662. type: string
  12663. modifyflag:
  12664. description: 修改标志0 不允许修改 1 允许修改
  12665. type: integer
  12666. paramcode:
  12667. description: 参数代码
  12668. type: string
  12669. paramname:
  12670. description: 参数名
  12671. type: string
  12672. paramtype:
  12673. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12674. type: integer
  12675. paramvalue:
  12676. description: 参数值
  12677. type: string
  12678. paramvalue2:
  12679. description: 参数值(CLOB)
  12680. type: string
  12681. regexpress:
  12682. description: 正则表达式
  12683. type: string
  12684. remark:
  12685. description: 备注
  12686. type: string
  12687. serverip:
  12688. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12689. type: string
  12690. showflag:
  12691. description: 是否显示0 不显示 1 显示
  12692. type: integer
  12693. updatetime:
  12694. description: 更新时间
  12695. type: string
  12696. userid:
  12697. description: 更新用户ID
  12698. type: integer
  12699. required:
  12700. - paramcode
  12701. type: object
  12702. models.Szdz3convertconfig:
  12703. properties:
  12704. canin:
  12705. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12706. type: integer
  12707. canout:
  12708. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12709. type: integer
  12710. converttype:
  12711. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12712. 6:交易转花生米(不设置)
  12713. type: integer
  12714. createtime:
  12715. description: 创建时间
  12716. type: string
  12717. creatorid:
  12718. description: 创建人
  12719. type: integer
  12720. daymaxvalue:
  12721. description: 当日最大转入限制
  12722. type: number
  12723. freezedays:
  12724. description: 冻结天数 [5:花生米转交易]
  12725. type: integer
  12726. innergoodsid:
  12727. description: 内部商品ID[交易]
  12728. type: integer
  12729. inratio:
  12730. description: 目标值
  12731. type: integer
  12732. modifierid:
  12733. description: 修改人
  12734. type: integer
  12735. modifytime:
  12736. description: 修改时间
  12737. type: string
  12738. outergoodscode:
  12739. description: 外部商品代码[JD\PD]
  12740. type: string
  12741. outratio:
  12742. description: 源值
  12743. type: integer
  12744. pddecimalplace:
  12745. description: PD小数位
  12746. type: integer
  12747. timemaxvalue:
  12748. description: 单次最大转入限制
  12749. type: number
  12750. timeminvalue:
  12751. description: 单次最小转入限制
  12752. type: number
  12753. required:
  12754. - converttype
  12755. - innergoodsid
  12756. - outergoodscode
  12757. type: object
  12758. models.Szdz3searchwhitelist:
  12759. properties:
  12760. createtime:
  12761. description: 创建时间
  12762. type: string
  12763. creatorid:
  12764. description: 创建人
  12765. type: integer
  12766. modifierid:
  12767. description: 修改人
  12768. type: integer
  12769. modifytime:
  12770. description: 修改时间
  12771. type: string
  12772. userid:
  12773. description: 用户ID
  12774. type: integer
  12775. required:
  12776. - userid
  12777. type: object
  12778. models.TBGoods:
  12779. properties:
  12780. agreeunit:
  12781. description: 合约乘数
  12782. type: number
  12783. enumdicname:
  12784. description: 单位名称
  12785. type: string
  12786. goodscode:
  12787. description: 商品代码(内部)
  12788. type: string
  12789. goodsid:
  12790. description: 商品ID(自增ID SEQ_GOODS)
  12791. type: integer
  12792. goodsname:
  12793. description: 商品名称
  12794. type: string
  12795. type: object
  12796. models.TBGoodsGroup:
  12797. properties:
  12798. GDLST:
  12799. description: 商品列表
  12800. items:
  12801. $ref: '#/definitions/models.TBGoods'
  12802. type: array
  12803. convertratio:
  12804. description: 折算系数
  12805. type: number
  12806. enumdicname:
  12807. description: 单位名称
  12808. type: string
  12809. exexchangecode:
  12810. description: 交易所代码
  12811. type: string
  12812. exexchangename:
  12813. description: 交易所名称
  12814. type: string
  12815. goodsgroupid:
  12816. description: 商品组ID(自增ID)
  12817. type: integer
  12818. goodsgroupname:
  12819. description: 商品组名称
  12820. type: string
  12821. goodunitid:
  12822. description: 报价单位ID
  12823. type: integer
  12824. type: object
  12825. models.TBMiddleGoods:
  12826. properties:
  12827. GPLST:
  12828. description: 期货品种列表
  12829. items:
  12830. $ref: '#/definitions/models.TBGoodsGroup'
  12831. type: array
  12832. WDLST:
  12833. description: 商品信息列表(现货品类)
  12834. items:
  12835. $ref: '#/definitions/models.TBWrstandard'
  12836. type: array
  12837. areauserid:
  12838. description: 机构用户ID
  12839. type: integer
  12840. enumdicname:
  12841. description: 单位名称
  12842. type: string
  12843. goodsunitid:
  12844. description: 套保品种单位id
  12845. type: integer
  12846. middlegoodscode:
  12847. description: 套保品种代码
  12848. type: string
  12849. middlegoodsid:
  12850. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12851. type: integer
  12852. middlegoodsname:
  12853. description: 套保品种名称
  12854. type: string
  12855. needarbitrageratio:
  12856. description: 套利比率
  12857. type: number
  12858. needhedgeratio:
  12859. description: 套保比率
  12860. type: number
  12861. type: object
  12862. models.TBWrstandard:
  12863. properties:
  12864. convertratio:
  12865. description: 折算系数
  12866. type: number
  12867. deliverygoodsname:
  12868. description: 品种名称
  12869. type: string
  12870. enumdicname:
  12871. description: 单位名称
  12872. type: string
  12873. vatrate:
  12874. description: 增值税率
  12875. type: number
  12876. wrstandardcode:
  12877. description: 现货商品代码
  12878. type: string
  12879. wrstandardid:
  12880. description: 现货商品ID(SEQ_WRSTANDARD)
  12881. type: integer
  12882. wrstandardname:
  12883. description: 现货商品名称
  12884. type: string
  12885. type: object
  12886. models.Taaccount:
  12887. properties:
  12888. accountflag:
  12889. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12890. type: integer
  12891. accountid:
  12892. description: 资金账户ID
  12893. type: integer
  12894. accountname:
  12895. description: 账户名称
  12896. type: string
  12897. balance:
  12898. description: 期初余额
  12899. type: number
  12900. capitalbalance:
  12901. description: 本金余额[外部子账户实际出入金余额]
  12902. type: number
  12903. changeflag:
  12904. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12905. type: integer
  12906. changetime:
  12907. description: 账户状态变更时间
  12908. type: string
  12909. closepl:
  12910. description: 今日平仓盈亏
  12911. type: number
  12912. creditdecrease:
  12913. description: 今日授信减少
  12914. type: number
  12915. creditincrease:
  12916. description: 今日授信增加
  12917. type: number
  12918. curamount:
  12919. description: 总市值(从持仓中统计)
  12920. type: number
  12921. currencyid:
  12922. description: 货币ID
  12923. type: integer
  12924. currentbalance:
  12925. description: 期末余额
  12926. type: number
  12927. freezecharge:
  12928. description: 手续费冻结
  12929. type: number
  12930. freezemargin:
  12931. description: 冻结保证金
  12932. type: number
  12933. fromaccountid:
  12934. description: 所属上级账户
  12935. type: integer
  12936. inamount:
  12937. description: 今日入金金额(包括三方入金)
  12938. type: number
  12939. ismain:
  12940. description: 是否母账号 0:不是母账户 1:是母账户
  12941. type: integer
  12942. ismarketaccount:
  12943. description: 是否机构接单账号 0:不是 1:是
  12944. type: integer
  12945. isreckonaccount:
  12946. description: 是否机构分润账号 0:不是 1:是
  12947. type: integer
  12948. mortgagecredit:
  12949. description: 授信金额
  12950. type: number
  12951. orifreezecharge:
  12952. description: 期初手续费冻结
  12953. type: number
  12954. orifreezemargin:
  12955. description: 期初冻结保证金
  12956. type: number
  12957. orimortgagecredit:
  12958. description: 期初授信金额
  12959. type: number
  12960. oriothercredit:
  12961. description: 期初其它授信金额
  12962. type: number
  12963. oriotherfreezemargin:
  12964. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12965. type: number
  12966. orioutamountfreeze:
  12967. description: 期初出金冻结
  12968. type: number
  12969. oriusedmargin:
  12970. description: 期初占用保证金
  12971. type: number
  12972. othercredit:
  12973. description: 其它授信金额
  12974. type: number
  12975. othercreditdecrease:
  12976. description: 今日其它授信减少
  12977. type: number
  12978. othercreditincrease:
  12979. description: 今日其它授信增加
  12980. type: number
  12981. otherfreezemargin:
  12982. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12983. type: number
  12984. otherincome:
  12985. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12986. type: number
  12987. otherpay:
  12988. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12989. type: number
  12990. outamount:
  12991. description: 今日出金金额(包括三方出金)
  12992. type: number
  12993. outamountfreeze:
  12994. description: 出金冻结
  12995. type: number
  12996. outthreshold:
  12997. description: 出金阈值
  12998. type: number
  12999. parentaccountid:
  13000. description: 所属根账号
  13001. type: integer
  13002. paycharge:
  13003. description: 今日手续费支出
  13004. type: number
  13005. relatedaccountstatus:
  13006. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13007. type: integer
  13008. relateduserid:
  13009. description: 关联用户
  13010. type: integer
  13011. remainamount:
  13012. description: 融资额(从融资合同中统计)
  13013. type: number
  13014. serivcegroup:
  13015. description: 服务分组
  13016. type: integer
  13017. signstatus:
  13018. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13019. type: integer
  13020. sublevelpath:
  13021. description: 账号层级路径(逗号分隔,首尾加逗号)
  13022. type: string
  13023. taaccounttype:
  13024. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13025. type: integer
  13026. thirdinamount:
  13027. description: 今日三方入金
  13028. type: number
  13029. thirdoutamount:
  13030. description: 今日三方出金
  13031. type: number
  13032. tradestatus:
  13033. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13034. type: integer
  13035. tradestatuschangetime:
  13036. description: 激活时间
  13037. type: string
  13038. transferamount:
  13039. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13040. type: number
  13041. usedmargin:
  13042. description: 占用保证金
  13043. type: number
  13044. userid:
  13045. description: 用户ID
  13046. type: integer
  13047. required:
  13048. - accountid
  13049. - userid
  13050. type: object
  13051. models.Tablecolumnconfig:
  13052. properties:
  13053. aligntype:
  13054. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13055. type: integer
  13056. autoid:
  13057. description: AutoID
  13058. type: integer
  13059. columnfield:
  13060. description: 列字段
  13061. type: string
  13062. columntitle:
  13063. description: 列Title
  13064. type: string
  13065. columnwidth:
  13066. description: 列宽
  13067. type: string
  13068. fixed:
  13069. description: 固定类型 - 空 | left | right
  13070. type: string
  13071. formatterstring:
  13072. description: 格式化字符
  13073. type: string
  13074. formattertype:
  13075. description: 格式化类型
  13076. type: string
  13077. groupname:
  13078. description: 表头分组名称
  13079. type: string
  13080. ismerge:
  13081. description: 是否合并显示 - 0:不合并 1:合并
  13082. type: integer
  13083. isshow:
  13084. description: 是否显示 - 0:不显示 1:显示
  13085. type: integer
  13086. needsummary:
  13087. description: 是否需要汇总 - 0:不需要 1:需要
  13088. type: integer
  13089. orderindex:
  13090. description: 顺序
  13091. type: integer
  13092. remark:
  13093. description: 备注
  13094. type: string
  13095. summarytype:
  13096. description: 汇总类型 - 1:加总 2:最后一个
  13097. type: integer
  13098. tablekey:
  13099. description: 列表Key
  13100. type: string
  13101. required:
  13102. - autoid
  13103. type: object
  13104. models.TjmdHolderDetailTradeInfo:
  13105. properties:
  13106. agreeunit:
  13107. description: 合约乘数
  13108. type: number
  13109. buyaccountid:
  13110. description: 买方账户
  13111. type: string
  13112. buyusername:
  13113. description: 买方
  13114. type: string
  13115. delistingdate:
  13116. description: 最后结算日
  13117. type: string
  13118. expiredate:
  13119. description: 到期结算价定价日
  13120. type: string
  13121. exprieprice:
  13122. description: 到期清算价格
  13123. type: string
  13124. goodscode:
  13125. description: 商品代码
  13126. type: string
  13127. goodsid:
  13128. description: 商品ID
  13129. type: integer
  13130. goodsname:
  13131. description: 商品名称(交易标的)
  13132. type: string
  13133. lasttradedate:
  13134. description: 最后交易日
  13135. type: string
  13136. listingdate:
  13137. description: 开始交易日
  13138. type: string
  13139. openprice:
  13140. description: 成交价
  13141. type: number
  13142. openqty:
  13143. description: 交易数量
  13144. type: integer
  13145. sellaccountid:
  13146. description: 卖方账户
  13147. type: string
  13148. sellusername:
  13149. description: 卖方
  13150. type: string
  13151. tradeamount:
  13152. description: 初始名义价值
  13153. type: number
  13154. tradedate:
  13155. description: 成交日期
  13156. type: string
  13157. tradeid:
  13158. description: 成交编号
  13159. type: string
  13160. type: object
  13161. models.TjmdMarketSection:
  13162. properties:
  13163. marketsectionid:
  13164. description: 市场版块ID(SEQ_MARKETSECTION)
  13165. type: integer
  13166. marketsectionname:
  13167. description: 市场版块名称
  13168. type: string
  13169. mlist:
  13170. description: 市场列表(板块下面有多少个市场)
  13171. items:
  13172. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13173. type: array
  13174. orderindex:
  13175. description: 排序
  13176. type: integer
  13177. pictureurl:
  13178. description: 图片url, 规格(90*90)
  13179. type: string
  13180. remark:
  13181. description: 备注
  13182. type: string
  13183. type: object
  13184. models.TjmdMarketSectionConfig:
  13185. properties:
  13186. auctionwrtype:
  13187. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13188. type: integer
  13189. canacceptquote:
  13190. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13191. type: integer
  13192. cangoodsexercise:
  13193. description: '[期权]是否可现货行权- 0:否 1:是'
  13194. type: integer
  13195. cangoodsexercisetype:
  13196. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13197. type: integer
  13198. canmanualquotestrike:
  13199. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13200. type: integer
  13201. canmutistage:
  13202. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13203. type: integer
  13204. canpreexercise:
  13205. description: '[期权]是否可预申报- 0:否 1:是'
  13206. type: integer
  13207. clearinterval:
  13208. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13209. type: integer
  13210. contracttmp:
  13211. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13212. type: string
  13213. exchareaid:
  13214. description: 所属交易所,可以没有
  13215. type: integer
  13216. financemarketid:
  13217. description: 融资回购市场ID [仓单贸易]
  13218. type: integer
  13219. goodstype:
  13220. description: 商品类型 - 1:交易商品 2:仓单商品
  13221. type: integer
  13222. hasrebate:
  13223. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13224. type: integer
  13225. hastradecredit:
  13226. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13227. type: integer
  13228. haswr:
  13229. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13230. type: integer
  13231. isdeductmargin:
  13232. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13233. type: integer
  13234. isrecordsource:
  13235. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13236. type: integer
  13237. isreleasemargin:
  13238. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13239. type: integer
  13240. isupdatereckonprice:
  13241. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13242. type: integer
  13243. listingmode:
  13244. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13245. type: integer
  13246. marginformula:
  13247. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13248. type: integer
  13249. marginformula2:
  13250. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13251. type: integer
  13252. marketid:
  13253. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13254. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13255. type: integer
  13256. marketname:
  13257. description: 市场名称
  13258. type: string
  13259. marketsectionid:
  13260. description: 市场版块ID(SEQ_MARKETSECTION)
  13261. type: integer
  13262. marketserviceid:
  13263. description: 市场服务ID
  13264. type: integer
  13265. marketstatus:
  13266. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13267. type: integer
  13268. markettype:
  13269. description: 市场类型- 1:非交易服务 2:交易服务
  13270. type: integer
  13271. matchermode:
  13272. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13273. type: integer
  13274. nowrquotaflag:
  13275. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13276. type: integer
  13277. openmethod:
  13278. description: 开盘模式 - 0 自动 1手动
  13279. type: integer
  13280. orderindex:
  13281. description: 排序
  13282. type: integer
  13283. otcuserid:
  13284. description: 场外期权做市商[场外期权]
  13285. type: integer
  13286. outersynctime:
  13287. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13288. type: string
  13289. paylaterflag:
  13290. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13291. type: integer
  13292. pendingflag:
  13293. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13294. type: integer
  13295. pendingtime:
  13296. description: 待开市时间[通道交易-对冲](HH:mm)
  13297. type: string
  13298. performancetempid:
  13299. description: 履约计划模板ID - 作废
  13300. type: integer
  13301. premiumquotemode:
  13302. description: 权利金报价方式 - 1:自动 2:手动
  13303. type: integer
  13304. rebateratio:
  13305. description: 返利比率[竞价式]
  13306. type: number
  13307. reckonorder:
  13308. description: 结算顺序
  13309. type: integer
  13310. reckonpricealgorithm:
  13311. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13312. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13313. type: integer
  13314. reckonpriceparam:
  13315. description: 结算价参数
  13316. type: integer
  13317. reckontime:
  13318. description: 结算时间[通道交易-对冲](HH:mm)
  13319. type: string
  13320. roleprioritytype:
  13321. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13322. type: integer
  13323. selllistingauditflag:
  13324. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13325. type: integer
  13326. trademarkettype:
  13327. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13328. type: integer
  13329. trademode:
  13330. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13331. 21:竞拍-大宗式 22:受托竞价
  13332. type: integer
  13333. tradeproperty:
  13334. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13335. 8:场外期权
  13336. type: integer
  13337. tradetype:
  13338. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13339. type: integer
  13340. updatereckonpriceinterval:
  13341. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13342. type: integer
  13343. type: object
  13344. models.TjmdQuoteGoods:
  13345. properties:
  13346. buyqty:
  13347. description: 买量(暂不做, 无值, 保留字段)
  13348. type: number
  13349. decimalplace:
  13350. description: 报价小数位
  13351. type: integer
  13352. goodscode:
  13353. description: 合约代码
  13354. type: string
  13355. goodsgroupid:
  13356. description: 商品组ID(自增ID)
  13357. type: integer
  13358. goodsgroupname:
  13359. description: 商品组名称
  13360. type: string
  13361. goodsid:
  13362. description: 合约id
  13363. type: integer
  13364. goodsname:
  13365. description: 合约名称
  13366. type: string
  13367. refgoodscode:
  13368. description: 标的合约代码
  13369. type: string
  13370. refgoodsid:
  13371. description: 标的合约id
  13372. type: integer
  13373. refgoodsname:
  13374. description: 标的合约名称
  13375. type: string
  13376. sellqty:
  13377. description: 卖量(暂不做, 无值, 保留字段)
  13378. type: number
  13379. type: object
  13380. models.TjmdTodayAccountMargin:
  13381. properties:
  13382. accountid:
  13383. description: 账号ID
  13384. type: integer
  13385. goodsid:
  13386. description: 商品ID
  13387. type: integer
  13388. infoc:
  13389. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13390. description: 配置参数
  13391. marketid:
  13392. description: 市场ID
  13393. type: integer
  13394. type: object
  13395. models.TjmdTradeOrderDetail:
  13396. properties:
  13397. buyorsell:
  13398. description: 买卖方向 0-买 1-卖
  13399. type: integer
  13400. goodsid:
  13401. description: 商品id
  13402. type: integer
  13403. marketmaxsub:
  13404. description: 市价最大偏移范围 [浮动价 - 点差]
  13405. type: number
  13406. orderid:
  13407. description: 委托单号
  13408. type: string
  13409. orderprice:
  13410. description: 期初均价
  13411. type: number
  13412. orderqty:
  13413. description: 委托数量
  13414. type: integer
  13415. pricemode:
  13416. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13417. type: integer
  13418. userid:
  13419. description: 用户id
  13420. type: integer
  13421. username:
  13422. description: 用户名称(已脱敏)
  13423. type: string
  13424. type: object
  13425. models.TjmdTransferApply:
  13426. properties:
  13427. applyid:
  13428. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13429. type: integer
  13430. applystatus:
  13431. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13432. type: integer
  13433. applytime:
  13434. description: 申请时间(时间)
  13435. type: string
  13436. auditremark:
  13437. description: 审核备注(拒绝原因?)
  13438. type: string
  13439. begindate:
  13440. description: 开始交易日(yyyymmdd)
  13441. type: string
  13442. buyorsell:
  13443. description: 买卖 - 0:买 1:卖
  13444. type: integer
  13445. enddate:
  13446. description: 结束交易日(yyyymmdd)
  13447. type: string
  13448. goodscode:
  13449. description: 商品代码
  13450. type: string
  13451. goodsid:
  13452. description: 商品ID
  13453. type: integer
  13454. goodsname:
  13455. description: 商品名称
  13456. type: string
  13457. marketid:
  13458. description: 市场ID
  13459. type: integer
  13460. qty:
  13461. description: 期初均价
  13462. type: number
  13463. tradeid:
  13464. description: 成交单号(关联持仓)
  13465. type: string
  13466. transferamount:
  13467. description: 转让总金额(金额)
  13468. type: number
  13469. transferprice:
  13470. description: 转让价格(协议价格)
  13471. type: number
  13472. type: object
  13473. models.TradeHolderDetail:
  13474. properties:
  13475. accountid:
  13476. description: 账号ID
  13477. type: integer
  13478. agreeunit:
  13479. description: 合约乘数
  13480. type: number
  13481. buyorsell:
  13482. description: 方向 - 0:买 1:卖
  13483. type: integer
  13484. currencyid:
  13485. description: 商品币种id
  13486. type: integer
  13487. currencyname:
  13488. description: 币种名称
  13489. type: string
  13490. decimalplace:
  13491. description: 商品价格小数位
  13492. type: integer
  13493. enumdicname:
  13494. description: 商品单位名称
  13495. type: string
  13496. expirecycle:
  13497. description: 行权周期(天) - 1:滚动行权时填写
  13498. type: integer
  13499. expiredate:
  13500. description: 行权日(yyyyMMdd) - 到期日
  13501. type: string
  13502. expiretype:
  13503. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13504. type: integer
  13505. freezeqty:
  13506. description: 期初均价
  13507. type: number
  13508. goodscode:
  13509. description: 商品代码
  13510. type: string
  13511. goodsid:
  13512. description: 商品ID
  13513. type: integer
  13514. goodsname:
  13515. description: 商品名称
  13516. type: string
  13517. goodunitid:
  13518. description: 商品单位id
  13519. type: integer
  13520. holderamount:
  13521. description: 持仓金额
  13522. type: number
  13523. holdercredit:
  13524. description: 持仓授信金额
  13525. type: number
  13526. holderdays:
  13527. description: 剩余冻结天数
  13528. type: integer
  13529. holderprice:
  13530. description: 持仓价格
  13531. type: number
  13532. holderqty:
  13533. description: 期初均价
  13534. type: number
  13535. isconfirmexercise:
  13536. description: 是否确认行权- 0:否 1:是
  13537. type: integer
  13538. ispreexercise:
  13539. description: 是否预申报- 0:否 1:是 2:不可行权
  13540. type: integer
  13541. marketid:
  13542. description: 市场id
  13543. type: integer
  13544. marketname:
  13545. description: 市场名称
  13546. type: string
  13547. openprice:
  13548. description: 建仓价格
  13549. type: number
  13550. openqty:
  13551. description: 期初均价
  13552. type: number
  13553. optiontype:
  13554. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13555. type: integer
  13556. preexerciseprice:
  13557. description: 预申报价格
  13558. type: number
  13559. premium:
  13560. description: 权利金
  13561. type: number
  13562. qtydecimalplace:
  13563. description: 商品成交量小数位
  13564. type: integer
  13565. refgoodscode:
  13566. description: 标的合约代码
  13567. type: string
  13568. refgoodsid:
  13569. description: 标的合约id
  13570. type: integer
  13571. releaseamount:
  13572. description: 释放持仓金额
  13573. type: number
  13574. releaseholdercredit:
  13575. description: 释放持仓授信金额
  13576. type: number
  13577. taname:
  13578. description: 资金账号名称
  13579. type: string
  13580. tradeamount:
  13581. description: 成交金额
  13582. type: number
  13583. tradedate:
  13584. description: 交易日(yyyyMMdd)
  13585. type: string
  13586. tradeid:
  13587. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13588. type: string
  13589. trademode:
  13590. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13591. 21:竞拍-大宗式 22:受托竞价 46:掉期
  13592. type: integer
  13593. tradeproperty:
  13594. description: 交易属性
  13595. type: integer
  13596. tradetime:
  13597. description: 交易时间
  13598. type: string
  13599. userid:
  13600. description: 用户id
  13601. type: integer
  13602. username:
  13603. description: 用户名称
  13604. type: string
  13605. type: object
  13606. models.Unlinkermcphedgeplan:
  13607. properties:
  13608. accountid:
  13609. description: 期货账户ID - 作废
  13610. type: integer
  13611. accountname:
  13612. description: 交易用户
  13613. type: string
  13614. applyid:
  13615. description: 申请人
  13616. type: integer
  13617. applysrc:
  13618. description: 申请来源 - 1:管理端 2:终端
  13619. type: integer
  13620. applytime:
  13621. description: 申请时间
  13622. type: string
  13623. areauserid:
  13624. description: '[企业ID]机构ID'
  13625. type: integer
  13626. auditid:
  13627. description: 审核人
  13628. type: integer
  13629. auditremark:
  13630. description: 审核备注
  13631. type: string
  13632. auditsrc:
  13633. description: 审核来源 - 1:管理端 2:终端
  13634. type: integer
  13635. audittime:
  13636. description: 审核时间
  13637. type: string
  13638. audittradedate:
  13639. description: 审核交易日(yyyyMMdd)
  13640. type: string
  13641. biztype:
  13642. description: 业务类型 - 1:套保
  13643. type: integer
  13644. contracttype:
  13645. description: 计划类型 - 1:采购 -1:销售
  13646. type: integer
  13647. convertfactor:
  13648. description: 标仓系数 - 作废
  13649. type: number
  13650. createtime:
  13651. description: 创建时间
  13652. type: string
  13653. currencyid:
  13654. description: 结算币种ID - 作废
  13655. type: integer
  13656. deliverygoodsid:
  13657. description: 现货品种ID
  13658. type: integer
  13659. enumdicname:
  13660. description: 结算币种
  13661. type: string
  13662. hedgeplanid:
  13663. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  13664. type: string
  13665. hedgeplanno:
  13666. description: '[计划编号]套保计划编号,模糊查询'
  13667. type: string
  13668. hedgeplanstatus:
  13669. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  13670. type: integer
  13671. isrelated:
  13672. description: 是否已关联计划项目 - 0:否 1:是
  13673. type: integer
  13674. planqty:
  13675. description: '[计划量]计划数量'
  13676. type: number
  13677. plantime:
  13678. description: 计划时间
  13679. type: string
  13680. producttype:
  13681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  13682. type: integer
  13683. remark:
  13684. description: 备注
  13685. type: string
  13686. spotgoodsdesc:
  13687. description: 商品型号
  13688. type: string
  13689. tradedate:
  13690. description: 交易日(yyyyMMdd)
  13691. type: string
  13692. tradeuserid:
  13693. description: 交易用户ID
  13694. type: integer
  13695. updatetime:
  13696. description: 更新时间
  13697. type: string
  13698. wrstandardid:
  13699. description: 现货商品ID
  13700. type: integer
  13701. wrstandardname:
  13702. description: 现货商品,模糊查询
  13703. type: string
  13704. required:
  13705. - areauserid
  13706. type: object
  13707. models.Useraccount:
  13708. properties:
  13709. accountname:
  13710. description: 账户名称(机构名称)
  13711. type: string
  13712. accountstatus:
  13713. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13714. type: integer
  13715. applysrc:
  13716. description: 申请来源 - 1:管理端 2:终端
  13717. type: integer
  13718. auditremark:
  13719. description: 审核备注
  13720. type: string
  13721. auditsrc:
  13722. description: 审核来源 - 1:管理端 2:终端
  13723. type: integer
  13724. audittime:
  13725. description: 审核时间
  13726. type: string
  13727. audituserid:
  13728. description: 审核人
  13729. type: integer
  13730. broker:
  13731. description: 所属经纪人ID
  13732. type: integer
  13733. canceltime:
  13734. description: 销户时间
  13735. type: string
  13736. canceluserid:
  13737. description: 销户人
  13738. type: integer
  13739. canrecommend:
  13740. description: 是否可推荐 - 0:不可 1;可
  13741. type: integer
  13742. createtime:
  13743. description: 创建时间
  13744. type: string
  13745. creatorid:
  13746. description: 创建人
  13747. type: integer
  13748. hasauth:
  13749. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13750. type: integer
  13751. isanonymous:
  13752. description: 是否匿名下单 - 0:否 1:是
  13753. type: integer
  13754. maxinvestornum:
  13755. description: 最大用户数(经纪会员下投资者个数)
  13756. type: integer
  13757. memberuserid:
  13758. description: 所属会员ID
  13759. type: integer
  13760. modifierid:
  13761. description: 修改人
  13762. type: integer
  13763. modifyremark:
  13764. description: 变更备注
  13765. type: string
  13766. modifystatus:
  13767. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13768. type: integer
  13769. modifytime:
  13770. description: 修改时间
  13771. type: string
  13772. parenttopuser:
  13773. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13774. type: string
  13775. parentuserid:
  13776. description: 所属机构ID
  13777. type: integer
  13778. reckonaccountid:
  13779. description: 默认结算资金账号ID(机构分润使用) 作废
  13780. type: integer
  13781. refercount:
  13782. description: 推荐总人数
  13783. type: integer
  13784. refereeuserid:
  13785. description: 推荐人ID
  13786. type: integer
  13787. refernum:
  13788. description: 推荐码
  13789. type: string
  13790. rootuserid:
  13791. description: 根用户ID
  13792. type: integer
  13793. subaccountlevel:
  13794. description: 子账户层数
  13795. type: integer
  13796. subarealevelpath:
  13797. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13798. type: string
  13799. userid:
  13800. description: 用户ID
  13801. type: integer
  13802. usertype:
  13803. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13804. type: integer
  13805. required:
  13806. - userid
  13807. type: object
  13808. models.Userfavoritegoods:
  13809. properties:
  13810. goodsid:
  13811. description: 商品ID
  13812. type: integer
  13813. required:
  13814. - goodsid
  13815. type: object
  13816. models.Userinfo:
  13817. properties:
  13818. address:
  13819. description: 地址
  13820. type: string
  13821. attachment1:
  13822. description: 附件1
  13823. type: string
  13824. attachment2:
  13825. description: 附件2
  13826. type: string
  13827. bankaccount:
  13828. description: 银行帐号 (加密存储)
  13829. type: string
  13830. bankaccountname:
  13831. description: 收款人名称
  13832. type: string
  13833. bankcardfrontphotourl:
  13834. description: 银行卡正面照地址
  13835. type: string
  13836. bankid:
  13837. description: 银行编码
  13838. type: string
  13839. bankname:
  13840. description: 银行名称
  13841. type: string
  13842. biznature:
  13843. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13844. type: integer
  13845. bizscope:
  13846. description: 企业经营范围(企业)
  13847. type: string
  13848. cardbackphotourl:
  13849. description: 证件背面图片地址
  13850. type: string
  13851. cardfrontphotourl:
  13852. description: 证件正面图片地址
  13853. type: string
  13854. cardnum:
  13855. description: 证件号码(加密存储)
  13856. type: string
  13857. cardtypeid:
  13858. description: 证件类型ID
  13859. type: integer
  13860. cityid:
  13861. description: 市
  13862. type: integer
  13863. company:
  13864. description: 公司(个人)
  13865. type: string
  13866. contactname:
  13867. description: 联系人
  13868. type: string
  13869. countryid:
  13870. description: 国家
  13871. type: integer
  13872. createtime:
  13873. description: 创建时间
  13874. type: string
  13875. creatorid:
  13876. description: 创建人
  13877. type: integer
  13878. customername:
  13879. description: 客户名称(企业名称)
  13880. type: string
  13881. districtid:
  13882. description: 地区
  13883. type: integer
  13884. email:
  13885. description: 邮件(加密存储)
  13886. type: string
  13887. fax:
  13888. description: 传真(加密存储)
  13889. type: string
  13890. halfbodyphotourl:
  13891. description: 半身照地址
  13892. type: string
  13893. hasencrypt:
  13894. description: 数据是否已加密 - 0:未加密 1:已加密
  13895. type: integer
  13896. headurl:
  13897. description: 头像地址
  13898. type: string
  13899. legalcardbackphotourl:
  13900. description: 法人身份证背面照地址
  13901. type: string
  13902. legalcardfrontphotourl:
  13903. description: 法人身份证正面照地址
  13904. type: string
  13905. legalpersonname:
  13906. description: 法人姓名(企业)
  13907. type: string
  13908. mobile:
  13909. description: 手机号码(加密存储)
  13910. type: string
  13911. mobile2:
  13912. description: 手机号码[明文-尚志]
  13913. type: string
  13914. modifierid:
  13915. description: 修改人
  13916. type: integer
  13917. modifiertime:
  13918. description: 修改时间
  13919. type: string
  13920. needinvoice:
  13921. description: 是否需要发票 - 0:不需要 1:需要
  13922. type: integer
  13923. nickname:
  13924. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13925. type: string
  13926. openmode:
  13927. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13928. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13929. type: integer
  13930. otherurl:
  13931. description: 其它图片地址[使用分号分隔]
  13932. type: string
  13933. postalcode:
  13934. description: 邮政编码
  13935. type: string
  13936. provinceid:
  13937. description: 省
  13938. type: integer
  13939. qq:
  13940. description: QQ(加密存储
  13941. type: string
  13942. remark:
  13943. description: 备注
  13944. type: string
  13945. sex:
  13946. description: '用户性别 0: 女 1: 男'
  13947. type: integer
  13948. signpdfurl:
  13949. description: 签约pdf文件
  13950. type: string
  13951. telphone:
  13952. description: 联系电话(加密存储)
  13953. type: string
  13954. userid:
  13955. description: 用户ID
  13956. type: integer
  13957. userinfotype:
  13958. description: 用户信息类型 - 1:个人 2:企业
  13959. type: integer
  13960. userstatus:
  13961. description: 用户状态 - 1:正常 2:注销
  13962. type: integer
  13963. usertype:
  13964. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13965. type: integer
  13966. wechat:
  13967. description: 微信(加密存储)
  13968. type: string
  13969. wskhinfo:
  13970. description: 开户申请信息(JSON)
  13971. type: string
  13972. required:
  13973. - userid
  13974. type: object
  13975. models.WRSConverTDetail:
  13976. properties:
  13977. convertratio:
  13978. description: 套保系数
  13979. type: number
  13980. deliverygoodscode:
  13981. description: 现货商品代码
  13982. type: string
  13983. deliverygoodsid:
  13984. description: 现货品种ID
  13985. type: integer
  13986. deliverygoodsname:
  13987. description: 现货商品名称
  13988. type: string
  13989. enumdicname:
  13990. description: 单位名称
  13991. type: string
  13992. goodsunitid:
  13993. description: 套保品种单位id
  13994. type: integer
  13995. middlegoodscode:
  13996. description: 套保品种代码
  13997. type: string
  13998. middlegoodsid:
  13999. description: 套保品种ID
  14000. type: integer
  14001. middlegoodsname:
  14002. description: 套保品种名称
  14003. type: string
  14004. modifytime:
  14005. description: 修改时间
  14006. type: string
  14007. wrstandardid:
  14008. description: 品类ID
  14009. type: integer
  14010. type: object
  14011. models.WRStandardInfo:
  14012. properties:
  14013. areauserid:
  14014. description: 所属机构
  14015. type: integer
  14016. convertfactor:
  14017. description: 标仓系数
  14018. type: number
  14019. createtime:
  14020. description: 创建时间
  14021. type: string
  14022. creatorid:
  14023. description: 创建人
  14024. type: integer
  14025. deliverygoodsid:
  14026. description: 品种ID
  14027. type: integer
  14028. deliverygoodsname:
  14029. description: 交割商品名称
  14030. type: string
  14031. factoryitemjson:
  14032. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14033. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14034. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14035. 逗号分隔'
  14036. type: string
  14037. isvalid:
  14038. description: 是否有效 - 0:无效 1:有效
  14039. type: integer
  14040. minivalue:
  14041. description: 最小变动值
  14042. type: integer
  14043. minivaluedp:
  14044. description: 最小变动值小数位
  14045. type: integer
  14046. realminivalue:
  14047. description: 实际最小变动值
  14048. type: integer
  14049. realminivaluedp:
  14050. description: 实际最小变动值小数位
  14051. type: integer
  14052. remark:
  14053. description: 备注
  14054. type: string
  14055. unitid:
  14056. description: 单位ID
  14057. type: integer
  14058. unitname:
  14059. description: 单位
  14060. type: string
  14061. updatetime:
  14062. description: 更新时间
  14063. type: string
  14064. updatorid:
  14065. description: 更新人
  14066. type: integer
  14067. wrsstatus:
  14068. description: 状态 - 作废 - 0:未激活 1:正常
  14069. type: integer
  14070. wrstandardcode:
  14071. description: 现货品类代码
  14072. type: string
  14073. wrstandardid:
  14074. description: 现货品类ID(SEQ_WRSTANDARD)
  14075. type: integer
  14076. wrstandardname:
  14077. description: 现货品类名称
  14078. type: string
  14079. required:
  14080. - wrstandardid
  14081. type: object
  14082. models.WRTradeBargainApply:
  14083. properties:
  14084. accountid:
  14085. description: 摘牌资金账号
  14086. type: integer
  14087. applyprice:
  14088. description: 申请价格(议价价格)
  14089. type: string
  14090. applyqty:
  14091. description: 摘牌数量(议价数量)
  14092. type: number
  14093. applyremark:
  14094. description: 申请备注
  14095. type: string
  14096. applystatus:
  14097. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14098. type: integer
  14099. applytime:
  14100. description: 申请时间(议价时间)
  14101. type: string
  14102. begindate:
  14103. description: 开始交易日(yyyymmdd)
  14104. type: string
  14105. buyorsell:
  14106. description: 买卖(挂牌类型) - 0:买 1:卖
  14107. type: integer
  14108. confirmremark:
  14109. description: 确认备注
  14110. type: string
  14111. confirmtime:
  14112. description: 确认时间
  14113. type: string
  14114. confirmuserid:
  14115. description: 确认人
  14116. type: integer
  14117. deliverygoodscode:
  14118. description: 品种代码
  14119. type: string
  14120. deliverygoodsid:
  14121. description: 品种ID
  14122. type: integer
  14123. deliverygoodsname:
  14124. description: 品种名称
  14125. type: string
  14126. deliverymonth:
  14127. description: 交收月
  14128. type: string
  14129. enddate:
  14130. description: 结束交易日(yyyymmdd)
  14131. type: string
  14132. enumdicname:
  14133. description: 单位名称
  14134. type: string
  14135. fixedprice:
  14136. description: 期初均价
  14137. type: number
  14138. handlestatus:
  14139. description: 处理状态
  14140. type: integer
  14141. marginvalue:
  14142. description: 期初均价
  14143. type: number
  14144. marketid:
  14145. description: 市场ID
  14146. type: integer
  14147. matchaccountid:
  14148. description: 挂牌方资金账号
  14149. type: integer
  14150. matchuserid:
  14151. description: 挂牌方用户id
  14152. type: integer
  14153. matchusername:
  14154. description: 挂牌方用户名称(已脱敏)
  14155. type: string
  14156. minivalue:
  14157. description: 现货商品最小变动值
  14158. type: integer
  14159. optioncompare:
  14160. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14161. type: string
  14162. orderqty:
  14163. description: 挂牌数量
  14164. type: integer
  14165. refprice:
  14166. description: 参考价格
  14167. type: string
  14168. retcode:
  14169. description: 委托返回代码
  14170. type: integer
  14171. templatename:
  14172. description: 履约方式(履约模板名称)
  14173. type: string
  14174. tradedate:
  14175. description: 交易日(yyyyMMdd)
  14176. type: string
  14177. userid:
  14178. description: 摘牌人用户ID(议价人ID)
  14179. type: integer
  14180. username:
  14181. description: 议价人名字(已脱敏)
  14182. type: string
  14183. validtime:
  14184. description: 有效期限
  14185. type: string
  14186. warehouseid:
  14187. description: 仓库ID
  14188. type: integer
  14189. warehousename:
  14190. description: 仓库名称
  14191. type: string
  14192. wrbargainid:
  14193. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14194. type: string
  14195. wrfactortypeid:
  14196. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14197. type: string
  14198. wrfactortypename:
  14199. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14200. type: string
  14201. wrstandardcode:
  14202. description: 现货商品代码
  14203. type: string
  14204. wrstandardid:
  14205. description: 现货商品ID
  14206. type: integer
  14207. wrstandardname:
  14208. description: 商品名称
  14209. type: string
  14210. wrtradeorderid:
  14211. description: 关联委托单ID
  14212. type: string
  14213. wrtypename:
  14214. description: 商品
  14215. type: string
  14216. type: object
  14217. models.Warehouseinfo:
  14218. properties:
  14219. address:
  14220. description: 详细地址
  14221. type: string
  14222. areauserid:
  14223. description: 所属机构
  14224. type: integer
  14225. autoid:
  14226. description: 自增ID
  14227. type: integer
  14228. cityid:
  14229. description: 市
  14230. type: integer
  14231. contactname:
  14232. description: 联系人
  14233. type: string
  14234. contactnum:
  14235. description: 联系电话
  14236. type: string
  14237. countryid:
  14238. description: 国家
  14239. type: integer
  14240. createtime:
  14241. description: 创建时间
  14242. type: string
  14243. districtid:
  14244. description: 区
  14245. type: integer
  14246. hasvideo:
  14247. description: 是否有视频 - 0:无 1:有
  14248. type: integer
  14249. provinceid:
  14250. description: 省
  14251. type: integer
  14252. remark:
  14253. description: 审核备注
  14254. type: string
  14255. videourl:
  14256. description: 视频地址
  14257. type: string
  14258. warehousecode:
  14259. description: 仓库代码
  14260. type: string
  14261. warehousename:
  14262. description: 仓库名称
  14263. type: string
  14264. warehousestatus:
  14265. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14266. type: integer
  14267. warehousetype:
  14268. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14269. type: integer
  14270. required:
  14271. - autoid
  14272. - warehousecode
  14273. type: object
  14274. models.WrAverageTradePrice:
  14275. properties:
  14276. averageprice:
  14277. description: 期初均价
  14278. type: number
  14279. tradedate:
  14280. description: 交易日yyyymm
  14281. type: string
  14282. type: object
  14283. models.WrBrandAndYears:
  14284. properties:
  14285. brandlst:
  14286. description: 品牌列表
  14287. items:
  14288. $ref: '#/definitions/models.DgFactoryItem'
  14289. type: array
  14290. yearslst:
  14291. description: 年份列表
  14292. items:
  14293. $ref: '#/definitions/models.DgFactoryItem'
  14294. type: array
  14295. type: object
  14296. models.WrBsGoodsInfo:
  14297. properties:
  14298. buyorsell:
  14299. description: 买卖方向 0-买 1-卖
  14300. type: integer
  14301. goodsid:
  14302. description: 交易合约ID
  14303. type: integer
  14304. lstitem:
  14305. description: 商品信息项
  14306. items:
  14307. $ref: '#/definitions/models.WrTypeItem'
  14308. type: array
  14309. lststep:
  14310. description: 履约规则
  14311. items:
  14312. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14313. type: array
  14314. type: object
  14315. models.WrBuybackDetail:
  14316. properties:
  14317. buybackamount:
  14318. description: 回购金额
  14319. type: number
  14320. buybackqty:
  14321. description: 回购数量
  14322. type: number
  14323. buybackreleasemargin:
  14324. description: 回购释放保证金
  14325. type: number
  14326. buybacktime:
  14327. description: 回购时间
  14328. type: string
  14329. errordesc:
  14330. description: 错误描述
  14331. type: string
  14332. handlestatus:
  14333. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14334. type: integer
  14335. relatedwrid:
  14336. description: 关联仓单ID
  14337. type: integer
  14338. scfcontractid:
  14339. description: SCF合同ID
  14340. type: string
  14341. scfwrbuybackid:
  14342. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14343. type: integer
  14344. tradedate:
  14345. description: 交易日(yyyyMMdd)
  14346. type: string
  14347. type: object
  14348. models.WrClientAdSpaceConfig:
  14349. properties:
  14350. adspaceid:
  14351. description: 广告位ID
  14352. type: integer
  14353. adspacename:
  14354. description: 广告位名称
  14355. type: string
  14356. adspacetype:
  14357. description: 广告位类型 - 1:固定广告位
  14358. type: integer
  14359. areauserid:
  14360. description: 所属机构ID
  14361. type: integer
  14362. createdate:
  14363. description: 创建时间
  14364. type: string
  14365. imagepath:
  14366. description: 图片
  14367. type: string
  14368. modifierid:
  14369. description: 操作人
  14370. type: integer
  14371. recsize:
  14372. description: 推荐尺寸
  14373. type: string
  14374. title:
  14375. description: 标题
  14376. type: string
  14377. updatedate:
  14378. description: 更新时间
  14379. type: string
  14380. urlcontent:
  14381. description: 链接(地址\商品ID\功能菜单Key\appid)
  14382. type: string
  14383. urltype:
  14384. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  14385. type: integer
  14386. type: object
  14387. models.WrDeliveryAvalidHoldLB:
  14388. properties:
  14389. accountid:
  14390. description: 资金账号
  14391. type: integer
  14392. avalidqty:
  14393. description: 数量(可点选数量)
  14394. type: number
  14395. deliverygoodsid:
  14396. description: 品种id
  14397. type: integer
  14398. enumdicname:
  14399. description: 单位名称
  14400. type: string
  14401. goodsid:
  14402. description: x合约商品id
  14403. type: integer
  14404. ladingbillid:
  14405. description: 提单id
  14406. type: string
  14407. pgoodscode:
  14408. description: p商品代码(点价合约)
  14409. type: string
  14410. pgoodsid:
  14411. description: p商品id(点价合约)
  14412. type: integer
  14413. pgoodsname:
  14414. description: p商品名称(点价合约)
  14415. type: string
  14416. pricemove:
  14417. description: 升贴水
  14418. type: number
  14419. subnum:
  14420. description: 提单子id
  14421. type: integer
  14422. userid:
  14423. description: 用户id
  14424. type: integer
  14425. username:
  14426. description: 仓单持有人
  14427. type: string
  14428. warehousecode:
  14429. description: 仓库代码
  14430. type: string
  14431. warehouseid:
  14432. description: 仓库id
  14433. type: integer
  14434. warehousename:
  14435. description: 仓库名称
  14436. type: string
  14437. wrfactortypeid:
  14438. description: 仓单要素id
  14439. type: string
  14440. wrstandardcode:
  14441. description: 品代码
  14442. type: string
  14443. wrstandardid:
  14444. description: 品类d
  14445. type: integer
  14446. wrstandardname:
  14447. description: 品类名称
  14448. type: string
  14449. wrtypename:
  14450. description: 商品
  14451. type: string
  14452. xgoodscode:
  14453. description: x合约代码
  14454. type: string
  14455. xgoodsname:
  14456. description: x合约名称
  14457. type: string
  14458. type: object
  14459. models.WrDeliveryDetail:
  14460. properties:
  14461. accountid:
  14462. description: 账号ID
  14463. type: integer
  14464. averageprice:
  14465. description: 期初均价
  14466. type: number
  14467. begindate:
  14468. description: 开始交易日(yyyymmdd)
  14469. type: string
  14470. buyorsell:
  14471. description: 方向 - 0:买 1:卖
  14472. type: integer
  14473. deliveryamount:
  14474. description: 货款金额(X总货款+P总货款)
  14475. type: number
  14476. deliveryid:
  14477. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14478. type: string
  14479. deliveryorderid:
  14480. description: 申报单号
  14481. type: string
  14482. deliverypricemove:
  14483. description: 升贴水(升贴水总额)
  14484. type: number
  14485. deliveryqty:
  14486. description: 交收数量(点选数量)
  14487. type: number
  14488. deliverystatus:
  14489. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14490. type: integer
  14491. deliverytime:
  14492. description: 交割时间
  14493. type: string
  14494. deliverytotalamount:
  14495. description: 交收金额
  14496. type: number
  14497. enddate:
  14498. description: 结束交易日(yyyymmdd)
  14499. type: string
  14500. enumdicname:
  14501. description: 单位名称
  14502. type: string
  14503. matchaccountid:
  14504. description: 对手账号ID
  14505. type: integer
  14506. matchusername:
  14507. description: 对手方名称(仓单持有人)
  14508. type: string
  14509. p1goodsremainamount:
  14510. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14511. type: number
  14512. pdeliverycloseqty:
  14513. description: p合约平仓数量
  14514. type: number
  14515. pdeliveryprice:
  14516. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14517. type: number
  14518. pgoodscode:
  14519. description: 商品代码
  14520. type: string
  14521. pgoodsid:
  14522. description: p点选合约id
  14523. type: integer
  14524. pgoodsname:
  14525. description: 商品名称
  14526. type: string
  14527. ppricemode:
  14528. description: 点价价格方式 - 1:商品价 2:固定值
  14529. type: integer
  14530. tradedate:
  14531. description: 交易日(yyyymmdd)
  14532. type: string
  14533. userid:
  14534. description: 用户id
  14535. type: integer
  14536. username:
  14537. description: 用户名称
  14538. type: string
  14539. warehousename:
  14540. description: 仓库名称
  14541. type: string
  14542. wrfactortypeid:
  14543. description: 仓单要素类型ID
  14544. type: string
  14545. wrtypename:
  14546. description: 商品
  14547. type: string
  14548. xdeliverycloseqty:
  14549. description: 合约数量
  14550. type: number
  14551. xgoodsamount:
  14552. description: 期初均价
  14553. type: number
  14554. xgoodscode:
  14555. description: 商品代码
  14556. type: string
  14557. xgoodsid:
  14558. description: x交易合约ID
  14559. type: integer
  14560. xgoodsname:
  14561. description: 商品名称
  14562. type: string
  14563. type: object
  14564. models.WrDeliveryGoodsSection:
  14565. properties:
  14566. dglst:
  14567. description: 板块商品列表
  14568. items:
  14569. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14570. type: array
  14571. imagepath:
  14572. description: 图片地址
  14573. type: string
  14574. orderindex:
  14575. description: 排序
  14576. type: integer
  14577. sectionid:
  14578. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  14579. = 1的版块1 - 云融指数
  14580. type: integer
  14581. sectionname:
  14582. description: 版块名称
  14583. type: string
  14584. sectiontype:
  14585. description: 版块类型 - 1:指数版块 2:普通版块
  14586. type: integer
  14587. type: object
  14588. models.WrDeliveryGoodsSectionConfig:
  14589. properties:
  14590. deliverygoodscode:
  14591. description: 现货商品代码
  14592. type: string
  14593. deliverygoodsid:
  14594. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14595. type: integer
  14596. deliverygoodsname:
  14597. description: 现货商品名称
  14598. type: string
  14599. orderindex:
  14600. description: 排序
  14601. type: integer
  14602. type: object
  14603. models.WrDraftUserInfo:
  14604. properties:
  14605. address:
  14606. description: 地址
  14607. type: string
  14608. attachment1:
  14609. description: 附件1
  14610. type: string
  14611. attachment2:
  14612. description: 附件2
  14613. type: string
  14614. attachment3:
  14615. description: 附件3
  14616. type: string
  14617. attachment4:
  14618. description: 附件4
  14619. type: string
  14620. attachment5:
  14621. description: 附件5
  14622. type: string
  14623. bankaccount:
  14624. description: 银行帐号 (加密存储)
  14625. type: string
  14626. bankaccountname:
  14627. description: 收款人名称
  14628. type: string
  14629. bankcardfrontphotourl:
  14630. description: 银行卡正面照地址
  14631. type: string
  14632. bankid:
  14633. description: 银行编码
  14634. type: string
  14635. bankname:
  14636. description: 银行名称
  14637. type: string
  14638. birthday:
  14639. description: 生日(个人:年月日)
  14640. type: string
  14641. biznature:
  14642. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14643. type: integer
  14644. bizscope:
  14645. description: 企业经营范围(企业)
  14646. type: string
  14647. biztype:
  14648. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  14649. type: integer
  14650. cardbackphotourl:
  14651. description: 证件背面图片地址
  14652. type: string
  14653. cardfrontphotourl:
  14654. description: 证件正面图片地址
  14655. type: string
  14656. cardnum:
  14657. description: 证件号码(加密存储)
  14658. type: string
  14659. cardtypeid:
  14660. description: 证件类型ID
  14661. type: integer
  14662. cityid:
  14663. description: 市
  14664. type: integer
  14665. company:
  14666. description: 公司(个人)
  14667. type: string
  14668. contactcardbackphotourl:
  14669. description: 联系人证件背面图片地址
  14670. type: string
  14671. contactcardfrontphotourl:
  14672. description: 联系人证件正面图片地址
  14673. type: string
  14674. contactname:
  14675. description: 联系人
  14676. type: string
  14677. countryid:
  14678. description: 国家
  14679. type: integer
  14680. createtime:
  14681. description: 创建时间
  14682. type: string
  14683. creatorid:
  14684. description: 创建人
  14685. type: integer
  14686. creditquota:
  14687. description: 授信额度(金瑞)
  14688. type: number
  14689. customername:
  14690. description: 客户名称(企业名称)
  14691. type: string
  14692. districtid:
  14693. description: 地区
  14694. type: integer
  14695. email:
  14696. description: 邮件(加密存储)
  14697. type: string
  14698. fax:
  14699. description: 传真(加密存储)
  14700. type: string
  14701. halfbodyphotourl:
  14702. description: 半身照地址
  14703. type: string
  14704. hasencrypt:
  14705. description: 数据是否已加密 - 0:未加密 1:已加密
  14706. type: integer
  14707. headurl:
  14708. description: 头像地址
  14709. type: string
  14710. legalcardbackphotourl:
  14711. description: 法人身份证背面照地址
  14712. type: string
  14713. legalcardfrontphotourl:
  14714. description: 法人身份证正面照地址
  14715. type: string
  14716. legalpersonname:
  14717. description: 法人姓名(企业)
  14718. type: string
  14719. mobile:
  14720. description: 手机号码(加密存储)
  14721. type: string
  14722. mobile2:
  14723. description: 手机号码[明文-尚志]
  14724. type: string
  14725. modifierid:
  14726. description: 修改人
  14727. type: integer
  14728. modifiertime:
  14729. description: 修改时间
  14730. type: string
  14731. needinvoice:
  14732. description: 是否需要发票 - 0:不需要 1:需要
  14733. type: integer
  14734. nickname:
  14735. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14736. type: string
  14737. openmode:
  14738. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  14739. 6:苹果手机端注册 7:PC交易端注册"
  14740. type: integer
  14741. otherurl:
  14742. description: 其它图片地址[使用分号分隔]
  14743. type: string
  14744. postalcode:
  14745. description: 邮政编码
  14746. type: string
  14747. provinceid:
  14748. description: 省
  14749. type: integer
  14750. proxystatementurl:
  14751. description: 授权委托书
  14752. type: string
  14753. qq:
  14754. description: QQ(加密存储
  14755. type: string
  14756. remark:
  14757. description: 备注
  14758. type: string
  14759. sex:
  14760. description: '用户性别 0: 女 1: 男'
  14761. type: integer
  14762. signpdfurl:
  14763. description: 签约pdf文件
  14764. type: string
  14765. taxpayernum:
  14766. description: 纳税人识别号
  14767. type: string
  14768. telphone:
  14769. description: 联系电话(加密存储)
  14770. type: string
  14771. userid:
  14772. description: 用户ID
  14773. type: integer
  14774. userinfotype:
  14775. description: 用户信息类型 - 1:个人 2:企业
  14776. type: integer
  14777. userstatus:
  14778. description: 用户状态 - 1:正常 2:注销
  14779. type: integer
  14780. usertype:
  14781. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  14782. type: integer
  14783. wechat:
  14784. description: 微信(加密存储)
  14785. type: string
  14786. wskhinfo:
  14787. description: 开户申请信息(JSON)
  14788. type: string
  14789. type: object
  14790. models.WrFAProductDetail:
  14791. properties:
  14792. accountid:
  14793. description: 资金账号
  14794. type: integer
  14795. areauserid:
  14796. description: 金融机构ID
  14797. type: integer
  14798. financingdays:
  14799. description: 天数(天)
  14800. type: integer
  14801. interestminlen:
  14802. description: 最小起息天数
  14803. type: integer
  14804. interestrate:
  14805. description: 利率
  14806. type: number
  14807. interestratemode:
  14808. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14809. type: integer
  14810. interestsettlemode:
  14811. description: 结息方式 - 1:按日结息 3:按月结息
  14812. type: integer
  14813. interestsettlevalue:
  14814. description: 结息方式值
  14815. type: integer
  14816. isautoloan:
  14817. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14818. type: integer
  14819. loantag:
  14820. description: '放款标识: "放款快" 或者为空'
  14821. type: string
  14822. marginratio:
  14823. description: 保证金比率质押率 - [仓单质押]
  14824. type: number
  14825. productdetailid:
  14826. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14827. type: integer
  14828. productid:
  14829. description: 金融产品ID
  14830. type: integer
  14831. productname:
  14832. description: 产品名称
  14833. type: string
  14834. updatetime:
  14835. description: 更新时间
  14836. type: string
  14837. username:
  14838. description: 融出方
  14839. type: string
  14840. type: object
  14841. models.WrFactorTypeInfo:
  14842. properties:
  14843. deliverygoodscode:
  14844. description: 品种代码
  14845. type: string
  14846. deliverygoodsname:
  14847. description: 品种名称
  14848. type: string
  14849. dgfactoryitemid:
  14850. description: 选择项id
  14851. type: integer
  14852. dgfactoryitemtypeid:
  14853. description: 要素选择项ID (1-仓库 2-品牌)
  14854. type: integer
  14855. dgfactoryitemvalue:
  14856. description: 要素项值
  14857. type: string
  14858. itemtypename:
  14859. description: 要素项名称
  14860. type: string
  14861. optioncompare:
  14862. description: 选择比较串
  14863. type: string
  14864. warehouseid:
  14865. description: 仓库id
  14866. type: integer
  14867. wrfactortypeid:
  14868. description: 仓单要素ID
  14869. type: string
  14870. wrfactortypename:
  14871. description: 要素名称
  14872. type: string
  14873. wrfactortypename2:
  14874. description: 要素名称(不含仓库)
  14875. type: string
  14876. wrstandardcode:
  14877. description: 品类代码
  14878. type: string
  14879. wrstandardid:
  14880. description: 品类id
  14881. type: integer
  14882. wrstandardname:
  14883. description: 品类名称
  14884. type: string
  14885. type: object
  14886. models.WrFilterItem:
  14887. properties:
  14888. itemcode:
  14889. description: 代码
  14890. type: string
  14891. itemid:
  14892. description: 项id
  14893. type: integer
  14894. itemname:
  14895. description: 名称
  14896. type: string
  14897. itemtype:
  14898. description: 类型 1-品种 2-品类(商品) 3-仓库
  14899. type: integer
  14900. type: object
  14901. models.WrFinanceBuyApply:
  14902. properties:
  14903. applydate:
  14904. description: 申请时间
  14905. type: string
  14906. applystatus:
  14907. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14908. type: integer
  14909. applyuserid:
  14910. description: 申请人
  14911. type: integer
  14912. auditdate:
  14913. description: 审核时间
  14914. type: string
  14915. auditremark:
  14916. description: 审核备注
  14917. type: string
  14918. audituserid:
  14919. description: 审核人
  14920. type: integer
  14921. buyaccountid:
  14922. description: 买方资金账号
  14923. type: integer
  14924. buyorsell:
  14925. description: 买卖 - 0:买 1:卖
  14926. type: integer
  14927. buyuserid:
  14928. description: 买方用户ID
  14929. type: integer
  14930. buyusername:
  14931. description: 买方名称
  14932. type: string
  14933. buywrtradeorderid:
  14934. description: 融资方买委托单ID
  14935. type: string
  14936. deliverygoodscode:
  14937. description: 品种代码
  14938. type: string
  14939. deliverygoodsid:
  14940. description: 品种ID
  14941. type: integer
  14942. deliverygoodsname:
  14943. description: 品种名称
  14944. type: string
  14945. deliverymonth:
  14946. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14947. type: string
  14948. enumdicname:
  14949. description: 单位名称
  14950. type: string
  14951. financeaccountid:
  14952. description: 融资方资金帐户ID
  14953. type: integer
  14954. financeapplyid:
  14955. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14956. type: string
  14957. financeareauserid:
  14958. description: 融资方用户ID
  14959. type: string
  14960. financename:
  14961. description: 融出方名称
  14962. type: string
  14963. financetype:
  14964. description: 融资类型 1-融资回购
  14965. type: integer
  14966. financingdays:
  14967. description: 天数(天)
  14968. type: integer
  14969. freezebuymargin:
  14970. description: 冻结融资保证金(买方)
  14971. type: number
  14972. handleremark:
  14973. description: 处理备注
  14974. type: string
  14975. handlestatus:
  14976. description: 处理状态
  14977. type: integer
  14978. interestminlen:
  14979. description: 最小起息天数
  14980. type: integer
  14981. interestrate:
  14982. description: 利率
  14983. type: number
  14984. interestratemode:
  14985. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14986. type: integer
  14987. interestsettlemode:
  14988. description: 结息方式 - 1:按日结息 3:按月结息
  14989. type: integer
  14990. interestsettlevalue:
  14991. description: 结息方式值
  14992. type: integer
  14993. isautoloan:
  14994. description: 是否自动放款 - 0:手动 1:自动
  14995. type: integer
  14996. marginratio:
  14997. description: 保证金比率质押率 - [仓单质押]
  14998. type: number
  14999. marketid:
  15000. description: 市场ID
  15001. type: integer
  15002. minivalue:
  15003. description: 现货商品最小变动值
  15004. type: integer
  15005. optioncompare:
  15006. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15007. type: string
  15008. orderqty:
  15009. description: 委托数量(商品数量)
  15010. type: number
  15011. productdetailid:
  15012. description: 产品组合ID
  15013. type: integer
  15014. productid:
  15015. description: 金融产品ID
  15016. type: integer
  15017. productname:
  15018. description: 产品名称
  15019. type: string
  15020. remark:
  15021. description: 备注
  15022. type: string
  15023. scfcontractid:
  15024. description: 仓单回购合同ID
  15025. type: string
  15026. sellaccountid:
  15027. description: 卖方资金账号
  15028. type: integer
  15029. selluserid:
  15030. description: 卖方用户ID
  15031. type: integer
  15032. sellwrtradeorderid:
  15033. description: 卖方委托单ID
  15034. type: string
  15035. tradeamount:
  15036. description: 成交金额(借款金额)
  15037. type: number
  15038. tradedate:
  15039. description: 交易日(yyyyMMdd)
  15040. type: string
  15041. tradeprice:
  15042. description: 成交价格
  15043. type: number
  15044. warehouseid:
  15045. description: 仓库ID
  15046. type: integer
  15047. warehousename:
  15048. description: 仓库名称
  15049. type: string
  15050. wrfactortypeid:
  15051. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15052. type: string
  15053. wrfactortypename:
  15054. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15055. type: string
  15056. wrpricetype:
  15057. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15058. type: integer
  15059. wrstandardcode:
  15060. description: 现货商品代码
  15061. type: string
  15062. wrstandardid:
  15063. description: 现货商品ID
  15064. type: integer
  15065. wrstandardname:
  15066. description: 商品名称
  15067. type: string
  15068. wrtypename:
  15069. description: 商品
  15070. type: string
  15071. type: object
  15072. models.WrFriendApply:
  15073. properties:
  15074. applicantid:
  15075. description: 申请人
  15076. type: integer
  15077. applyname:
  15078. description: 申请人名称
  15079. type: string
  15080. applysrc:
  15081. description: 申请来源 - 1:管理端 2:终端
  15082. type: integer
  15083. applystatus:
  15084. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15085. type: integer
  15086. applytime:
  15087. description: 申请时间
  15088. type: string
  15089. auditname:
  15090. description: 审核人名称
  15091. type: string
  15092. auditorid:
  15093. description: 审核人
  15094. type: integer
  15095. auditremark:
  15096. description: 审核备注
  15097. type: string
  15098. auditsrc:
  15099. description: 审核来源 - 1:管理端 2:终端
  15100. type: integer
  15101. audittime:
  15102. description: 审核时间
  15103. type: string
  15104. friendapplyid:
  15105. description: 申请ID(SEQ_FRIENDAPPLY)
  15106. type: string
  15107. friendname:
  15108. description: 好友名字(已脱敏)
  15109. type: string
  15110. frienduserid:
  15111. description: 好友用户ID
  15112. type: string
  15113. remark:
  15114. description: 备注
  15115. type: string
  15116. userid:
  15117. description: 申请人用户ID
  15118. type: integer
  15119. type: object
  15120. models.WrFtDeliveryGoods:
  15121. properties:
  15122. deliverygoodscode:
  15123. description: 品种代码
  15124. type: string
  15125. deliverygoodsid:
  15126. description: 品种ID
  15127. type: integer
  15128. deliverygoodsname:
  15129. description: 品种名称
  15130. type: string
  15131. wdlst:
  15132. description: 商品列表
  15133. items:
  15134. $ref: '#/definitions/models.WrFtWrstandard'
  15135. type: array
  15136. type: object
  15137. models.WrFtWrstandard:
  15138. properties:
  15139. enumdicname:
  15140. description: 单位名称
  15141. type: string
  15142. minivalue:
  15143. description: 最小变动值
  15144. type: integer
  15145. wrstandardcode:
  15146. description: 现货商品代码
  15147. type: string
  15148. wrstandardid:
  15149. description: 现货商品ID
  15150. type: integer
  15151. wrstandardname:
  15152. description: 商品名称
  15153. type: string
  15154. type: object
  15155. models.WrGoodsInfo:
  15156. properties:
  15157. haswr:
  15158. description: 0:仓单预售 1:仓单贸易
  15159. type: integer
  15160. lstitem:
  15161. description: 商品信息项
  15162. items:
  15163. $ref: '#/definitions/models.WrTypeItem'
  15164. type: array
  15165. lststep:
  15166. description: 履约规则
  15167. items:
  15168. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15169. type: array
  15170. marketid:
  15171. description: 市场id
  15172. type: integer
  15173. type: object
  15174. models.WrGoodsPerformanceStep:
  15175. properties:
  15176. autoid:
  15177. description: AutoID
  15178. type: integer
  15179. isauto:
  15180. description: 是否自动 - 0:不自动 1:自动
  15181. type: integer
  15182. remark:
  15183. description: 备注
  15184. type: string
  15185. stepdate:
  15186. description: 天数信息(T+N)
  15187. type: string
  15188. stepdays:
  15189. description: 距离上一步天数
  15190. type: integer
  15191. stepindex:
  15192. description: 步骤序号
  15193. type: integer
  15194. stepinfo:
  15195. description: 步骤信息(步骤名称+步骤值)
  15196. type: string
  15197. steptypeid:
  15198. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15199. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15200. type: integer
  15201. steptypename:
  15202. description: 步骤名称
  15203. type: string
  15204. stepvalue:
  15205. description: 期初均价
  15206. type: number
  15207. templateid:
  15208. description: 履约计划模板ID
  15209. type: integer
  15210. type: object
  15211. models.WrHoldLB:
  15212. properties:
  15213. accountid:
  15214. description: 持有人帐户ID
  15215. type: integer
  15216. bannerpicurl:
  15217. description: Banner图
  15218. type: string
  15219. createtime:
  15220. description: 创建时间(过户时间)
  15221. type: string
  15222. deliverygoodscode:
  15223. description: 品种代码
  15224. type: string
  15225. deliverygoodsid:
  15226. description: 品种ID
  15227. type: integer
  15228. deliverygoodsname:
  15229. description: 品种名称
  15230. type: string
  15231. enableqty:
  15232. description: 可用数量
  15233. type: number
  15234. enumdicname:
  15235. description: 单位名称
  15236. type: string
  15237. freezerqty:
  15238. description: 冻结数量
  15239. type: number
  15240. ladingbillid:
  15241. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15242. type: string
  15243. minivalue:
  15244. description: 现货商品最小变动值
  15245. type: integer
  15246. optioncompare:
  15247. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15248. type: string
  15249. parentsubnum:
  15250. description: 拆分父子单号
  15251. type: integer
  15252. pledgeqty:
  15253. description: 质押数量
  15254. type: number
  15255. qty:
  15256. description: 数量
  15257. type: number
  15258. subnum:
  15259. description: 提单子单号
  15260. type: integer
  15261. thumurls:
  15262. description: 缩略图
  15263. type: string
  15264. tradedate:
  15265. description: 交易日(yyyyMMdd)
  15266. type: string
  15267. userid:
  15268. description: 持有人ID
  15269. type: integer
  15270. warehouseid:
  15271. description: 仓库ID
  15272. type: integer
  15273. warehousename:
  15274. description: 仓库名称
  15275. type: string
  15276. wrfactortypeid:
  15277. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15278. type: string
  15279. wrfactortypename:
  15280. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15281. type: string
  15282. wrholdeno:
  15283. description: 仓单编号
  15284. type: string
  15285. wrid:
  15286. description: 仓单变更ID
  15287. type: string
  15288. wrstandardcode:
  15289. description: 现货商品代码
  15290. type: string
  15291. wrstandardid:
  15292. description: 现货商品ID
  15293. type: integer
  15294. wrstandardname:
  15295. description: 商品名称
  15296. type: string
  15297. wrtypename:
  15298. description: 商品
  15299. type: string
  15300. type: object
  15301. models.WrMarketTradeConfig:
  15302. properties:
  15303. basisdownratio:
  15304. description: 浮动价基差下限比例(仓单贸易)
  15305. type: number
  15306. basisupratio:
  15307. description: 浮动价基差上限比例(仓单贸易)
  15308. type: number
  15309. buychargealgorithm:
  15310. description: 买方手续费收取方式 1:比率 2:固定
  15311. type: integer
  15312. buychargealgorithm2:
  15313. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15314. type: integer
  15315. buychargealgorithmvalue:
  15316. description: 买方手续费设置值(交易所部分)
  15317. type: number
  15318. buychargealgorithmvalue2:
  15319. description: 买方手续费设置值(会员部分)
  15320. type: number
  15321. buychargealgorithmvalue3:
  15322. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15323. type: number
  15324. buychargealgorithmvalue4:
  15325. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15326. type: number
  15327. buyfirstmarginalgorithm:
  15328. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15329. type: integer
  15330. buyfirstmarginvalue:
  15331. description: 买方出价保证金设置值 - [竞拍]
  15332. type: number
  15333. buymarginalgorithm:
  15334. description: 买方保证金方式 - 1:比率 2:固定
  15335. type: integer
  15336. buymarginvalue:
  15337. description: 买方保证金设置值
  15338. type: number
  15339. buyreleaseratio:
  15340. description: 买方释放比率[2:分步履约]
  15341. type: number
  15342. executemode:
  15343. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15344. type: integer
  15345. executeside:
  15346. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15347. type: integer
  15348. failedchargealgorithm:
  15349. description: 流拍手续费收取方式 1:比率 2:固定
  15350. type: integer
  15351. failedchargevalue:
  15352. description: 流拍手续费设置值
  15353. type: number
  15354. failedchargevalue2:
  15355. description: 流拍卖方手续费设置值
  15356. type: number
  15357. holddays:
  15358. description: 合同期限[2:分步履约]
  15359. type: integer
  15360. listingmode:
  15361. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15362. type: integer
  15363. marketid:
  15364. description: 市场ID-仓单贸易、竞拍、预售
  15365. type: integer
  15366. minqty:
  15367. description: 最小执行量[2:分步履约]
  15368. type: number
  15369. modifierid:
  15370. description: 修改人
  15371. type: integer
  15372. nowrquotaflag:
  15373. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  15374. type: integer
  15375. performancetempid:
  15376. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15377. 立即执行(-1)
  15378. type: integer
  15379. performancetempid2:
  15380. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15381. 立即执行
  15382. type: integer
  15383. performancetempid2s:
  15384. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15385. - 履约方式: 立即执行
  15386. type: string
  15387. performancetempids:
  15388. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15389. - 履约方式: 立即执行(-1)
  15390. type: string
  15391. performanceway:
  15392. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15393. type: integer
  15394. sellchargealgorithm:
  15395. description: 卖方手续费收取方式 1:比率 2:固定
  15396. type: integer
  15397. sellchargealgorithm2:
  15398. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15399. type: integer
  15400. sellchargealgorithmvalue:
  15401. description: 卖方手续费设置值(交易所部分)
  15402. type: number
  15403. sellchargealgorithmvalue2:
  15404. description: 卖方手续费设置值(会员部分)
  15405. type: number
  15406. sellchargealgorithmvalue3:
  15407. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15408. type: number
  15409. sellchargealgorithmvalue4:
  15410. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15411. type: number
  15412. sellmarginalgorithm:
  15413. description: 卖方保证金方式 - 1:比率 2:固定
  15414. type: integer
  15415. sellmarginvalue:
  15416. description: 卖方保证金设置值
  15417. type: number
  15418. sellmarginvalue2:
  15419. description: 卖方保证金设置值(无仓单)
  15420. type: number
  15421. sellreleaseratio:
  15422. description: 卖方释放比率[2:分步履约]
  15423. type: number
  15424. updatetime:
  15425. description: 更新时间
  15426. type: string
  15427. type: object
  15428. models.WrOrderDetail:
  15429. properties:
  15430. accountid:
  15431. description: 交易账号(资金账号)
  15432. type: integer
  15433. allfriendsflag:
  15434. description: 是否全好友可见 - 0:否 1:是
  15435. type: integer
  15436. amount:
  15437. description: 期初均价
  15438. type: number
  15439. bannerpicurl:
  15440. description: Banner图
  15441. type: string
  15442. begindate:
  15443. description: 开始交易日(yyyymmdd)
  15444. type: string
  15445. buyorsell:
  15446. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15447. type: integer
  15448. canbargain:
  15449. description: 是否可议价 - 0:不可 1:可
  15450. type: integer
  15451. cancelqty:
  15452. description: 撤销数量
  15453. type: number
  15454. canpart:
  15455. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15456. type: integer
  15457. delistminqty:
  15458. description: 起摘数量
  15459. type: integer
  15460. deliverygoodscode:
  15461. description: 品种代码
  15462. type: string
  15463. deliverygoodsid:
  15464. description: 品种ID
  15465. type: integer
  15466. deliverygoodsname:
  15467. description: 品种名称
  15468. type: string
  15469. deliverymonth:
  15470. description: 交收月
  15471. type: string
  15472. enddate:
  15473. description: 结束交易日(yyyymmdd)
  15474. type: string
  15475. enumdicname:
  15476. description: 单位名称
  15477. type: string
  15478. fixedprice:
  15479. description: 固定价格 - [挂牌]
  15480. type: number
  15481. freezecharge:
  15482. description: 期初均价
  15483. type: number
  15484. freezemargin:
  15485. description: 期初均价
  15486. type: number
  15487. futupricemove:
  15488. description: 期货升贴水
  15489. type: number
  15490. futushow:
  15491. description: 期货合约/升贴水
  15492. type: string
  15493. goodscode:
  15494. description: 期货合约
  15495. type: string
  15496. goodsid:
  15497. description: 期货商品id
  15498. type: integer
  15499. goodsname:
  15500. description: 商品名称
  15501. type: string
  15502. haswr:
  15503. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15504. type: integer
  15505. isspecified:
  15506. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15507. type: integer
  15508. ladingbillid:
  15509. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15510. type: string
  15511. marginvalue:
  15512. description: 期初均价
  15513. type: number
  15514. marketid:
  15515. description: 市场ID
  15516. type: integer
  15517. matchusername:
  15518. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15519. type: string
  15520. minivalue:
  15521. description: 现货商品最小变动值
  15522. type: integer
  15523. optioncompare:
  15524. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15525. type: string
  15526. orderqty:
  15527. description: 委托数量
  15528. type: number
  15529. ordertime:
  15530. description: 委托时间(挂牌时间)
  15531. type: string
  15532. performancetemplateid:
  15533. description: 履约模板id
  15534. type: integer
  15535. pricemove:
  15536. description: 升贴水(浮动价时填写) - [挂牌]
  15537. type: number
  15538. taname:
  15539. description: 交易用户名称(资金账号名称)
  15540. type: string
  15541. thumurls:
  15542. description: 缩略图
  15543. type: string
  15544. tradedate:
  15545. description: 交易日(yyyyMMdd)
  15546. type: string
  15547. tradeprice:
  15548. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15549. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15550. type: number
  15551. tradeqty:
  15552. description: 成交数量
  15553. type: number
  15554. userid:
  15555. description: 用户ID
  15556. type: integer
  15557. validtime:
  15558. description: 挂牌有效期
  15559. type: string
  15560. validtype:
  15561. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15562. type: integer
  15563. warehouseid:
  15564. description: 仓库ID
  15565. type: integer
  15566. warehousename:
  15567. description: 仓库名称
  15568. type: string
  15569. wrfactortypeid:
  15570. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15571. type: string
  15572. wrfactortypename:
  15573. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15574. type: string
  15575. wrpricetype:
  15576. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15577. type: integer
  15578. wrstandardcode:
  15579. description: 现货商品代码
  15580. type: string
  15581. wrstandardid:
  15582. description: 现货商品ID
  15583. type: integer
  15584. wrstandardname:
  15585. description: 商品名称
  15586. type: string
  15587. wrtradeorderid:
  15588. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15589. type: string
  15590. wrtradeorderstatus:
  15591. 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:撤单解冻贷款失败
  15592. type: integer
  15593. wrtradetype:
  15594. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15595. type: integer
  15596. wrtypename:
  15597. description: 商品
  15598. type: string
  15599. type: object
  15600. models.WrOrderQuote:
  15601. properties:
  15602. bannerpicurl:
  15603. description: Banner图
  15604. type: string
  15605. buyprice:
  15606. description: 买价
  15607. type: number
  15608. buypricemove:
  15609. description: 买升贴水(基差)
  15610. type: number
  15611. buyqty:
  15612. description: 买量
  15613. type: number
  15614. deliverygoodscode:
  15615. description: 品种代码
  15616. type: string
  15617. deliverygoodsid:
  15618. description: 品种id
  15619. type: integer
  15620. deliverygoodsname:
  15621. description: 品种名称
  15622. type: string
  15623. deliverymonth:
  15624. description: 交收月
  15625. type: string
  15626. enumdicname:
  15627. description: 单位名称
  15628. type: string
  15629. goodscode:
  15630. description: 商品合约(浮动价列表才有)
  15631. type: string
  15632. goodsid:
  15633. description: 商品id(浮动价列表才有)
  15634. type: integer
  15635. minivalue:
  15636. description: 现货商品最小变动值
  15637. type: integer
  15638. pictureurls:
  15639. description: 详情图片(逗号分隔)
  15640. type: string
  15641. sellprice:
  15642. description: 卖价
  15643. type: number
  15644. sellpricemove:
  15645. description: 卖升贴水(基差)
  15646. type: number
  15647. sellqty:
  15648. description: 卖量
  15649. type: number
  15650. thumurls:
  15651. description: 缩略图片(1:1)(逗号分隔)
  15652. type: string
  15653. warehousecode:
  15654. description: 仓库代码
  15655. type: string
  15656. warehouseid:
  15657. description: 仓库id
  15658. type: integer
  15659. warehousename:
  15660. description: 仓库名称
  15661. type: string
  15662. wrfactortypeid:
  15663. description: 仓单要素id
  15664. type: string
  15665. wrfactortypename:
  15666. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15667. type: string
  15668. wrgoodsname:
  15669. description: 商品(商品名称+仓库要素名称 拼接)
  15670. type: string
  15671. wrstandardcode:
  15672. description: 商品代码
  15673. type: string
  15674. wrstandardid:
  15675. description: 商品id
  15676. type: integer
  15677. wrstandardname:
  15678. description: 商品名称
  15679. type: string
  15680. type: object
  15681. models.WrOrderQuoteDetail:
  15682. properties:
  15683. buyorsell:
  15684. description: 买卖 - 0:买 1:卖
  15685. type: integer
  15686. delistminqty:
  15687. description: 期初均价
  15688. type: number
  15689. deliverymonth:
  15690. description: 交收月
  15691. type: string
  15692. enumdicname:
  15693. description: 单位名称
  15694. type: string
  15695. fixedprice:
  15696. description: 买(卖)价
  15697. type: number
  15698. marketid:
  15699. description: 市场id
  15700. type: integer
  15701. minivalue:
  15702. description: 现货商品最小变动值
  15703. type: integer
  15704. orderqty:
  15705. description: 买(卖)量(=委托量-成交量)
  15706. type: number
  15707. ordertime:
  15708. description: 委托时间
  15709. type: string
  15710. pricemove:
  15711. description: 买(卖)升贴水- 基差
  15712. type: number
  15713. userid:
  15714. description: 购买方(销售方)用户ID
  15715. type: integer
  15716. username:
  15717. description: 购买方(销售方)
  15718. type: string
  15719. wrtradeorderid:
  15720. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15721. type: string
  15722. type: object
  15723. models.WrOutInApply:
  15724. properties:
  15725. applyid:
  15726. description: 申请单id
  15727. type: string
  15728. applystatus:
  15729. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  15730. 8:已撤销
  15731. type: integer
  15732. applytime:
  15733. description: 申请时间
  15734. type: string
  15735. applytype:
  15736. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15737. type: integer
  15738. bannerpicurl:
  15739. description: Banner图
  15740. type: string
  15741. begindate:
  15742. description: 开始交易日(yyyymmdd)
  15743. type: string
  15744. deliverygoodscode:
  15745. description: 品种代码
  15746. type: string
  15747. deliverygoodsid:
  15748. description: 品种ID
  15749. type: integer
  15750. deliverygoodsname:
  15751. description: 品种名称
  15752. type: string
  15753. enddate:
  15754. description: 结束交易日(yyyymmdd)
  15755. type: string
  15756. enumdicname:
  15757. description: 单位名称
  15758. type: string
  15759. expresscompany:
  15760. description: 物流公司
  15761. type: string
  15762. expressnum:
  15763. description: 物流单号
  15764. type: string
  15765. minivalue:
  15766. description: 现货商品最小变动值
  15767. type: integer
  15768. optioncompare:
  15769. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15770. type: string
  15771. qty:
  15772. description: 数量
  15773. type: integer
  15774. userid:
  15775. description: 用户id
  15776. type: integer
  15777. warehouseid:
  15778. description: 仓库ID
  15779. type: integer
  15780. warehousename:
  15781. description: 仓库名称
  15782. type: string
  15783. wrfactortypeid:
  15784. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15785. type: string
  15786. wrfactortypename:
  15787. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15788. type: string
  15789. wrstandardcode:
  15790. description: 现货商品代码
  15791. type: string
  15792. wrstandardid:
  15793. description: 现货商品ID
  15794. type: integer
  15795. wrstandardname:
  15796. description: 商品名称
  15797. type: string
  15798. wrtypename:
  15799. description: 商品
  15800. type: string
  15801. type: object
  15802. models.WrPerformancePlan:
  15803. properties:
  15804. activatemonth:
  15805. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15806. type: string
  15807. amount:
  15808. description: 履约金额(总金额)
  15809. type: number
  15810. begindate:
  15811. description: 开始交易日(yyyymmdd)
  15812. type: string
  15813. buyaccountid:
  15814. description: 买方账号
  15815. type: integer
  15816. buyerfreezeamount:
  15817. description: 履约冻结(买履约)
  15818. type: number
  15819. buyerfreezeamountremain:
  15820. description: 履约冻结剩余(买履约)
  15821. type: number
  15822. buyorsell:
  15823. description: 买卖方向 0-买 1-卖
  15824. type: integer
  15825. buypaidamount:
  15826. description: 买方已冻/已扣金额 (已付金额)
  15827. type: number
  15828. buyusername:
  15829. description: 买方名字
  15830. type: string
  15831. contractid:
  15832. description: 合同ID
  15833. type: integer
  15834. createtime:
  15835. description: 创建时间
  15836. type: string
  15837. creatorid:
  15838. description: 创建人
  15839. type: integer
  15840. curstepdeadline:
  15841. description: 当前步骤到期时间
  15842. type: string
  15843. curstepid:
  15844. description: 当前步骤ID
  15845. type: string
  15846. curstepname:
  15847. description: 当前步骤名称
  15848. type: string
  15849. deliverygoodscode:
  15850. description: 品种代码
  15851. type: string
  15852. deliverygoodsid:
  15853. description: 品种ID
  15854. type: integer
  15855. deliverygoodsname:
  15856. description: 品种名称
  15857. type: string
  15858. enddate:
  15859. description: 结束交易日(yyyymmdd)
  15860. type: string
  15861. enumdicname:
  15862. description: 单位名称
  15863. type: string
  15864. expressfee:
  15865. description: 运费
  15866. type: number
  15867. expressfeeconfirmed:
  15868. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15869. type: integer
  15870. hasovershort:
  15871. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15872. type: integer
  15873. haswr:
  15874. description: 类型 0-仓单预售 1-仓单贸易
  15875. type: integer
  15876. marketid:
  15877. description: 市场ID
  15878. type: integer
  15879. middleaccountid:
  15880. description: 中间商资金账号ID
  15881. type: integer
  15882. middleuserid:
  15883. description: 中间商用户ID
  15884. type: integer
  15885. minivalue:
  15886. description: 现货商品最小变动值
  15887. type: integer
  15888. optioncompare:
  15889. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15890. type: string
  15891. overshortamount:
  15892. description: 溢短金额
  15893. type: number
  15894. overshortqty:
  15895. description: 溢短数量
  15896. type: number
  15897. paymenttype:
  15898. description: 付款方式 - 1:冻结 2:扣款
  15899. type: integer
  15900. performanceplanid:
  15901. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15902. type: string
  15903. performancestatus:
  15904. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  15905. 9:超时待处理 10:超时关闭
  15906. type: integer
  15907. performancetype:
  15908. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15909. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15910. type: integer
  15911. qty:
  15912. description: 履约数量
  15913. type: number
  15914. relatedorderid:
  15915. description: 关联单号(履约类型的关联单号)
  15916. type: string
  15917. remark:
  15918. description: 备注
  15919. type: string
  15920. sellaccountid:
  15921. description: 卖方账号
  15922. type: integer
  15923. sellerfreezeamount:
  15924. description: 履约冻结(卖履约)
  15925. type: number
  15926. sellerfreezeamountremain:
  15927. description: 履约冻结剩余(卖履约)
  15928. type: number
  15929. sellreceivedamount:
  15930. description: 卖方已收金额
  15931. type: number
  15932. sellusername:
  15933. description: 卖方名字
  15934. type: string
  15935. shipremark:
  15936. description: 发货备注[物流单号]
  15937. type: string
  15938. starttime:
  15939. description: 开始时间
  15940. type: string
  15941. steptypeid:
  15942. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15943. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15944. type: integer
  15945. typename:
  15946. description: 履约类型 名称
  15947. type: string
  15948. unpaidamount:
  15949. description: 期初均价
  15950. type: number
  15951. userid:
  15952. description: 用户id
  15953. type: integer
  15954. warehouseid:
  15955. description: 仓库ID
  15956. type: integer
  15957. warehousename:
  15958. description: 仓库名称
  15959. type: string
  15960. wrfactortypeid:
  15961. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15962. type: string
  15963. wrfactortypename:
  15964. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15965. type: string
  15966. wrstandardcode:
  15967. description: 现货商品代码
  15968. type: string
  15969. wrstandardid:
  15970. description: 现货商品ID
  15971. type: integer
  15972. wrstandardname:
  15973. description: 商品名称
  15974. type: string
  15975. wrtransferuserid:
  15976. description: 仓单受让用户
  15977. type: integer
  15978. wrtypename:
  15979. description: 商品
  15980. type: string
  15981. required:
  15982. - userid
  15983. type: object
  15984. models.WrPerformancePlanStep:
  15985. properties:
  15986. delaydays:
  15987. description: 延期申请天数
  15988. type: integer
  15989. deliverygoodscode:
  15990. description: 品种代码
  15991. type: string
  15992. deliverygoodsid:
  15993. description: 品种ID
  15994. type: integer
  15995. deliverygoodsname:
  15996. description: 品种名称
  15997. type: string
  15998. endtime:
  15999. description: 结束日期
  16000. type: string
  16001. enumdicname:
  16002. description: 单位名称
  16003. type: string
  16004. executeside:
  16005. description: 步骤执行方 - 1:买方 2:卖方
  16006. type: integer
  16007. handlestatus:
  16008. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16009. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16010. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16011. type: integer
  16012. isauto:
  16013. description: 是否自动 - 0:不自动 1:自动
  16014. type: integer
  16015. islastreceivestep:
  16016. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16017. type: integer
  16018. minivalue:
  16019. description: 现货商品最小变动值
  16020. type: integer
  16021. optioncompare:
  16022. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16023. type: string
  16024. overdays:
  16025. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16026. type: integer
  16027. performancestepid:
  16028. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16029. type: string
  16030. planid:
  16031. description: 所属履约计划ID
  16032. type: string
  16033. realamount:
  16034. description: 实际完成金额
  16035. type: number
  16036. relatedorderid:
  16037. description: 关联单号
  16038. type: string
  16039. remaindays:
  16040. description: 剩余天数
  16041. type: integer
  16042. remark:
  16043. description: 错误备注
  16044. type: string
  16045. starttime:
  16046. description: 开始日期
  16047. type: string
  16048. stepamount:
  16049. description: 步骤金额
  16050. type: number
  16051. stepdays:
  16052. description: 距离上一步天数(分钟)
  16053. type: integer
  16054. stepindex:
  16055. description: 步骤序号
  16056. type: integer
  16057. steplanchtype:
  16058. description: 步骤启动类型 - 1:系统自动 2:手动
  16059. type: integer
  16060. stepremark:
  16061. description: 步骤备注
  16062. type: string
  16063. stepstatus:
  16064. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16065. type: integer
  16066. steptypeid:
  16067. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16068. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16069. type: integer
  16070. steptypename:
  16071. description: 步骤名称
  16072. type: string
  16073. stepvalue:
  16074. description: 步骤值
  16075. type: number
  16076. warehouseid:
  16077. description: 仓库ID
  16078. type: integer
  16079. warehousename:
  16080. description: 仓库名称
  16081. type: string
  16082. wrfactortypeid:
  16083. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16084. type: string
  16085. wrfactortypename:
  16086. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16087. type: string
  16088. wrstandardcode:
  16089. description: 现货商品代码
  16090. type: string
  16091. wrstandardid:
  16092. description: 现货商品ID
  16093. type: integer
  16094. wrstandardname:
  16095. description: 商品名称
  16096. type: string
  16097. wrtypename:
  16098. description: 商品
  16099. type: string
  16100. type: object
  16101. models.WrPerformanceStepType:
  16102. properties:
  16103. canauto:
  16104. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16105. type: integer
  16106. steptypeid:
  16107. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16108. type: integer
  16109. steptypename:
  16110. description: 步骤类型名称
  16111. type: string
  16112. type: object
  16113. models.WrPerformanceTemplateEx:
  16114. properties:
  16115. autoid:
  16116. description: AutoID 模板id
  16117. type: integer
  16118. createtime:
  16119. description: 创建时间
  16120. type: string
  16121. creatorid:
  16122. description: 创建人
  16123. type: integer
  16124. lstStep:
  16125. description: 步骤信息列表
  16126. items:
  16127. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16128. type: array
  16129. paymenttype:
  16130. description: 支付方式 - 1:冻结 2:扣款
  16131. type: integer
  16132. takemode:
  16133. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16134. type: integer
  16135. templatename:
  16136. description: 模板名称
  16137. type: string
  16138. templatetype:
  16139. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16140. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16141. type: integer
  16142. userid:
  16143. description: 所属用户
  16144. type: integer
  16145. type: object
  16146. models.WrPosition:
  16147. properties:
  16148. accountid:
  16149. description: 帐户ID
  16150. type: integer
  16151. buyexcuteqty:
  16152. description: 采购履约中数量
  16153. type: number
  16154. creditcurqty:
  16155. description: 授信当前数量(预售仓单:预售当前量)
  16156. type: number
  16157. creditenableqty:
  16158. description: '授信可用数量(预售仓单: 可用数量)'
  16159. type: number
  16160. creditfreezeqty:
  16161. description: '授信冻结数量(预售仓单: 当前数量)'
  16162. type: number
  16163. credittotalqty:
  16164. description: 授信总数量(预售仓单:预售总量)
  16165. type: number
  16166. credittradeqty:
  16167. description: 授信成交数量(预售仓单:成交总量)
  16168. type: number
  16169. deliverygoodscode:
  16170. description: 品种代码
  16171. type: string
  16172. deliverygoodsid:
  16173. description: 品种ID
  16174. type: integer
  16175. deliverygoodsname:
  16176. description: 品种名称
  16177. type: string
  16178. enalbeqty:
  16179. description: 可用数量
  16180. type: number
  16181. enumdicname:
  16182. description: 单位名称
  16183. type: string
  16184. freezeqty:
  16185. description: 总冻结数量
  16186. type: number
  16187. haswr:
  16188. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16189. type: integer
  16190. minivalue:
  16191. description: 现货商品最小变动值
  16192. type: integer
  16193. modifytime:
  16194. description: 修改时间(过户时间)
  16195. type: string
  16196. optioncompare:
  16197. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16198. type: string
  16199. pledgeqty:
  16200. description: 质押数量
  16201. type: number
  16202. querytype:
  16203. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16204. type: integer
  16205. sellexcuteqty:
  16206. description: 销售履约中数量
  16207. type: number
  16208. totalqty:
  16209. description: 总数量(库存数量)
  16210. type: number
  16211. warehouseid:
  16212. description: 仓库ID
  16213. type: integer
  16214. warehousename:
  16215. description: 仓库名称
  16216. type: string
  16217. wrfactortypeid:
  16218. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16219. type: string
  16220. wrfactortypename:
  16221. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16222. type: string
  16223. wrpositionid:
  16224. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16225. type: string
  16226. wrpositionno:
  16227. description: 仓单编号
  16228. type: string
  16229. wrstandardcode:
  16230. description: 现货商品代码
  16231. type: string
  16232. wrstandardid:
  16233. description: 现货商品ID
  16234. type: integer
  16235. wrstandardname:
  16236. description: 商品名称
  16237. type: string
  16238. wrtypename:
  16239. description: 商品
  16240. type: string
  16241. wruserid:
  16242. description: 持有人ID
  16243. type: integer
  16244. type: object
  16245. models.WrPreSaleInfo:
  16246. properties:
  16247. bannerpicurl:
  16248. description: Banner图
  16249. type: string
  16250. baseqty:
  16251. description: 中签基数
  16252. type: number
  16253. createtime:
  16254. description: 创建时间
  16255. type: string
  16256. deliverygoodsid:
  16257. description: 现货品种ID
  16258. type: integer
  16259. enddate:
  16260. description: 预售结束日期
  16261. type: string
  16262. enumdicname:
  16263. description: 单位名称
  16264. type: string
  16265. lotteryflag:
  16266. description: 摇号标识 - 0:未摇号 1:已摇号
  16267. type: integer
  16268. lotteryqty:
  16269. description: 摇号总量
  16270. type: number
  16271. luckyqty:
  16272. description: 已中签量
  16273. type: number
  16274. marketid:
  16275. description: 市场ID
  16276. type: integer
  16277. maxbuyqty:
  16278. description: 单人最大申购量
  16279. type: number
  16280. maxluckyqty:
  16281. description: 单人最大中签量
  16282. type: number
  16283. pictureurls:
  16284. description: 详情图片(逗号分隔)
  16285. type: string
  16286. placeqty:
  16287. description: 已配售量
  16288. type: number
  16289. presaleapplyid:
  16290. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16291. example: "0"
  16292. type: string
  16293. presaleqty:
  16294. description: 预售总量
  16295. type: number
  16296. presalestatus:
  16297. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16298. type: integer
  16299. sellaccountid:
  16300. description: 发行方资金账户ID
  16301. type: integer
  16302. selluserid:
  16303. description: 发行方用户ID
  16304. type: integer
  16305. sellwrtradeorderid:
  16306. description: 发行方卖委托单ID
  16307. type: string
  16308. startdate:
  16309. description: 预售开始日期
  16310. type: string
  16311. takestartdate:
  16312. description: 提货开始日期
  16313. type: string
  16314. thumurls:
  16315. description: 缩略图片(1:1)(逗号分隔)
  16316. type: string
  16317. tradedate:
  16318. description: 交易日
  16319. type: string
  16320. unitid:
  16321. description: 单位ID
  16322. type: integer
  16323. unitprice:
  16324. description: 商品单价
  16325. type: number
  16326. username:
  16327. description: 发行方用户名称
  16328. type: string
  16329. warehousecode:
  16330. description: 仓库代码(仓库简称)
  16331. type: string
  16332. warehouseid:
  16333. description: 仓库ID
  16334. type: integer
  16335. warehousename:
  16336. description: 仓库名称
  16337. type: string
  16338. wrfactortypeid:
  16339. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16340. example: "0"
  16341. type: string
  16342. wrstandardid:
  16343. description: 现货商品ID
  16344. type: integer
  16345. wrstandardname:
  16346. description: 现货商品名称
  16347. type: string
  16348. type: object
  16349. models.WrQuoteOrderMyq:
  16350. properties:
  16351. buyorsell:
  16352. description: 买卖 - 0:买 1:卖
  16353. type: integer
  16354. canbargain:
  16355. description: 是否可议价 - 0:不可 1:可
  16356. type: integer
  16357. canpart:
  16358. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16359. type: integer
  16360. delistminqty:
  16361. description: 期初均价
  16362. type: number
  16363. deliverygoodscode:
  16364. description: 品种代码
  16365. type: string
  16366. deliverygoodsid:
  16367. description: 品种ID
  16368. type: integer
  16369. deliverygoodsname:
  16370. description: 品种名称
  16371. type: string
  16372. deliverymonth:
  16373. description: 交收月
  16374. type: string
  16375. enumdicname:
  16376. description: 单位名称
  16377. type: string
  16378. fixedprice:
  16379. description: 买(卖)价
  16380. type: number
  16381. goodscode:
  16382. description: 商品合约代码
  16383. type: string
  16384. marginflag:
  16385. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16386. type: integer
  16387. marginvalue:
  16388. description: 保证金设置值
  16389. type: number
  16390. minivalue:
  16391. description: 现货商品最小变动值
  16392. type: integer
  16393. orderqty:
  16394. description: 买(卖)量(=委托量-成交量)
  16395. type: number
  16396. ordertime:
  16397. description: 委托时间
  16398. type: string
  16399. performancetemplateid:
  16400. description: 履约模板id
  16401. type: integer
  16402. pricemove:
  16403. description: 买(卖)升贴水- 基差
  16404. type: number
  16405. templatename:
  16406. description: 履约模板名称
  16407. type: string
  16408. userid:
  16409. description: 购买方(销售方)用户ID
  16410. type: integer
  16411. username:
  16412. description: 购买方(销售方)
  16413. type: string
  16414. validtime:
  16415. description: 有效期限
  16416. type: string
  16417. validtype:
  16418. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16419. type: integer
  16420. warehousename:
  16421. description: 仓库名称
  16422. type: string
  16423. wrfactortypeid:
  16424. description: 仓单要素id
  16425. type: string
  16426. wrstandardcode:
  16427. description: 现货商品代码
  16428. type: string
  16429. wrstandardid:
  16430. description: 现货商品ID
  16431. type: integer
  16432. wrstandardname:
  16433. description: 商品名称
  16434. type: string
  16435. wrtradeorderid:
  16436. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16437. type: string
  16438. wrtypename:
  16439. description: 商品
  16440. type: string
  16441. type: object
  16442. models.WrReckonSpotGoodsTradeSum:
  16443. properties:
  16444. begindate:
  16445. description: 开始日期(结果含开始日期) yyyymmdd
  16446. type: string
  16447. enddate:
  16448. description: 结束日期(结果含结束日期) yyyymmdd
  16449. type: string
  16450. istoday:
  16451. description: 是否当日
  16452. type: boolean
  16453. marketid:
  16454. description: 市场ID
  16455. type: integer
  16456. price:
  16457. description: 价格 = 日成交金额 / 日成交数量
  16458. type: string
  16459. reckondate:
  16460. description: 日期 格式 yyyymmdd
  16461. type: string
  16462. tradeamount:
  16463. description: 期初均价
  16464. type: number
  16465. tradeqty:
  16466. description: 期初均价
  16467. type: number
  16468. wrstandardid:
  16469. description: 现货商品ID
  16470. type: integer
  16471. type: object
  16472. models.WrScfContract:
  16473. properties:
  16474. borroweruserid:
  16475. description: 借款用户ID
  16476. type: integer
  16477. buybackwrpositionqty:
  16478. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16479. type: number
  16480. closeinterest:
  16481. description: 已结利息 -> 已结费用
  16482. type: number
  16483. currisklevel:
  16484. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16485. type: integer
  16486. deadline:
  16487. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16488. type: string
  16489. deliverygoodscode:
  16490. description: 品种代码
  16491. type: string
  16492. deliverygoodsid:
  16493. description: 品种ID
  16494. type: integer
  16495. deliverygoodsname:
  16496. description: 品种名称
  16497. type: string
  16498. enumdicname:
  16499. description: 单位名称
  16500. type: string
  16501. financingdays:
  16502. description: 天数(天)
  16503. type: integer
  16504. initmargin:
  16505. description: 保证金 - [仓单回购]
  16506. type: number
  16507. interestamount:
  16508. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16509. type: number
  16510. interestdebt:
  16511. description: 利息欠款(记录负数) -> 费用欠款
  16512. type: number
  16513. interestminlen:
  16514. description: 最小起息天数
  16515. type: integer
  16516. interestrate:
  16517. description: 利率
  16518. type: number
  16519. interestratemode:
  16520. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16521. type: integer
  16522. interestsettlemode:
  16523. description: 结息方式 - 1:按日结息 3:按月结息
  16524. type: integer
  16525. interestsettlevalue:
  16526. description: 结息方式值
  16527. type: integer
  16528. isautoloan:
  16529. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16530. type: integer
  16531. lastcloseinterestday:
  16532. description: 最近结息日(yyyyMMdd)
  16533. type: string
  16534. lenderamount:
  16535. description: 贷款金额 -> 借款金额
  16536. type: number
  16537. lenderuserid:
  16538. description: 贷款方用户ID -> 融出方用户ID
  16539. type: integer
  16540. lenderusername:
  16541. description: 融出方
  16542. type: string
  16543. marginratio:
  16544. description: 保证金比率质押率 - [仓单质押]
  16545. type: number
  16546. marketid:
  16547. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16548. type: integer
  16549. minivalue:
  16550. description: 现货商品最小变动值
  16551. type: integer
  16552. optioncompare:
  16553. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16554. type: string
  16555. pricemove:
  16556. description: 估值升贴水值
  16557. type: number
  16558. productdetailid:
  16559. description: 产品组合ID
  16560. type: integer
  16561. productid:
  16562. description: 金融产品ID
  16563. type: integer
  16564. productname:
  16565. description: 产品名称
  16566. type: string
  16567. remainamount:
  16568. description: 合同剩余金额 -> 剩余金额
  16569. type: number
  16570. remainwrpositionqty:
  16571. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16572. type: number
  16573. remark:
  16574. description: 备注
  16575. type: string
  16576. scfcontractid:
  16577. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16578. type: string
  16579. scfcontractstatus:
  16580. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16581. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16582. type: integer
  16583. scfcontracttype:
  16584. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16585. type: integer
  16586. startinterestday:
  16587. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16588. type: string
  16589. totalinterest:
  16590. description: 已计利息 -> 已计费用
  16591. type: number
  16592. unpaidinterest:
  16593. description: 期初均价
  16594. type: number
  16595. updatetime:
  16596. description: 更新时间
  16597. type: string
  16598. warehouseid:
  16599. description: 仓库ID
  16600. type: integer
  16601. warehousename:
  16602. description: 仓库名称
  16603. type: string
  16604. wrfactortypeid:
  16605. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16606. type: string
  16607. wrfactortypename:
  16608. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16609. type: string
  16610. wrqty:
  16611. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16612. type: number
  16613. wrstandardcode:
  16614. description: 现货商品代码
  16615. type: string
  16616. wrstandardid:
  16617. description: 现货商品ID
  16618. type: integer
  16619. wrstandardname:
  16620. description: 商品名称
  16621. type: string
  16622. wrtypename:
  16623. description: 商品
  16624. type: string
  16625. type: object
  16626. models.WrScfContractInterest:
  16627. properties:
  16628. closeinterest:
  16629. description: 已结利息
  16630. type: number
  16631. closeintereststatus:
  16632. description: 结息状态 - 1:未结 2:已结
  16633. type: integer
  16634. closetime:
  16635. description: 结息时间
  16636. type: string
  16637. closetradedate:
  16638. description: 结息交易日
  16639. type: string
  16640. creatorid:
  16641. description: 操作人ID
  16642. type: integer
  16643. dayrate:
  16644. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16645. type: number
  16646. interest:
  16647. description: 利息
  16648. type: number
  16649. interestamount:
  16650. description: 计息金额
  16651. type: number
  16652. interestday:
  16653. description: 计息日(yyyyMMdd)
  16654. type: string
  16655. scfcontractid:
  16656. description: SCF合同ID
  16657. type: string
  16658. scfcontractinterestid:
  16659. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16660. type: integer
  16661. updatetime:
  16662. description: 更新时间
  16663. type: string
  16664. type: object
  16665. models.WrSearchUser:
  16666. properties:
  16667. userid:
  16668. description: 用户ID
  16669. type: integer
  16670. username:
  16671. description: 用户名称(已脱敏)
  16672. type: string
  16673. username2:
  16674. description: 用户名称(未脱敏)
  16675. type: string
  16676. usertype:
  16677. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16678. type: integer
  16679. required:
  16680. - username
  16681. type: object
  16682. models.WrSiteColumnDetail:
  16683. properties:
  16684. brief:
  16685. description: 简介
  16686. type: string
  16687. context:
  16688. description: 内容
  16689. type: string
  16690. coverimage:
  16691. description: 封面图片
  16692. type: string
  16693. creaedate:
  16694. description: 创建时间
  16695. type: string
  16696. id:
  16697. description: ID(SEQ_SITE_COLUMNDETAIL)
  16698. type: integer
  16699. istop:
  16700. description: 是否置顶 - 0:不置 1:置顶
  16701. type: integer
  16702. publishdate:
  16703. description: 发布日期
  16704. type: string
  16705. title:
  16706. description: 标题
  16707. type: string
  16708. updatedate:
  16709. description: 修改时间
  16710. type: string
  16711. type: object
  16712. models.WrSpecialMatchOrder:
  16713. properties:
  16714. amount:
  16715. description: 金额 = 数量 * 价格
  16716. type: number
  16717. buyorsell:
  16718. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16719. type: integer
  16720. cancelqty:
  16721. description: 撤销数量
  16722. type: number
  16723. deliverygoodscode:
  16724. description: 品种代码
  16725. type: string
  16726. deliverygoodsid:
  16727. description: 品种ID
  16728. type: integer
  16729. deliverygoodsname:
  16730. description: 品种名称
  16731. type: string
  16732. enumdicname:
  16733. description: 单位名称
  16734. type: string
  16735. fixedprice:
  16736. description: 固定价格(价格)
  16737. type: number
  16738. haswr:
  16739. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16740. type: integer
  16741. isspecified:
  16742. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16743. type: integer
  16744. marketid:
  16745. description: 市场ID
  16746. type: integer
  16747. matchuserid:
  16748. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16749. type: integer
  16750. matchusername:
  16751. description: 指定方
  16752. type: string
  16753. minivalue:
  16754. description: 现货商品最小变动值
  16755. type: integer
  16756. optioncompare:
  16757. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16758. type: string
  16759. orderqty:
  16760. description: 委托数量
  16761. type: number
  16762. ordertime:
  16763. description: 委托时间
  16764. type: string
  16765. pricemove:
  16766. description: 升贴水(浮动价时填写) - [挂牌]
  16767. type: number
  16768. tradedate:
  16769. description: 交易日(yyyyMMdd)
  16770. type: string
  16771. tradeprice:
  16772. description: 成交价格
  16773. type: number
  16774. tradeqty:
  16775. description: 成交数量
  16776. type: number
  16777. userid:
  16778. description: 用户ID
  16779. type: integer
  16780. username:
  16781. description: 发起方
  16782. type: string
  16783. warehouseid:
  16784. description: 仓库ID
  16785. type: integer
  16786. warehousename:
  16787. description: 仓库名称
  16788. type: string
  16789. wrfactortypeid:
  16790. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16791. type: string
  16792. wrfactortypename:
  16793. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16794. type: string
  16795. wrpricetype:
  16796. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16797. type: integer
  16798. wrstandardcode:
  16799. description: 现货商品代码
  16800. type: string
  16801. wrstandardid:
  16802. description: 现货商品ID
  16803. type: integer
  16804. wrstandardname:
  16805. description: 商品名称
  16806. type: string
  16807. wrtradeorderid:
  16808. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16809. type: string
  16810. wrtradeorderstatus:
  16811. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  16812. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16813. type: integer
  16814. wrtradetype:
  16815. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16816. type: integer
  16817. wrtypename:
  16818. description: 商品
  16819. type: string
  16820. type: object
  16821. models.WrSpotGroupTradeSum:
  16822. properties:
  16823. deliverygoodscode:
  16824. description: 现货品种代码
  16825. type: string
  16826. deliverygoodsid:
  16827. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16828. type: integer
  16829. deliverygoodsname:
  16830. description: 现货品种名称
  16831. type: string
  16832. lastavgprice:
  16833. description: 上上个交易日价格(前2天价格)
  16834. type: string
  16835. lastreckondate:
  16836. description: 上上个交易日(前2天交易日)
  16837. type: string
  16838. reckondate:
  16839. description: 上个交易日(前1天交易日)
  16840. type: string
  16841. todayavgprice:
  16842. description: 上个交易日价格(前1天价格)
  16843. type: string
  16844. updown:
  16845. description: 涨跌
  16846. type: string
  16847. updownratio:
  16848. description: 涨幅(已格式化, 直接显示即可)
  16849. type: string
  16850. type: object
  16851. models.WrSpotGroupTradeSumDetail:
  16852. properties:
  16853. deliverygoodsid:
  16854. description: 现货商品id
  16855. type: integer
  16856. price:
  16857. description: 价格
  16858. type: number
  16859. reckondate:
  16860. description: 日期(yyymmdd, 如:20211031)
  16861. type: string
  16862. type: object
  16863. models.WrSpotGroupTradeSumEx:
  16864. properties:
  16865. lst:
  16866. description: 指数列表
  16867. items:
  16868. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16869. type: array
  16870. prereckondate:
  16871. description: 上上个交易日(yyymmdd)
  16872. type: string
  16873. reckondate:
  16874. description: 上个交易日(yyyymmdd)
  16875. type: string
  16876. type: object
  16877. models.WrStandardFactoryItem:
  16878. properties:
  16879. dgfactoryitemid:
  16880. description: 选择项id
  16881. type: integer
  16882. dgfactoryitemvalue:
  16883. description: 要素项值
  16884. type: string
  16885. warehouseid:
  16886. description: 仓库id
  16887. type: integer
  16888. type: object
  16889. models.WrStandardFactoryItemEx:
  16890. properties:
  16891. dgfactoryitemtypeid:
  16892. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16893. type: integer
  16894. itemlst:
  16895. description: 要素项列表
  16896. items:
  16897. $ref: '#/definitions/models.WrStandardFactoryItem'
  16898. type: array
  16899. itemtypename:
  16900. description: 要素项类型名称
  16901. type: string
  16902. wrstandardid:
  16903. description: 品类
  16904. type: integer
  16905. type: object
  16906. models.WrTradeDetail:
  16907. properties:
  16908. accountid:
  16909. description: 资金账号
  16910. type: integer
  16911. bannerpicurl:
  16912. description: Banner图
  16913. type: string
  16914. begindate:
  16915. description: 开始交易日(yyyymmdd)
  16916. type: string
  16917. buyorsell:
  16918. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16919. type: integer
  16920. chargevalue:
  16921. description: 手续费
  16922. type: number
  16923. deliverygoodscode:
  16924. description: 品种代码
  16925. type: string
  16926. deliverygoodsid:
  16927. description: 品种ID
  16928. type: integer
  16929. deliverygoodsname:
  16930. description: 品种名称
  16931. type: string
  16932. deliverymonth:
  16933. description: 交收月
  16934. type: string
  16935. enddate:
  16936. description: 结束交易日(yyyymmdd)
  16937. type: string
  16938. enumdicname:
  16939. description: 单位名称
  16940. type: string
  16941. haswr:
  16942. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16943. type: integer
  16944. marketid:
  16945. description: 市场ID
  16946. type: integer
  16947. matchaccountid:
  16948. description: 对手账号
  16949. type: integer
  16950. matchusername:
  16951. description: 对手方
  16952. type: string
  16953. minivalue:
  16954. description: 现货商品最小变动值
  16955. type: integer
  16956. optioncompare:
  16957. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16958. type: string
  16959. thumurls:
  16960. description: 缩略图
  16961. type: string
  16962. tradedate:
  16963. description: 交易日(yyyyMMdd)
  16964. type: string
  16965. tradeprice:
  16966. description: 成交价格
  16967. type: number
  16968. tradeqty:
  16969. description: 成交数量
  16970. type: number
  16971. tradetime:
  16972. description: 成交时间
  16973. type: string
  16974. userid:
  16975. description: 用户ID
  16976. type: integer
  16977. warehouseid:
  16978. description: 仓库ID
  16979. type: integer
  16980. warehousename:
  16981. description: 仓库名称
  16982. type: string
  16983. wrfactortypeid:
  16984. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16985. type: string
  16986. wrfactortypename:
  16987. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16988. type: string
  16989. wrstandardcode:
  16990. description: 现货商品代码
  16991. type: string
  16992. wrstandardid:
  16993. description: 现货商品ID
  16994. type: integer
  16995. wrstandardname:
  16996. description: 商品名称
  16997. type: string
  16998. wrtradedetailid:
  16999. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17000. type: string
  17001. wrtradetype:
  17002. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17003. type: integer
  17004. wrtypename:
  17005. description: 商品
  17006. type: string
  17007. type: object
  17008. models.WrTradeOrderDetail:
  17009. properties:
  17010. buyorsell:
  17011. description: 买卖方向 0-买 1-卖
  17012. type: integer
  17013. goodsid:
  17014. description: 商品id
  17015. type: integer
  17016. orderid:
  17017. description: 委托单号
  17018. type: string
  17019. orderprice:
  17020. description: 期初均价
  17021. type: number
  17022. orderqty:
  17023. description: 委托数量
  17024. type: integer
  17025. userid:
  17026. description: 用户id
  17027. type: integer
  17028. username:
  17029. description: 用户名称(已脱敏)
  17030. type: string
  17031. type: object
  17032. models.WrTypeItem:
  17033. properties:
  17034. name:
  17035. description: 名称
  17036. type: string
  17037. value:
  17038. description: 值
  17039. type: string
  17040. type: object
  17041. models.WrUserFriend:
  17042. properties:
  17043. friendname:
  17044. description: 朋友名称(已脱敏)
  17045. type: string
  17046. frienduserid:
  17047. description: 朋友id
  17048. type: integer
  17049. isfriend:
  17050. description: 是否好友 0-不是 1-是
  17051. type: integer
  17052. userid:
  17053. description: 用户id
  17054. type: integer
  17055. type: object
  17056. models.WrUserReceiptInfo:
  17057. properties:
  17058. address:
  17059. description: 地址[发票类型:企业]
  17060. type: string
  17061. autoid:
  17062. description: AutoID
  17063. type: integer
  17064. contactinfo:
  17065. description: 联系方式
  17066. type: string
  17067. idnum:
  17068. description: 身份证号码[发票类型:个人]
  17069. type: string
  17070. isdefault:
  17071. description: 是否默认地址 - 0:否 1:是
  17072. type: integer
  17073. receiptaccount:
  17074. description: 发票帐号[发票类型:企业]
  17075. type: string
  17076. receiptbank:
  17077. description: 发票开户行[发票类型:企业]
  17078. type: string
  17079. receipttype:
  17080. description: 发票类型 - 1:个人 2:企业
  17081. type: integer
  17082. taxpayerid:
  17083. description: 纳税人识别号
  17084. type: string
  17085. userid:
  17086. description: 用户ID
  17087. type: integer
  17088. username:
  17089. description: 户名(个人姓名或企业名称)
  17090. type: string
  17091. type: object
  17092. models.Wrtradetradequote:
  17093. properties:
  17094. begindate:
  17095. description: 开始日期(结果含开始日期) yyyymmdd
  17096. type: string
  17097. buyaccountid:
  17098. description: 买方账号ID
  17099. type: integer
  17100. buyuserid:
  17101. description: 买方用户ID
  17102. type: integer
  17103. deliverygoodsid:
  17104. description: 现货品种ID
  17105. type: integer
  17106. enddate:
  17107. description: 结束日期(结果含结束日期) yyyymmdd
  17108. type: string
  17109. marketid:
  17110. description: 市场ID
  17111. type: integer
  17112. sellaccountid:
  17113. description: 卖方账号ID
  17114. type: integer
  17115. selluserid:
  17116. description: 卖方用户ID
  17117. type: integer
  17118. tradeamount:
  17119. description: 成交金额
  17120. type: number
  17121. tradedate:
  17122. description: 交易日(yyyyMMdd)
  17123. type: string
  17124. tradeprice:
  17125. description: 成交价格
  17126. type: number
  17127. tradeqty:
  17128. description: 成交数量
  17129. type: integer
  17130. tradetime:
  17131. description: 成交时间
  17132. type: string
  17133. wrfactortypeid:
  17134. description: 仓单要素类型ID
  17135. type: integer
  17136. wrstandardid:
  17137. description: 现货商品ID
  17138. type: integer
  17139. wrtradedetailid:
  17140. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17141. type: string
  17142. type: object
  17143. models.XHBRAND:
  17144. properties:
  17145. brandid:
  17146. description: 品牌id
  17147. type: integer
  17148. brandname:
  17149. description: 品牌名称
  17150. type: string
  17151. isvalid:
  17152. description: 是否有效 0-无效 1-有效
  17153. type: integer
  17154. type: object
  17155. models.XHDeliveryGoods:
  17156. properties:
  17157. areauserid:
  17158. description: 所属机构
  17159. type: integer
  17160. bdlst:
  17161. description: 品牌列表
  17162. items:
  17163. $ref: '#/definitions/models.XHBRAND'
  17164. type: array
  17165. deliverygoodscode:
  17166. description: 现货品种代码
  17167. type: string
  17168. deliverygoodsid:
  17169. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17170. type: integer
  17171. deliverygoodsname:
  17172. description: 现货品种名称
  17173. type: string
  17174. dgstatus:
  17175. description: 品种状态 - 作废 - 0:未激活 1:正常
  17176. type: integer
  17177. filterSubEmpty:
  17178. description: 过滤下级为空的
  17179. type: integer
  17180. isvalid:
  17181. description: 是否有效 - 0:无效 1:有效
  17182. type: integer
  17183. remark:
  17184. description: 备注
  17185. type: string
  17186. unitid:
  17187. description: 单位id(目前看,数据库中是空值)
  17188. type: integer
  17189. wdlst:
  17190. description: 品类(现货商品)列表
  17191. items:
  17192. $ref: '#/definitions/models.XHWrstandard'
  17193. type: array
  17194. type: object
  17195. models.XHMiddleGoods:
  17196. properties:
  17197. GPLST:
  17198. description: 期货品种列表
  17199. items:
  17200. $ref: '#/definitions/models.TBGoodsGroup'
  17201. type: array
  17202. convertratio:
  17203. description: 拆算系数
  17204. type: number
  17205. costratio:
  17206. description: 成本权重
  17207. type: number
  17208. deliverygoodsid:
  17209. description: 现货商品id
  17210. type: integer
  17211. enumdicname:
  17212. description: 单位名称
  17213. type: string
  17214. middlegoodscode:
  17215. description: 套保品种代码
  17216. type: string
  17217. middlegoodsid:
  17218. description: 套保品种id
  17219. type: integer
  17220. middlegoodsname:
  17221. description: 套保品种名称
  17222. type: string
  17223. unitid:
  17224. description: 单位id
  17225. type: integer
  17226. type: object
  17227. models.XHWrstandard:
  17228. properties:
  17229. bannerpicurl:
  17230. description: banner图
  17231. type: string
  17232. deliverygoodsid:
  17233. description: 品种ID
  17234. type: integer
  17235. enumdicname:
  17236. description: 单位名称
  17237. type: string
  17238. mglst:
  17239. description: 套保品列表
  17240. items:
  17241. $ref: '#/definitions/models.XHMiddleGoods'
  17242. type: array
  17243. pictureurls:
  17244. description: 详情图片(逗号分隔)
  17245. type: string
  17246. thumurls:
  17247. description: 缩略图片(1:1)(逗号分隔)
  17248. type: string
  17249. unitid:
  17250. description: 单位id
  17251. type: integer
  17252. vatrate:
  17253. description: 增值税率
  17254. type: number
  17255. wrstandardcode:
  17256. description: 现货商品代码
  17257. type: string
  17258. wrstandardid:
  17259. description: 现货商品ID(SEQ_WRSTANDARD)
  17260. type: integer
  17261. wrstandardname:
  17262. description: 现货商品名称
  17263. type: string
  17264. type: object
  17265. models.XhcpSellBackApplyEx:
  17266. properties:
  17267. applyremark:
  17268. description: 申请备注
  17269. type: string
  17270. expirytype:
  17271. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  17272. type: integer
  17273. goodsspec:
  17274. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  17275. type: integer
  17276. holeflag:
  17277. description: 是否破洞[原封] - 1:无破洞 2:破洞
  17278. type: integer
  17279. isunopened:
  17280. description: 是否原封 - 1:否 2:是
  17281. type: integer
  17282. mpflag:
  17283. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  17284. type: integer
  17285. openflag:
  17286. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  17287. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  17288. type: integer
  17289. phonenum:
  17290. description: 联系电话
  17291. type: string
  17292. userid:
  17293. description: 所属用户ID
  17294. type: integer
  17295. zpflag:
  17296. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  17297. type: integer
  17298. required:
  17299. - userid
  17300. type: object
  17301. models.Xhcpsellbackapply:
  17302. properties:
  17303. applyid:
  17304. description: 申请人
  17305. type: integer
  17306. applyremark:
  17307. description: 申请备注
  17308. type: string
  17309. applysrc:
  17310. description: 申请来源 - 1:管理端 2:终端
  17311. type: integer
  17312. applystatus:
  17313. description: 申请状态 - 1:待确认 2:已处理
  17314. type: integer
  17315. applytime:
  17316. description: 申请时间
  17317. type: string
  17318. auditremark:
  17319. description: 审核备注
  17320. type: string
  17321. auditsrc:
  17322. description: 审核来源 - 1:管理端 2:终端
  17323. type: integer
  17324. expirytype:
  17325. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  17326. type: integer
  17327. goodsspec:
  17328. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  17329. type: integer
  17330. holeflag:
  17331. description: 是否破洞[原封] - 1:无破洞 2:破洞
  17332. type: integer
  17333. isunopened:
  17334. description: 是否原封 - 1:否 2:是
  17335. type: integer
  17336. mpflag:
  17337. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  17338. type: integer
  17339. openflag:
  17340. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  17341. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  17342. type: integer
  17343. phonenum:
  17344. description: 联系电话
  17345. type: string
  17346. sellbackapplyid:
  17347. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  17348. type: string
  17349. userid:
  17350. description: 所属用户ID
  17351. type: integer
  17352. zpflag:
  17353. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  17354. type: integer
  17355. required:
  17356. - userid
  17357. type: object
  17358. order.QueryHisTradeDetailRsp:
  17359. properties:
  17360. accountid:
  17361. description: 账户ID[报价币种]
  17362. type: integer
  17363. advanceratio:
  17364. description: 首付比率
  17365. type: number
  17366. buildtype:
  17367. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17368. type: integer
  17369. buyorsell:
  17370. description: 方向 - 0:买 1:卖
  17371. type: integer
  17372. charge:
  17373. description: 手续费
  17374. type: number
  17375. closecharge:
  17376. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17377. type: number
  17378. closeexchagechargevalue:
  17379. description: 平仓交易所手续费设置值
  17380. type: number
  17381. closefeealgorithm:
  17382. description: 平仓手续费收取方式 1:比率 2:固定
  17383. type: integer
  17384. closememberchargevalue:
  17385. description: 平仓会员手续费设置值
  17386. type: number
  17387. closepl:
  17388. description: 平仓盈亏
  17389. type: number
  17390. closepl2:
  17391. description: 平仓盈亏[逐笔]
  17392. type: number
  17393. closeqty:
  17394. description: 平仓数量(先建后平操作 需要记录)
  17395. type: number
  17396. creditamount:
  17397. description: 授信金额
  17398. type: number
  17399. decimalplace:
  17400. description: 商品报价小数位
  17401. type: integer
  17402. enumdicname:
  17403. description: 单位名称
  17404. type: string
  17405. gcaccountid:
  17406. description: 账户ID[合约币种]
  17407. type: integer
  17408. goodscode:
  17409. description: 商品代码
  17410. type: string
  17411. goodsid:
  17412. description: 商品ID
  17413. type: integer
  17414. goodsname:
  17415. description: 商品名称
  17416. type: string
  17417. goodunitid:
  17418. description: 商品单位id
  17419. type: integer
  17420. histradedate:
  17421. description: 历史交易日
  17422. type: string
  17423. intclosepl:
  17424. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17425. type: integer
  17426. isconfirmexercise:
  17427. description: 是否确认行权- 0:否 1:是
  17428. type: integer
  17429. ismain:
  17430. description: 是否主单 - 0:不是 1:是
  17431. type: integer
  17432. ispreexercise:
  17433. description: 是否预申报- 0:否 1:是
  17434. type: integer
  17435. isreckoned:
  17436. description: 是否结算 - 0:未结算 1:已结算
  17437. type: integer
  17438. isvaliddata:
  17439. description: 是否有效 - 0:无效 1:有效
  17440. type: integer
  17441. listingselecttype:
  17442. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17443. type: integer
  17444. marketid:
  17445. description: 市场ID
  17446. type: integer
  17447. marketname:
  17448. description: 市场名称
  17449. type: string
  17450. matchaccountid:
  17451. description: 对手账号id
  17452. type: integer
  17453. memberuserid:
  17454. description: 会员id 个人投资者 需要填写
  17455. type: integer
  17456. opencharge:
  17457. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17458. type: number
  17459. openexchagechargevalue:
  17460. description: 建仓交易所手续费设置值
  17461. type: number
  17462. openfeealgorithm:
  17463. description: 建仓手续费收取方式 1:比率 2:固定
  17464. type: integer
  17465. openmemberchargevalue:
  17466. description: 建仓会员手续费设置值
  17467. type: number
  17468. openqty:
  17469. description: 开仓数量(先建后平操作 需要记录)
  17470. type: number
  17471. optiontype:
  17472. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17473. type: integer
  17474. orderid:
  17475. description: 委托单号
  17476. type: string
  17477. payamount:
  17478. description: 支付金额(付款金额)
  17479. type: number
  17480. performanceplanid:
  17481. description: 履约计划ID[期权]
  17482. type: integer
  17483. performancestatus:
  17484. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17485. type: integer
  17486. preexerciseprice:
  17487. description: 预申报价格
  17488. type: number
  17489. premium:
  17490. description: 权利金 - [持仓单的权利金]
  17491. type: number
  17492. qtydecimalplace:
  17493. description: 商品报价小数位
  17494. type: integer
  17495. recvamount:
  17496. description: 到账金额 = 成交金额 - 手续费
  17497. type: number
  17498. relatedouttradeid:
  17499. description: 关联外部成交单ID
  17500. type: integer
  17501. status:
  17502. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17503. type: integer
  17504. totalamount:
  17505. description: 订单总额 = 成交金额 + 手续费
  17506. type: number
  17507. tradeamount:
  17508. description: 成交金额[账户币种,用于所有权]
  17509. type: number
  17510. tradedate:
  17511. description: 交易日(yyyyMMdd)
  17512. type: string
  17513. tradeid:
  17514. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17515. type: string
  17516. trademode:
  17517. description: 交易模式
  17518. type: integer
  17519. tradeprice:
  17520. description: 成交价格
  17521. type: number
  17522. tradeproperty:
  17523. description: 交易属性
  17524. type: integer
  17525. tradeqty:
  17526. description: 成交数量
  17527. type: number
  17528. tradetime:
  17529. description: 成交时间
  17530. type: string
  17531. tradetype:
  17532. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17533. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17534. type: integer
  17535. required:
  17536. - accountid
  17537. - buyorsell
  17538. - goodsid
  17539. - histradedate
  17540. - marketid
  17541. - memberuserid
  17542. - orderid
  17543. - tradeamount
  17544. - tradedate
  17545. - tradeid
  17546. - tradeprice
  17547. - tradeqty
  17548. - tradetime
  17549. type: object
  17550. order.QueryHisTradeOrderDetailRsp:
  17551. properties:
  17552. accountid:
  17553. description: 账户ID[报价币种]
  17554. type: integer
  17555. buildtype:
  17556. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17557. type: integer
  17558. buyorsell:
  17559. description: 买卖 - 0:买 1:卖
  17560. type: integer
  17561. cancelorderid:
  17562. description: 撤单单号(撤单时填写)
  17563. type: string
  17564. cancelqty:
  17565. description: 撤单数量
  17566. type: number
  17567. clientordertime:
  17568. description: 客户端委托时间
  17569. type: string
  17570. clientticket:
  17571. description: 客户端流水号
  17572. type: string
  17573. clienttype:
  17574. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17575. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17576. type: integer
  17577. closeexchagechargevalue:
  17578. description: 平仓交易所手续费设置值
  17579. type: number
  17580. closefeealgorithm:
  17581. description: 平仓手续费收取方式 1:比率 2:固定
  17582. type: integer
  17583. closefreezecharge:
  17584. description: 平仓冻结手续费(先建后平操作,需要记录)
  17585. type: number
  17586. closememberchargevalue:
  17587. description: 平仓会员手续费设置值
  17588. type: number
  17589. closeqty:
  17590. description: 平仓数量(先建后平操作 需要记录)
  17591. type: number
  17592. closetradeqty:
  17593. description: 平仓成交数量(先建后平操作,需要记录)
  17594. type: number
  17595. closeunfreezecharge:
  17596. description: 平仓解冻手续费(先建后平操作,需要记录)
  17597. type: number
  17598. decimalplace:
  17599. description: 商品报价小数位
  17600. type: integer
  17601. delistingtype:
  17602. description: 摘牌类型 - 1:价格最优 2:点选成交
  17603. type: integer
  17604. enumdicname:
  17605. description: 单位名称
  17606. type: string
  17607. freezecharge:
  17608. description: 冻结手续费
  17609. type: number
  17610. freezemargin:
  17611. description: 冻结保证金(冻结交易金额)
  17612. type: number
  17613. gcaccountid:
  17614. description: 账户ID[合约币种]
  17615. type: integer
  17616. goodscode:
  17617. description: 商品代码
  17618. type: string
  17619. goodsid:
  17620. description: 商品ID
  17621. type: integer
  17622. goodsname:
  17623. description: 商品名称
  17624. type: string
  17625. goodunitid:
  17626. description: 商品单位id
  17627. type: integer
  17628. histradedate:
  17629. description: 历史交易日
  17630. type: string
  17631. isconfirmexercise:
  17632. description: 是否确认行权- 0:否 1:是
  17633. type: integer
  17634. ispreexercise:
  17635. description: 是否预申报- 0:否 1:是
  17636. type: integer
  17637. isvaliddata:
  17638. description: 是否有效 - 0:无效 1:有效
  17639. type: integer
  17640. listingselecttype:
  17641. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17642. type: integer
  17643. marginalgorithm:
  17644. description: 保证金收取方式 1:比率 2:固定
  17645. type: integer
  17646. marginvalue:
  17647. description: 即市保证金设置值
  17648. type: number
  17649. marketid:
  17650. description: 市场ID
  17651. type: integer
  17652. marketmaxsub:
  17653. description: 市价最大偏移范围
  17654. type: number
  17655. marketname:
  17656. description: 市场名称
  17657. type: string
  17658. memberuserid:
  17659. description: 所属会员UserID
  17660. type: integer
  17661. openexchagechargevalue:
  17662. description: 建仓交易所手续费设置值
  17663. type: number
  17664. openfeealgorithm:
  17665. description: 建仓手续费收取方式 1:比率 2:固定
  17666. type: integer
  17667. openfreezecharge:
  17668. description: 开仓冻结手续费(先建后平操作,需要记录)
  17669. type: number
  17670. openmemberchargevalue:
  17671. description: 建仓会员手续费设置值
  17672. type: number
  17673. openqty:
  17674. description: 开仓数量(先建后平操作,需要记录)
  17675. type: number
  17676. opentradeqty:
  17677. description: 开仓成交数量(先建后平操作,需要记录)
  17678. type: number
  17679. openunfreezecharge:
  17680. description: 开仓解冻手续费(先建后平操作,需要记录)
  17681. type: number
  17682. operatetype:
  17683. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17684. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17685. 15:管理端协议转让
  17686. type: integer
  17687. operatorid:
  17688. description: 登录账号(LoginID)
  17689. type: integer
  17690. optiontype:
  17691. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17692. type: integer
  17693. orderid:
  17694. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17695. type: string
  17696. orderprice:
  17697. description: 委托价格
  17698. type: number
  17699. orderqty:
  17700. description: 委托数量
  17701. type: number
  17702. ordersrc:
  17703. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17704. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17705. type: integer
  17706. orderstatus:
  17707. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17708. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17709. 16:成交失败违约(荷兰式竞拍专用)
  17710. type: integer
  17711. ordertime:
  17712. description: 委托时间
  17713. type: string
  17714. preexerciseprice:
  17715. description: 预申报价格
  17716. type: number
  17717. premium:
  17718. description: 权利金
  17719. type: number
  17720. preorderid:
  17721. description: 关联预埋单号(止盈止损单时填写)
  17722. type: string
  17723. pricemode:
  17724. description: '取价方式 - 1:市价 2: 限价'
  17725. type: integer
  17726. qtydecimalplace:
  17727. description: 成交量小数位
  17728. type: integer
  17729. quoteid:
  17730. description: 报价单ID
  17731. type: integer
  17732. relatedid:
  17733. description: 关联单号(交割单)
  17734. type: string
  17735. retcode:
  17736. description: 错误代码
  17737. type: integer
  17738. sessionid:
  17739. description: 会话ID
  17740. type: integer
  17741. tradedate:
  17742. description: 交易日(yyyyMMdd)
  17743. type: string
  17744. trademode:
  17745. description: 交易模式
  17746. type: integer
  17747. tradeproperty:
  17748. description: 交易属性
  17749. type: integer
  17750. tradeqty:
  17751. description: 成交数量
  17752. type: number
  17753. unfreezecharge:
  17754. description: 解冻手续费
  17755. type: number
  17756. unfreezemargin:
  17757. description: 解冻保证金
  17758. type: number
  17759. updatetime:
  17760. description: 更新时间
  17761. type: string
  17762. uuid:
  17763. description: 发起端唯一id
  17764. type: string
  17765. validtime:
  17766. description: 有效期限
  17767. type: string
  17768. validtype:
  17769. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17770. type: integer
  17771. volumetype:
  17772. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17773. type: integer
  17774. required:
  17775. - accountid
  17776. - buildtype
  17777. - buyorsell
  17778. - goodsid
  17779. - histradedate
  17780. - marketid
  17781. - memberuserid
  17782. - operatetype
  17783. - orderid
  17784. - orderqty
  17785. - ordertime
  17786. - pricemode
  17787. - tradedate
  17788. - validtype
  17789. type: object
  17790. order.QueryTradeDetailRsp:
  17791. properties:
  17792. accountid:
  17793. description: 账户ID[报价币种]
  17794. type: integer
  17795. advanceratio:
  17796. description: 首付比率
  17797. type: number
  17798. buildtype:
  17799. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17800. type: integer
  17801. buyorsell:
  17802. description: 方向 - 0:买 1:卖
  17803. type: integer
  17804. charge:
  17805. description: 手续费
  17806. type: number
  17807. closecharge:
  17808. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17809. type: number
  17810. closeexchagechargevalue:
  17811. description: 平仓交易所手续费设置值
  17812. type: number
  17813. closefeealgorithm:
  17814. description: 平仓手续费收取方式 1:比率 2:固定
  17815. type: integer
  17816. closememberchargevalue:
  17817. description: 平仓会员手续费设置值
  17818. type: number
  17819. closepl:
  17820. description: 平仓盈亏
  17821. type: number
  17822. closepl2:
  17823. description: 平仓盈亏[逐笔]
  17824. type: number
  17825. closeqty:
  17826. description: 平仓数量(先建后平操作 需要记录)
  17827. type: number
  17828. creditamount:
  17829. description: 授信金额
  17830. type: number
  17831. decimalplace:
  17832. description: 商品报价小数位
  17833. type: integer
  17834. enumdicname:
  17835. description: 单位名称
  17836. type: string
  17837. gcaccountid:
  17838. description: 账户ID[合约币种]
  17839. type: integer
  17840. goodscode:
  17841. description: 商品代码
  17842. type: string
  17843. goodsid:
  17844. description: 商品ID
  17845. type: integer
  17846. goodsname:
  17847. description: 商品名称
  17848. type: string
  17849. goodunitid:
  17850. description: 商品单位id
  17851. type: integer
  17852. intclosepl:
  17853. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17854. type: integer
  17855. isconfirmexercise:
  17856. description: 是否确认行权- 0:否 1:是
  17857. type: integer
  17858. ismain:
  17859. description: 是否主单 - 0:不是 1:是
  17860. type: integer
  17861. ispreexercise:
  17862. description: 是否预申报- 0:否 1:是
  17863. type: integer
  17864. isreckoned:
  17865. description: 是否结算 - 0:未结算 1:已结算
  17866. type: integer
  17867. listingselecttype:
  17868. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17869. type: integer
  17870. marketid:
  17871. description: 市场ID
  17872. type: integer
  17873. marketname:
  17874. description: 市场名称
  17875. type: string
  17876. matchaccountid:
  17877. description: 对手账号id
  17878. type: integer
  17879. memberuserid:
  17880. description: 会员id 个人投资者 需要填写
  17881. type: integer
  17882. opencharge:
  17883. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17884. type: number
  17885. openexchagechargevalue:
  17886. description: 建仓交易所手续费设置值
  17887. type: number
  17888. openfeealgorithm:
  17889. description: 建仓手续费收取方式 1:比率 2:固定
  17890. type: integer
  17891. openmemberchargevalue:
  17892. description: 建仓会员手续费设置值
  17893. type: number
  17894. openqty:
  17895. description: 开仓数量(先建后平操作 需要记录)
  17896. type: number
  17897. optiontype:
  17898. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17899. type: integer
  17900. orderid:
  17901. description: 委托单号
  17902. type: string
  17903. payamount:
  17904. description: 支付金额(付款金额)
  17905. type: number
  17906. performanceplanid:
  17907. description: 履约计划ID[期权]
  17908. type: integer
  17909. performancestatus:
  17910. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17911. type: integer
  17912. preexerciseprice:
  17913. description: 预申报价格
  17914. type: number
  17915. premium:
  17916. description: 权利金 - [持仓单的权利金]
  17917. type: number
  17918. qtydecimalplace:
  17919. description: 商品报价小数位
  17920. type: integer
  17921. recvamount:
  17922. description: 到账金额 = 成交金额 - 手续费
  17923. type: number
  17924. relatedouttradeid:
  17925. description: 关联外部成交单ID
  17926. type: integer
  17927. status:
  17928. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17929. type: integer
  17930. totalamount:
  17931. description: 订单总额 = 成交金额 + 手续费
  17932. type: number
  17933. tradeamount:
  17934. description: 成交金额[账户币种,用于所有权]
  17935. type: number
  17936. tradedate:
  17937. description: 交易日(yyyyMMdd)
  17938. type: string
  17939. tradeid:
  17940. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17941. type: string
  17942. trademode:
  17943. description: 交易模式
  17944. type: integer
  17945. tradeprice:
  17946. description: 成交价格
  17947. type: number
  17948. tradeproperty:
  17949. description: 交易属性
  17950. type: integer
  17951. tradeqty:
  17952. description: 成交数量
  17953. type: number
  17954. tradetime:
  17955. description: 成交时间
  17956. type: string
  17957. tradetype:
  17958. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17959. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17960. type: integer
  17961. required:
  17962. - accountid
  17963. - buyorsell
  17964. - goodsid
  17965. - marketid
  17966. - memberuserid
  17967. - orderid
  17968. - tradeamount
  17969. - tradedate
  17970. - tradeid
  17971. - tradeprice
  17972. - tradeqty
  17973. - tradetime
  17974. type: object
  17975. order.QueryTradeOrderDetailRsp:
  17976. properties:
  17977. accountid:
  17978. description: 账户ID[报价币种]
  17979. type: integer
  17980. buildtype:
  17981. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17982. type: integer
  17983. buyorsell:
  17984. description: 买卖 - 0:买 1:卖
  17985. type: integer
  17986. cancelorderid:
  17987. description: 撤单单号(撤单时填写)
  17988. type: string
  17989. cancelqty:
  17990. description: 撤单数量
  17991. type: number
  17992. clienttype:
  17993. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17994. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17995. type: integer
  17996. closefreezecharge:
  17997. description: 平仓冻结手续费(先建后平操作,需要记录)
  17998. type: number
  17999. closeqty:
  18000. description: 平仓数量(先建后平操作 需要记录)
  18001. type: number
  18002. closetradeqty:
  18003. description: 平仓成交数量(先建后平操作,需要记录)
  18004. type: number
  18005. closeunfreezecharge:
  18006. description: 平仓解冻手续费(先建后平操作,需要记录)
  18007. type: number
  18008. decimalplace:
  18009. description: 商品报价小数位
  18010. type: integer
  18011. delistingtype:
  18012. description: 摘牌类型 - 1:价格最优 2:点选成交
  18013. type: integer
  18014. enableqty:
  18015. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18016. type: number
  18017. enumdicname:
  18018. description: 单位名称
  18019. type: string
  18020. freezecharge:
  18021. description: 冻结手续费
  18022. type: number
  18023. freezemargin:
  18024. description: 冻结保证金(冻结交易金额)
  18025. type: number
  18026. goodscode:
  18027. description: 商品代码
  18028. type: string
  18029. goodsid:
  18030. description: 商品ID
  18031. type: integer
  18032. goodsname:
  18033. description: 商品名称
  18034. type: string
  18035. goodunitid:
  18036. description: 商品单位id
  18037. type: integer
  18038. listingselecttype:
  18039. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18040. type: integer
  18041. marketid:
  18042. description: 市场ID
  18043. type: integer
  18044. marketname:
  18045. description: 市场名称
  18046. type: string
  18047. openfreezecharge:
  18048. description: 开仓冻结手续费(先建后平操作,需要记录)
  18049. type: number
  18050. openqty:
  18051. description: 开仓数量(先建后平操作,需要记录)
  18052. type: number
  18053. opentradeqty:
  18054. description: 开仓成交数量(先建后平操作,需要记录)
  18055. type: number
  18056. openunfreezecharge:
  18057. description: 开仓解冻手续费(先建后平操作,需要记录)
  18058. type: number
  18059. operatetype:
  18060. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18061. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18062. 15:管理端协议转让
  18063. type: integer
  18064. operatorid:
  18065. description: 登录账号(LoginID)
  18066. type: integer
  18067. orderid:
  18068. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18069. type: string
  18070. orderprice:
  18071. description: 委托价格
  18072. type: number
  18073. orderqty:
  18074. description: 委托数量
  18075. type: number
  18076. ordersrc:
  18077. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18078. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18079. type: integer
  18080. orderstatus:
  18081. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18082. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18083. 16:成交失败违约(荷兰式竞拍专用)
  18084. type: integer
  18085. ordertime:
  18086. description: 委托时间
  18087. type: string
  18088. preorderid:
  18089. description: 关联预埋单号(止盈止损单时填写)
  18090. type: string
  18091. pricemode:
  18092. description: '取价方式 - 1:市价 2: 限价'
  18093. type: integer
  18094. qtydecimalplace:
  18095. description: 商品报价小数位
  18096. type: integer
  18097. relatedid:
  18098. description: 关联单号(交割单)
  18099. type: string
  18100. tradedate:
  18101. description: 交易日(yyyyMMdd)
  18102. type: string
  18103. trademode:
  18104. description: 交易模式
  18105. type: integer
  18106. tradeqty:
  18107. description: 成交数量
  18108. type: number
  18109. unfreezecharge:
  18110. description: 解冻手续费
  18111. type: number
  18112. unfreezemargin:
  18113. description: 解冻保证金
  18114. type: number
  18115. validtime:
  18116. description: 有效期限
  18117. type: string
  18118. validtype:
  18119. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18120. type: integer
  18121. volumetype:
  18122. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18123. type: integer
  18124. required:
  18125. - accountid
  18126. - buildtype
  18127. - buyorsell
  18128. - goodsid
  18129. - marketid
  18130. - operatetype
  18131. - orderqty
  18132. - ordertime
  18133. - pricemode
  18134. - tradedate
  18135. - validtype
  18136. type: object
  18137. order.QueryTradePositionRsp:
  18138. properties:
  18139. accountid:
  18140. description: 资金账户
  18141. type: integer
  18142. agreeunit:
  18143. description: 合约单位
  18144. type: number
  18145. averageprice:
  18146. description: 持仓均价
  18147. type: number
  18148. buyorsell:
  18149. description: 方向 - 0:买 1:卖
  18150. type: integer
  18151. closetotalqty:
  18152. description: 平仓总数量
  18153. type: number
  18154. curholderamount:
  18155. description: 当前持仓总金额[商品币种]
  18156. type: number
  18157. curpositionqty:
  18158. description: 当前持仓总数量
  18159. type: number
  18160. currencyid:
  18161. description: 报价货币ID
  18162. type: integer
  18163. curtdposition:
  18164. description: 期末今日头寸
  18165. type: number
  18166. decimalplace:
  18167. description: 报价小数位
  18168. type: integer
  18169. enableqty:
  18170. description: 可用量
  18171. type: number
  18172. fretdposition:
  18173. description: 冻结今日头寸
  18174. type: number
  18175. frozenqty:
  18176. description: 持仓冻结数量
  18177. type: number
  18178. goodscode:
  18179. description: 商品代码
  18180. type: string
  18181. goodsid:
  18182. description: 商品Id
  18183. type: integer
  18184. goodsname:
  18185. description: 商品名称
  18186. type: string
  18187. goodunit:
  18188. description: 报价单位
  18189. type: string
  18190. goodunitid:
  18191. description: 报价单位ID
  18192. type: integer
  18193. holderamount:
  18194. description: 期初持仓总金额[商品币种]
  18195. type: number
  18196. lastprice:
  18197. description: 最新价
  18198. type: number
  18199. marketamount:
  18200. description: 市值
  18201. type: number
  18202. marketid:
  18203. description: 所属市场ID
  18204. type: integer
  18205. openreqqty:
  18206. description: 开仓申请数量(用于比较最大持仓数量)
  18207. type: number
  18208. opentotalqty:
  18209. description: 开仓总数量
  18210. type: number
  18211. otherfrozenqty:
  18212. description: 持仓其他冻结数量(交割冻结)
  18213. type: number
  18214. positionpl:
  18215. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18216. * 合约单位
  18217. type: number
  18218. positionplrate:
  18219. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18220. type: number
  18221. positionqty:
  18222. description: 期初持仓数量
  18223. type: number
  18224. qtydecimalplace:
  18225. description: 成交量小数位
  18226. type: integer
  18227. refgoodscode:
  18228. description: 参考商品代码
  18229. type: string
  18230. refgoodsid:
  18231. description: 参考商品ID
  18232. type: integer
  18233. tnqty:
  18234. description: T+N冻结总量
  18235. type: number
  18236. tnusedqty:
  18237. description: T+N使用量(可以使用T+N的冻结数量)
  18238. type: number
  18239. trademode:
  18240. description: 交易模式
  18241. type: integer
  18242. tradeproperty:
  18243. description: 交易属性
  18244. type: integer
  18245. usedmargin:
  18246. description: 占用保证金[商品币种]
  18247. type: number
  18248. required:
  18249. - goodsid
  18250. type: object
  18251. pb.GoodsMarginCfgStruct:
  18252. properties:
  18253. CustomerTypeID:
  18254. description: 投资者客户类型
  18255. type: integer
  18256. GoodsID:
  18257. description: 商品ID
  18258. type: integer
  18259. IsDefault:
  18260. description: 是否默认标志位
  18261. type: integer
  18262. LockMarginValue:
  18263. description: 锁仓保证金
  18264. type: number
  18265. MarginAlgorithm:
  18266. description: 保证金计算方式
  18267. type: integer
  18268. MarketMarginValue:
  18269. description: 即市保证金值
  18270. type: number
  18271. RealMarginAlgorithm:
  18272. description: 实付保证金计算方式
  18273. type: integer
  18274. RealMarginValue:
  18275. description: 实付比例
  18276. type: number
  18277. ReckonMarginValue:
  18278. description: 结算保证金值
  18279. type: number
  18280. type: object
  18281. quote.HistoryData:
  18282. properties:
  18283. c:
  18284. description: 收盘价
  18285. type: number
  18286. f:
  18287. description: 是否补充数据
  18288. type: boolean
  18289. h:
  18290. description: 最高价
  18291. type: number
  18292. hv:
  18293. description: 持仓量
  18294. type: integer
  18295. l:
  18296. description: 最低价
  18297. type: number
  18298. o:
  18299. description: 开盘价
  18300. type: number
  18301. s:
  18302. description: 结算价,日线周期(包括)以上才有
  18303. type: number
  18304. ts:
  18305. description: 时间
  18306. type: string
  18307. tt:
  18308. description: 总金额
  18309. type: number
  18310. tv:
  18311. description: 总量(成交量)
  18312. type: integer
  18313. type: object
  18314. quote.HistoryTikData:
  18315. properties:
  18316. AV:
  18317. description: 卖量
  18318. type: integer
  18319. Ask:
  18320. description: 卖价
  18321. type: number
  18322. BV:
  18323. description: 买量
  18324. type: integer
  18325. Bid:
  18326. description: 买价
  18327. type: number
  18328. HI:
  18329. description: 单笔持仓
  18330. type: integer
  18331. HV:
  18332. description: 持仓量
  18333. type: integer
  18334. PE:
  18335. description: 现价
  18336. type: number
  18337. TDR:
  18338. description: 交易方向,0:买 1:卖
  18339. type: integer
  18340. TK:
  18341. description: 交易类型
  18342. type: integer
  18343. TS:
  18344. description: 行情时间文本
  18345. type: string
  18346. TT:
  18347. description: 现金额
  18348. type: number
  18349. Vol:
  18350. description: 现量
  18351. type: integer
  18352. type: object
  18353. quote.QueryQuoteDayRsp:
  18354. properties:
  18355. ask:
  18356. description: 卖1
  18357. type: number
  18358. ask2:
  18359. description: 卖2
  18360. type: number
  18361. ask3:
  18362. description: 卖3
  18363. type: number
  18364. ask4:
  18365. description: 卖4
  18366. type: number
  18367. ask5:
  18368. description: 卖5
  18369. type: number
  18370. ask6:
  18371. description: 卖6
  18372. type: number
  18373. ask7:
  18374. description: 卖7
  18375. type: number
  18376. ask8:
  18377. description: 卖8
  18378. type: number
  18379. ask9:
  18380. description: 卖9
  18381. type: number
  18382. ask10:
  18383. description: 卖10
  18384. type: number
  18385. askorderid:
  18386. description: 卖单号1
  18387. type: integer
  18388. askorderid2:
  18389. description: 卖单号2
  18390. type: integer
  18391. askorderid3:
  18392. description: 卖单号3
  18393. type: integer
  18394. askorderid4:
  18395. description: 卖单号4
  18396. type: integer
  18397. askorderid5:
  18398. description: 卖单号5
  18399. type: integer
  18400. askordervolume:
  18401. description: 卖单量1
  18402. type: integer
  18403. askordervolume2:
  18404. description: 卖单量2
  18405. type: integer
  18406. askordervolume3:
  18407. description: 卖单量3
  18408. type: integer
  18409. askordervolume4:
  18410. description: 卖单量4
  18411. type: integer
  18412. askordervolume5:
  18413. description: 卖单量5
  18414. type: integer
  18415. askordervolume6:
  18416. description: 卖单量6
  18417. type: integer
  18418. askordervolume7:
  18419. description: 卖单量7
  18420. type: integer
  18421. askordervolume8:
  18422. description: 卖单量8
  18423. type: integer
  18424. askordervolume9:
  18425. description: 卖单量9
  18426. type: integer
  18427. askordervolume10:
  18428. description: 卖单量10
  18429. type: integer
  18430. askqueueinfo:
  18431. description: 大利市卖港股用
  18432. type: string
  18433. askvolume:
  18434. description: 卖量1
  18435. type: integer
  18436. askvolume2:
  18437. description: 卖量2
  18438. type: integer
  18439. askvolume3:
  18440. description: 卖量3
  18441. type: integer
  18442. askvolume4:
  18443. description: 卖量4
  18444. type: integer
  18445. askvolume5:
  18446. description: 卖量5
  18447. type: integer
  18448. askvolume6:
  18449. description: 卖量6
  18450. type: integer
  18451. askvolume7:
  18452. description: 卖量7
  18453. type: integer
  18454. askvolume8:
  18455. description: 卖量8
  18456. type: integer
  18457. askvolume9:
  18458. description: 卖量9
  18459. type: integer
  18460. askvolume10:
  18461. description: 卖量10
  18462. type: integer
  18463. averageprice:
  18464. description: 均价
  18465. type: number
  18466. bid:
  18467. description: 买1
  18468. type: number
  18469. bid2:
  18470. description: 买2
  18471. type: number
  18472. bid3:
  18473. description: 买3
  18474. type: number
  18475. bid4:
  18476. description: 买4
  18477. type: number
  18478. bid5:
  18479. description: 买5
  18480. type: number
  18481. bid6:
  18482. description: 买6
  18483. type: number
  18484. bid7:
  18485. description: 买7
  18486. type: number
  18487. bid8:
  18488. description: 买8
  18489. type: number
  18490. bid9:
  18491. description: 买9
  18492. type: number
  18493. bid10:
  18494. description: 买10
  18495. type: number
  18496. bidorderid:
  18497. description: 买单号1
  18498. type: integer
  18499. bidorderid2:
  18500. description: 买单号2
  18501. type: integer
  18502. bidorderid3:
  18503. description: 买单号3
  18504. type: integer
  18505. bidorderid4:
  18506. description: 买单号4
  18507. type: integer
  18508. bidorderid5:
  18509. description: 买单号5
  18510. type: integer
  18511. bidordervolume:
  18512. description: 买单量1
  18513. type: integer
  18514. bidordervolume2:
  18515. description: 买单量2
  18516. type: integer
  18517. bidordervolume3:
  18518. description: 买单量3
  18519. type: integer
  18520. bidordervolume4:
  18521. description: 买单量4
  18522. type: integer
  18523. bidordervolume5:
  18524. description: 买单量5
  18525. type: integer
  18526. bidordervolume6:
  18527. description: 买单量6
  18528. type: integer
  18529. bidordervolume7:
  18530. description: 买单量7
  18531. type: integer
  18532. bidordervolume8:
  18533. description: 买单量8
  18534. type: integer
  18535. bidordervolume9:
  18536. description: 买单量9
  18537. type: integer
  18538. bidordervolume10:
  18539. description: 买单量10
  18540. type: integer
  18541. bidqueueinfo:
  18542. description: 大利市买港股用
  18543. type: string
  18544. bidvolume:
  18545. description: 买量1
  18546. type: integer
  18547. bidvolume2:
  18548. description: 买量2
  18549. type: integer
  18550. bidvolume3:
  18551. description: 买量3
  18552. type: integer
  18553. bidvolume4:
  18554. description: 买量4
  18555. type: integer
  18556. bidvolume5:
  18557. description: 买量5
  18558. type: integer
  18559. bidvolume6:
  18560. description: 买量6
  18561. type: integer
  18562. bidvolume7:
  18563. description: 买量7
  18564. type: integer
  18565. bidvolume8:
  18566. description: 买量8
  18567. type: integer
  18568. bidvolume9:
  18569. description: 买量9
  18570. type: integer
  18571. bidvolume10:
  18572. description: 买量10
  18573. type: integer
  18574. calloptionpremiums:
  18575. description: 认购期权1
  18576. type: integer
  18577. calloptionpremiums2:
  18578. description: 认购期权2
  18579. type: integer
  18580. calloptionpremiums3:
  18581. description: 认购期权3
  18582. type: integer
  18583. calloptionpremiums4:
  18584. description: 认购期权4
  18585. type: integer
  18586. calloptionpremiums5:
  18587. description: 认购期权5
  18588. type: integer
  18589. cleartime:
  18590. description: 清盘时间
  18591. type: integer
  18592. exchangecode:
  18593. description: 交易所代码
  18594. type: integer
  18595. exchangedate:
  18596. description: 交易日
  18597. type: integer
  18598. goodscode:
  18599. description: 商品代码
  18600. type: string
  18601. grepmarketprice:
  18602. description: 暗盘价 港股专用
  18603. type: number
  18604. highest:
  18605. description: 最高价
  18606. type: number
  18607. holdincrement:
  18608. description: 单笔持仓
  18609. type: integer
  18610. holdvolume:
  18611. description: 持仓
  18612. type: integer
  18613. iep:
  18614. description: 平衡价 港股专用
  18615. type: number
  18616. iev:
  18617. description: 平衡量 港股专用
  18618. type: number
  18619. inventory:
  18620. description: 库存
  18621. type: integer
  18622. iscleared:
  18623. description: 是否清盘标志
  18624. type: integer
  18625. issettled:
  18626. description: 是否结算标志
  18627. type: integer
  18628. last:
  18629. description: 最新价
  18630. type: number
  18631. lastlot:
  18632. description: 最新成交手数
  18633. type: integer
  18634. lasttime:
  18635. description: 行情时间(只有现价变化行情时间才变化)
  18636. type: string
  18637. lastturnover:
  18638. description: 最新成交金额
  18639. type: number
  18640. lastvolume:
  18641. description: 最新成交量
  18642. type: integer
  18643. limitdown:
  18644. description: 跌停价
  18645. type: number
  18646. limitup:
  18647. description: 涨停价
  18648. type: number
  18649. lowest:
  18650. description: 最低价
  18651. type: number
  18652. nontotalholdervolume:
  18653. description: 非交易持仓量
  18654. type: integer
  18655. nontotallot:
  18656. description: 非交易总手数
  18657. type: integer
  18658. nontotalturnover:
  18659. description: 非交易总金额
  18660. type: integer
  18661. nontotalvolume:
  18662. description: 非交易总量
  18663. type: integer
  18664. opened:
  18665. description: 开盘价
  18666. type: number
  18667. opentime:
  18668. description: 开盘时间
  18669. type: string
  18670. orderid:
  18671. description: 序号
  18672. type: integer
  18673. preclose:
  18674. description: 昨收
  18675. type: number
  18676. preholdvolume:
  18677. description: 昨持仓
  18678. type: integer
  18679. presettle:
  18680. description: 昨结价
  18681. type: number
  18682. publictradetype:
  18683. description: 公共交易标志类型 港股专用
  18684. type: string
  18685. putoptionpremiums:
  18686. description: 认沽期权1
  18687. type: integer
  18688. putoptionpremiums2:
  18689. description: 认沽期权2
  18690. type: integer
  18691. putoptionpremiums3:
  18692. description: 认沽期权3
  18693. type: integer
  18694. putoptionpremiums4:
  18695. description: 认沽期权4
  18696. type: integer
  18697. putoptionpremiums5:
  18698. description: 认沽期权5
  18699. type: integer
  18700. settle:
  18701. description: 结算价
  18702. type: number
  18703. strikeprice:
  18704. description: 发行价
  18705. type: number
  18706. totalaskvolume:
  18707. description: 内盘
  18708. type: integer
  18709. totalbidvolume:
  18710. description: 外盘
  18711. type: integer
  18712. totallot:
  18713. description: 总手数
  18714. type: integer
  18715. totalturnover:
  18716. description: 总金额
  18717. type: number
  18718. totalvolume:
  18719. description: 总量
  18720. type: integer
  18721. utclasttime:
  18722. description: utc的行情时间
  18723. type: string
  18724. type: object
  18725. quote.QueryTSDataRsp:
  18726. properties:
  18727. Count:
  18728. description: 交易日应有数据个数
  18729. type: integer
  18730. decimalPlace:
  18731. description: 小数位
  18732. type: integer
  18733. endTime:
  18734. description: 结束时间
  18735. type: string
  18736. goodsCode:
  18737. description: 商品代码
  18738. type: string
  18739. historyDatas:
  18740. description: 历史数据
  18741. items:
  18742. $ref: '#/definitions/quote.HistoryData'
  18743. type: array
  18744. outGoodsCode:
  18745. description: 外部商品代码
  18746. type: string
  18747. preSettle:
  18748. description: 昨结价
  18749. type: number
  18750. runSteps:
  18751. description: 交易日开休市计划
  18752. items:
  18753. $ref: '#/definitions/quote.TSDataRunStep'
  18754. type: array
  18755. startTime:
  18756. description: 开始时间
  18757. type: string
  18758. tradeDate:
  18759. description: 交易日
  18760. type: string
  18761. type: object
  18762. quote.TSDataRunStep:
  18763. properties:
  18764. end:
  18765. description: 真实结束时间
  18766. type: string
  18767. endflag:
  18768. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18769. type: integer
  18770. endtime:
  18771. description: 结束时间(HH:mm)
  18772. type: string
  18773. endweekday:
  18774. description: 结束周几
  18775. type: integer
  18776. groupid:
  18777. description: 分组ID
  18778. type: integer
  18779. runstep:
  18780. description: 运行阶段 - 2:连续交易
  18781. type: integer
  18782. sectionid:
  18783. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18784. 结束时间=结算时间 结束周几=结算周几
  18785. type: integer
  18786. start:
  18787. description: 真实开始时间
  18788. type: string
  18789. startflag:
  18790. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18791. type: integer
  18792. starttime:
  18793. description: 起始时间(HH:mm)
  18794. type: string
  18795. startweekday:
  18796. description: 起始周几
  18797. type: integer
  18798. tradeweekday:
  18799. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18800. type: integer
  18801. type: object
  18802. szdz.QueryConvertLogRsp:
  18803. properties:
  18804. accountid:
  18805. description: 资金账户ID
  18806. type: integer
  18807. clientticket:
  18808. description: 客户端流水号
  18809. type: string
  18810. converttype:
  18811. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18812. type: integer
  18813. createtime:
  18814. description: 记账时间
  18815. type: string
  18816. daymaxvalue:
  18817. description: 配置当日最大转入限制
  18818. type: number
  18819. daymaxvalue2:
  18820. description: 配置当日最大转入限制(转入)
  18821. type: number
  18822. goodscode:
  18823. description: 商品代码
  18824. type: string
  18825. goodsname:
  18826. description: 商品名称
  18827. type: string
  18828. handlestatus:
  18829. description: 处理状态
  18830. type: integer
  18831. innergoodsid:
  18832. description: 内部商品ID
  18833. type: integer
  18834. inratio:
  18835. description: 配置转入比值
  18836. type: integer
  18837. invalue:
  18838. description: 目标值
  18839. type: number
  18840. logid:
  18841. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18842. type: integer
  18843. mobile:
  18844. description: 手机号码(加密存储)
  18845. type: string
  18846. outergoodscode:
  18847. description: 外部商品代码[JD\PD]
  18848. type: string
  18849. outratio:
  18850. description: 配置转出比值
  18851. type: integer
  18852. outvalue:
  18853. description: 源值
  18854. type: number
  18855. pddecimalplace:
  18856. description: PD小数位
  18857. type: integer
  18858. qty:
  18859. description: 数量
  18860. type: string
  18861. remark:
  18862. description: 备注
  18863. type: string
  18864. sessionid:
  18865. description: 会话ID
  18866. type: integer
  18867. timemaxvalue:
  18868. description: 配置单次最大转入限制
  18869. type: number
  18870. timemaxvalue2:
  18871. description: 配置单次最大转入限制(转入)
  18872. type: number
  18873. timeminvalue:
  18874. description: 配置单次最小数量限制
  18875. type: number
  18876. timeminvalue2:
  18877. description: 配置单次最小数量限制(转入)
  18878. type: number
  18879. tradedate:
  18880. description: 交易日(yyyyMMdd)
  18881. type: string
  18882. userid:
  18883. description: 用户ID
  18884. type: integer
  18885. required:
  18886. - logid
  18887. type: object
  18888. szdz.QueryGoodsPickupRsp:
  18889. properties:
  18890. accountid:
  18891. description: 账户ID
  18892. type: integer
  18893. address:
  18894. description: 提货人详细地址
  18895. type: string
  18896. auditer:
  18897. description: 审核人
  18898. type: integer
  18899. audittime:
  18900. description: 审核时间
  18901. type: string
  18902. cardnum:
  18903. description: 提货人证件号码
  18904. type: string
  18905. cardtypeid:
  18906. description: 提货人证件类型
  18907. type: integer
  18908. checkremark:
  18909. description: 审核备注
  18910. type: string
  18911. goodscode:
  18912. description: 商品代码
  18913. type: string
  18914. goodsid:
  18915. description: 商品ID
  18916. type: integer
  18917. goodsname:
  18918. description: 商品名称
  18919. type: string
  18920. handlestatus:
  18921. description: 处理状态
  18922. type: integer
  18923. marketid:
  18924. description: 市场ID
  18925. type: integer
  18926. phonenum:
  18927. description: 提货人联系方式
  18928. type: string
  18929. qty:
  18930. description: 提货数量
  18931. type: number
  18932. recivername:
  18933. description: 提货人姓名
  18934. type: string
  18935. reqtime:
  18936. description: 更新时间
  18937. type: string
  18938. takemode:
  18939. description: 提货方式 - 2:自提 3:配送
  18940. type: integer
  18941. takeorderid:
  18942. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18943. type: string
  18944. takeorderstatus:
  18945. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18946. type: integer
  18947. takeremark:
  18948. description: 提货备注
  18949. type: string
  18950. tradedate:
  18951. description: 交易日(yyyyMMdd)
  18952. type: string
  18953. userid:
  18954. description: 用户ID
  18955. type: integer
  18956. required:
  18957. - takeorderid
  18958. type: object
  18959. szdz.QueryRecieptOrderRsp:
  18960. properties:
  18961. accountName:
  18962. description: 所属账号名称(已脱敏)
  18963. type: string
  18964. accountid:
  18965. description: 资金账号
  18966. type: integer
  18967. buyorsell:
  18968. description: 方向 - 0:买 1:卖
  18969. type: integer
  18970. enableqty:
  18971. description: 可摘数量
  18972. type: integer
  18973. goodscode:
  18974. description: 商品代码
  18975. type: string
  18976. goodsid:
  18977. description: 商品ID
  18978. type: integer
  18979. goodsname:
  18980. description: 商品名称
  18981. type: string
  18982. orderid:
  18983. description: 委托单号
  18984. type: string
  18985. orderprice:
  18986. description: 委托价格
  18987. type: number
  18988. ordertime:
  18989. description: 委托时间
  18990. type: string
  18991. tradedate:
  18992. description: 交易日(yyyyMMdd)
  18993. type: string
  18994. required:
  18995. - ordertime
  18996. type: object
  18997. szdz.QuerySZDZTradePositionRsp:
  18998. properties:
  18999. accountid:
  19000. description: 账号Id
  19001. type: integer
  19002. agreeunit:
  19003. description: 合约单位
  19004. type: number
  19005. averageprice:
  19006. description: 持仓均价
  19007. type: number
  19008. buyorsell:
  19009. description: 方向 - 0:买 1:卖
  19010. type: integer
  19011. closetotalqty:
  19012. description: 平仓总数量
  19013. type: integer
  19014. curholderamount:
  19015. description: 当前持仓总金额
  19016. type: number
  19017. curpositionqty:
  19018. description: 当前持仓总数量
  19019. type: integer
  19020. currencyid:
  19021. description: 报价货币ID
  19022. type: integer
  19023. curtdposition:
  19024. description: 期末今日头寸
  19025. type: integer
  19026. decimalplace:
  19027. description: 报价小数位
  19028. type: integer
  19029. enableqty:
  19030. description: 可用量
  19031. type: integer
  19032. fretdposition:
  19033. description: 冻结今日头寸
  19034. type: integer
  19035. frozenqty:
  19036. description: 持仓冻结数量
  19037. type: integer
  19038. goodscode:
  19039. description: 商品代码(内部)
  19040. type: string
  19041. goodsid:
  19042. description: 商品Id
  19043. type: integer
  19044. goodsname:
  19045. description: 商品名称
  19046. type: string
  19047. goodunit:
  19048. description: 报价单位
  19049. type: string
  19050. goodunitid:
  19051. description: 报价单位ID
  19052. type: integer
  19053. holderamount:
  19054. description: 期初持仓总金额
  19055. type: number
  19056. marketid:
  19057. description: 市场ID
  19058. type: integer
  19059. openreqqty:
  19060. description: 开仓申请数量
  19061. type: integer
  19062. opentotalqty:
  19063. description: 开仓总数量
  19064. type: integer
  19065. otherfrozenqty:
  19066. description: 持仓其他冻结数量(交割冻结)
  19067. type: integer
  19068. positionqty:
  19069. description: 期初持仓数量
  19070. type: integer
  19071. szdz3freezqty:
  19072. description: 尚志大宗转换冻结总数量
  19073. type: integer
  19074. tnqty:
  19075. description: T+N冻结总量
  19076. type: integer
  19077. tnusedqty:
  19078. description: T+N使用量
  19079. type: integer
  19080. trademode:
  19081. description: 交易模式
  19082. type: integer
  19083. usedmargin:
  19084. description: 占用保证金
  19085. type: number
  19086. type: object
  19087. taaccount.QueryAmountLogRsp:
  19088. properties:
  19089. OPERATETYPENAME:
  19090. description: 资金操作类型名称
  19091. type: string
  19092. accountid:
  19093. description: 资金账户ID
  19094. type: integer
  19095. agoodscode:
  19096. description: 竞拍商品代码
  19097. type: string
  19098. agoodsname:
  19099. description: 竞拍商品名称
  19100. type: string
  19101. amount:
  19102. description: 资金金额
  19103. type: number
  19104. amountadjusttype:
  19105. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19106. type: integer
  19107. autoid:
  19108. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19109. type: integer
  19110. balance:
  19111. description: 期初余额
  19112. type: number
  19113. businesscode:
  19114. description: 业务编号
  19115. type: integer
  19116. createtime:
  19117. description: 发生时间
  19118. type: string
  19119. currencyid:
  19120. description: 币种ID
  19121. type: integer
  19122. currentbalance:
  19123. description: 期末余额(变动后金额)
  19124. type: number
  19125. dgoodscode:
  19126. description: 交割商品代码
  19127. type: string
  19128. dgoodsname:
  19129. description: 交割商品名称
  19130. type: string
  19131. goodscode:
  19132. description: 商品代码
  19133. type: string
  19134. goodsid:
  19135. description: 商品ID
  19136. type: integer
  19137. goodsname:
  19138. description: 商品名称
  19139. type: string
  19140. marketid:
  19141. description: 市场ID
  19142. type: integer
  19143. marketname:
  19144. description: 市场名称
  19145. type: string
  19146. moneyticket:
  19147. description: 资金流水号:银行端流水号
  19148. type: integer
  19149. operatetype:
  19150. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19151. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19152. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19153. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19154. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19155. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19156. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19157. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19158. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19159. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19160. type: integer
  19161. relationorderid:
  19162. description: 关联单号
  19163. type: string
  19164. remark:
  19165. description: 备注
  19166. type: string
  19167. trademode:
  19168. description: 交易模式
  19169. type: integer
  19170. required:
  19171. - accountid
  19172. - amount
  19173. - amountadjusttype
  19174. - autoid
  19175. - balance
  19176. - createtime
  19177. - currentbalance
  19178. - operatetype
  19179. type: object
  19180. taaccount.QueryHisAmountLogRsp:
  19181. properties:
  19182. OPERATETYPENAME:
  19183. description: 资金操作类型名称
  19184. type: string
  19185. accountid:
  19186. description: 资金账户ID
  19187. type: integer
  19188. agoodscode:
  19189. description: 竞拍商品代码
  19190. type: string
  19191. agoodsname:
  19192. description: 竞拍商品名称
  19193. type: string
  19194. amount:
  19195. description: 资金金额
  19196. type: number
  19197. amountadjusttype:
  19198. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19199. type: integer
  19200. autoid:
  19201. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19202. type: integer
  19203. balance:
  19204. description: 期初余额
  19205. type: number
  19206. businesscode:
  19207. description: 业务编号
  19208. type: integer
  19209. createtime:
  19210. description: 发生时间
  19211. type: string
  19212. currencyid:
  19213. description: 币种ID
  19214. type: integer
  19215. currentbalance:
  19216. description: 期末余额(变动后金额)
  19217. type: number
  19218. dgoodscode:
  19219. description: 交割商品代码
  19220. type: string
  19221. dgoodsname:
  19222. description: 交割商品名称
  19223. type: string
  19224. goodscode:
  19225. description: 商品代码
  19226. type: string
  19227. goodsid:
  19228. description: 商品ID
  19229. type: integer
  19230. goodsname:
  19231. description: 商品名称
  19232. type: string
  19233. histradedate:
  19234. description: 历史交易日
  19235. type: string
  19236. isvaliddata:
  19237. description: 是否有效 - 0:无效 1:有效
  19238. type: integer
  19239. marketid:
  19240. description: 市场ID
  19241. type: integer
  19242. marketname:
  19243. description: 市场名称
  19244. type: string
  19245. moneyticket:
  19246. description: 资金流水号:银行端流水号
  19247. type: integer
  19248. operatetype:
  19249. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19250. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19251. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19252. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19253. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19254. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19255. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19256. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19257. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19258. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19259. type: integer
  19260. relationorderid:
  19261. description: 关联单号
  19262. type: string
  19263. remark:
  19264. description: 备注
  19265. type: string
  19266. trademode:
  19267. description: 交易模式
  19268. type: integer
  19269. required:
  19270. - accountid
  19271. - amount
  19272. - amountadjusttype
  19273. - autoid
  19274. - balance
  19275. - createtime
  19276. - currentbalance
  19277. - histradedate
  19278. - operatetype
  19279. type: object
  19280. trade.QueryRecieptOrderRsp:
  19281. properties:
  19282. accountName:
  19283. description: 所属账号名称(已脱敏)
  19284. type: string
  19285. accountid:
  19286. description: 资金账号
  19287. type: integer
  19288. buyorsell:
  19289. description: 方向 - 0:买 1:卖
  19290. type: integer
  19291. enableqty:
  19292. description: 可摘数量
  19293. type: integer
  19294. goodscode:
  19295. description: 商品代码
  19296. type: string
  19297. goodsid:
  19298. description: 商品ID
  19299. type: integer
  19300. goodsname:
  19301. description: 商品名称
  19302. type: string
  19303. orderid:
  19304. description: 委托单号
  19305. type: string
  19306. orderprice:
  19307. description: 委托价格
  19308. type: number
  19309. ordertime:
  19310. description: 委托时间
  19311. type: string
  19312. tradedate:
  19313. description: 交易日(yyyyMMdd)
  19314. type: string
  19315. required:
  19316. - ordertime
  19317. type: object
  19318. user.LoginQueryRsp:
  19319. properties:
  19320. areaRoles:
  19321. description: 所属角色信息
  19322. items:
  19323. $ref: '#/definitions/models.Arearole'
  19324. type: array
  19325. externalExchanges:
  19326. description: 外部交易所
  19327. items:
  19328. $ref: '#/definitions/models.Externalexchange'
  19329. type: array
  19330. goodsgroups:
  19331. description: 商品组
  19332. items:
  19333. $ref: '#/definitions/models.Goodsgroup'
  19334. type: array
  19335. loginAccount:
  19336. $ref: '#/definitions/models.Loginaccount'
  19337. description: 登录账号
  19338. markets:
  19339. description: 市场
  19340. items:
  19341. $ref: '#/definitions/models.Market'
  19342. type: array
  19343. systemParams:
  19344. description: 系统参数
  19345. items:
  19346. $ref: '#/definitions/models.Systemparam'
  19347. type: array
  19348. userAccount:
  19349. $ref: '#/definitions/models.Useraccount'
  19350. description: 用户账号
  19351. userInfo:
  19352. $ref: '#/definitions/models.Userinfo'
  19353. description: 用户信息
  19354. username:
  19355. description: 用户姓名
  19356. type: string
  19357. type: object
  19358. info:
  19359. contact: {}
  19360. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19361. termsOfService: http://www.muchinfo.cn
  19362. title: MTP2.0 查询服务 API
  19363. version: "1.0"
  19364. paths:
  19365. /CPTrade/QueryCPTradeMyBidInfos:
  19366. get:
  19367. parameters:
  19368. - description: 资金账户
  19369. in: query
  19370. name: accountid
  19371. required: true
  19372. type: integer
  19373. - description: 预售市场ID
  19374. in: query
  19375. name: marketid
  19376. type: integer
  19377. - description: 预售商品ID
  19378. in: query
  19379. name: goodsid
  19380. type: integer
  19381. produces:
  19382. - application/json
  19383. responses:
  19384. "200":
  19385. description: OK
  19386. schema:
  19387. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19388. "500":
  19389. description: Internal Server Error
  19390. schema:
  19391. $ref: '#/definitions/app.Response'
  19392. security:
  19393. - ApiKeyAuth: []
  19394. summary: 查询产能预售我的出价信息
  19395. tags:
  19396. - 产能预售
  19397. /CPTrade/QueryCPTradeOrderDetail:
  19398. get:
  19399. parameters:
  19400. - description: 预售商品ID
  19401. in: query
  19402. name: goodsid
  19403. type: integer
  19404. - description: 预售市场ID
  19405. in: query
  19406. name: marketid
  19407. type: integer
  19408. - description: 预售商品ID列表 - 格式:1,2,3
  19409. in: query
  19410. name: goodsids
  19411. type: string
  19412. produces:
  19413. - application/json
  19414. responses:
  19415. "200":
  19416. description: OK
  19417. schema:
  19418. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19419. "500":
  19420. description: Internal Server Error
  19421. schema:
  19422. $ref: '#/definitions/app.Response'
  19423. security:
  19424. - ApiKeyAuth: []
  19425. summary: 查询产能预售委托单信息
  19426. tags:
  19427. - 产能预售
  19428. /CPTrade/QueryMyCPTradeGoods:
  19429. get:
  19430. parameters:
  19431. - description: 资金账户
  19432. in: query
  19433. name: accountid
  19434. required: true
  19435. type: integer
  19436. produces:
  19437. - application/json
  19438. responses:
  19439. "200":
  19440. description: OK
  19441. schema:
  19442. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19443. "500":
  19444. description: Internal Server Error
  19445. schema:
  19446. $ref: '#/definitions/app.Response'
  19447. security:
  19448. - ApiKeyAuth: []
  19449. summary: 查询我的预售信息
  19450. tags:
  19451. - 产能预售
  19452. /CPTrade/QueryPositionCancel:
  19453. get:
  19454. parameters:
  19455. - description: 账户ID
  19456. in: query
  19457. name: userid
  19458. required: true
  19459. type: integer
  19460. - description: 注销ID
  19461. in: query
  19462. name: cancelid
  19463. type: integer
  19464. - description: 资金账户ID
  19465. in: query
  19466. name: accountid
  19467. type: integer
  19468. produces:
  19469. - application/json
  19470. responses:
  19471. "200":
  19472. description: OK
  19473. schema:
  19474. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19475. "500":
  19476. description: Internal Server Error
  19477. schema:
  19478. $ref: '#/definitions/app.Response'
  19479. security:
  19480. - ApiKeyAuth: []
  19481. summary: 查询远期订单注销申请信息
  19482. tags:
  19483. - 产能预售
  19484. /CPTrade/QueryPreasleApply:
  19485. get:
  19486. parameters:
  19487. - description: 账户ID
  19488. in: query
  19489. name: userid
  19490. required: true
  19491. type: integer
  19492. - description: 申请ID
  19493. in: query
  19494. name: applyid
  19495. type: integer
  19496. - description: 资金账户ID
  19497. in: query
  19498. name: accountid
  19499. type: integer
  19500. produces:
  19501. - application/json
  19502. responses:
  19503. "200":
  19504. description: OK
  19505. schema:
  19506. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19507. "500":
  19508. description: Internal Server Error
  19509. schema:
  19510. $ref: '#/definitions/app.Response'
  19511. security:
  19512. - ApiKeyAuth: []
  19513. summary: 查询产能预售申请信息
  19514. tags:
  19515. - 产能预售
  19516. /CPTrade/QueryPresaleGoodsEx:
  19517. get:
  19518. parameters:
  19519. - description: 预售商品ID
  19520. in: query
  19521. name: goodsid
  19522. type: integer
  19523. - description: 预售市场ID
  19524. in: query
  19525. name: marketid
  19526. type: integer
  19527. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19528. in: query
  19529. name: presalemode
  19530. type: integer
  19531. - description: 预售商品ID列表 - 格式:1,2,3
  19532. in: query
  19533. name: goodsids
  19534. type: string
  19535. - description: 预售商品代码
  19536. in: query
  19537. name: goodscode
  19538. type: string
  19539. produces:
  19540. - application/json
  19541. responses:
  19542. "200":
  19543. description: OK
  19544. schema:
  19545. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19546. "500":
  19547. description: Internal Server Error
  19548. schema:
  19549. $ref: '#/definitions/app.Response'
  19550. security:
  19551. - ApiKeyAuth: []
  19552. summary: 查询产能预售商品扩展信息
  19553. tags:
  19554. - 产能预售
  19555. /CPTrade/QueryUserGoodsData:
  19556. get:
  19557. parameters:
  19558. - description: 资金账户ID
  19559. in: query
  19560. name: accountid
  19561. required: true
  19562. type: integer
  19563. produces:
  19564. - application/json
  19565. responses:
  19566. "200":
  19567. description: OK
  19568. schema:
  19569. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19570. "500":
  19571. description: Internal Server Error
  19572. schema:
  19573. $ref: '#/definitions/app.Response'
  19574. security:
  19575. - ApiKeyAuth: []
  19576. summary: 查询远期订单信息
  19577. tags:
  19578. - 产能预售
  19579. /Common/DeleteNewFuncmenu:
  19580. delete:
  19581. consumes:
  19582. - application/json
  19583. parameters:
  19584. - description: 菜单表数据,只需要resourcecode字段即可
  19585. in: body
  19586. name: data
  19587. required: true
  19588. schema:
  19589. $ref: '#/definitions/models.NewFuncmenulist'
  19590. produces:
  19591. - application/json
  19592. responses:
  19593. "200":
  19594. description: OK
  19595. schema:
  19596. $ref: '#/definitions/app.Response'
  19597. "500":
  19598. description: Internal Server Error
  19599. schema:
  19600. $ref: '#/definitions/app.Response'
  19601. security:
  19602. - ApiKeyAuth: []
  19603. summary: 删除菜单表数据
  19604. tags:
  19605. - 通用服务
  19606. /Common/FindNewFuncmenu:
  19607. get:
  19608. parameters:
  19609. - description: 资源代码
  19610. in: query
  19611. name: resourcecode
  19612. type: string
  19613. - description: 上级资源代码
  19614. in: query
  19615. name: parentcode
  19616. type: string
  19617. - description: 资源名(Title), 模糊查询
  19618. in: query
  19619. name: resourcename
  19620. type: string
  19621. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19622. in: query
  19623. name: menutype
  19624. type: string
  19625. produces:
  19626. - application/json
  19627. responses:
  19628. "200":
  19629. description: OK
  19630. schema:
  19631. items:
  19632. $ref: '#/definitions/models.NewFuncmenulist'
  19633. type: array
  19634. "500":
  19635. description: Internal Server Error
  19636. schema:
  19637. $ref: '#/definitions/app.Response'
  19638. security:
  19639. - ApiKeyAuth: []
  19640. summary: 获取菜单表数据
  19641. tags:
  19642. - 通用服务
  19643. /Common/GetAllEnums:
  19644. get:
  19645. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19646. parameters:
  19647. - description: 起始自增ID
  19648. in: query
  19649. name: autoid
  19650. type: integer
  19651. produces:
  19652. - application/json
  19653. responses:
  19654. "200":
  19655. description: OK
  19656. schema:
  19657. $ref: '#/definitions/models.Enumdicitem'
  19658. "500":
  19659. description: Internal Server Error
  19660. schema:
  19661. $ref: '#/definitions/app.Response'
  19662. summary: 获取所有枚举信息
  19663. tags:
  19664. - 通用服务
  19665. /Common/GetClientMenus:
  19666. get:
  19667. parameters:
  19668. - description: 登录账号
  19669. in: query
  19670. name: loginID
  19671. required: true
  19672. type: integer
  19673. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19674. in: query
  19675. name: clientType
  19676. type: integer
  19677. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19678. in: query
  19679. name: name
  19680. type: string
  19681. produces:
  19682. - application/json
  19683. responses:
  19684. "200":
  19685. description: OK
  19686. schema:
  19687. items:
  19688. $ref: '#/definitions/common.ClientMenu'
  19689. type: array
  19690. "500":
  19691. description: Internal Server Error
  19692. schema:
  19693. $ref: '#/definitions/app.Response'
  19694. security:
  19695. - ApiKeyAuth: []
  19696. summary: 获取交易端菜单
  19697. tags:
  19698. - 通用服务
  19699. /Common/GetClientNewFuncmenu:
  19700. get:
  19701. parameters:
  19702. - description: 登录账号
  19703. in: query
  19704. name: loginid
  19705. required: true
  19706. type: integer
  19707. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  19708. in: query
  19709. name: menutype
  19710. required: true
  19711. type: integer
  19712. produces:
  19713. - application/json
  19714. responses:
  19715. "200":
  19716. description: OK
  19717. schema:
  19718. items:
  19719. $ref: '#/definitions/models.NewFuncmenulist'
  19720. type: array
  19721. "500":
  19722. description: Internal Server Error
  19723. schema:
  19724. $ref: '#/definitions/app.Response'
  19725. security:
  19726. - ApiKeyAuth: []
  19727. summary: 获取终端菜单
  19728. tags:
  19729. - 通用服务
  19730. /Common/GetDivisions:
  19731. get:
  19732. produces:
  19733. - application/json
  19734. responses:
  19735. "200":
  19736. description: OK
  19737. schema:
  19738. $ref: '#/definitions/models.Division'
  19739. "500":
  19740. description: Internal Server Error
  19741. schema:
  19742. $ref: '#/definitions/app.Response'
  19743. summary: 查询区域信息
  19744. tags:
  19745. - 通用服务
  19746. /Common/GetPCWebMenus:
  19747. get:
  19748. parameters:
  19749. - description: 登录账号
  19750. in: query
  19751. name: loginID
  19752. required: true
  19753. type: integer
  19754. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19755. in: query
  19756. name: name
  19757. type: string
  19758. produces:
  19759. - application/json
  19760. responses:
  19761. "200":
  19762. description: OK
  19763. schema:
  19764. items:
  19765. $ref: '#/definitions/common.PCWebMenu'
  19766. type: array
  19767. "500":
  19768. description: Internal Server Error
  19769. schema:
  19770. $ref: '#/definitions/app.Response'
  19771. security:
  19772. - ApiKeyAuth: []
  19773. summary: 获取PCWeb交易端菜单
  19774. tags:
  19775. - 通用服务
  19776. /Common/GetServerTime:
  19777. get:
  19778. produces:
  19779. - application/json
  19780. responses:
  19781. "200":
  19782. description: OK
  19783. schema:
  19784. $ref: '#/definitions/app.Response'
  19785. "500":
  19786. description: Internal Server Error
  19787. schema:
  19788. $ref: '#/definitions/app.Response'
  19789. summary: 获取服务器时间
  19790. tags:
  19791. - 通用服务
  19792. /Common/InsertNewFuncmenu:
  19793. post:
  19794. consumes:
  19795. - application/json
  19796. parameters:
  19797. - description: 菜单表数据
  19798. in: body
  19799. name: data
  19800. required: true
  19801. schema:
  19802. $ref: '#/definitions/models.NewFuncmenulist'
  19803. produces:
  19804. - application/json
  19805. responses:
  19806. "200":
  19807. description: OK
  19808. schema:
  19809. $ref: '#/definitions/app.Response'
  19810. "500":
  19811. description: Internal Server Error
  19812. schema:
  19813. $ref: '#/definitions/app.Response'
  19814. security:
  19815. - ApiKeyAuth: []
  19816. summary: 插入菜单表数据
  19817. tags:
  19818. - 通用服务
  19819. /Common/NoticeReaded:
  19820. post:
  19821. parameters:
  19822. - description: 登录账号
  19823. in: query
  19824. name: loginID
  19825. required: true
  19826. type: integer
  19827. - description: 通知公告ID
  19828. in: query
  19829. name: noticeID
  19830. required: true
  19831. type: integer
  19832. produces:
  19833. - application/json
  19834. responses:
  19835. "200":
  19836. description: OK
  19837. schema:
  19838. $ref: '#/definitions/app.Response'
  19839. "500":
  19840. description: Internal Server Error
  19841. schema:
  19842. $ref: '#/definitions/app.Response'
  19843. security:
  19844. - ApiKeyAuth: []
  19845. summary: 通知公告设置已读请求
  19846. tags:
  19847. - 通用服务
  19848. /Common/QueryErrorInfos:
  19849. get:
  19850. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19851. parameters:
  19852. - description: 起始行号前索引
  19853. in: query
  19854. name: rowNumber
  19855. type: string
  19856. produces:
  19857. - application/json
  19858. responses:
  19859. "200":
  19860. description: OK
  19861. schema:
  19862. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19863. "500":
  19864. description: Internal Server Error
  19865. schema:
  19866. $ref: '#/definitions/app.Response'
  19867. summary: 获取数据库错误信息
  19868. tags:
  19869. - 通用服务
  19870. /Common/QueryImageConfigs:
  19871. get:
  19872. parameters:
  19873. - description: 用户id
  19874. in: query
  19875. name: userId
  19876. type: integer
  19877. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19878. in: query
  19879. name: imageType
  19880. type: integer
  19881. produces:
  19882. - application/json
  19883. responses:
  19884. "200":
  19885. description: OK
  19886. schema:
  19887. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19888. "500":
  19889. description: Internal Server Error
  19890. schema:
  19891. $ref: '#/definitions/app.Response'
  19892. summary: 查询轮播图配置信息
  19893. tags:
  19894. - 通用服务
  19895. /Common/QueryNotice:
  19896. get:
  19897. parameters:
  19898. - description: 页码
  19899. in: query
  19900. name: page
  19901. type: integer
  19902. - description: 每页条数
  19903. in: query
  19904. name: pagesize
  19905. type: integer
  19906. - description: 登录账号
  19907. in: query
  19908. name: loginID
  19909. required: true
  19910. type: integer
  19911. - description: 消息类型 - 1:公告通知 2:系统消息
  19912. in: query
  19913. name: msgType
  19914. type: integer
  19915. - description: 是否只获取未读信息
  19916. in: query
  19917. name: onlyUnRead
  19918. type: boolean
  19919. - description: 自增ID,传入后会返回这个ID后面的记录
  19920. in: query
  19921. name: lastID
  19922. type: integer
  19923. produces:
  19924. - application/json
  19925. responses:
  19926. "200":
  19927. description: OK
  19928. schema:
  19929. $ref: '#/definitions/common.QueryNoticeRsp'
  19930. "500":
  19931. description: Internal Server Error
  19932. schema:
  19933. $ref: '#/definitions/app.Response'
  19934. security:
  19935. - ApiKeyAuth: []
  19936. summary: 通知公告系统消息查询
  19937. tags:
  19938. - 通用服务
  19939. /Common/QueryProvincesAndCities:
  19940. get:
  19941. parameters:
  19942. - description: 省ID
  19943. in: query
  19944. name: provinceID
  19945. type: integer
  19946. produces:
  19947. - application/json
  19948. responses:
  19949. "200":
  19950. description: OK
  19951. schema:
  19952. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19953. "500":
  19954. description: Internal Server Error
  19955. schema:
  19956. $ref: '#/definitions/app.Response'
  19957. summary: 查询省市信息(不包括区)
  19958. tags:
  19959. - 通用服务
  19960. /Common/QueryRates:
  19961. get:
  19962. parameters:
  19963. - description: 页码
  19964. in: query
  19965. name: page
  19966. type: integer
  19967. - description: 每页条数
  19968. in: query
  19969. name: pagesize
  19970. type: integer
  19971. - description: 源币种ID
  19972. in: query
  19973. name: oricurrencyid
  19974. type: integer
  19975. - description: 目标币种ID
  19976. in: query
  19977. name: descurrencyid
  19978. type: integer
  19979. produces:
  19980. - application/json
  19981. responses:
  19982. "200":
  19983. description: OK
  19984. schema:
  19985. items:
  19986. $ref: '#/definitions/models.Exchangerateconfig'
  19987. type: array
  19988. "500":
  19989. description: Internal Server Error
  19990. schema:
  19991. $ref: '#/definitions/app.Response'
  19992. security:
  19993. - ApiKeyAuth: []
  19994. - LoginID: []
  19995. - Group: []
  19996. summary: 查询汇率信息
  19997. tags:
  19998. - 通用服务
  19999. /Common/QueryTableDefine:
  20000. get:
  20001. parameters:
  20002. - description: 表key
  20003. in: query
  20004. name: tableKey
  20005. type: string
  20006. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20007. in: query
  20008. name: tableType
  20009. type: integer
  20010. produces:
  20011. - application/json
  20012. responses:
  20013. "200":
  20014. description: OK
  20015. schema:
  20016. $ref: '#/definitions/common.QueryTableDefineRsp'
  20017. "500":
  20018. description: Internal Server Error
  20019. schema:
  20020. $ref: '#/definitions/app.Response'
  20021. summary: 查询交易端列表头信息
  20022. tags:
  20023. - 通用服务
  20024. /Common/QueryTraderMenu:
  20025. get:
  20026. parameters:
  20027. - description: 登录账号
  20028. in: query
  20029. name: loginid
  20030. required: true
  20031. type: integer
  20032. produces:
  20033. - application/json
  20034. responses:
  20035. "200":
  20036. description: OK
  20037. schema:
  20038. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20039. "500":
  20040. description: Internal Server Error
  20041. schema:
  20042. $ref: '#/definitions/app.Response'
  20043. summary: 查询交易端菜单
  20044. tags:
  20045. - 通用服务
  20046. /Common/UpdateNewFuncmenu:
  20047. put:
  20048. consumes:
  20049. - application/json
  20050. parameters:
  20051. - description: 菜单表数据
  20052. in: body
  20053. name: data
  20054. required: true
  20055. schema:
  20056. $ref: '#/definitions/models.NewFuncmenulist'
  20057. produces:
  20058. - application/json
  20059. responses:
  20060. "200":
  20061. description: OK
  20062. schema:
  20063. $ref: '#/definitions/app.Response'
  20064. "500":
  20065. description: Internal Server Error
  20066. schema:
  20067. $ref: '#/definitions/app.Response'
  20068. security:
  20069. - ApiKeyAuth: []
  20070. summary: 更新菜单表数据
  20071. tags:
  20072. - 通用服务
  20073. /Delivery/QueryDeliveryRelation:
  20074. get:
  20075. parameters:
  20076. - description: 商品ID
  20077. in: query
  20078. name: goodsid
  20079. type: integer
  20080. - description: 品种ID
  20081. in: query
  20082. name: deliverygoodsid
  20083. type: integer
  20084. - description: 市场ID
  20085. in: query
  20086. name: marketid
  20087. type: integer
  20088. produces:
  20089. - application/json
  20090. responses:
  20091. "200":
  20092. description: OK
  20093. schema:
  20094. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20095. "500":
  20096. description: Internal Server Error
  20097. schema:
  20098. $ref: '#/definitions/app.Response'
  20099. security:
  20100. - ApiKeyAuth: []
  20101. summary: 查询商品交割关系表
  20102. tags:
  20103. - 交割服务
  20104. /Ermcp/GetErmcpGoods:
  20105. get:
  20106. parameters:
  20107. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20108. in: query
  20109. name: userid
  20110. type: integer
  20111. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20112. in: query
  20113. name: lastUpdateTime
  20114. type: string
  20115. produces:
  20116. - application/json
  20117. responses:
  20118. "200":
  20119. description: OK
  20120. schema:
  20121. $ref: '#/definitions/models.ErmcpGoods'
  20122. "500":
  20123. description: Internal Server Error
  20124. schema:
  20125. $ref: '#/definitions/app.Response'
  20126. security:
  20127. - ApiKeyAuth: []
  20128. summary: 查询企业风管期货商品信息
  20129. tags:
  20130. - 企业风险管理(app)
  20131. /Ermcp/GetErmcpGoodsSortByPosition:
  20132. get:
  20133. parameters:
  20134. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20135. in: query
  20136. name: sortIndex
  20137. type: string
  20138. produces:
  20139. - application/json
  20140. responses:
  20141. "200":
  20142. description: OK
  20143. schema:
  20144. $ref: '#/definitions/models.Goodssortbypreposition'
  20145. "500":
  20146. description: Internal Server Error
  20147. schema:
  20148. $ref: '#/definitions/app.Response'
  20149. security:
  20150. - ApiKeyAuth: []
  20151. summary: 查询企业风管期货主力、次主力商品信息
  20152. tags:
  20153. - 企业风险管理(app)
  20154. /Ermcp/GetErmcpOutAccountStatus:
  20155. get:
  20156. parameters:
  20157. - description: 登录账号
  20158. in: query
  20159. name: loginID
  20160. required: true
  20161. type: integer
  20162. produces:
  20163. - application/json
  20164. responses:
  20165. "200":
  20166. description: OK
  20167. schema:
  20168. $ref: '#/definitions/models.Hedgemarketopenlog'
  20169. "500":
  20170. description: Internal Server Error
  20171. schema:
  20172. $ref: '#/definitions/app.Response'
  20173. security:
  20174. - ApiKeyAuth: []
  20175. summary: 获取目标登录账号当前对冲账号在线状态
  20176. tags:
  20177. - 企业风险管理(app)
  20178. /Ermcp/GetErmcpRoleFuncMenuLists:
  20179. get:
  20180. parameters:
  20181. - description: 登录账号
  20182. in: query
  20183. name: loginID
  20184. required: true
  20185. type: integer
  20186. produces:
  20187. - application/json
  20188. responses:
  20189. "200":
  20190. description: OK
  20191. schema:
  20192. $ref: '#/definitions/models.Funcmenulist'
  20193. "500":
  20194. description: Internal Server Error
  20195. schema:
  20196. $ref: '#/definitions/app.Response'
  20197. security:
  20198. - ApiKeyAuth: []
  20199. summary: 获取企业风管终端权限
  20200. tags:
  20201. - 企业风险管理(app)
  20202. /Ermcp/QueryAccMgrBizGroupSet:
  20203. get:
  20204. parameters:
  20205. - description: 用户ID
  20206. in: query
  20207. name: userid
  20208. required: true
  20209. type: integer
  20210. - description: 现货商品id
  20211. in: query
  20212. name: deliverygoodsid
  20213. type: integer
  20214. produces:
  20215. - application/json
  20216. responses:
  20217. "200":
  20218. description: OK
  20219. schema:
  20220. items:
  20221. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20222. type: array
  20223. "500":
  20224. description: Internal Server Error
  20225. schema:
  20226. $ref: '#/definitions/app.Response'
  20227. security:
  20228. - ApiKeyAuth: []
  20229. summary: 查询业务类型分组(账户管理/账户设置)
  20230. tags:
  20231. - 企业风险管理(app)
  20232. /Ermcp/QueryAccMgrLoginUser:
  20233. get:
  20234. parameters:
  20235. - description: 用户ID
  20236. in: query
  20237. name: userid
  20238. required: true
  20239. type: integer
  20240. - description: 用户类型 2-机构 7-企业成员
  20241. in: query
  20242. name: usertype
  20243. type: integer
  20244. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20245. in: query
  20246. name: querytype
  20247. required: true
  20248. type: integer
  20249. produces:
  20250. - application/json
  20251. responses:
  20252. "200":
  20253. description: OK
  20254. schema:
  20255. items:
  20256. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20257. type: array
  20258. "500":
  20259. description: Internal Server Error
  20260. schema:
  20261. $ref: '#/definitions/app.Response'
  20262. security:
  20263. - ApiKeyAuth: []
  20264. summary: 查询账户管理登录账号(账户管理/登录账号)
  20265. tags:
  20266. - 企业风险管理(app)
  20267. /Ermcp/QueryAccMgrMainAccountInfo:
  20268. get:
  20269. parameters:
  20270. - description: 用户ID
  20271. in: query
  20272. name: userid
  20273. type: integer
  20274. - description: 主账号id
  20275. in: query
  20276. name: accountid
  20277. type: integer
  20278. produces:
  20279. - application/json
  20280. responses:
  20281. "200":
  20282. description: OK
  20283. schema:
  20284. items:
  20285. $ref: '#/definitions/models.MainAccountInfo'
  20286. type: array
  20287. "500":
  20288. description: Internal Server Error
  20289. schema:
  20290. $ref: '#/definitions/app.Response'
  20291. security:
  20292. - ApiKeyAuth: []
  20293. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20294. tags:
  20295. - 企业风险管理(app)
  20296. /Ermcp/QueryAccMgrRole:
  20297. get:
  20298. parameters:
  20299. - description: 用户ID
  20300. in: query
  20301. name: userid
  20302. required: true
  20303. type: integer
  20304. produces:
  20305. - application/json
  20306. responses:
  20307. "200":
  20308. description: OK
  20309. schema:
  20310. items:
  20311. $ref: '#/definitions/models.ErmcpRole'
  20312. type: array
  20313. "500":
  20314. description: Internal Server Error
  20315. schema:
  20316. $ref: '#/definitions/app.Response'
  20317. security:
  20318. - ApiKeyAuth: []
  20319. summary: 查询账户管理角色设置(账户管理/角色设置)
  20320. tags:
  20321. - 企业风险管理(app)
  20322. /Ermcp/QueryAccMgrRoleMenu:
  20323. get:
  20324. parameters:
  20325. - description: 用户ID
  20326. in: query
  20327. name: userid
  20328. required: true
  20329. type: integer
  20330. - description: 角色id(可多个,逗号隔开)
  20331. in: query
  20332. name: roleid
  20333. type: string
  20334. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20335. in: query
  20336. name: menutype
  20337. type: integer
  20338. produces:
  20339. - application/json
  20340. responses:
  20341. "200":
  20342. description: OK
  20343. schema:
  20344. items:
  20345. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20346. type: array
  20347. "500":
  20348. description: Internal Server Error
  20349. schema:
  20350. $ref: '#/definitions/app.Response'
  20351. security:
  20352. - ApiKeyAuth: []
  20353. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20354. tags:
  20355. - 企业风险管理(app)
  20356. /Ermcp/QueryAccMgrTaAccountInfo:
  20357. get:
  20358. parameters:
  20359. - description: 用户ID
  20360. in: query
  20361. name: userid
  20362. required: true
  20363. type: integer
  20364. - description: 账号id
  20365. in: query
  20366. name: accountid
  20367. type: integer
  20368. produces:
  20369. - application/json
  20370. responses:
  20371. "200":
  20372. description: OK
  20373. schema:
  20374. items:
  20375. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20376. type: array
  20377. "500":
  20378. description: Internal Server Error
  20379. schema:
  20380. $ref: '#/definitions/app.Response'
  20381. security:
  20382. - ApiKeyAuth: []
  20383. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20384. tags:
  20385. - 企业风险管理(app)
  20386. /Ermcp/QueryAccMgrTaaccount:
  20387. get:
  20388. parameters:
  20389. - description: 用户ID
  20390. in: query
  20391. name: userid
  20392. required: true
  20393. type: integer
  20394. produces:
  20395. - application/json
  20396. responses:
  20397. "200":
  20398. description: OK
  20399. schema:
  20400. items:
  20401. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20402. type: array
  20403. "500":
  20404. description: Internal Server Error
  20405. schema:
  20406. $ref: '#/definitions/app.Response'
  20407. security:
  20408. - ApiKeyAuth: []
  20409. summary: 查询账户管理期货账号(账户管理/期货账号)
  20410. tags:
  20411. - 企业风险管理(app)
  20412. /Ermcp/QueryAvaildGoodsGroup:
  20413. get:
  20414. parameters:
  20415. - description: 所属机构ID
  20416. in: query
  20417. name: userid
  20418. required: true
  20419. type: integer
  20420. produces:
  20421. - application/json
  20422. responses:
  20423. "200":
  20424. description: OK
  20425. schema:
  20426. items:
  20427. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20428. type: array
  20429. "500":
  20430. description: Internal Server Error
  20431. schema:
  20432. $ref: '#/definitions/app.Response'
  20433. security:
  20434. - ApiKeyAuth: []
  20435. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20436. tags:
  20437. - 企业风险管理(app)
  20438. /Ermcp/QueryBusinessDj:
  20439. get:
  20440. parameters:
  20441. - description: 用户ID
  20442. in: query
  20443. name: UserId
  20444. required: true
  20445. type: integer
  20446. - description: 用户类型 2-机构 7-企业成员
  20447. in: query
  20448. name: usertype
  20449. type: integer
  20450. - description: 现货合同ID, 不填则查所有
  20451. in: query
  20452. name: relatedid
  20453. type: string
  20454. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20455. in: query
  20456. name: applystatus
  20457. type: string
  20458. produces:
  20459. - application/json
  20460. responses:
  20461. "200":
  20462. description: OK
  20463. schema:
  20464. items:
  20465. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20466. type: array
  20467. "500":
  20468. description: Internal Server Error
  20469. schema:
  20470. $ref: '#/definitions/app.Response'
  20471. security:
  20472. - ApiKeyAuth: []
  20473. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20474. tags:
  20475. - 企业风险管理(app)
  20476. /Ermcp/QueryBusinessFp:
  20477. get:
  20478. parameters:
  20479. - description: 用户ID
  20480. in: query
  20481. name: UserId
  20482. required: true
  20483. type: integer
  20484. - description: 用户类型 2-机构 7-企业成员
  20485. in: query
  20486. name: usertype
  20487. type: integer
  20488. - description: 现货合同ID, 不填则查所有
  20489. in: query
  20490. name: relatedid
  20491. type: string
  20492. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20493. in: query
  20494. name: applystatus
  20495. type: string
  20496. produces:
  20497. - application/json
  20498. responses:
  20499. "200":
  20500. description: OK
  20501. schema:
  20502. items:
  20503. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20504. type: array
  20505. "500":
  20506. description: Internal Server Error
  20507. schema:
  20508. $ref: '#/definitions/app.Response'
  20509. security:
  20510. - ApiKeyAuth: []
  20511. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20512. tags:
  20513. - 企业风险管理(app)
  20514. /Ermcp/QueryBusinessJs:
  20515. get:
  20516. parameters:
  20517. - description: 用户ID
  20518. in: query
  20519. name: UserId
  20520. required: true
  20521. type: integer
  20522. - description: 用户类型 2-机构 7-企业成员
  20523. in: query
  20524. name: usertype
  20525. type: integer
  20526. - description: 现货合同ID, 不填则查所有
  20527. in: query
  20528. name: relatedid
  20529. type: string
  20530. - description: 操作申请id
  20531. in: query
  20532. name: operateapplyid
  20533. type: string
  20534. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20535. in: query
  20536. name: applystatus
  20537. type: string
  20538. produces:
  20539. - application/json
  20540. responses:
  20541. "200":
  20542. description: OK
  20543. schema:
  20544. items:
  20545. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20546. type: array
  20547. "500":
  20548. description: Internal Server Error
  20549. schema:
  20550. $ref: '#/definitions/app.Response'
  20551. security:
  20552. - ApiKeyAuth: []
  20553. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20554. tags:
  20555. - 企业风险管理(app)
  20556. /Ermcp/QueryBusinessJsEx:
  20557. get:
  20558. parameters:
  20559. - description: 用户ID
  20560. in: query
  20561. name: UserId
  20562. required: true
  20563. type: integer
  20564. - description: 用户类型 2-机构 7-企业成员
  20565. in: query
  20566. name: usertype
  20567. type: integer
  20568. - description: 现货合同ID, 不填则查所有
  20569. in: query
  20570. name: relatedid
  20571. type: string
  20572. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20573. in: query
  20574. name: applystatus
  20575. type: string
  20576. produces:
  20577. - application/json
  20578. responses:
  20579. "200":
  20580. description: OK
  20581. schema:
  20582. items:
  20583. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20584. type: array
  20585. "500":
  20586. description: Internal Server Error
  20587. schema:
  20588. $ref: '#/definitions/app.Response'
  20589. security:
  20590. - ApiKeyAuth: []
  20591. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20592. tags:
  20593. - 企业风险管理(app)
  20594. /Ermcp/QueryBusinessKx:
  20595. get:
  20596. parameters:
  20597. - description: 用户ID
  20598. in: query
  20599. name: UserId
  20600. required: true
  20601. type: integer
  20602. - description: 用户类型 2-机构 7-企业成员
  20603. in: query
  20604. name: usertype
  20605. type: integer
  20606. - description: 现货合同ID, 不填则查所有
  20607. in: query
  20608. name: relatedid
  20609. type: string
  20610. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20611. in: query
  20612. name: applystatus
  20613. type: string
  20614. produces:
  20615. - application/json
  20616. responses:
  20617. "200":
  20618. description: OK
  20619. schema:
  20620. items:
  20621. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20622. type: array
  20623. "500":
  20624. description: Internal Server Error
  20625. schema:
  20626. $ref: '#/definitions/app.Response'
  20627. security:
  20628. - ApiKeyAuth: []
  20629. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20630. tags:
  20631. - 企业风险管理(app)
  20632. /Ermcp/QueryChangeLog:
  20633. get:
  20634. parameters:
  20635. - description: 合同ID
  20636. in: query
  20637. name: RelatedId
  20638. required: true
  20639. type: string
  20640. produces:
  20641. - application/json
  20642. responses:
  20643. "200":
  20644. description: OK
  20645. schema:
  20646. items:
  20647. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20648. type: array
  20649. "500":
  20650. description: Internal Server Error
  20651. schema:
  20652. $ref: '#/definitions/app.Response'
  20653. security:
  20654. - ApiKeyAuth: []
  20655. summary: 查询变更记录
  20656. tags:
  20657. - 企业风险管理(app)
  20658. /Ermcp/QueryErmcpHisOrderDetails:
  20659. get:
  20660. parameters:
  20661. - description: 资金账户ID
  20662. in: query
  20663. name: accountID
  20664. required: true
  20665. type: integer
  20666. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20667. in: query
  20668. name: startDate
  20669. type: string
  20670. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20671. in: query
  20672. name: endDate
  20673. type: string
  20674. produces:
  20675. - application/json
  20676. responses:
  20677. "200":
  20678. description: OK
  20679. schema:
  20680. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20681. "500":
  20682. description: Internal Server Error
  20683. schema:
  20684. $ref: '#/definitions/app.Response'
  20685. security:
  20686. - ApiKeyAuth: []
  20687. summary: 获取企业风管期货历史委托单信息
  20688. tags:
  20689. - 企业风险管理(app)
  20690. /Ermcp/QueryErmcpHisTradeDetails:
  20691. get:
  20692. parameters:
  20693. - description: 资金账户ID
  20694. in: query
  20695. name: accountID
  20696. required: true
  20697. type: integer
  20698. - description: 商品ID
  20699. in: query
  20700. name: goodsID
  20701. type: integer
  20702. - description: 买卖方向,0:买 1:卖
  20703. in: query
  20704. name: buyOrSell
  20705. type: integer
  20706. - description: 关联委托单号
  20707. in: query
  20708. name: orderID
  20709. type: integer
  20710. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20711. in: query
  20712. name: startDate
  20713. type: string
  20714. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20715. in: query
  20716. name: endDate
  20717. type: string
  20718. produces:
  20719. - application/json
  20720. responses:
  20721. "200":
  20722. description: OK
  20723. schema:
  20724. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20725. "500":
  20726. description: Internal Server Error
  20727. schema:
  20728. $ref: '#/definitions/app.Response'
  20729. security:
  20730. - ApiKeyAuth: []
  20731. summary: 获取企业风管期货历史成交单信息
  20732. tags:
  20733. - 企业风险管理(app)
  20734. /Ermcp/QueryErmcpInnerHolderDetails:
  20735. get:
  20736. parameters:
  20737. - description: 资金账户ID
  20738. in: query
  20739. name: accountID
  20740. required: true
  20741. type: integer
  20742. - description: 商品ID
  20743. in: query
  20744. name: goodsID
  20745. type: integer
  20746. - description: 买卖方向,0:买 1:卖
  20747. in: query
  20748. name: buyOrSell
  20749. type: integer
  20750. produces:
  20751. - application/json
  20752. responses:
  20753. "200":
  20754. description: OK
  20755. schema:
  20756. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20757. "500":
  20758. description: Internal Server Error
  20759. schema:
  20760. $ref: '#/definitions/app.Response'
  20761. security:
  20762. - ApiKeyAuth: []
  20763. summary: 获取企业风管期货内部持仓单信息
  20764. tags:
  20765. - 企业风险管理(app)
  20766. /Ermcp/QueryErmcpOrderDetails:
  20767. get:
  20768. parameters:
  20769. - description: 资金账户ID
  20770. in: query
  20771. name: accountID
  20772. required: true
  20773. type: integer
  20774. produces:
  20775. - application/json
  20776. responses:
  20777. "200":
  20778. description: OK
  20779. schema:
  20780. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20781. "500":
  20782. description: Internal Server Error
  20783. schema:
  20784. $ref: '#/definitions/app.Response'
  20785. security:
  20786. - ApiKeyAuth: []
  20787. summary: 获取企业风管期货委托单信息
  20788. tags:
  20789. - 企业风险管理(app)
  20790. /Ermcp/QueryErmcpTradeDetails:
  20791. get:
  20792. parameters:
  20793. - description: 资金账户ID
  20794. in: query
  20795. name: accountID
  20796. required: true
  20797. type: integer
  20798. - description: 商品ID
  20799. in: query
  20800. name: goodsID
  20801. type: integer
  20802. - description: 买卖方向,0:买 1:卖
  20803. in: query
  20804. name: buyOrSell
  20805. type: integer
  20806. - description: 关联委托单号
  20807. in: query
  20808. name: orderID
  20809. type: integer
  20810. produces:
  20811. - application/json
  20812. responses:
  20813. "200":
  20814. description: OK
  20815. schema:
  20816. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20817. "500":
  20818. description: Internal Server Error
  20819. schema:
  20820. $ref: '#/definitions/app.Response'
  20821. security:
  20822. - ApiKeyAuth: []
  20823. summary: 获取企业风管期货成交单信息
  20824. tags:
  20825. - 企业风险管理(app)
  20826. /Ermcp/QueryErmcpTradePosition:
  20827. get:
  20828. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20829. parameters:
  20830. - description: 资金账户ID
  20831. in: query
  20832. name: accountID
  20833. required: true
  20834. type: integer
  20835. - description: 所属市场ID
  20836. in: query
  20837. name: marketID
  20838. type: integer
  20839. produces:
  20840. - application/json
  20841. responses:
  20842. "200":
  20843. description: OK
  20844. schema:
  20845. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20846. "500":
  20847. description: Internal Server Error
  20848. schema:
  20849. $ref: '#/definitions/app.Response'
  20850. security:
  20851. - ApiKeyAuth: []
  20852. summary: 获取企业风管期货持仓头寸信息
  20853. tags:
  20854. - 企业风险管理(app)
  20855. /Ermcp/QueryExposureDetail:
  20856. get:
  20857. parameters:
  20858. - description: 所属机构ID
  20859. in: query
  20860. name: areaUserId
  20861. required: true
  20862. type: integer
  20863. - description: 套保商品
  20864. in: query
  20865. name: middleGoodsId
  20866. required: true
  20867. type: integer
  20868. produces:
  20869. - application/json
  20870. responses:
  20871. "200":
  20872. description: OK
  20873. schema:
  20874. items:
  20875. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20876. type: array
  20877. "500":
  20878. description: Internal Server Error
  20879. schema:
  20880. $ref: '#/definitions/app.Response'
  20881. security:
  20882. - ApiKeyAuth: []
  20883. summary: 查询敞口现货明细
  20884. tags:
  20885. - 企业风险管理(app)
  20886. /Ermcp/QueryExposureGoods:
  20887. get:
  20888. parameters:
  20889. - description: 套保商品id
  20890. in: query
  20891. name: middlegoodsid
  20892. required: true
  20893. type: integer
  20894. produces:
  20895. - application/json
  20896. responses:
  20897. "200":
  20898. description: OK
  20899. schema:
  20900. items:
  20901. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20902. type: array
  20903. "500":
  20904. description: Internal Server Error
  20905. schema:
  20906. $ref: '#/definitions/app.Response'
  20907. security:
  20908. - ApiKeyAuth: []
  20909. summary: 查询敞口主力合约
  20910. tags:
  20911. - 企业风险管理(app)
  20912. /Ermcp/QueryExposureHedgePosition:
  20913. get:
  20914. parameters:
  20915. - description: 用户id
  20916. in: query
  20917. name: userid
  20918. required: true
  20919. type: integer
  20920. produces:
  20921. - application/json
  20922. responses:
  20923. "200":
  20924. description: OK
  20925. schema:
  20926. items:
  20927. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20928. type: array
  20929. "500":
  20930. description: Internal Server Error
  20931. schema:
  20932. $ref: '#/definitions/app.Response'
  20933. security:
  20934. - ApiKeyAuth: []
  20935. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20936. tags:
  20937. - 企业风险管理(app)
  20938. /Ermcp/QueryExposureHedgePositionDetail:
  20939. get:
  20940. parameters:
  20941. - description: 所属机构ID
  20942. in: query
  20943. name: userid
  20944. required: true
  20945. type: integer
  20946. - description: 商品id
  20947. in: query
  20948. name: goodsId
  20949. required: true
  20950. type: integer
  20951. produces:
  20952. - application/json
  20953. responses:
  20954. "200":
  20955. description: OK
  20956. schema:
  20957. items:
  20958. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20959. type: array
  20960. "500":
  20961. description: Internal Server Error
  20962. schema:
  20963. $ref: '#/definitions/app.Response'
  20964. security:
  20965. - ApiKeyAuth: []
  20966. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20967. tags:
  20968. - 企业风险管理(app)
  20969. /Ermcp/QueryExposureSpot:
  20970. get:
  20971. parameters:
  20972. - description: 所属机构ID
  20973. in: query
  20974. name: areaUserId
  20975. required: true
  20976. type: integer
  20977. produces:
  20978. - application/json
  20979. responses:
  20980. "200":
  20981. description: OK
  20982. schema:
  20983. items:
  20984. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20985. type: array
  20986. "500":
  20987. description: Internal Server Error
  20988. schema:
  20989. $ref: '#/definitions/app.Response'
  20990. security:
  20991. - ApiKeyAuth: []
  20992. summary: 查询敞口现货头寸(敞口/现货头寸)
  20993. tags:
  20994. - 企业风险管理(app)
  20995. /Ermcp/QueryExposureSpotDetail:
  20996. get:
  20997. parameters:
  20998. - description: 所属机构ID
  20999. in: query
  21000. name: areaUserId
  21001. required: true
  21002. type: integer
  21003. - description: 现货品种ID
  21004. in: query
  21005. name: wrstandardId
  21006. required: true
  21007. type: integer
  21008. produces:
  21009. - application/json
  21010. responses:
  21011. "200":
  21012. description: OK
  21013. schema:
  21014. items:
  21015. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21016. type: array
  21017. "500":
  21018. description: Internal Server Error
  21019. schema:
  21020. $ref: '#/definitions/app.Response'
  21021. security:
  21022. - ApiKeyAuth: []
  21023. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21024. tags:
  21025. - 企业风险管理(app)
  21026. /Ermcp/QueryFuturesCompany:
  21027. get:
  21028. produces:
  21029. - application/json
  21030. responses:
  21031. "200":
  21032. description: OK
  21033. schema:
  21034. items:
  21035. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21036. type: array
  21037. "500":
  21038. description: Internal Server Error
  21039. schema:
  21040. $ref: '#/definitions/app.Response'
  21041. security:
  21042. - ApiKeyAuth: []
  21043. summary: 查询期货公司
  21044. tags:
  21045. - 企业风险管理(app)
  21046. /Ermcp/QueryGGConvertConfig:
  21047. get:
  21048. parameters:
  21049. - description: 品种id(不填则查所有)
  21050. in: query
  21051. name: goodsgroupid
  21052. type: integer
  21053. produces:
  21054. - application/json
  21055. responses:
  21056. "200":
  21057. description: OK
  21058. schema:
  21059. items:
  21060. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21061. type: array
  21062. "500":
  21063. description: Internal Server Error
  21064. schema:
  21065. $ref: '#/definitions/app.Response'
  21066. security:
  21067. - ApiKeyAuth: []
  21068. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21069. tags:
  21070. - 企业风险管理(app)
  21071. /Ermcp/QueryGoodsBrand:
  21072. get:
  21073. parameters:
  21074. - description: 用户ID
  21075. in: query
  21076. name: userid
  21077. required: true
  21078. type: integer
  21079. - description: 现货商品ID
  21080. in: query
  21081. name: wrstandardid
  21082. type: integer
  21083. produces:
  21084. - application/json
  21085. responses:
  21086. "200":
  21087. description: OK
  21088. schema:
  21089. items:
  21090. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21091. type: array
  21092. "500":
  21093. description: Internal Server Error
  21094. schema:
  21095. $ref: '#/definitions/app.Response'
  21096. security:
  21097. - ApiKeyAuth: []
  21098. summary: 查询商品品牌
  21099. tags:
  21100. - 企业风险管理(app)
  21101. /Ermcp/QueryGoodsModel:
  21102. get:
  21103. parameters:
  21104. - description: 用户ID
  21105. in: query
  21106. name: userid
  21107. required: true
  21108. type: integer
  21109. produces:
  21110. - application/json
  21111. responses:
  21112. "200":
  21113. description: OK
  21114. schema:
  21115. items:
  21116. $ref: '#/definitions/models.ErmcpGoodsModel'
  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/QueryHisExposure:
  21128. get:
  21129. parameters:
  21130. - description: 用户id
  21131. in: query
  21132. name: userid
  21133. required: true
  21134. type: integer
  21135. - description: 每个品种记录数
  21136. in: query
  21137. name: lastNum
  21138. required: true
  21139. type: integer
  21140. produces:
  21141. - application/json
  21142. responses:
  21143. "200":
  21144. description: OK
  21145. schema:
  21146. items:
  21147. $ref: '#/definitions/ermcp.HisExposureRsp'
  21148. type: array
  21149. "500":
  21150. description: Internal Server Error
  21151. schema:
  21152. $ref: '#/definitions/app.Response'
  21153. security:
  21154. - ApiKeyAuth: []
  21155. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21156. tags:
  21157. - 企业风险管理(app)
  21158. /Ermcp/QueryMiddleGoods:
  21159. get:
  21160. parameters:
  21161. - description: 所属机构ID
  21162. in: query
  21163. name: userid
  21164. required: true
  21165. type: integer
  21166. - description: 状态 0-停用 1-正常
  21167. in: query
  21168. name: status
  21169. required: true
  21170. type: integer
  21171. produces:
  21172. - application/json
  21173. responses:
  21174. "200":
  21175. description: OK
  21176. schema:
  21177. items:
  21178. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21179. type: array
  21180. "500":
  21181. description: Internal Server Error
  21182. schema:
  21183. $ref: '#/definitions/app.Response'
  21184. security:
  21185. - ApiKeyAuth: []
  21186. summary: 查询套保品种(菜单:套保品种)
  21187. tags:
  21188. - 企业风险管理(app)
  21189. /Ermcp/QueryMiddleGoodsChangeLog:
  21190. get:
  21191. parameters:
  21192. - description: 所属机构ID
  21193. in: query
  21194. name: userid
  21195. required: true
  21196. type: integer
  21197. - description: 套保品种id
  21198. in: query
  21199. name: middlegoodsid
  21200. required: true
  21201. type: integer
  21202. produces:
  21203. - application/json
  21204. responses:
  21205. "200":
  21206. description: OK
  21207. schema:
  21208. items:
  21209. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21210. type: array
  21211. "500":
  21212. description: Internal Server Error
  21213. schema:
  21214. $ref: '#/definitions/app.Response'
  21215. security:
  21216. - ApiKeyAuth: []
  21217. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21218. tags:
  21219. - 企业风险管理(app)
  21220. /Ermcp/QueryMiddleGoodsDetail:
  21221. get:
  21222. parameters:
  21223. - description: 所属机构ID
  21224. in: query
  21225. name: userid
  21226. required: true
  21227. type: integer
  21228. - description: 套保品种id
  21229. in: query
  21230. name: middlegoodsid
  21231. type: integer
  21232. produces:
  21233. - application/json
  21234. responses:
  21235. "200":
  21236. description: OK
  21237. schema:
  21238. items:
  21239. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21240. type: array
  21241. "500":
  21242. description: Internal Server Error
  21243. schema:
  21244. $ref: '#/definitions/app.Response'
  21245. security:
  21246. - ApiKeyAuth: []
  21247. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21248. tags:
  21249. - 企业风险管理(app)
  21250. /Ermcp/QueryPendingAuditInfo:
  21251. get:
  21252. parameters:
  21253. - description: 用户ID
  21254. in: query
  21255. name: UserId
  21256. required: true
  21257. type: integer
  21258. produces:
  21259. - application/json
  21260. responses:
  21261. "200":
  21262. description: OK
  21263. schema:
  21264. items:
  21265. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21266. type: array
  21267. "500":
  21268. description: Internal Server Error
  21269. schema:
  21270. $ref: '#/definitions/app.Response'
  21271. security:
  21272. - ApiKeyAuth: []
  21273. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21274. tags:
  21275. - 企业风险管理(app)
  21276. /Ermcp/QueryRealtimeExposure:
  21277. get:
  21278. parameters:
  21279. - description: 所属机构ID
  21280. in: query
  21281. name: userid
  21282. required: true
  21283. type: integer
  21284. produces:
  21285. - application/json
  21286. responses:
  21287. "200":
  21288. description: OK
  21289. schema:
  21290. items:
  21291. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21292. type: array
  21293. "500":
  21294. description: Internal Server Error
  21295. schema:
  21296. $ref: '#/definitions/app.Response'
  21297. security:
  21298. - ApiKeyAuth: []
  21299. summary: 查询实时敞口
  21300. tags:
  21301. - 企业风险管理(app)
  21302. /Ermcp/QueryRealtimeExposurePosition:
  21303. get:
  21304. parameters:
  21305. - description: 用户id
  21306. in: query
  21307. name: userid
  21308. required: true
  21309. type: integer
  21310. - description: 套保商品ID
  21311. in: query
  21312. name: middleGoodsId
  21313. required: true
  21314. type: integer
  21315. produces:
  21316. - application/json
  21317. responses:
  21318. "200":
  21319. description: OK
  21320. schema:
  21321. items:
  21322. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21323. type: array
  21324. "500":
  21325. description: Internal Server Error
  21326. schema:
  21327. $ref: '#/definitions/app.Response'
  21328. security:
  21329. - ApiKeyAuth: []
  21330. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21331. tags:
  21332. - 企业风险管理(app)
  21333. /Ermcp/QueryRoleMenu:
  21334. get:
  21335. parameters:
  21336. - description: 登录ID
  21337. in: query
  21338. name: loginid
  21339. required: true
  21340. type: integer
  21341. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21342. in: query
  21343. name: menutype
  21344. type: integer
  21345. produces:
  21346. - application/json
  21347. responses:
  21348. "200":
  21349. description: OK
  21350. schema:
  21351. items:
  21352. $ref: '#/definitions/models.RoleMenu'
  21353. type: array
  21354. "500":
  21355. description: Internal Server Error
  21356. schema:
  21357. $ref: '#/definitions/app.Response'
  21358. security:
  21359. - ApiKeyAuth: []
  21360. summary: 查询角色菜单和权限
  21361. tags:
  21362. - 企业风险管理(app)
  21363. /Ermcp/QueryTradeConfigTMP:
  21364. get:
  21365. parameters:
  21366. - description: 所属机构id
  21367. in: query
  21368. name: areauserid
  21369. type: integer
  21370. produces:
  21371. - application/json
  21372. responses:
  21373. "200":
  21374. description: OK
  21375. schema:
  21376. items:
  21377. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21378. type: array
  21379. "500":
  21380. description: Internal Server Error
  21381. schema:
  21382. $ref: '#/definitions/app.Response'
  21383. security:
  21384. - ApiKeyAuth: []
  21385. summary: 查询交易模板配置
  21386. tags:
  21387. - 企业风险管理(app)
  21388. /Ermcp/QueryUserInfo:
  21389. get:
  21390. parameters:
  21391. - description: 所属机构用户ID
  21392. in: query
  21393. name: MemberUserID
  21394. required: true
  21395. type: integer
  21396. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21397. in: query
  21398. name: queryType
  21399. required: true
  21400. type: integer
  21401. produces:
  21402. - application/json
  21403. responses:
  21404. "200":
  21405. description: OK
  21406. schema:
  21407. items:
  21408. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21409. type: array
  21410. "500":
  21411. description: Internal Server Error
  21412. schema:
  21413. $ref: '#/definitions/app.Response'
  21414. security:
  21415. - ApiKeyAuth: []
  21416. summary: 查询客户资料
  21417. tags:
  21418. - 企业风险管理(app)
  21419. /Ermcp/QueryWarehouseInfo:
  21420. get:
  21421. parameters:
  21422. - description: 用户ID
  21423. in: query
  21424. name: userid
  21425. required: true
  21426. type: integer
  21427. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21428. in: query
  21429. name: status
  21430. type: string
  21431. produces:
  21432. - application/json
  21433. responses:
  21434. "200":
  21435. description: OK
  21436. schema:
  21437. items:
  21438. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21439. type: array
  21440. "500":
  21441. description: Internal Server Error
  21442. schema:
  21443. $ref: '#/definitions/app.Response'
  21444. security:
  21445. - ApiKeyAuth: []
  21446. summary: 查询仓库信息
  21447. tags:
  21448. - 企业风险管理(app)
  21449. /Ermcp3/QryAreaExpourseContractDetail:
  21450. get:
  21451. parameters:
  21452. - description: 用户ID
  21453. in: query
  21454. name: userid
  21455. required: true
  21456. type: integer
  21457. - description: 套保商品id
  21458. in: query
  21459. name: middlegoodsid
  21460. required: true
  21461. type: integer
  21462. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21463. in: query
  21464. name: cycletype
  21465. required: true
  21466. type: integer
  21467. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21468. 全(0)【原值】
  21469. in: query
  21470. name: cycletime
  21471. required: true
  21472. type: string
  21473. produces:
  21474. - application/json
  21475. responses:
  21476. "200":
  21477. description: OK
  21478. schema:
  21479. items:
  21480. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21481. type: array
  21482. "500":
  21483. description: Internal Server Error
  21484. schema:
  21485. $ref: '#/definitions/app.Response'
  21486. security:
  21487. - ApiKeyAuth: []
  21488. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21489. tags:
  21490. - 企业风险管理v3(app)
  21491. /Ermcp3/QryAreaExpourseFutuDetail:
  21492. get:
  21493. parameters:
  21494. - description: 用户ID
  21495. in: query
  21496. name: userid
  21497. required: true
  21498. type: integer
  21499. - description: 套保商品id
  21500. in: query
  21501. name: middlegoodsid
  21502. required: true
  21503. type: integer
  21504. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21505. in: query
  21506. name: cycletype
  21507. required: true
  21508. type: integer
  21509. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21510. 全(0)【原值】
  21511. in: query
  21512. name: cycletime
  21513. required: true
  21514. type: string
  21515. produces:
  21516. - application/json
  21517. responses:
  21518. "200":
  21519. description: OK
  21520. schema:
  21521. items:
  21522. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21523. type: array
  21524. "500":
  21525. description: Internal Server Error
  21526. schema:
  21527. $ref: '#/definitions/app.Response'
  21528. security:
  21529. - ApiKeyAuth: []
  21530. summary: 查询敞口期货明细(敞口报表/期货明细)
  21531. tags:
  21532. - 企业风险管理v3(app)
  21533. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21534. get:
  21535. parameters:
  21536. - description: 用户ID
  21537. in: query
  21538. name: userid
  21539. required: true
  21540. type: integer
  21541. - description: 套保商品id
  21542. in: query
  21543. name: middlegoodsid
  21544. required: true
  21545. type: integer
  21546. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21547. in: query
  21548. name: cycletype
  21549. required: true
  21550. type: integer
  21551. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21552. 全(0)【原值】
  21553. in: query
  21554. name: cycletime
  21555. required: true
  21556. type: string
  21557. produces:
  21558. - application/json
  21559. responses:
  21560. "200":
  21561. description: OK
  21562. schema:
  21563. items:
  21564. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21565. type: array
  21566. "500":
  21567. description: Internal Server Error
  21568. schema:
  21569. $ref: '#/definitions/app.Response'
  21570. security:
  21571. - ApiKeyAuth: []
  21572. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21573. tags:
  21574. - 企业风险管理v3(app)
  21575. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21576. get:
  21577. parameters:
  21578. - description: 用户ID
  21579. in: query
  21580. name: userid
  21581. required: true
  21582. type: integer
  21583. - description: 套保商品id
  21584. in: query
  21585. name: middlegoodsid
  21586. required: true
  21587. type: integer
  21588. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21589. in: query
  21590. name: cycletype
  21591. required: true
  21592. type: integer
  21593. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21594. 全(0)【原值】
  21595. in: query
  21596. name: cycletime
  21597. required: true
  21598. type: string
  21599. produces:
  21600. - application/json
  21601. responses:
  21602. "200":
  21603. description: OK
  21604. schema:
  21605. items:
  21606. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21607. type: array
  21608. "500":
  21609. description: Internal Server Error
  21610. schema:
  21611. $ref: '#/definitions/app.Response'
  21612. security:
  21613. - ApiKeyAuth: []
  21614. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21615. tags:
  21616. - 企业风险管理v3(app)
  21617. /Ermcp3/QryAreaExpourseReport:
  21618. get:
  21619. parameters:
  21620. - description: 用户ID
  21621. in: query
  21622. name: userid
  21623. required: true
  21624. type: integer
  21625. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21626. in: query
  21627. name: querytype
  21628. required: true
  21629. type: integer
  21630. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21631. in: query
  21632. name: cycletype
  21633. required: true
  21634. type: integer
  21635. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21636. 全(0)【原值】
  21637. in: query
  21638. name: cycletime
  21639. required: true
  21640. type: string
  21641. produces:
  21642. - application/json
  21643. responses:
  21644. "200":
  21645. description: OK
  21646. schema:
  21647. items:
  21648. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21649. type: array
  21650. "500":
  21651. description: Internal Server Error
  21652. schema:
  21653. $ref: '#/definitions/app.Response'
  21654. security:
  21655. - ApiKeyAuth: []
  21656. summary: 查询敞口报表
  21657. tags:
  21658. - 企业风险管理v3(app)
  21659. /Ermcp3/QryAreaSpotplReport:
  21660. get:
  21661. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21662. parameters:
  21663. - description: 用户ID
  21664. in: query
  21665. name: userid
  21666. required: true
  21667. type: integer
  21668. - description: 查询类型 1-报表 2-报表明细
  21669. in: query
  21670. name: querytype
  21671. required: true
  21672. type: integer
  21673. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21674. in: query
  21675. name: cycletype
  21676. required: true
  21677. type: integer
  21678. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21679. 全(0)【原值】
  21680. in: query
  21681. name: cycletime
  21682. required: true
  21683. type: string
  21684. - description: 现货品种id(明细必填)
  21685. in: query
  21686. name: deliverygoodsid
  21687. type: integer
  21688. - description: 币种id(明细必填)
  21689. in: query
  21690. name: currencyid
  21691. type: integer
  21692. - description: 日/周/月报表汇总维度 1:品种+品类
  21693. in: query
  21694. name: sumflag
  21695. type: integer
  21696. produces:
  21697. - application/json
  21698. responses:
  21699. "200":
  21700. description: OK
  21701. schema:
  21702. items:
  21703. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21704. type: array
  21705. "500":
  21706. description: Internal Server Error
  21707. schema:
  21708. $ref: '#/definitions/app.Response'
  21709. security:
  21710. - ApiKeyAuth: []
  21711. summary: 查询现货报表
  21712. tags:
  21713. - 企业风险管理v3(app)
  21714. /Ermcp3/QryAreaStockReport:
  21715. get:
  21716. parameters:
  21717. - description: 用户ID
  21718. in: query
  21719. name: userid
  21720. required: true
  21721. type: integer
  21722. - description: 查询类型 1-报表 2-报表明细
  21723. in: query
  21724. name: querytype
  21725. required: true
  21726. type: integer
  21727. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21728. in: query
  21729. name: cycletype
  21730. required: true
  21731. type: integer
  21732. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21733. 全(0)【原值】
  21734. in: query
  21735. name: cycletime
  21736. required: true
  21737. type: string
  21738. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21739. in: query
  21740. name: sumfields
  21741. type: string
  21742. - description: 品种ID
  21743. in: query
  21744. name: deliverygoodsid
  21745. type: integer
  21746. - description: 品类ID
  21747. in: query
  21748. name: wrstandardid
  21749. type: integer
  21750. - description: 品牌ID
  21751. in: query
  21752. name: spotgoodsbrandid
  21753. type: integer
  21754. - description: 仓库ID
  21755. in: query
  21756. name: warehouseinfoid
  21757. type: integer
  21758. produces:
  21759. - application/json
  21760. responses:
  21761. "200":
  21762. description: OK
  21763. schema:
  21764. items:
  21765. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21766. type: array
  21767. "500":
  21768. description: Internal Server Error
  21769. schema:
  21770. $ref: '#/definitions/app.Response'
  21771. security:
  21772. - ApiKeyAuth: []
  21773. summary: 查询库存报表
  21774. tags:
  21775. - 企业风险管理v3(app)
  21776. /Ermcp3/QryAreaSumPL:
  21777. get:
  21778. parameters:
  21779. - description: 用户ID
  21780. in: query
  21781. name: userid
  21782. required: true
  21783. type: integer
  21784. - description: 查询类型 1-报表 2-报表明细
  21785. in: query
  21786. name: querytype
  21787. required: true
  21788. type: integer
  21789. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21790. in: query
  21791. name: cycletype
  21792. required: true
  21793. type: integer
  21794. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21795. 全(0)【原值】
  21796. in: query
  21797. name: cycletime
  21798. required: true
  21799. type: string
  21800. - description: 币种id(明细必填)
  21801. in: query
  21802. name: currencyid
  21803. type: integer
  21804. - description: 套保品种ID, 查询类型为2时起效
  21805. in: query
  21806. name: middlegoodsid
  21807. type: integer
  21808. produces:
  21809. - application/json
  21810. responses:
  21811. "200":
  21812. description: OK
  21813. schema:
  21814. items:
  21815. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21816. type: array
  21817. "500":
  21818. description: Internal Server Error
  21819. schema:
  21820. $ref: '#/definitions/app.Response'
  21821. security:
  21822. - ApiKeyAuth: []
  21823. summary: 查询汇总损益表
  21824. tags:
  21825. - 企业风险管理v3(app)
  21826. /Ermcp3/QryFinanceReport:
  21827. get:
  21828. parameters:
  21829. - description: 用户ID
  21830. in: query
  21831. name: userid
  21832. required: true
  21833. type: integer
  21834. - description: 查询类型 1-报表 2-报表明细
  21835. in: query
  21836. name: querytype
  21837. required: true
  21838. type: integer
  21839. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21840. in: query
  21841. name: cycletype
  21842. required: true
  21843. type: integer
  21844. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21845. 全(0)【原值】
  21846. in: query
  21847. name: cycletime
  21848. required: true
  21849. type: string
  21850. - description: 币种id(报表明细必填)
  21851. in: query
  21852. name: currencyid
  21853. type: integer
  21854. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21855. in: query
  21856. name: sumfields
  21857. type: string
  21858. produces:
  21859. - application/json
  21860. responses:
  21861. "200":
  21862. description: OK
  21863. schema:
  21864. items:
  21865. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21866. type: array
  21867. "500":
  21868. description: Internal Server Error
  21869. schema:
  21870. $ref: '#/definitions/app.Response'
  21871. security:
  21872. - ApiKeyAuth: []
  21873. summary: 查询财务报表
  21874. tags:
  21875. - 企业风险管理v3(app)
  21876. /Ermcp3/QrySCMiddleGoodsReport:
  21877. get:
  21878. parameters:
  21879. - description: 用户ID
  21880. in: query
  21881. name: userid
  21882. required: true
  21883. type: integer
  21884. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21885. in: query
  21886. name: cycletype
  21887. required: true
  21888. type: integer
  21889. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21890. 全(0)【原值】
  21891. in: query
  21892. name: cycletime
  21893. required: true
  21894. type: string
  21895. - description: 合同id
  21896. in: query
  21897. name: spotcontractid
  21898. type: integer
  21899. - description: 套保品种id
  21900. in: query
  21901. name: middlegoodsid
  21902. type: integer
  21903. - description: 现货品种id
  21904. in: query
  21905. name: deliverygoodsid
  21906. type: integer
  21907. - description: 现货商品id
  21908. in: query
  21909. name: wrstandardid
  21910. type: integer
  21911. - description: 合同编号(模糊匹配)
  21912. in: query
  21913. name: contractno
  21914. type: string
  21915. produces:
  21916. - application/json
  21917. responses:
  21918. "200":
  21919. description: OK
  21920. schema:
  21921. items:
  21922. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21923. type: array
  21924. "500":
  21925. description: Internal Server Error
  21926. schema:
  21927. $ref: '#/definitions/app.Response'
  21928. security:
  21929. - ApiKeyAuth: []
  21930. summary: 查询定价报表
  21931. tags:
  21932. - 企业风险管理v3(app)
  21933. /Ermcp3/QryTaFutureDataReport:
  21934. get:
  21935. parameters:
  21936. - description: 用户ID
  21937. in: query
  21938. name: userid
  21939. required: true
  21940. type: integer
  21941. - description: 查询类型 1-报表 2-报表明细
  21942. in: query
  21943. name: querytype
  21944. required: true
  21945. type: integer
  21946. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21947. in: query
  21948. name: cycletype
  21949. required: true
  21950. type: integer
  21951. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21952. 全(0)【原值】
  21953. in: query
  21954. name: cycletime
  21955. required: true
  21956. type: string
  21957. - description: 币种id(查明细必填)
  21958. in: query
  21959. name: currencyid
  21960. type: integer
  21961. - description: 品种id(查明细必填)
  21962. in: query
  21963. name: goodsgroupid
  21964. type: integer
  21965. - description: 商品id(查明细必填)
  21966. in: query
  21967. name: goodsid
  21968. type: integer
  21969. - description: 买卖方向(查明细必填)
  21970. in: query
  21971. name: buyorsell
  21972. type: integer
  21973. produces:
  21974. - application/json
  21975. responses:
  21976. "200":
  21977. description: OK
  21978. schema:
  21979. items:
  21980. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21981. type: array
  21982. "500":
  21983. description: Internal Server Error
  21984. schema:
  21985. $ref: '#/definitions/app.Response'
  21986. security:
  21987. - ApiKeyAuth: []
  21988. summary: 查询期货报表
  21989. tags:
  21990. - 企业风险管理v3(app)
  21991. /Ermcp3/QueryAreaStock:
  21992. get:
  21993. parameters:
  21994. - description: 用户ID
  21995. in: query
  21996. name: userid
  21997. required: true
  21998. type: integer
  21999. produces:
  22000. - application/json
  22001. responses:
  22002. "200":
  22003. description: OK
  22004. schema:
  22005. items:
  22006. $ref: '#/definitions/models.Ermcp3AreaStock'
  22007. type: array
  22008. "500":
  22009. description: Internal Server Error
  22010. schema:
  22011. $ref: '#/definitions/app.Response'
  22012. security:
  22013. - ApiKeyAuth: []
  22014. summary: 查询机构库存(库存管理/当前库存)
  22015. tags:
  22016. - 企业风险管理v3(app)
  22017. /Ermcp3/QueryAreaStockApply:
  22018. get:
  22019. parameters:
  22020. - description: 用户ID
  22021. in: query
  22022. name: userid
  22023. required: true
  22024. type: integer
  22025. - description: 用户类型 2-机构 7-企业成员
  22026. in: query
  22027. name: usertype
  22028. type: integer
  22029. - description: 现货商品ID
  22030. in: query
  22031. name: deliverygoodsid
  22032. type: integer
  22033. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22034. in: query
  22035. name: inouttype
  22036. type: string
  22037. - description: 合同ID
  22038. in: query
  22039. name: spotcontractid
  22040. type: integer
  22041. - description: 品类ID
  22042. in: query
  22043. name: wrstandardid
  22044. type: integer
  22045. - description: 品牌ID
  22046. in: query
  22047. name: spotgoodsbrandid
  22048. type: integer
  22049. - description: 仓库ID
  22050. in: query
  22051. name: warehouseinfoid
  22052. type: integer
  22053. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22054. in: query
  22055. name: applystatus
  22056. type: string
  22057. produces:
  22058. - application/json
  22059. responses:
  22060. "200":
  22061. description: OK
  22062. schema:
  22063. items:
  22064. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22065. type: array
  22066. "500":
  22067. description: Internal Server Error
  22068. schema:
  22069. $ref: '#/definitions/app.Response'
  22070. security:
  22071. - ApiKeyAuth: []
  22072. summary: 查询库存申请(出入库记录|库存审核)
  22073. tags:
  22074. - 企业风险管理v3(app)
  22075. /Ermcp3/QueryAreaStockApplySum:
  22076. get:
  22077. parameters:
  22078. - description: 合同ID
  22079. in: query
  22080. name: spotcontractid
  22081. required: true
  22082. type: integer
  22083. produces:
  22084. - application/json
  22085. responses:
  22086. "200":
  22087. description: OK
  22088. schema:
  22089. items:
  22090. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22091. type: array
  22092. "500":
  22093. description: Internal Server Error
  22094. schema:
  22095. $ref: '#/definitions/app.Response'
  22096. security:
  22097. - ApiKeyAuth: []
  22098. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22099. tags:
  22100. - 企业风险管理v3(app)
  22101. /Ermcp3/QueryDGFactoryItem:
  22102. get:
  22103. parameters:
  22104. - description: 用户id
  22105. in: query
  22106. name: userid
  22107. type: integer
  22108. - description: 用户类型 2-机构 7-企业成员
  22109. in: query
  22110. name: usertype
  22111. type: integer
  22112. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22113. in: query
  22114. name: dgfactoryitemid
  22115. type: integer
  22116. - description: 现货品种ID
  22117. in: query
  22118. name: deliverygoodsid
  22119. type: integer
  22120. - description: 要素项类型
  22121. in: query
  22122. name: dgfactoryitemtypeid
  22123. type: integer
  22124. - description: 顺序
  22125. in: query
  22126. name: orderindex
  22127. type: integer
  22128. produces:
  22129. - application/json
  22130. responses:
  22131. "200":
  22132. description: OK
  22133. schema:
  22134. items:
  22135. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22136. type: array
  22137. "500":
  22138. description: Internal Server Error
  22139. schema:
  22140. $ref: '#/definitions/app.Response'
  22141. security:
  22142. - ApiKeyAuth: []
  22143. summary: 查询品种要素定义项
  22144. tags:
  22145. - 企业风险管理v3(app)
  22146. /Ermcp3/QueryDeliveryGoods:
  22147. get:
  22148. parameters:
  22149. - description: 用户id
  22150. in: query
  22151. name: userid
  22152. required: true
  22153. type: integer
  22154. - description: 用户类型 2-机构 7-企业成员
  22155. in: query
  22156. name: usertype
  22157. type: integer
  22158. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22159. in: query
  22160. name: excludecfg
  22161. type: integer
  22162. produces:
  22163. - application/json
  22164. responses:
  22165. "200":
  22166. description: OK
  22167. schema:
  22168. items:
  22169. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22170. type: array
  22171. "500":
  22172. description: Internal Server Error
  22173. schema:
  22174. $ref: '#/definitions/app.Response'
  22175. security:
  22176. - ApiKeyAuth: []
  22177. summary: 查询现货商品
  22178. tags:
  22179. - 企业风险管理v3(app)
  22180. /Ermcp3/QueryDeliveryGoodsDetail:
  22181. get:
  22182. parameters:
  22183. - description: 用户id
  22184. in: query
  22185. name: userid
  22186. required: true
  22187. type: integer
  22188. - description: 用户类型 2-机构 7-企业成员
  22189. in: query
  22190. name: usertype
  22191. type: integer
  22192. - description: 现货商品id
  22193. in: query
  22194. name: deliverygoodsid
  22195. type: integer
  22196. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22197. in: query
  22198. name: filtersubempty
  22199. type: integer
  22200. produces:
  22201. - application/json
  22202. responses:
  22203. "200":
  22204. description: OK
  22205. schema:
  22206. items:
  22207. $ref: '#/definitions/models.XHDeliveryGoods'
  22208. type: array
  22209. "500":
  22210. description: Internal Server Error
  22211. schema:
  22212. $ref: '#/definitions/app.Response'
  22213. security:
  22214. - ApiKeyAuth: []
  22215. summary: 查询现货商品详情
  22216. tags:
  22217. - 企业风险管理v3(app)
  22218. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22219. get:
  22220. parameters:
  22221. - description: 合同id
  22222. in: query
  22223. name: spotcontractid
  22224. required: true
  22225. type: string
  22226. produces:
  22227. - application/json
  22228. responses:
  22229. "200":
  22230. description: OK
  22231. schema:
  22232. items:
  22233. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22234. type: array
  22235. "500":
  22236. description: Internal Server Error
  22237. schema:
  22238. $ref: '#/definitions/app.Response'
  22239. security:
  22240. - ApiKeyAuth: []
  22241. summary: 查询现货合同期现配置信息
  22242. tags:
  22243. - 企业风险管理v3(app)
  22244. /Ermcp3/QueryExposureDetail:
  22245. get:
  22246. parameters:
  22247. - description: 用户id
  22248. in: query
  22249. name: userid
  22250. required: true
  22251. type: integer
  22252. - description: 用户类型 2-机构 7-企业成员
  22253. in: query
  22254. name: usertype
  22255. type: integer
  22256. - description: 套保商品
  22257. in: query
  22258. name: middlegoodsid
  22259. required: true
  22260. type: integer
  22261. produces:
  22262. - application/json
  22263. responses:
  22264. "200":
  22265. description: OK
  22266. schema:
  22267. items:
  22268. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22269. type: array
  22270. "500":
  22271. description: Internal Server Error
  22272. schema:
  22273. $ref: '#/definitions/app.Response'
  22274. security:
  22275. - ApiKeyAuth: []
  22276. summary: 查询敞口现货明细
  22277. tags:
  22278. - 企业风险管理v3(app)
  22279. /Ermcp3/QueryExposureSpot:
  22280. get:
  22281. parameters:
  22282. - description: 用户id
  22283. in: query
  22284. name: userid
  22285. required: true
  22286. type: integer
  22287. - description: 用户类型 2-机构 7-企业成员
  22288. in: query
  22289. name: usertype
  22290. type: integer
  22291. produces:
  22292. - application/json
  22293. responses:
  22294. "200":
  22295. description: OK
  22296. schema:
  22297. items:
  22298. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22299. type: array
  22300. "500":
  22301. description: Internal Server Error
  22302. schema:
  22303. $ref: '#/definitions/app.Response'
  22304. security:
  22305. - ApiKeyAuth: []
  22306. summary: 查询敞口现货头寸(敞口/现货头寸)
  22307. tags:
  22308. - 企业风险管理v3(app)
  22309. /Ermcp3/QueryExposureSpotDetail:
  22310. get:
  22311. parameters:
  22312. - description: 用户id
  22313. in: query
  22314. name: userid
  22315. required: true
  22316. type: integer
  22317. - description: 用户类型 2-机构 7-企业成员
  22318. in: query
  22319. name: usertype
  22320. type: integer
  22321. - description: 现货商品ID
  22322. in: query
  22323. name: wrstandardid
  22324. required: true
  22325. type: integer
  22326. produces:
  22327. - application/json
  22328. responses:
  22329. "200":
  22330. description: OK
  22331. schema:
  22332. items:
  22333. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22334. type: array
  22335. "500":
  22336. description: Internal Server Error
  22337. schema:
  22338. $ref: '#/definitions/app.Response'
  22339. security:
  22340. - ApiKeyAuth: []
  22341. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22342. tags:
  22343. - 企业风险管理v3(app)
  22344. /Ermcp3/QueryGoodsGroup:
  22345. get:
  22346. parameters:
  22347. - description: 用户id
  22348. in: query
  22349. name: userid
  22350. required: true
  22351. type: integer
  22352. - description: 用户类型 2-机构 7-企业成员
  22353. in: query
  22354. name: usertype
  22355. type: integer
  22356. - description: 排除套保品中已关联的商品组 1-排除
  22357. in: query
  22358. name: excludecfg
  22359. type: integer
  22360. produces:
  22361. - application/json
  22362. responses:
  22363. "200":
  22364. description: OK
  22365. schema:
  22366. items:
  22367. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22368. type: array
  22369. "500":
  22370. description: Internal Server Error
  22371. schema:
  22372. $ref: '#/definitions/app.Response'
  22373. security:
  22374. - ApiKeyAuth: []
  22375. summary: 查询期货商品组
  22376. tags:
  22377. - 企业风险管理v3(app)
  22378. /Ermcp3/QueryGoodsWrstandard:
  22379. get:
  22380. parameters:
  22381. - description: 用户id
  22382. in: query
  22383. name: userid
  22384. required: true
  22385. type: integer
  22386. - description: 用户类型 2-机构 7-企业成员
  22387. in: query
  22388. name: usertype
  22389. type: integer
  22390. - description: 现货商品id
  22391. in: query
  22392. name: deliverygoodsid
  22393. type: integer
  22394. produces:
  22395. - application/json
  22396. responses:
  22397. "200":
  22398. description: OK
  22399. schema:
  22400. items:
  22401. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22402. type: array
  22403. "500":
  22404. description: Internal Server Error
  22405. schema:
  22406. $ref: '#/definitions/app.Response'
  22407. security:
  22408. - ApiKeyAuth: []
  22409. summary: 查询商品品类
  22410. tags:
  22411. - 企业风险管理v3(app)
  22412. /Ermcp3/QueryGoodsbrand:
  22413. get:
  22414. parameters:
  22415. - description: 用户id
  22416. in: query
  22417. name: userid
  22418. required: true
  22419. type: integer
  22420. - description: 用户类型 2-机构 7-企业成员
  22421. in: query
  22422. name: usertype
  22423. type: integer
  22424. produces:
  22425. - application/json
  22426. responses:
  22427. "200":
  22428. description: OK
  22429. schema:
  22430. items:
  22431. $ref: '#/definitions/models.Ermcp3Brand'
  22432. type: array
  22433. "500":
  22434. description: Internal Server Error
  22435. schema:
  22436. $ref: '#/definitions/app.Response'
  22437. security:
  22438. - ApiKeyAuth: []
  22439. summary: 查询商品品牌
  22440. tags:
  22441. - 企业风险管理v3(app)
  22442. /Ermcp3/QueryHPMiddleGoods:
  22443. get:
  22444. parameters:
  22445. - description: 用户ID(填登录用户的userid)
  22446. in: query
  22447. name: userid
  22448. required: true
  22449. type: integer
  22450. - description: 买卖方向 0-买 1-卖
  22451. in: query
  22452. name: buyorsell
  22453. required: true
  22454. type: integer
  22455. - description: 商品组id
  22456. in: query
  22457. name: goodsgroupid
  22458. required: true
  22459. type: integer
  22460. - description: 套保计划编号(模糊匹配)
  22461. in: query
  22462. name: hedgeplanno
  22463. type: string
  22464. - description: 现货商品名称(模糊匹配)
  22465. in: query
  22466. name: wrstandardname
  22467. type: string
  22468. produces:
  22469. - application/json
  22470. responses:
  22471. "200":
  22472. description: OK
  22473. schema:
  22474. items:
  22475. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22476. type: array
  22477. "500":
  22478. description: Internal Server Error
  22479. schema:
  22480. $ref: '#/definitions/app.Response'
  22481. security:
  22482. - ApiKeyAuth: []
  22483. summary: 查询可关联套保计划
  22484. tags:
  22485. - 企业风险管理v3(app)
  22486. /Ermcp3/QueryHedgePlan:
  22487. get:
  22488. parameters:
  22489. - description: 用户ID
  22490. in: query
  22491. name: userid
  22492. required: true
  22493. type: integer
  22494. - description: 用户类型 2-机构 7-企业成员
  22495. in: query
  22496. name: usertype
  22497. type: integer
  22498. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22499. in: query
  22500. name: hedgeplanstatus
  22501. required: true
  22502. type: string
  22503. produces:
  22504. - application/json
  22505. responses:
  22506. "200":
  22507. description: OK
  22508. schema:
  22509. items:
  22510. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22511. type: array
  22512. "500":
  22513. description: Internal Server Error
  22514. schema:
  22515. $ref: '#/definitions/app.Response'
  22516. security:
  22517. - ApiKeyAuth: []
  22518. summary: 查询套保计划
  22519. tags:
  22520. - 企业风险管理v3(app)
  22521. /Ermcp3/QueryInnerTradeLink:
  22522. get:
  22523. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22524. parameters:
  22525. - description: 外部成交单号
  22526. in: query
  22527. name: outtradeid
  22528. required: true
  22529. type: integer
  22530. produces:
  22531. - application/json
  22532. responses:
  22533. "200":
  22534. description: OK
  22535. schema:
  22536. items:
  22537. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22538. type: array
  22539. "500":
  22540. description: Internal Server Error
  22541. schema:
  22542. $ref: '#/definitions/app.Response'
  22543. security:
  22544. - ApiKeyAuth: []
  22545. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22546. tags:
  22547. - 企业风险管理v3(app)
  22548. /Ermcp3/QueryMiddleGoodsDetail:
  22549. get:
  22550. parameters:
  22551. - description: 用户id
  22552. in: query
  22553. name: userid
  22554. required: true
  22555. type: integer
  22556. - description: 用户类型 2-机构 7-企业成员
  22557. in: query
  22558. name: usertype
  22559. type: integer
  22560. - description: 套保品种id
  22561. in: query
  22562. name: middlegoodsid
  22563. type: integer
  22564. produces:
  22565. - application/json
  22566. responses:
  22567. "200":
  22568. description: OK
  22569. schema:
  22570. items:
  22571. $ref: '#/definitions/models.TBMiddleGoods'
  22572. type: array
  22573. "500":
  22574. description: Internal Server Error
  22575. schema:
  22576. $ref: '#/definitions/app.Response'
  22577. security:
  22578. - ApiKeyAuth: []
  22579. summary: 查询套保品种详情(套保品种/商品详情)
  22580. tags:
  22581. - 企业风险管理v3(app)
  22582. /Ermcp3/QueryOutTradeLink:
  22583. get:
  22584. description: 页面 app 现货->期现关联->外部成交单关联
  22585. parameters:
  22586. - description: 用户ID(填登录用户的userid)
  22587. in: query
  22588. name: userid
  22589. required: true
  22590. type: integer
  22591. - description: 外部订单号(模糊匹配)
  22592. in: query
  22593. name: outtradeid
  22594. type: string
  22595. - description: 合约名称/代码(模糊匹配)
  22596. in: query
  22597. name: goodsname
  22598. type: string
  22599. - description: 关联状态 0-未关联 1-已关联
  22600. in: query
  22601. name: hasinnerorder
  22602. type: integer
  22603. produces:
  22604. - application/json
  22605. responses:
  22606. "200":
  22607. description: OK
  22608. schema:
  22609. items:
  22610. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22611. type: array
  22612. "500":
  22613. description: Internal Server Error
  22614. schema:
  22615. $ref: '#/definitions/app.Response'
  22616. security:
  22617. - ApiKeyAuth: []
  22618. summary: 查询外部成交单关联
  22619. tags:
  22620. - 企业风险管理v3(app)
  22621. /Ermcp3/QueryPaAreaAuditCfg:
  22622. get:
  22623. parameters:
  22624. - description: 用户id
  22625. in: query
  22626. name: userid
  22627. required: true
  22628. type: integer
  22629. produces:
  22630. - application/json
  22631. responses:
  22632. "200":
  22633. description: OK
  22634. schema:
  22635. items:
  22636. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22637. type: array
  22638. "500":
  22639. description: Internal Server Error
  22640. schema:
  22641. $ref: '#/definitions/app.Response'
  22642. security:
  22643. - ApiKeyAuth: []
  22644. summary: 查询审核设置
  22645. tags:
  22646. - 企业风险管理v3(app)
  22647. /Ermcp3/QueryPaAreaSubject:
  22648. get:
  22649. parameters:
  22650. - description: 用户id
  22651. in: query
  22652. name: userid
  22653. required: true
  22654. type: integer
  22655. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22656. in: query
  22657. name: subjectid
  22658. type: integer
  22659. - description: 主体类型 - 1:交易主体 2:业务部门
  22660. in: query
  22661. name: subjecttype
  22662. type: integer
  22663. - description: '主体状态 - 1:正常 2: 停用'
  22664. in: query
  22665. name: subjectstatus
  22666. type: integer
  22667. produces:
  22668. - application/json
  22669. responses:
  22670. "200":
  22671. description: OK
  22672. schema:
  22673. items:
  22674. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22675. type: array
  22676. "500":
  22677. description: Internal Server Error
  22678. schema:
  22679. $ref: '#/definitions/app.Response'
  22680. security:
  22681. - ApiKeyAuth: []
  22682. summary: 查询交易主体
  22683. tags:
  22684. - 企业风险管理v3(app)
  22685. /Ermcp3/QueryPaTradeLink:
  22686. get:
  22687. description: 页面 app 现货->期现关联->期现单据关联
  22688. parameters:
  22689. - description: 用户ID
  22690. in: query
  22691. name: userid
  22692. required: true
  22693. type: integer
  22694. produces:
  22695. - application/json
  22696. responses:
  22697. "200":
  22698. description: OK
  22699. schema:
  22700. items:
  22701. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22702. type: array
  22703. "500":
  22704. description: Internal Server Error
  22705. schema:
  22706. $ref: '#/definitions/app.Response'
  22707. security:
  22708. - ApiKeyAuth: []
  22709. summary: 查询期现单据关联
  22710. tags:
  22711. - 企业风险管理v3(app)
  22712. /Ermcp3/QueryPaTradeLinkDetail:
  22713. get:
  22714. description: 页面 app 现货->期现关联->关联记录
  22715. parameters:
  22716. - description: 用户ID(填登录用户的userid)
  22717. in: query
  22718. name: userid
  22719. required: true
  22720. type: integer
  22721. - description: 关联状态 1:成功 2:失败 3:解绑
  22722. in: query
  22723. name: linkstatus
  22724. type: integer
  22725. - description: 期货订单号(模糊匹配)
  22726. in: query
  22727. name: tradeid
  22728. type: string
  22729. - description: 现货编号(模糊匹配)
  22730. in: query
  22731. name: contractno
  22732. type: string
  22733. - description: 期货账户(模糊匹配)
  22734. in: query
  22735. name: taname
  22736. type: string
  22737. produces:
  22738. - application/json
  22739. responses:
  22740. "200":
  22741. description: OK
  22742. schema:
  22743. items:
  22744. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22745. type: array
  22746. "500":
  22747. description: Internal Server Error
  22748. schema:
  22749. $ref: '#/definitions/app.Response'
  22750. security:
  22751. - ApiKeyAuth: []
  22752. summary: 查询期现关联记录
  22753. tags:
  22754. - 企业风险管理v3(app)
  22755. /Ermcp3/QueryParamChangeApp:
  22756. get:
  22757. description: |-
  22758. 原型页面:
  22759. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22760. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22761. parameters:
  22762. - description: 用户ID
  22763. in: query
  22764. name: userid
  22765. required: true
  22766. type: integer
  22767. - description: 现货品种id
  22768. in: query
  22769. name: deliverygoodsid
  22770. type: integer
  22771. - description: 现货商品id
  22772. in: query
  22773. name: wrstandardid
  22774. type: integer
  22775. - description: 套保商品id
  22776. in: query
  22777. name: middlegoodsid
  22778. type: integer
  22779. - description: 操作类型 1:新增 2:修改
  22780. in: query
  22781. name: operatetype
  22782. type: integer
  22783. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22784. in: query
  22785. name: paramchangetype
  22786. type: integer
  22787. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22788. in: query
  22789. name: ftstatus
  22790. type: string
  22791. produces:
  22792. - application/json
  22793. responses:
  22794. "200":
  22795. description: OK
  22796. schema:
  22797. items:
  22798. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22799. type: array
  22800. "500":
  22801. description: Internal Server Error
  22802. schema:
  22803. $ref: '#/definitions/app.Response'
  22804. security:
  22805. - ApiKeyAuth: []
  22806. summary: 查询现货商品参数变更申请(流水)
  22807. tags:
  22808. - 企业风险管理v3(app)
  22809. /Ermcp3/QueryRootUserAccount:
  22810. get:
  22811. parameters:
  22812. - description: 用户ID
  22813. in: query
  22814. name: userid
  22815. required: true
  22816. type: integer
  22817. produces:
  22818. - application/json
  22819. responses:
  22820. "200":
  22821. description: OK
  22822. schema:
  22823. items:
  22824. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22825. type: array
  22826. "500":
  22827. description: Internal Server Error
  22828. schema:
  22829. $ref: '#/definitions/app.Response'
  22830. security:
  22831. - ApiKeyAuth: []
  22832. summary: 查询顶级用户信息
  22833. tags:
  22834. - 企业风险管理v3(app)
  22835. /Ermcp3/QuerySCMiddleGoods:
  22836. get:
  22837. description: |-
  22838. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22839. 现货编号 即 合同编号
  22840. parameters:
  22841. - description: 用户ID(填登录用户的userid)
  22842. in: query
  22843. name: userid
  22844. required: true
  22845. type: integer
  22846. - description: 买卖方向 0-买 1-卖
  22847. in: query
  22848. name: buyorsell
  22849. required: true
  22850. type: integer
  22851. - description: 商品组id
  22852. in: query
  22853. name: goodsgroupid
  22854. required: true
  22855. type: integer
  22856. - description: 业务类型 1:套保 2:套利
  22857. in: query
  22858. name: biztype
  22859. type: integer
  22860. - description: 现货编号(模糊匹配)
  22861. in: query
  22862. name: contractno
  22863. type: string
  22864. - description: 对手方(模糊匹配)
  22865. in: query
  22866. name: customername
  22867. type: string
  22868. - description: 现货商品名称(模糊匹配)
  22869. in: query
  22870. name: wrstandardname
  22871. type: string
  22872. produces:
  22873. - application/json
  22874. responses:
  22875. "200":
  22876. description: OK
  22877. schema:
  22878. items:
  22879. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  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/QuerySpotContract:
  22891. get:
  22892. parameters:
  22893. - description: 用户id(当指定contractid, userid可不填)
  22894. in: query
  22895. name: userid
  22896. required: true
  22897. type: integer
  22898. - description: 用户类型 2-机构 7-企业成员
  22899. in: query
  22900. name: usertype
  22901. type: integer
  22902. - description: 合同类型 1-采购, -1-销售
  22903. in: query
  22904. name: contracttype
  22905. type: integer
  22906. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22907. in: query
  22908. name: querytype
  22909. type: string
  22910. - description: 合同ID(SpotContractId)
  22911. in: query
  22912. name: contractid
  22913. type: string
  22914. - description: 合同编号(模糊匹配)
  22915. in: query
  22916. name: contractno
  22917. type: string
  22918. - description: 商品名称(模糊匹配)
  22919. in: query
  22920. name: wrstandardname
  22921. type: string
  22922. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22923. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22924. in: query
  22925. name: status
  22926. type: string
  22927. - description: 是否只查今日的合同 1-查今日合同
  22928. in: query
  22929. name: istoday
  22930. type: integer
  22931. produces:
  22932. - application/json
  22933. responses:
  22934. "200":
  22935. description: OK
  22936. schema:
  22937. items:
  22938. $ref: '#/definitions/models.Ermcp3Contract'
  22939. type: array
  22940. "500":
  22941. description: Internal Server Error
  22942. schema:
  22943. $ref: '#/definitions/app.Response'
  22944. security:
  22945. - ApiKeyAuth: []
  22946. summary: 查询现货合同
  22947. tags:
  22948. - 企业风险管理v3(app)
  22949. /Ermcp3/QuerySpotContractBS:
  22950. get:
  22951. parameters:
  22952. - description: 用户id
  22953. in: query
  22954. name: userid
  22955. required: true
  22956. type: integer
  22957. - description: 用户类型 2-机构 7-企业成员
  22958. in: query
  22959. name: usertype
  22960. type: integer
  22961. - description: 合同类型 1-采购, -1-销售
  22962. in: query
  22963. name: contracttype
  22964. required: true
  22965. type: integer
  22966. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22967. in: query
  22968. name: querytype
  22969. type: integer
  22970. - description: 合同ID(SpotContractId)
  22971. in: query
  22972. name: contractid
  22973. type: string
  22974. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22975. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22976. in: query
  22977. name: status
  22978. type: string
  22979. - description: 是否只查今日的合同 1-查今日合同
  22980. in: query
  22981. name: istoday
  22982. type: integer
  22983. produces:
  22984. - application/json
  22985. responses:
  22986. "200":
  22987. description: OK
  22988. schema:
  22989. items:
  22990. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22991. type: array
  22992. "500":
  22993. description: Internal Server Error
  22994. schema:
  22995. $ref: '#/definitions/app.Response'
  22996. security:
  22997. - ApiKeyAuth: []
  22998. summary: 查询合同(采购/销售)
  22999. tags:
  23000. - 企业风险管理v3(app)
  23001. /Ermcp3/QuerySpotGoodsPrice:
  23002. get:
  23003. parameters:
  23004. - description: 用户ID
  23005. in: query
  23006. name: userid
  23007. required: true
  23008. type: integer
  23009. produces:
  23010. - application/json
  23011. responses:
  23012. "200":
  23013. description: OK
  23014. schema:
  23015. items:
  23016. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23017. type: array
  23018. "500":
  23019. description: Internal Server Error
  23020. schema:
  23021. $ref: '#/definitions/app.Response'
  23022. security:
  23023. - ApiKeyAuth: []
  23024. summary: 查询现货市价(现货市价)
  23025. tags:
  23026. - 企业风险管理v3(app)
  23027. /Ermcp3/QuerySpotGoodsPriceLog:
  23028. get:
  23029. parameters:
  23030. - description: 用户ID
  23031. in: query
  23032. name: userid
  23033. required: true
  23034. type: integer
  23035. - description: 现货商品ID
  23036. in: query
  23037. name: deliverygoodsid
  23038. required: true
  23039. type: integer
  23040. - description: 品牌ID
  23041. in: query
  23042. name: brandid
  23043. type: integer
  23044. - description: 品类ID
  23045. in: query
  23046. name: wrstandardid
  23047. type: integer
  23048. produces:
  23049. - application/json
  23050. responses:
  23051. "200":
  23052. description: OK
  23053. schema:
  23054. items:
  23055. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23056. type: array
  23057. "500":
  23058. description: Internal Server Error
  23059. schema:
  23060. $ref: '#/definitions/app.Response'
  23061. security:
  23062. - ApiKeyAuth: []
  23063. summary: 查询现货市价详情(现货市价/详情)
  23064. tags:
  23065. - 企业风险管理v3(app)
  23066. /Ermcp3/QuerySubTaaccount:
  23067. get:
  23068. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23069. parameters:
  23070. - description: 母账号id
  23071. in: query
  23072. name: parentaccountid
  23073. type: integer
  23074. - description: 母账号代码
  23075. in: query
  23076. name: parentaccountcode
  23077. type: string
  23078. produces:
  23079. - application/json
  23080. responses:
  23081. "200":
  23082. description: OK
  23083. schema:
  23084. items:
  23085. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23086. type: array
  23087. "500":
  23088. description: Internal Server Error
  23089. schema:
  23090. $ref: '#/definitions/app.Response'
  23091. security:
  23092. - ApiKeyAuth: []
  23093. summary: 查询期货子账户
  23094. tags:
  23095. - 企业风险管理v3(app)
  23096. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  23097. get:
  23098. parameters:
  23099. - description: 套期项目ID
  23100. in: query
  23101. name: hedgeditemid
  23102. required: true
  23103. type: integer
  23104. produces:
  23105. - application/json
  23106. responses:
  23107. "200":
  23108. description: OK
  23109. schema:
  23110. items:
  23111. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  23112. type: array
  23113. "500":
  23114. description: Internal Server Error
  23115. schema:
  23116. $ref: '#/definitions/app.Response'
  23117. security:
  23118. - ApiKeyAuth: []
  23119. summary: 现货成交明细查询
  23120. tags:
  23121. - 企业风险管理v8
  23122. /Ermcp8/QueryERMCP2HedgedItemspot:
  23123. get:
  23124. parameters:
  23125. - description: 套期项目ID
  23126. in: query
  23127. name: hedgeditemid
  23128. required: true
  23129. type: integer
  23130. produces:
  23131. - application/json
  23132. responses:
  23133. "200":
  23134. description: OK
  23135. schema:
  23136. items:
  23137. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  23138. type: array
  23139. "500":
  23140. description: Internal Server Error
  23141. schema:
  23142. $ref: '#/definitions/app.Response'
  23143. security:
  23144. - ApiKeyAuth: []
  23145. summary: 套期计划明细查询
  23146. tags:
  23147. - 企业风险管理v8
  23148. /Ermcp8/QueryERMCPJRLinkPos:
  23149. get:
  23150. parameters:
  23151. - description: 套期项目ID
  23152. in: query
  23153. name: hedgeditemid
  23154. required: true
  23155. type: integer
  23156. produces:
  23157. - application/json
  23158. responses:
  23159. "200":
  23160. description: OK
  23161. schema:
  23162. items:
  23163. $ref: '#/definitions/models.Ermcpjrlinkpos'
  23164. type: array
  23165. "500":
  23166. description: Internal Server Error
  23167. schema:
  23168. $ref: '#/definitions/app.Response'
  23169. security:
  23170. - ApiKeyAuth: []
  23171. summary: 期货持仓明细查询
  23172. tags:
  23173. - 企业风险管理v8
  23174. /Ermcp8/QueryERMCPPatradeLinkDetail:
  23175. get:
  23176. parameters:
  23177. - description: 套期项目ID
  23178. in: query
  23179. name: hedgeditemid
  23180. required: true
  23181. type: integer
  23182. produces:
  23183. - application/json
  23184. responses:
  23185. "200":
  23186. description: OK
  23187. schema:
  23188. items:
  23189. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  23190. type: array
  23191. "500":
  23192. description: Internal Server Error
  23193. schema:
  23194. $ref: '#/definitions/app.Response'
  23195. security:
  23196. - ApiKeyAuth: []
  23197. summary: 期货成交单明细查询
  23198. tags:
  23199. - 企业风险管理v8
  23200. /Ermcp8/QueryErmcp2AreaExposure:
  23201. get:
  23202. parameters:
  23203. - description: 用户ID
  23204. in: query
  23205. name: userid
  23206. required: true
  23207. type: string
  23208. produces:
  23209. - application/json
  23210. responses:
  23211. "200":
  23212. description: OK
  23213. schema:
  23214. items:
  23215. $ref: '#/definitions/models.Ermcp2AreaExposure'
  23216. type: array
  23217. "500":
  23218. description: Internal Server Error
  23219. schema:
  23220. $ref: '#/definitions/app.Response'
  23221. security:
  23222. - ApiKeyAuth: []
  23223. summary: 企业敞口查询
  23224. tags:
  23225. - 企业风险管理v8
  23226. /Ermcp8/QueryErmcp2HedgedItem:
  23227. get:
  23228. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  23229. parameters:
  23230. - description: 用户ID
  23231. in: query
  23232. name: userid
  23233. required: true
  23234. type: string
  23235. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23236. in: query
  23237. name: hedgedtype
  23238. type: integer
  23239. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23240. in: query
  23241. name: hedgeditemstatus
  23242. type: integer
  23243. produces:
  23244. - application/json
  23245. responses:
  23246. "200":
  23247. description: OK
  23248. schema:
  23249. items:
  23250. $ref: '#/definitions/models.Ermcp2hedgeditem'
  23251. type: array
  23252. "500":
  23253. description: Internal Server Error
  23254. schema:
  23255. $ref: '#/definitions/app.Response'
  23256. security:
  23257. - ApiKeyAuth: []
  23258. summary: 查询被套期项目信息
  23259. tags:
  23260. - 企业风险管理v8
  23261. /Ermcp8/QueryErmcp2HedgedItemLink:
  23262. get:
  23263. parameters:
  23264. - description: 现货合同ID
  23265. in: query
  23266. name: spotcontractid
  23267. required: true
  23268. type: integer
  23269. produces:
  23270. - application/json
  23271. responses:
  23272. "200":
  23273. description: OK
  23274. schema:
  23275. items:
  23276. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  23277. type: array
  23278. "500":
  23279. description: Internal Server Error
  23280. schema:
  23281. $ref: '#/definitions/app.Response'
  23282. security:
  23283. - ApiKeyAuth: []
  23284. summary: 现货合同关联被套期项目查询
  23285. tags:
  23286. - 企业风险管理v8
  23287. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  23288. get:
  23289. parameters:
  23290. - description: 用户ID
  23291. in: query
  23292. name: userid
  23293. required: true
  23294. type: integer
  23295. - description: 套保品种ID
  23296. in: query
  23297. name: middlegoodsid
  23298. required: true
  23299. type: integer
  23300. produces:
  23301. - application/json
  23302. responses:
  23303. "200":
  23304. description: OK
  23305. schema:
  23306. items:
  23307. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  23308. type: array
  23309. "500":
  23310. description: Internal Server Error
  23311. schema:
  23312. $ref: '#/definitions/app.Response'
  23313. security:
  23314. - ApiKeyAuth: []
  23315. summary: 敞口明细 - 计划变动明细
  23316. tags:
  23317. - 企业风险管理v8
  23318. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  23319. get:
  23320. parameters:
  23321. - description: 用户ID
  23322. in: query
  23323. name: userid
  23324. required: true
  23325. type: integer
  23326. - description: 套保品种ID
  23327. in: query
  23328. name: middlegoodsid
  23329. required: true
  23330. type: integer
  23331. produces:
  23332. - application/json
  23333. responses:
  23334. "200":
  23335. description: OK
  23336. schema:
  23337. items:
  23338. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  23339. type: array
  23340. "500":
  23341. description: Internal Server Error
  23342. schema:
  23343. $ref: '#/definitions/app.Response'
  23344. security:
  23345. - ApiKeyAuth: []
  23346. summary: 敞口明细 - 现货变动明细查询
  23347. tags:
  23348. - 企业风险管理v8
  23349. /Ermcp8/QueryErmcp8EnableHedgeditem:
  23350. get:
  23351. parameters:
  23352. - description: 用户ID
  23353. in: query
  23354. name: userid
  23355. required: true
  23356. type: integer
  23357. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  23358. in: query
  23359. name: spottype
  23360. required: true
  23361. type: integer
  23362. - description: 现货商品ID
  23363. in: query
  23364. name: wrstandardid
  23365. type: integer
  23366. produces:
  23367. - application/json
  23368. responses:
  23369. "200":
  23370. description: OK
  23371. schema:
  23372. items:
  23373. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  23374. type: array
  23375. "500":
  23376. description: Internal Server Error
  23377. schema:
  23378. $ref: '#/definitions/app.Response'
  23379. security:
  23380. - ApiKeyAuth: []
  23381. summary: 可关联项目查询
  23382. tags:
  23383. - 企业风险管理v8
  23384. /Ermcp8/QueryErmcp8HedgeditemReport:
  23385. get:
  23386. parameters:
  23387. - description: 用户ID
  23388. in: query
  23389. name: userid
  23390. required: true
  23391. type: integer
  23392. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23393. in: query
  23394. name: cycletype
  23395. type: integer
  23396. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23397. 全(0)【原值】
  23398. in: query
  23399. name: cycletime
  23400. required: true
  23401. type: string
  23402. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  23403. in: query
  23404. name: hedgedtype
  23405. type: integer
  23406. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23407. in: query
  23408. name: hedgeditemstatus
  23409. type: integer
  23410. - description: 项目编号,模糊查询
  23411. in: query
  23412. name: hedgeditemnum
  23413. type: string
  23414. - description: 现货商品ID
  23415. in: query
  23416. name: wrstandardid
  23417. type: integer
  23418. produces:
  23419. - application/json
  23420. responses:
  23421. "200":
  23422. description: OK
  23423. schema:
  23424. items:
  23425. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  23426. type: array
  23427. "500":
  23428. description: Internal Server Error
  23429. schema:
  23430. $ref: '#/definitions/app.Response'
  23431. security:
  23432. - ApiKeyAuth: []
  23433. summary: 套期项目报表查询
  23434. tags:
  23435. - 企业风险管理v8
  23436. /Ermcp8/QueryErmcp8RunningHedgeditem:
  23437. get:
  23438. parameters:
  23439. - description: 用户ID
  23440. in: query
  23441. name: userid
  23442. required: true
  23443. type: string
  23444. produces:
  23445. - application/json
  23446. responses:
  23447. "200":
  23448. description: OK
  23449. schema:
  23450. items:
  23451. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  23452. type: array
  23453. "500":
  23454. description: Internal Server Error
  23455. schema:
  23456. $ref: '#/definitions/app.Response'
  23457. security:
  23458. - ApiKeyAuth: []
  23459. summary: 查询执行中项目查询信息
  23460. tags:
  23461. - 企业风险管理v8
  23462. /Ermcp8/QueryInternalEnableTradeDetail:
  23463. get:
  23464. parameters:
  23465. - description: 企业ID
  23466. in: query
  23467. name: areauserid
  23468. required: true
  23469. type: integer
  23470. - description: 期货合约ID
  23471. in: query
  23472. name: goodsid
  23473. required: true
  23474. type: integer
  23475. - description: 交易用户ID
  23476. in: query
  23477. name: tradeuserid
  23478. required: true
  23479. type: integer
  23480. produces:
  23481. - application/json
  23482. responses:
  23483. "200":
  23484. description: OK
  23485. schema:
  23486. items:
  23487. $ref: '#/definitions/models.InternalEnableTradeDetail'
  23488. type: array
  23489. "500":
  23490. description: Internal Server Error
  23491. schema:
  23492. $ref: '#/definitions/app.Response'
  23493. security:
  23494. - ApiKeyAuth: []
  23495. summary: 内部成交单可关联项目查询
  23496. tags:
  23497. - 企业风险管理v8
  23498. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  23499. get:
  23500. parameters:
  23501. - description: 用户编号
  23502. in: query
  23503. name: userid
  23504. required: true
  23505. type: integer
  23506. - description: 起始日期(格式yyyymmdd)
  23507. in: query
  23508. name: begindate
  23509. type: string
  23510. - description: 终止日期(格式yyyymmdd)
  23511. in: query
  23512. name: enddate
  23513. type: string
  23514. - description: 合约代码
  23515. in: query
  23516. name: goodscode
  23517. type: string
  23518. - description: 合约名称
  23519. in: query
  23520. name: goodsname
  23521. type: string
  23522. - description: 成交单号
  23523. in: query
  23524. name: tradeid
  23525. type: integer
  23526. - description: 方向 - 0:买 1:卖
  23527. in: query
  23528. name: buyorsell
  23529. type: integer
  23530. - description: 套期主体
  23531. in: query
  23532. name: accountname
  23533. type: string
  23534. produces:
  23535. - application/json
  23536. responses:
  23537. "200":
  23538. description: OK
  23539. schema:
  23540. items:
  23541. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  23542. type: array
  23543. "500":
  23544. description: Internal Server Error
  23545. schema:
  23546. $ref: '#/definitions/app.Response'
  23547. security:
  23548. - ApiKeyAuth: []
  23549. summary: 内部未关联成交单查询
  23550. tags:
  23551. - 企业风险管理v8
  23552. /Ermcp8/QueryMarketCalendar:
  23553. get:
  23554. parameters:
  23555. - description: 市场ID
  23556. in: query
  23557. name: marketid
  23558. type: integer
  23559. produces:
  23560. - application/json
  23561. responses:
  23562. "200":
  23563. description: OK
  23564. schema:
  23565. items:
  23566. $ref: '#/definitions/models.Marketcalendar'
  23567. type: array
  23568. "500":
  23569. description: Internal Server Error
  23570. schema:
  23571. $ref: '#/definitions/app.Response'
  23572. security:
  23573. - ApiKeyAuth: []
  23574. summary: 市场节假日查询
  23575. tags:
  23576. - 企业风险管理v8
  23577. /Ermcp8/QueryPatradeLinkDetail:
  23578. get:
  23579. parameters:
  23580. - description: 用户ID
  23581. in: query
  23582. name: userid
  23583. required: true
  23584. type: integer
  23585. - description: 套保品种ID
  23586. in: query
  23587. name: middlegoodsid
  23588. required: true
  23589. type: integer
  23590. produces:
  23591. - application/json
  23592. responses:
  23593. "200":
  23594. description: OK
  23595. schema:
  23596. items:
  23597. $ref: '#/definitions/models.Patradelinkdetail'
  23598. type: array
  23599. "500":
  23600. description: Internal Server Error
  23601. schema:
  23602. $ref: '#/definitions/app.Response'
  23603. security:
  23604. - ApiKeyAuth: []
  23605. summary: 敞口明细 - 期货变动明细
  23606. tags:
  23607. - 企业风险管理v8
  23608. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  23609. get:
  23610. parameters:
  23611. - description: 企业ID
  23612. in: query
  23613. name: areauserid
  23614. required: true
  23615. type: integer
  23616. - description: 计划类型 - 1:采购 -1:销售
  23617. in: query
  23618. name: contracttype
  23619. type: integer
  23620. - description: 计划编号,模糊查询
  23621. in: query
  23622. name: hedgeplanno
  23623. type: string
  23624. - description: 现货商品,模糊查询
  23625. in: query
  23626. name: wrstandardname
  23627. type: string
  23628. produces:
  23629. - application/json
  23630. responses:
  23631. "200":
  23632. description: OK
  23633. schema:
  23634. items:
  23635. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  23636. type: array
  23637. "500":
  23638. description: Internal Server Error
  23639. schema:
  23640. $ref: '#/definitions/app.Response'
  23641. security:
  23642. - ApiKeyAuth: []
  23643. summary: 未关联购销计划
  23644. tags:
  23645. - 企业风险管理v8
  23646. /Ermcp8/QueryUnLinkSpotContract:
  23647. get:
  23648. parameters:
  23649. - description: 用户ID
  23650. in: query
  23651. name: userid
  23652. required: true
  23653. type: integer
  23654. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  23655. in: query
  23656. name: pricetype
  23657. type: integer
  23658. - description: 合同编号, 模拟查询
  23659. in: query
  23660. name: contractno
  23661. type: string
  23662. - description: 对手方, 模拟查询
  23663. in: query
  23664. name: customername
  23665. type: string
  23666. - description: 项合同类型 - 1:采购 -1:销售
  23667. in: query
  23668. name: contracttype
  23669. type: integer
  23670. produces:
  23671. - application/json
  23672. responses:
  23673. "200":
  23674. description: OK
  23675. schema:
  23676. items:
  23677. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  23678. type: array
  23679. "500":
  23680. description: Internal Server Error
  23681. schema:
  23682. $ref: '#/definitions/app.Response'
  23683. security:
  23684. - ApiKeyAuth: []
  23685. summary: 未关联合同查询
  23686. tags:
  23687. - 企业风险管理v8
  23688. /Erms2/QueryArbitrageStrategy:
  23689. get:
  23690. parameters:
  23691. - description: 账户ID
  23692. in: query
  23693. name: userid
  23694. required: true
  23695. type: integer
  23696. - description: 商品组ID(品种ID)
  23697. in: query
  23698. name: goodsgroupid
  23699. type: string
  23700. produces:
  23701. - application/json
  23702. responses:
  23703. "200":
  23704. description: OK
  23705. schema:
  23706. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23707. "500":
  23708. description: Internal Server Error
  23709. schema:
  23710. $ref: '#/definitions/app.Response'
  23711. security:
  23712. - ApiKeyAuth: []
  23713. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23714. tags:
  23715. - 风险管理
  23716. /Erms2/QueryInnerTradeDetail:
  23717. get:
  23718. parameters:
  23719. - description: 资金账户
  23720. in: query
  23721. name: accountid
  23722. required: true
  23723. type: integer
  23724. produces:
  23725. - application/json
  23726. responses:
  23727. "200":
  23728. description: OK
  23729. schema:
  23730. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23731. "500":
  23732. description: Internal Server Error
  23733. schema:
  23734. $ref: '#/definitions/app.Response'
  23735. security:
  23736. - ApiKeyAuth: []
  23737. summary: 查询内部成交单信息
  23738. tags:
  23739. - 风险管理
  23740. /Erms2/QuerySpotContract:
  23741. get:
  23742. parameters:
  23743. - description: 策略申请ID
  23744. in: query
  23745. name: asapplyid
  23746. required: true
  23747. type: integer
  23748. - description: 现货合同ID
  23749. in: query
  23750. name: spotcontractid
  23751. type: integer
  23752. produces:
  23753. - application/json
  23754. responses:
  23755. "200":
  23756. description: OK
  23757. schema:
  23758. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23759. "500":
  23760. description: Internal Server Error
  23761. schema:
  23762. $ref: '#/definitions/app.Response'
  23763. security:
  23764. - ApiKeyAuth: []
  23765. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23766. tags:
  23767. - 风险管理
  23768. /Erms3/AddErms2ASApply:
  23769. post:
  23770. parameters:
  23771. - description: 申请参数
  23772. in: body
  23773. name: jsonBody
  23774. required: true
  23775. schema:
  23776. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23777. produces:
  23778. - application/json
  23779. responses:
  23780. "200":
  23781. description: OK
  23782. schema:
  23783. $ref: '#/definitions/app.Response'
  23784. "500":
  23785. description: Internal Server Error
  23786. schema:
  23787. $ref: '#/definitions/app.Response'
  23788. security:
  23789. - ApiKeyAuth: []
  23790. summary: 新增期现套利业务申请
  23791. tags:
  23792. - 风险管理v3
  23793. /Erms3/AddErms2SpotTradeApply:
  23794. post:
  23795. parameters:
  23796. - description: 申请参数
  23797. in: body
  23798. name: jsonBody
  23799. required: true
  23800. schema:
  23801. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23802. produces:
  23803. - application/json
  23804. responses:
  23805. "200":
  23806. description: OK
  23807. schema:
  23808. $ref: '#/definitions/app.Response'
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 新增现货贸易业务申请
  23816. tags:
  23817. - 风险管理v3
  23818. /Erms3/AddSpotContractApply:
  23819. post:
  23820. parameters:
  23821. - description: 申请参数
  23822. in: body
  23823. name: jsonBody
  23824. required: true
  23825. schema:
  23826. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23827. produces:
  23828. - application/json
  23829. responses:
  23830. "200":
  23831. description: OK
  23832. schema:
  23833. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23834. "500":
  23835. description: Internal Server Error
  23836. schema:
  23837. $ref: '#/definitions/app.Response'
  23838. security:
  23839. - ApiKeyAuth: []
  23840. summary: 新增现货合同申请
  23841. tags:
  23842. - 风险管理v3
  23843. /Erms3/AddUserInfoApply:
  23844. post:
  23845. parameters:
  23846. - description: 用户信息
  23847. in: body
  23848. name: jsonBody
  23849. required: true
  23850. schema:
  23851. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23852. produces:
  23853. - application/json
  23854. responses:
  23855. "200":
  23856. description: OK
  23857. schema:
  23858. $ref: '#/definitions/app.Response'
  23859. "500":
  23860. description: Internal Server Error
  23861. schema:
  23862. $ref: '#/definitions/app.Response'
  23863. security:
  23864. - ApiKeyAuth: []
  23865. summary: 新增客户申请
  23866. tags:
  23867. - 风险管理v3
  23868. /Erms3/DeleteUserInfoApply:
  23869. get:
  23870. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23871. parameters:
  23872. - description: 用户ID
  23873. in: query
  23874. name: userID
  23875. required: true
  23876. type: integer
  23877. produces:
  23878. - application/json
  23879. responses:
  23880. "200":
  23881. description: OK
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. "500":
  23885. description: Internal Server Error
  23886. schema:
  23887. $ref: '#/definitions/app.Response'
  23888. security:
  23889. - ApiKeyAuth: []
  23890. summary: 删除客户申请
  23891. tags:
  23892. - 风险管理v3
  23893. /Erms3/ModifyUserInfoApply:
  23894. post:
  23895. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23896. int, "userstate": 2 }'
  23897. parameters:
  23898. - description: 用户信息
  23899. in: body
  23900. name: jsonBody
  23901. required: true
  23902. schema:
  23903. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23904. produces:
  23905. - application/json
  23906. responses:
  23907. "200":
  23908. description: OK
  23909. schema:
  23910. $ref: '#/definitions/app.Response'
  23911. "500":
  23912. description: Internal Server Error
  23913. schema:
  23914. $ref: '#/definitions/app.Response'
  23915. security:
  23916. - ApiKeyAuth: []
  23917. summary: 修改客户申请
  23918. tags:
  23919. - 风险管理v3
  23920. /Erms3/QueryBusinessInfo:
  23921. get:
  23922. parameters:
  23923. - description: 资金账号ID列表,用逗号分隔
  23924. in: query
  23925. name: accountids
  23926. required: true
  23927. type: string
  23928. - description: 状态,0为未结束 1为已结束
  23929. in: query
  23930. name: status
  23931. required: true
  23932. type: integer
  23933. produces:
  23934. - application/json
  23935. responses:
  23936. "200":
  23937. description: OK
  23938. schema:
  23939. items:
  23940. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23941. type: array
  23942. "500":
  23943. description: Internal Server Error
  23944. schema:
  23945. $ref: '#/definitions/app.Response'
  23946. security:
  23947. - ApiKeyAuth: []
  23948. summary: 查询业务表单数据
  23949. tags:
  23950. - 风险管理v3
  23951. /Erms3/QueryPendingAuditContract:
  23952. get:
  23953. parameters:
  23954. - description: 资金账号ID列表,逗号隔开
  23955. in: query
  23956. name: accountids
  23957. required: true
  23958. type: string
  23959. - description: 合同类型 1-采购 -1-销售
  23960. in: query
  23961. name: contracttype
  23962. required: true
  23963. type: integer
  23964. - description: 合同模式 1-普通 2-回购
  23965. in: query
  23966. name: contractmode
  23967. required: true
  23968. type: integer
  23969. produces:
  23970. - application/json
  23971. responses:
  23972. "200":
  23973. description: OK
  23974. schema:
  23975. items:
  23976. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23977. type: array
  23978. "500":
  23979. description: Internal Server Error
  23980. schema:
  23981. $ref: '#/definitions/app.Response'
  23982. security:
  23983. - ApiKeyAuth: []
  23984. summary: 查询待审核合同
  23985. tags:
  23986. - 风险管理v3
  23987. /Erms3/QueryPendingBusiness:
  23988. get:
  23989. parameters:
  23990. - description: 资金账号ID列表,逗号隔开
  23991. in: query
  23992. name: accountids
  23993. required: true
  23994. type: string
  23995. produces:
  23996. - application/json
  23997. responses:
  23998. "200":
  23999. description: OK
  24000. schema:
  24001. items:
  24002. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24003. type: array
  24004. "500":
  24005. description: Internal Server Error
  24006. schema:
  24007. $ref: '#/definitions/app.Response'
  24008. security:
  24009. - ApiKeyAuth: []
  24010. summary: 查询待审核基差贸易业务
  24011. tags:
  24012. - 风险管理v3
  24013. /Erms3/QuerySpotContractAppleForm:
  24014. get:
  24015. parameters:
  24016. - description: 登录账号
  24017. in: query
  24018. name: loginID
  24019. required: true
  24020. type: integer
  24021. produces:
  24022. - application/json
  24023. responses:
  24024. "200":
  24025. description: OK
  24026. schema:
  24027. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  24028. "500":
  24029. description: Internal Server Error
  24030. schema:
  24031. $ref: '#/definitions/app.Response'
  24032. security:
  24033. - ApiKeyAuth: []
  24034. summary: 查询合同申请表单数据
  24035. tags:
  24036. - 风险管理v3
  24037. /Erms3/QuerySpotContractDetail:
  24038. get:
  24039. parameters:
  24040. - description: 资金账号ID列表,用逗号分隔
  24041. in: query
  24042. name: accountids
  24043. required: true
  24044. type: string
  24045. - description: 合同类型,1为采购合同 -1为销售合同
  24046. in: query
  24047. name: contracttype
  24048. required: true
  24049. type: integer
  24050. - description: 合同模式,1为普通合同 2为回购销售合同
  24051. in: query
  24052. name: contractmode
  24053. required: true
  24054. type: integer
  24055. - description: 状态,0为履约中 1为已完成
  24056. in: query
  24057. name: status
  24058. required: true
  24059. type: integer
  24060. produces:
  24061. - application/json
  24062. responses:
  24063. "200":
  24064. description: OK
  24065. schema:
  24066. items:
  24067. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  24068. type: array
  24069. "500":
  24070. description: Internal Server Error
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. security:
  24074. - ApiKeyAuth: []
  24075. summary: 查询合同详细信息
  24076. tags:
  24077. - 风险管理v3
  24078. /Erms3/QueryUserInfoApplies:
  24079. get:
  24080. parameters:
  24081. - description: 页码
  24082. in: query
  24083. name: page
  24084. type: integer
  24085. - description: 每页条数
  24086. in: query
  24087. name: pagesize
  24088. type: integer
  24089. - description: 客户名称,支持模糊查询
  24090. in: query
  24091. name: userName
  24092. type: string
  24093. produces:
  24094. - application/json
  24095. responses:
  24096. "200":
  24097. description: OK
  24098. schema:
  24099. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  24100. "500":
  24101. description: Internal Server Error
  24102. schema:
  24103. $ref: '#/definitions/app.Response'
  24104. security:
  24105. - ApiKeyAuth: []
  24106. summary: 客户申请信息查询
  24107. tags:
  24108. - 风险管理v3
  24109. /Erms3/QueryUserInfos:
  24110. get:
  24111. parameters:
  24112. - description: 页码
  24113. in: query
  24114. name: page
  24115. type: integer
  24116. - description: 每页条数
  24117. in: query
  24118. name: pagesize
  24119. type: integer
  24120. - description: 客户名称,支持模糊查询
  24121. in: query
  24122. name: userName
  24123. type: string
  24124. produces:
  24125. - application/json
  24126. responses:
  24127. "200":
  24128. description: OK
  24129. schema:
  24130. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  24131. "500":
  24132. description: Internal Server Error
  24133. schema:
  24134. $ref: '#/definitions/app.Response'
  24135. security:
  24136. - ApiKeyAuth: []
  24137. summary: 客户信息查询
  24138. tags:
  24139. - 风险管理v3
  24140. /Guangzuan/GetGoods:
  24141. get:
  24142. parameters:
  24143. - description: 商品编号
  24144. in: query
  24145. name: goodsno
  24146. required: true
  24147. type: string
  24148. produces:
  24149. - application/json
  24150. responses:
  24151. "200":
  24152. description: OK
  24153. schema:
  24154. $ref: '#/definitions/models.GZGoods'
  24155. "500":
  24156. description: Internal Server Error
  24157. schema:
  24158. $ref: '#/definitions/app.Response'
  24159. security:
  24160. - ApiKeyAuth: []
  24161. - LoginID: []
  24162. - Group: []
  24163. summary: 获取钻石详情
  24164. tags:
  24165. - 广钻
  24166. /Guangzuan/QueryBuyOrder:
  24167. get:
  24168. parameters:
  24169. - description: 页码
  24170. in: query
  24171. name: page
  24172. type: integer
  24173. - description: 每页条数
  24174. in: query
  24175. name: pagesize
  24176. type: integer
  24177. - description: 商品(查询字段-模糊查询)
  24178. in: query
  24179. name: zsallproperties
  24180. type: string
  24181. - description: 钻石分类, 格式:1,2,3
  24182. in: query
  24183. name: zscategorys
  24184. type: string
  24185. - description: 委托单号
  24186. in: query
  24187. name: wrtradeorderid
  24188. type: integer
  24189. - description: 买方(查询字段-模糊查询)
  24190. in: query
  24191. name: buyusername
  24192. type: string
  24193. produces:
  24194. - application/json
  24195. responses:
  24196. "200":
  24197. description: OK
  24198. schema:
  24199. items:
  24200. $ref: '#/definitions/models.BuyOrder'
  24201. type: array
  24202. "500":
  24203. description: Internal Server Error
  24204. schema:
  24205. $ref: '#/definitions/app.Response'
  24206. security:
  24207. - ApiKeyAuth: []
  24208. - LoginID: []
  24209. - Group: []
  24210. summary: 查询求购大厅委托单
  24211. tags:
  24212. - 广钻
  24213. /Guangzuan/QueryDiamond:
  24214. post:
  24215. parameters:
  24216. - description: 钻石搜索入参
  24217. in: body
  24218. name: data
  24219. required: true
  24220. schema:
  24221. $ref: '#/definitions/models.SellOrderQueryReq'
  24222. produces:
  24223. - application/json
  24224. responses:
  24225. "200":
  24226. description: OK
  24227. schema:
  24228. items:
  24229. $ref: '#/definitions/models.SellOrder'
  24230. type: array
  24231. "500":
  24232. description: Internal Server Error
  24233. schema:
  24234. $ref: '#/definitions/app.Response'
  24235. security:
  24236. - ApiKeyAuth: []
  24237. - LoginID: []
  24238. - Group: []
  24239. summary: 钻石搜索
  24240. tags:
  24241. - 广钻
  24242. /Guangzuan/QueryMyBargainApply:
  24243. get:
  24244. parameters:
  24245. - description: 用户ID
  24246. in: query
  24247. name: userid
  24248. required: true
  24249. type: integer
  24250. - description: 页码
  24251. in: query
  24252. name: page
  24253. type: integer
  24254. - description: 每页条数
  24255. in: query
  24256. name: pagesize
  24257. type: integer
  24258. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  24259. in: query
  24260. name: applystatus
  24261. type: integer
  24262. produces:
  24263. - application/json
  24264. responses:
  24265. "200":
  24266. description: OK
  24267. schema:
  24268. items:
  24269. $ref: '#/definitions/models.MyBargainApply'
  24270. type: array
  24271. "500":
  24272. description: Internal Server Error
  24273. schema:
  24274. $ref: '#/definitions/app.Response'
  24275. security:
  24276. - ApiKeyAuth: []
  24277. - LoginID: []
  24278. - Group: []
  24279. summary: 查询我的询价-求购
  24280. tags:
  24281. - 广钻
  24282. /Guangzuan/QueryMyBuyOrder:
  24283. get:
  24284. parameters:
  24285. - description: 用户ID
  24286. in: query
  24287. name: userid
  24288. required: true
  24289. type: integer
  24290. - description: 页码
  24291. in: query
  24292. name: page
  24293. type: integer
  24294. - description: 每页条数
  24295. in: query
  24296. name: pagesize
  24297. type: integer
  24298. - description: 商品(查询字段-模糊查询)
  24299. in: query
  24300. name: zsallproperties
  24301. type: string
  24302. - description: 钻石分类, 格式:1,2,3
  24303. in: query
  24304. name: zscategorys
  24305. type: string
  24306. - description: 委托单号
  24307. in: query
  24308. name: wrtradeorderid
  24309. type: integer
  24310. - description: 是否历史查询
  24311. in: query
  24312. name: ishis
  24313. type: boolean
  24314. produces:
  24315. - application/json
  24316. responses:
  24317. "200":
  24318. description: OK
  24319. schema:
  24320. items:
  24321. $ref: '#/definitions/models.MyBuyOrder'
  24322. type: array
  24323. "500":
  24324. description: Internal Server Error
  24325. schema:
  24326. $ref: '#/definitions/app.Response'
  24327. security:
  24328. - ApiKeyAuth: []
  24329. - LoginID: []
  24330. - Group: []
  24331. summary: 查询我的求购
  24332. tags:
  24333. - 广钻
  24334. /Guangzuan/QueryMyDeListing:
  24335. get:
  24336. parameters:
  24337. - description: 用户ID
  24338. in: query
  24339. name: userid
  24340. required: true
  24341. type: integer
  24342. - description: 页码
  24343. in: query
  24344. name: page
  24345. type: integer
  24346. - description: 每页条数
  24347. in: query
  24348. name: pagesize
  24349. type: integer
  24350. - description: 商品(查询字段-模糊查询)
  24351. in: query
  24352. name: zsallproperties
  24353. type: string
  24354. - description: 钻石分类, 格式:1,2,3
  24355. in: query
  24356. name: zscategorys
  24357. type: string
  24358. - description: 成交单号
  24359. in: query
  24360. name: wrtradedetailid
  24361. type: integer
  24362. - description: 方向,0-购买 1-出售
  24363. in: query
  24364. name: buyorsell
  24365. type: integer
  24366. - description: 对手方(模糊匹配)
  24367. in: query
  24368. name: matchusername
  24369. type: string
  24370. - description: 开始交易日(yyyymmdd)
  24371. in: query
  24372. name: begindate
  24373. type: string
  24374. - description: 结束交易日(yyyymmdd)
  24375. in: query
  24376. name: enddate
  24377. type: string
  24378. produces:
  24379. - application/json
  24380. responses:
  24381. "200":
  24382. description: OK
  24383. schema:
  24384. items:
  24385. $ref: '#/definitions/models.MyDeListing'
  24386. type: array
  24387. "500":
  24388. description: Internal Server Error
  24389. schema:
  24390. $ref: '#/definitions/app.Response'
  24391. security:
  24392. - ApiKeyAuth: []
  24393. - LoginID: []
  24394. - Group: []
  24395. summary: 查询我的摘牌
  24396. tags:
  24397. - 广钻
  24398. /Guangzuan/QueryMyDelistingApply:
  24399. get:
  24400. parameters:
  24401. - description: 用户ID
  24402. in: query
  24403. name: userid
  24404. required: true
  24405. type: integer
  24406. - description: 页码
  24407. in: query
  24408. name: page
  24409. type: integer
  24410. - description: 每页条数
  24411. in: query
  24412. name: pagesize
  24413. type: integer
  24414. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  24415. in: query
  24416. name: applystatus
  24417. type: integer
  24418. produces:
  24419. - application/json
  24420. responses:
  24421. "200":
  24422. description: OK
  24423. schema:
  24424. items:
  24425. $ref: '#/definitions/models.MyDelistingApply'
  24426. type: array
  24427. "500":
  24428. description: Internal Server Error
  24429. schema:
  24430. $ref: '#/definitions/app.Response'
  24431. security:
  24432. - ApiKeyAuth: []
  24433. - LoginID: []
  24434. - Group: []
  24435. summary: 查询我的询价-出售
  24436. tags:
  24437. - 广钻
  24438. /Guangzuan/QueryMyPerformanc:
  24439. get:
  24440. parameters:
  24441. - description: 用户ID
  24442. in: query
  24443. name: userid
  24444. required: true
  24445. type: integer
  24446. - description: 页码
  24447. in: query
  24448. name: page
  24449. type: integer
  24450. - description: 每页条数
  24451. in: query
  24452. name: pagesize
  24453. type: integer
  24454. - description: 商品(查询字段-模糊查询)
  24455. in: query
  24456. name: zsallproperties
  24457. type: string
  24458. - description: 方向,0-买 1-卖
  24459. in: query
  24460. name: buyorsell
  24461. type: integer
  24462. - description: 开始交易日(yyyymmdd)
  24463. in: query
  24464. name: begindate
  24465. type: string
  24466. - description: 结束交易日(yyyymmdd)
  24467. in: query
  24468. name: enddate
  24469. type: string
  24470. produces:
  24471. - application/json
  24472. responses:
  24473. "200":
  24474. description: OK
  24475. schema:
  24476. items:
  24477. $ref: '#/definitions/models.MyPerformanc'
  24478. type: array
  24479. "500":
  24480. description: Internal Server Error
  24481. schema:
  24482. $ref: '#/definitions/app.Response'
  24483. security:
  24484. - ApiKeyAuth: []
  24485. - LoginID: []
  24486. - Group: []
  24487. summary: 查询我的履约
  24488. tags:
  24489. - 广钻
  24490. /Guangzuan/QueryMySellOrder:
  24491. get:
  24492. parameters:
  24493. - description: 用户ID
  24494. in: query
  24495. name: userid
  24496. required: true
  24497. type: integer
  24498. - description: 页码
  24499. in: query
  24500. name: page
  24501. type: integer
  24502. - description: 每页条数
  24503. in: query
  24504. name: pagesize
  24505. type: integer
  24506. - description: 商品(查询字段-模糊查询)
  24507. in: query
  24508. name: zsallproperties
  24509. type: string
  24510. - description: 钻石分类, 格式:1,2,3
  24511. in: query
  24512. name: zscategorys
  24513. type: string
  24514. - description: 委托单号
  24515. in: query
  24516. name: wrtradeorderid
  24517. type: integer
  24518. - description: 是否历史查询
  24519. in: query
  24520. name: ishis
  24521. type: boolean
  24522. produces:
  24523. - application/json
  24524. responses:
  24525. "200":
  24526. description: OK
  24527. schema:
  24528. items:
  24529. $ref: '#/definitions/models.MySellOrder'
  24530. type: array
  24531. "500":
  24532. description: Internal Server Error
  24533. schema:
  24534. $ref: '#/definitions/app.Response'
  24535. security:
  24536. - ApiKeyAuth: []
  24537. - LoginID: []
  24538. - Group: []
  24539. summary: 查询我的出售
  24540. tags:
  24541. - 广钻
  24542. /Guangzuan/QueryMyWRPosition:
  24543. get:
  24544. parameters:
  24545. - description: 页码
  24546. in: query
  24547. name: page
  24548. type: integer
  24549. - description: 每页条数
  24550. in: query
  24551. name: pagesize
  24552. type: integer
  24553. - description: 登录用户ID
  24554. in: query
  24555. name: wruserid
  24556. required: true
  24557. type: integer
  24558. - description: 商品(查询字段-模糊查询)
  24559. in: query
  24560. name: zsallproperties
  24561. type: string
  24562. - description: 钻石分类, 格式:1,2,3
  24563. in: query
  24564. name: zscategorys
  24565. type: string
  24566. - description: 仓库ID
  24567. in: query
  24568. name: warehouseid
  24569. type: integer
  24570. - description: 是否上架,0-全部 1-是 2-否
  24571. in: query
  24572. name: marketflag
  24573. type: integer
  24574. produces:
  24575. - application/json
  24576. responses:
  24577. "200":
  24578. description: OK
  24579. schema:
  24580. items:
  24581. $ref: '#/definitions/models.MyWRPosition'
  24582. type: array
  24583. "500":
  24584. description: Internal Server Error
  24585. schema:
  24586. $ref: '#/definitions/app.Response'
  24587. security:
  24588. - ApiKeyAuth: []
  24589. - LoginID: []
  24590. - Group: []
  24591. summary: 查询我的库存
  24592. tags:
  24593. - 广钻
  24594. /Guangzuan/QuerySellOrder:
  24595. get:
  24596. parameters:
  24597. - description: 页码
  24598. in: query
  24599. name: page
  24600. type: integer
  24601. - description: 每页条数
  24602. in: query
  24603. name: pagesize
  24604. type: integer
  24605. - description: 商品(查询字段-模糊查询)
  24606. in: query
  24607. name: zsallproperties
  24608. type: string
  24609. - description: 钻石分类, 格式:1,2,3
  24610. in: query
  24611. name: zscategorys
  24612. type: string
  24613. - description: 委托单号
  24614. in: query
  24615. name: wrtradeorderid
  24616. type: integer
  24617. - description: 卖方(查询字段-模糊查询)
  24618. in: query
  24619. name: buyusername
  24620. type: string
  24621. produces:
  24622. - application/json
  24623. responses:
  24624. "200":
  24625. description: OK
  24626. schema:
  24627. items:
  24628. $ref: '#/definitions/models.SellOrder'
  24629. type: array
  24630. "500":
  24631. description: Internal Server Error
  24632. schema:
  24633. $ref: '#/definitions/app.Response'
  24634. security:
  24635. - ApiKeyAuth: []
  24636. - LoginID: []
  24637. - Group: []
  24638. summary: 查询出售大厅委托单
  24639. tags:
  24640. - 广钻
  24641. /Guangzuan/QueryWarehouseInfo:
  24642. get:
  24643. parameters:
  24644. - description: 页码
  24645. in: query
  24646. name: page
  24647. type: integer
  24648. - description: 每页条数
  24649. in: query
  24650. name: pagesize
  24651. type: integer
  24652. - description: 用户ID
  24653. in: query
  24654. name: userid
  24655. required: true
  24656. type: integer
  24657. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24658. in: query
  24659. name: status
  24660. type: string
  24661. - description: 是返回交易所仓库
  24662. in: query
  24663. name: isincludeexchange
  24664. type: boolean
  24665. produces:
  24666. - application/json
  24667. responses:
  24668. "200":
  24669. description: OK
  24670. schema:
  24671. items:
  24672. $ref: '#/definitions/models.GZWarehouseinfo'
  24673. type: array
  24674. "500":
  24675. description: Internal Server Error
  24676. schema:
  24677. $ref: '#/definitions/app.Response'
  24678. security:
  24679. - ApiKeyAuth: []
  24680. - LoginID: []
  24681. - Group: []
  24682. summary: 查询仓库信息
  24683. tags:
  24684. - 广钻
  24685. /Market/GetAllExExchanges:
  24686. get:
  24687. produces:
  24688. - application/json
  24689. responses:
  24690. "200":
  24691. description: OK
  24692. schema:
  24693. $ref: '#/definitions/models.Goods'
  24694. "500":
  24695. description: Internal Server Error
  24696. schema:
  24697. $ref: '#/definitions/app.Response'
  24698. security:
  24699. - ApiKeyAuth: []
  24700. summary: 获取所有外部交易所信息
  24701. tags:
  24702. - 通用市场
  24703. /Market/QueryGoodsesByLoginID:
  24704. get:
  24705. parameters:
  24706. - description: 登录账号
  24707. in: query
  24708. name: loginID
  24709. required: true
  24710. type: integer
  24711. - description: 市场ID列表,格式:1,2,3
  24712. in: query
  24713. name: marketIDs
  24714. type: string
  24715. produces:
  24716. - application/json
  24717. responses:
  24718. "200":
  24719. description: OK
  24720. schema:
  24721. $ref: '#/definitions/models.Goods'
  24722. "500":
  24723. description: Internal Server Error
  24724. schema:
  24725. $ref: '#/definitions/app.Response'
  24726. security:
  24727. - ApiKeyAuth: []
  24728. summary: 获取登录账号有权限的商品信息
  24729. tags:
  24730. - 通用市场
  24731. /Market/QueryMarketRun:
  24732. get:
  24733. parameters:
  24734. - description: 市场ID,不传返回所有
  24735. in: query
  24736. name: marketID
  24737. type: integer
  24738. produces:
  24739. - application/json
  24740. responses:
  24741. "200":
  24742. description: OK
  24743. schema:
  24744. $ref: '#/definitions/models.Marketrun'
  24745. "500":
  24746. description: Internal Server Error
  24747. schema:
  24748. $ref: '#/definitions/app.Response'
  24749. security:
  24750. - ApiKeyAuth: []
  24751. summary: 查询市场运行信息
  24752. tags:
  24753. - 通用市场
  24754. /Market/QueryMarketsByLoginID:
  24755. get:
  24756. parameters:
  24757. - description: 登录账号
  24758. in: query
  24759. name: loginID
  24760. required: true
  24761. type: integer
  24762. produces:
  24763. - application/json
  24764. responses:
  24765. "200":
  24766. description: OK
  24767. schema:
  24768. $ref: '#/definitions/models.Market'
  24769. "500":
  24770. description: Internal Server Error
  24771. schema:
  24772. $ref: '#/definitions/app.Response'
  24773. security:
  24774. - ApiKeyAuth: []
  24775. summary: 获取登录账号有权限的市场信息
  24776. tags:
  24777. - 通用市场
  24778. /Order/QueryHisTradeDetail:
  24779. get:
  24780. parameters:
  24781. - description: 资金账户 - 格式:1,2,3
  24782. in: query
  24783. name: accountID
  24784. required: true
  24785. type: string
  24786. - description: 成交单号
  24787. in: query
  24788. name: tradeID
  24789. type: integer
  24790. - description: 委托单号
  24791. in: query
  24792. name: orderID
  24793. type: integer
  24794. - description: 商品ID
  24795. in: query
  24796. name: goodsID
  24797. type: integer
  24798. - description: 交易模式 - 格式:1,2,3
  24799. in: query
  24800. name: tradeMode
  24801. type: string
  24802. - description: 委托单据类型
  24803. in: query
  24804. name: buildType
  24805. type: integer
  24806. - description: 成交类别 - 格式:1,2,3
  24807. in: query
  24808. name: tradeType
  24809. type: string
  24810. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24811. in: query
  24812. name: startDate
  24813. type: string
  24814. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24815. in: query
  24816. name: endDate
  24817. type: string
  24818. produces:
  24819. - application/json
  24820. responses:
  24821. "200":
  24822. description: OK
  24823. schema:
  24824. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24825. "500":
  24826. description: Internal Server Error
  24827. schema:
  24828. $ref: '#/definitions/app.Response'
  24829. security:
  24830. - ApiKeyAuth: []
  24831. summary: 历史成交单查询(合约市场)
  24832. tags:
  24833. - 通用单据
  24834. /Order/QueryHisTradeOrderDetail:
  24835. get:
  24836. parameters:
  24837. - description: 资金账户 - 格式:1,2,3
  24838. in: query
  24839. name: accountID
  24840. required: true
  24841. type: string
  24842. - description: 交易模式 - 格式:1,2,3
  24843. in: query
  24844. name: tradeMode
  24845. type: string
  24846. - description: 委托状态 - 格式:1,2,3
  24847. in: query
  24848. name: orderStatus
  24849. type: string
  24850. - description: 委托单号
  24851. in: query
  24852. name: orderID
  24853. type: integer
  24854. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24855. in: query
  24856. name: startDate
  24857. type: string
  24858. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24859. in: query
  24860. name: endDate
  24861. type: string
  24862. produces:
  24863. - application/json
  24864. responses:
  24865. "200":
  24866. description: OK
  24867. schema:
  24868. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24869. "500":
  24870. description: Internal Server Error
  24871. schema:
  24872. $ref: '#/definitions/app.Response'
  24873. security:
  24874. - ApiKeyAuth: []
  24875. summary: 历史委托单查询请求(合约市场)
  24876. tags:
  24877. - 通用单据
  24878. /Order/QueryTradeDetail:
  24879. get:
  24880. parameters:
  24881. - description: 资金账户 - 格式:1,2,3
  24882. in: query
  24883. name: accountID
  24884. required: true
  24885. type: string
  24886. - description: 成交单号
  24887. in: query
  24888. name: tradeID
  24889. type: integer
  24890. - description: 委托单号
  24891. in: query
  24892. name: orderID
  24893. type: integer
  24894. - description: 交易模式 - 格式:1,2,3
  24895. in: query
  24896. name: tradeMode
  24897. type: string
  24898. - description: 委托单据类型
  24899. in: query
  24900. name: buildType
  24901. type: integer
  24902. - description: 成交类别 - 格式:1,2,3
  24903. in: query
  24904. name: tradeType
  24905. type: string
  24906. - description: 商品ID
  24907. in: query
  24908. name: goodsID
  24909. type: integer
  24910. produces:
  24911. - application/json
  24912. responses:
  24913. "200":
  24914. description: OK
  24915. schema:
  24916. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24917. "500":
  24918. description: Internal Server Error
  24919. schema:
  24920. $ref: '#/definitions/app.Response'
  24921. security:
  24922. - ApiKeyAuth: []
  24923. summary: 成交单查询(合约市场)
  24924. tags:
  24925. - 通用单据
  24926. /Order/QueryTradeHolderDetail:
  24927. get:
  24928. parameters:
  24929. - description: 用户id
  24930. in: query
  24931. name: userid
  24932. type: integer
  24933. - description: 资金账号, 格式 1,2,3
  24934. in: query
  24935. name: accids
  24936. type: string
  24937. - description: 交易模式, 格式 1,2,3
  24938. in: query
  24939. name: trademodes
  24940. type: string
  24941. - description: 市场id, 格式 1,2,3
  24942. in: query
  24943. name: marketids
  24944. type: string
  24945. - description: 商品id
  24946. in: query
  24947. name: goodsid
  24948. type: integer
  24949. - description: 买卖方向 0-买 1-卖
  24950. in: query
  24951. name: buyorsell
  24952. type: integer
  24953. produces:
  24954. - application/json
  24955. responses:
  24956. "200":
  24957. description: OK
  24958. schema:
  24959. items:
  24960. $ref: '#/definitions/models.TradeHolderDetail'
  24961. type: array
  24962. "500":
  24963. description: Internal Server Error
  24964. schema:
  24965. $ref: '#/definitions/app.Response'
  24966. security:
  24967. - ApiKeyAuth: []
  24968. summary: 查询持仓明细
  24969. tags:
  24970. - 通用单据
  24971. /Order/QueryTradeOrderDetail:
  24972. get:
  24973. parameters:
  24974. - description: 资金账户 - 格式:1,2,3
  24975. in: query
  24976. name: accountID
  24977. required: true
  24978. type: string
  24979. - description: 交易模式 - 格式:1,2,3
  24980. in: query
  24981. name: tradeMode
  24982. type: string
  24983. - description: 委托状态 - 格式:1,2,3
  24984. in: query
  24985. name: orderStatus
  24986. type: string
  24987. - description: 委托单号
  24988. in: query
  24989. name: orderID
  24990. type: integer
  24991. produces:
  24992. - application/json
  24993. responses:
  24994. "200":
  24995. description: OK
  24996. schema:
  24997. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24998. "500":
  24999. description: Internal Server Error
  25000. schema:
  25001. $ref: '#/definitions/app.Response'
  25002. security:
  25003. - ApiKeyAuth: []
  25004. summary: 委托单查询请求(合约市场)
  25005. tags:
  25006. - 通用单据
  25007. /Order/QueryTradePosition:
  25008. get:
  25009. parameters:
  25010. - description: 资金账户 - 格式:1,2,3
  25011. in: query
  25012. name: accountID
  25013. required: true
  25014. type: string
  25015. - description: 交易模式 - 格式:1,2,3
  25016. in: query
  25017. name: tradeMode
  25018. type: string
  25019. produces:
  25020. - application/json
  25021. responses:
  25022. "200":
  25023. description: OK
  25024. schema:
  25025. $ref: '#/definitions/order.QueryTradePositionRsp'
  25026. "500":
  25027. description: Internal Server Error
  25028. schema:
  25029. $ref: '#/definitions/app.Response'
  25030. security:
  25031. - ApiKeyAuth: []
  25032. summary: 持仓汇总查询(合约市场)
  25033. tags:
  25034. - 通用单据
  25035. /Quote/QueryHistoryDatas:
  25036. get:
  25037. parameters:
  25038. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  25039. 日线 12:周线 13:月线 14:年线'
  25040. in: query
  25041. name: cycleType
  25042. required: true
  25043. type: integer
  25044. - description: 商品代码
  25045. in: query
  25046. name: goodsCode
  25047. required: true
  25048. type: string
  25049. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25050. in: query
  25051. name: startTime
  25052. type: string
  25053. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25054. in: query
  25055. name: endTime
  25056. type: string
  25057. - description: 条数
  25058. in: query
  25059. name: count
  25060. type: integer
  25061. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25062. in: query
  25063. name: isAsc
  25064. type: boolean
  25065. produces:
  25066. - application/json
  25067. responses:
  25068. "200":
  25069. description: OK
  25070. schema:
  25071. $ref: '#/definitions/quote.HistoryData'
  25072. "500":
  25073. description: Internal Server Error
  25074. schema:
  25075. $ref: '#/definitions/app.Response'
  25076. security:
  25077. - ApiKeyAuth: []
  25078. summary: 查询行情历史数据
  25079. tags:
  25080. - 行情服务
  25081. /Quote/QueryHistoryTikDatas:
  25082. get:
  25083. parameters:
  25084. - description: 商品代码
  25085. in: query
  25086. name: goodsCode
  25087. required: true
  25088. type: string
  25089. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25090. in: query
  25091. name: startTime
  25092. type: string
  25093. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25094. in: query
  25095. name: endTime
  25096. type: string
  25097. - description: 条数
  25098. in: query
  25099. name: count
  25100. type: integer
  25101. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25102. in: query
  25103. name: isAsc
  25104. type: boolean
  25105. produces:
  25106. - application/json
  25107. responses:
  25108. "200":
  25109. description: OK
  25110. schema:
  25111. $ref: '#/definitions/quote.HistoryTikData'
  25112. "500":
  25113. description: Internal Server Error
  25114. schema:
  25115. $ref: '#/definitions/app.Response'
  25116. security:
  25117. - ApiKeyAuth: []
  25118. summary: 查询行情Tik数据
  25119. tags:
  25120. - 行情服务
  25121. /Quote/QueryQuoteDay:
  25122. get:
  25123. parameters:
  25124. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  25125. in: query
  25126. name: goodsCodes
  25127. type: string
  25128. produces:
  25129. - application/json
  25130. responses:
  25131. "200":
  25132. description: OK
  25133. schema:
  25134. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25135. "500":
  25136. description: Internal Server Error
  25137. schema:
  25138. $ref: '#/definitions/app.Response'
  25139. security:
  25140. - ApiKeyAuth: []
  25141. summary: 获取商品盘面信息
  25142. tags:
  25143. - 行情服务
  25144. /Quote/QueryTSData:
  25145. get:
  25146. parameters:
  25147. - description: 商品代码
  25148. in: query
  25149. name: goodsCode
  25150. required: true
  25151. type: string
  25152. produces:
  25153. - application/json
  25154. responses:
  25155. "200":
  25156. description: OK
  25157. schema:
  25158. $ref: '#/definitions/quote.QueryTSDataRsp'
  25159. "500":
  25160. description: Internal Server Error
  25161. schema:
  25162. $ref: '#/definitions/app.Response'
  25163. security:
  25164. - ApiKeyAuth: []
  25165. summary: 分时图数据查询
  25166. tags:
  25167. - 行情服务
  25168. /SZDZ/QueryConvertConfig:
  25169. get:
  25170. parameters:
  25171. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  25172. 6:交易转花生米(不设置)
  25173. in: query
  25174. name: convertType
  25175. type: integer
  25176. - description: 外部商品代码[JD\PD]
  25177. in: query
  25178. name: outerGoodsCode
  25179. type: string
  25180. - description: 内部商品ID列表[交易],格式:1,2,3
  25181. in: query
  25182. name: innerGoodsIDs
  25183. type: string
  25184. produces:
  25185. - application/json
  25186. responses:
  25187. "200":
  25188. description: OK
  25189. schema:
  25190. $ref: '#/definitions/models.Szdz3convertconfig'
  25191. "500":
  25192. description: Internal Server Error
  25193. schema:
  25194. $ref: '#/definitions/app.Response'
  25195. security:
  25196. - ApiKeyAuth: []
  25197. summary: 查询交易系统转换设置
  25198. tags:
  25199. - 定制【尚志大宗】
  25200. /SZDZ/QueryConvertLog:
  25201. get:
  25202. parameters:
  25203. - description: 资金账户 - 格式:1,2,3
  25204. in: query
  25205. name: accountID
  25206. required: true
  25207. type: string
  25208. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25209. in: query
  25210. name: startDate
  25211. type: string
  25212. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25213. in: query
  25214. name: endDate
  25215. type: string
  25216. produces:
  25217. - application/json
  25218. responses:
  25219. "200":
  25220. description: OK
  25221. schema:
  25222. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25223. "500":
  25224. description: Internal Server Error
  25225. schema:
  25226. $ref: '#/definitions/app.Response'
  25227. security:
  25228. - ApiKeyAuth: []
  25229. summary: 交易系统转换流水查询
  25230. tags:
  25231. - 定制【尚志大宗】
  25232. /SZDZ/QueryGoodsPickup:
  25233. get:
  25234. parameters:
  25235. - description: 资金账户 - 格式:1,2,3
  25236. in: query
  25237. name: accountID
  25238. required: true
  25239. type: string
  25240. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25241. in: query
  25242. name: takeOrderStatus
  25243. type: integer
  25244. produces:
  25245. - application/json
  25246. responses:
  25247. "200":
  25248. description: OK
  25249. schema:
  25250. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25251. "500":
  25252. description: Internal Server Error
  25253. schema:
  25254. $ref: '#/definitions/app.Response'
  25255. security:
  25256. - ApiKeyAuth: []
  25257. summary: 商品提货单查询
  25258. tags:
  25259. - 定制【尚志大宗】
  25260. /SZDZ/QueryRecieptOrder:
  25261. get:
  25262. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25263. parameters:
  25264. - description: 页码
  25265. in: query
  25266. name: page
  25267. type: integer
  25268. - description: 每页条数
  25269. in: query
  25270. name: pagesize
  25271. type: integer
  25272. - description: 商品ID
  25273. in: query
  25274. name: goodsID
  25275. required: true
  25276. type: integer
  25277. - description: 所属账户名称
  25278. in: query
  25279. name: accountName
  25280. type: string
  25281. - description: 市场ID
  25282. in: query
  25283. name: marketID
  25284. type: integer
  25285. - description: 方向 - 0:买 1:卖
  25286. in: query
  25287. name: buyorsell
  25288. required: true
  25289. type: integer
  25290. produces:
  25291. - application/json
  25292. responses:
  25293. "200":
  25294. description: OK
  25295. schema:
  25296. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25297. "500":
  25298. description: Internal Server Error
  25299. schema:
  25300. $ref: '#/definitions/app.Response'
  25301. security:
  25302. - ApiKeyAuth: []
  25303. summary: 点选挂牌委托单据查询(摘牌大厅)
  25304. tags:
  25305. - 定制【尚志大宗】
  25306. /SZDZ/QuerySZDZTradePosition:
  25307. get:
  25308. parameters:
  25309. - description: 资金账户
  25310. in: query
  25311. name: accountID
  25312. required: true
  25313. type: integer
  25314. produces:
  25315. - application/json
  25316. responses:
  25317. "200":
  25318. description: OK
  25319. schema:
  25320. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25321. "500":
  25322. description: Internal Server Error
  25323. schema:
  25324. $ref: '#/definitions/app.Response'
  25325. security:
  25326. - ApiKeyAuth: []
  25327. summary: 持仓汇总查询(尚志大宗)
  25328. tags:
  25329. - 定制【尚志大宗】
  25330. /SZDZ/SearchWhite:
  25331. get:
  25332. parameters:
  25333. - description: 用户ID
  25334. in: query
  25335. name: userID
  25336. required: true
  25337. type: integer
  25338. produces:
  25339. - application/json
  25340. responses:
  25341. "200":
  25342. description: OK
  25343. schema:
  25344. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25345. "500":
  25346. description: Internal Server Error
  25347. schema:
  25348. $ref: '#/definitions/app.Response'
  25349. security:
  25350. - ApiKeyAuth: []
  25351. summary: 搜索白名单
  25352. tags:
  25353. - 定制【尚志大宗】
  25354. /Search/SearchGoodses:
  25355. get:
  25356. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25357. parameters:
  25358. - description: 检索内容
  25359. in: query
  25360. name: content
  25361. required: true
  25362. type: string
  25363. - description: 交易模式,格式:1,2,3
  25364. in: query
  25365. name: tradeModes
  25366. type: string
  25367. produces:
  25368. - application/json
  25369. responses:
  25370. "200":
  25371. description: OK
  25372. schema:
  25373. $ref: '#/definitions/models.SearchGoods'
  25374. "500":
  25375. description: Internal Server Error
  25376. schema:
  25377. $ref: '#/definitions/app.Response'
  25378. summary: 检索商品信息
  25379. tags:
  25380. - 检索服务
  25381. /TaAccount/GetTaAccounts:
  25382. get:
  25383. parameters:
  25384. - description: 登录账户
  25385. in: query
  25386. name: loginID
  25387. required: true
  25388. type: integer
  25389. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25390. in: query
  25391. name: taAccountType
  25392. type: integer
  25393. produces:
  25394. - application/json
  25395. responses:
  25396. "200":
  25397. description: OK
  25398. schema:
  25399. $ref: '#/definitions/models.Taaccount'
  25400. "500":
  25401. description: Internal Server Error
  25402. schema:
  25403. $ref: '#/definitions/app.Response'
  25404. security:
  25405. - ApiKeyAuth: []
  25406. summary: 获取资金账户信息
  25407. tags:
  25408. - 资金账户
  25409. /TaAccount/QueryAmountLog:
  25410. get:
  25411. parameters:
  25412. - description: 页码
  25413. in: query
  25414. name: page
  25415. type: integer
  25416. - description: 每页条数
  25417. in: query
  25418. name: pagesize
  25419. type: integer
  25420. - description: 资金账户 - 格式:1,2,3
  25421. in: query
  25422. name: accountID
  25423. required: true
  25424. type: string
  25425. - description: 资金操作类型 - 格式:1,2,3
  25426. in: query
  25427. name: OperateType
  25428. type: string
  25429. produces:
  25430. - application/json
  25431. responses:
  25432. "200":
  25433. description: OK
  25434. schema:
  25435. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25436. "500":
  25437. description: Internal Server Error
  25438. schema:
  25439. $ref: '#/definitions/app.Response'
  25440. security:
  25441. - ApiKeyAuth: []
  25442. summary: 资金流水查询(当前)
  25443. tags:
  25444. - 资金账户
  25445. /TaAccount/QueryHisAmountLog:
  25446. get:
  25447. parameters:
  25448. - description: 页码
  25449. in: query
  25450. name: page
  25451. type: integer
  25452. - description: 每页条数
  25453. in: query
  25454. name: pagesize
  25455. type: integer
  25456. - description: 资金账户 - 格式:1,2,3
  25457. in: query
  25458. name: accountID
  25459. required: true
  25460. type: string
  25461. - description: 资金操作类型 - 格式:1,2,3
  25462. in: query
  25463. name: OperateType
  25464. type: string
  25465. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25466. in: query
  25467. name: startDate
  25468. type: string
  25469. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25470. in: query
  25471. name: endDate
  25472. type: string
  25473. produces:
  25474. - application/json
  25475. responses:
  25476. "200":
  25477. description: OK
  25478. schema:
  25479. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25480. "500":
  25481. description: Internal Server Error
  25482. schema:
  25483. $ref: '#/definitions/app.Response'
  25484. security:
  25485. - ApiKeyAuth: []
  25486. summary: 资金流水查询(历史)
  25487. tags:
  25488. - 资金账户
  25489. /TaAccount/QueryRelatedTaAccount:
  25490. get:
  25491. parameters:
  25492. - description: 关联UserID
  25493. in: query
  25494. name: relateduserid
  25495. required: true
  25496. type: integer
  25497. produces:
  25498. - application/json
  25499. responses:
  25500. "200":
  25501. description: OK
  25502. schema:
  25503. items:
  25504. $ref: '#/definitions/models.RelatedTaAccount'
  25505. type: array
  25506. "500":
  25507. description: Internal Server Error
  25508. schema:
  25509. $ref: '#/definitions/app.Response'
  25510. security:
  25511. - ApiKeyAuth: []
  25512. summary: 查询关联资金账户信息
  25513. tags:
  25514. - 资金账户
  25515. /Tjmd/QueryQuoteGoodsList:
  25516. get:
  25517. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25518. parameters:
  25519. - description: 用户类型
  25520. in: query
  25521. name: usertype
  25522. required: true
  25523. type: integer
  25524. - description: 市场id, 格式 1,2,3
  25525. in: query
  25526. name: marketids
  25527. type: string
  25528. - description: 商品组id
  25529. in: query
  25530. name: goodsgroupid
  25531. type: integer
  25532. - description: 商品id
  25533. in: query
  25534. name: goodsid
  25535. type: integer
  25536. produces:
  25537. - application/json
  25538. responses:
  25539. "200":
  25540. description: OK
  25541. schema:
  25542. items:
  25543. $ref: '#/definitions/models.TjmdQuoteGoods'
  25544. type: array
  25545. "500":
  25546. description: Internal Server Error
  25547. schema:
  25548. $ref: '#/definitions/app.Response'
  25549. security:
  25550. - ApiKeyAuth: []
  25551. summary: 查询掉期报价列表
  25552. tags:
  25553. - 天津麦顿
  25554. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  25555. get:
  25556. parameters:
  25557. - description: 成交单号
  25558. in: query
  25559. name: tradeid
  25560. required: true
  25561. type: string
  25562. produces:
  25563. - application/json
  25564. responses:
  25565. "200":
  25566. description: OK
  25567. schema:
  25568. items:
  25569. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  25570. type: array
  25571. "500":
  25572. description: Internal Server Error
  25573. schema:
  25574. $ref: '#/definitions/app.Response'
  25575. security:
  25576. - ApiKeyAuth: []
  25577. summary: 掉期商品订单详情(交易确认书)
  25578. tags:
  25579. - 天津麦顿
  25580. /Tjmd/QueryTjmdMarketSection:
  25581. get:
  25582. produces:
  25583. - application/json
  25584. responses:
  25585. "200":
  25586. description: OK
  25587. schema:
  25588. items:
  25589. $ref: '#/definitions/models.TjmdMarketSection'
  25590. type: array
  25591. "500":
  25592. description: Internal Server Error
  25593. schema:
  25594. $ref: '#/definitions/app.Response'
  25595. security:
  25596. - ApiKeyAuth: []
  25597. summary: 查询市场板块
  25598. tags:
  25599. - 天津麦顿
  25600. /Tjmd/QueryTjmdTodayAccountMargin:
  25601. get:
  25602. parameters:
  25603. - description: 市场id
  25604. in: query
  25605. name: marketid
  25606. type: string
  25607. - description: 商品id
  25608. in: query
  25609. name: goodsid
  25610. type: string
  25611. - description: 资金账号
  25612. in: query
  25613. name: accountid
  25614. type: string
  25615. produces:
  25616. - application/json
  25617. responses:
  25618. "200":
  25619. description: OK
  25620. schema:
  25621. items:
  25622. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25623. type: array
  25624. "500":
  25625. description: Internal Server Error
  25626. schema:
  25627. $ref: '#/definitions/app.Response'
  25628. security:
  25629. - ApiKeyAuth: []
  25630. summary: 查询今日账户保证金配置
  25631. tags:
  25632. - 天津麦顿
  25633. /Tjmd/QueryTjmdTradeOrderDetail:
  25634. get:
  25635. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25636. parameters:
  25637. - description: 页码
  25638. in: query
  25639. name: page
  25640. type: integer
  25641. - description: 每页条数
  25642. in: query
  25643. name: pagesize
  25644. type: integer
  25645. - description: 用户id
  25646. in: query
  25647. name: userid
  25648. required: true
  25649. type: integer
  25650. - description: 用户类型
  25651. in: query
  25652. name: usertype
  25653. required: true
  25654. type: integer
  25655. - description: 市场id, 格式 1,2,3
  25656. in: query
  25657. name: marketids
  25658. type: string
  25659. - description: 商品id
  25660. in: query
  25661. name: goodsid
  25662. required: true
  25663. type: integer
  25664. - description: 买卖方向 0-买 1-卖
  25665. in: query
  25666. name: buyorsell
  25667. required: true
  25668. type: integer
  25669. produces:
  25670. - application/json
  25671. responses:
  25672. "200":
  25673. description: OK
  25674. schema:
  25675. items:
  25676. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25677. type: array
  25678. "500":
  25679. description: Internal Server Error
  25680. schema:
  25681. $ref: '#/definitions/app.Response'
  25682. security:
  25683. - ApiKeyAuth: []
  25684. summary: 查询掉期买卖大厅
  25685. tags:
  25686. - 天津麦顿
  25687. /Tjmd/QueryTjmdTransferApply:
  25688. get:
  25689. parameters:
  25690. - description: 类型 1-我的申请 2-对方申请
  25691. in: query
  25692. name: applytype
  25693. required: true
  25694. type: integer
  25695. - description: 市场id, 格式 1,2,3
  25696. in: query
  25697. name: marketids
  25698. type: string
  25699. - description: 资金账号, 格式 25000000001,25000000003
  25700. in: query
  25701. name: accountids
  25702. type: string
  25703. - description: 开始交易日(yyyymmdd)
  25704. in: query
  25705. name: begindate
  25706. type: string
  25707. - description: 结束交易日(yyyymmdd)
  25708. in: query
  25709. name: enddate
  25710. type: string
  25711. produces:
  25712. - application/json
  25713. responses:
  25714. "200":
  25715. description: OK
  25716. schema:
  25717. items:
  25718. $ref: '#/definitions/models.TjmdTransferApply'
  25719. type: array
  25720. "500":
  25721. description: Internal Server Error
  25722. schema:
  25723. $ref: '#/definitions/app.Response'
  25724. security:
  25725. - ApiKeyAuth: []
  25726. summary: 查询掉期协议单
  25727. tags:
  25728. - 天津麦顿
  25729. /Trade/QueryRecieptOrder:
  25730. get:
  25731. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25732. parameters:
  25733. - description: 页码
  25734. in: query
  25735. name: page
  25736. type: integer
  25737. - description: 每页条数
  25738. in: query
  25739. name: pagesize
  25740. type: integer
  25741. - description: 商品ID
  25742. in: query
  25743. name: goodsID
  25744. required: true
  25745. type: integer
  25746. - description: 所属账户名称
  25747. in: query
  25748. name: accountName
  25749. type: string
  25750. - description: 市场ID
  25751. in: query
  25752. name: marketID
  25753. type: integer
  25754. - description: 方向 - 0:买 1:卖
  25755. in: query
  25756. name: buyorsell
  25757. required: true
  25758. type: integer
  25759. produces:
  25760. - application/json
  25761. responses:
  25762. "200":
  25763. description: OK
  25764. schema:
  25765. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25766. "500":
  25767. description: Internal Server Error
  25768. schema:
  25769. $ref: '#/definitions/app.Response'
  25770. security:
  25771. - ApiKeyAuth: []
  25772. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25773. tags:
  25774. - 通用交易
  25775. /User/AddMessageBoard:
  25776. post:
  25777. parameters:
  25778. - description: 用户ID
  25779. in: query
  25780. name: userID
  25781. required: true
  25782. type: integer
  25783. - description: 留言信息
  25784. in: query
  25785. name: message
  25786. required: true
  25787. type: string
  25788. - description: 联系电话
  25789. in: query
  25790. name: contactNum
  25791. required: true
  25792. type: string
  25793. produces:
  25794. - application/json
  25795. responses:
  25796. "200":
  25797. description: OK
  25798. schema:
  25799. $ref: '#/definitions/app.Response'
  25800. "500":
  25801. description: Internal Server Error
  25802. schema:
  25803. $ref: '#/definitions/app.Response'
  25804. security:
  25805. - ApiKeyAuth: []
  25806. summary: 添加用户留言板信息
  25807. tags:
  25808. - 用户信息
  25809. /User/AddUserFavoriteGoods:
  25810. post:
  25811. parameters:
  25812. - description: 用户ID
  25813. in: query
  25814. name: userID
  25815. required: true
  25816. type: integer
  25817. - description: 商品ID
  25818. in: query
  25819. name: goodsID
  25820. required: true
  25821. type: integer
  25822. produces:
  25823. - application/json
  25824. responses:
  25825. "200":
  25826. description: OK
  25827. schema:
  25828. $ref: '#/definitions/app.Response'
  25829. "500":
  25830. description: Internal Server Error
  25831. schema:
  25832. $ref: '#/definitions/app.Response'
  25833. security:
  25834. - ApiKeyAuth: []
  25835. summary: 添加用户商品收藏信息
  25836. tags:
  25837. - 用户信息
  25838. /User/GetLoginID:
  25839. get:
  25840. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25841. parameters:
  25842. - description: 登录代码
  25843. in: query
  25844. name: username
  25845. required: true
  25846. type: string
  25847. produces:
  25848. - application/json
  25849. responses:
  25850. "200":
  25851. description: OK
  25852. schema:
  25853. $ref: '#/definitions/app.Response'
  25854. "500":
  25855. description: Internal Server Error
  25856. schema:
  25857. $ref: '#/definitions/app.Response'
  25858. summary: 获取登录ID
  25859. tags:
  25860. - 用户信息
  25861. /User/GetUserAccount:
  25862. get:
  25863. parameters:
  25864. - description: 用户ID
  25865. in: query
  25866. name: userID
  25867. required: true
  25868. type: integer
  25869. produces:
  25870. - application/json
  25871. responses:
  25872. "200":
  25873. description: OK
  25874. schema:
  25875. $ref: '#/definitions/models.Useraccount'
  25876. "500":
  25877. description: Internal Server Error
  25878. schema:
  25879. $ref: '#/definitions/app.Response'
  25880. security:
  25881. - ApiKeyAuth: []
  25882. summary: 获取用户账号信息
  25883. tags:
  25884. - 用户信息
  25885. /User/GetUserAuthStatus:
  25886. get:
  25887. parameters:
  25888. - description: 用户ID
  25889. in: query
  25890. name: userID
  25891. required: true
  25892. type: integer
  25893. produces:
  25894. - application/json
  25895. responses:
  25896. "200":
  25897. description: OK
  25898. schema:
  25899. $ref: '#/definitions/app.Response'
  25900. "500":
  25901. description: Internal Server Error
  25902. schema:
  25903. $ref: '#/definitions/app.Response'
  25904. security:
  25905. - ApiKeyAuth: []
  25906. summary: 获取用户实名认证状态
  25907. tags:
  25908. - 用户信息
  25909. /User/LoginQuery:
  25910. get:
  25911. parameters:
  25912. - description: 登录账号
  25913. in: query
  25914. name: loginID
  25915. required: true
  25916. type: integer
  25917. produces:
  25918. - application/json
  25919. responses:
  25920. "200":
  25921. description: OK
  25922. schema:
  25923. $ref: '#/definitions/user.LoginQueryRsp'
  25924. "500":
  25925. description: Internal Server Error
  25926. schema:
  25927. $ref: '#/definitions/app.Response'
  25928. security:
  25929. - ApiKeyAuth: []
  25930. summary: 账户登录后信息查询
  25931. tags:
  25932. - 用户信息
  25933. /User/QueryMessageBoard:
  25934. get:
  25935. parameters:
  25936. - description: 用户ID
  25937. in: query
  25938. name: userID
  25939. required: true
  25940. type: integer
  25941. produces:
  25942. - application/json
  25943. responses:
  25944. "200":
  25945. description: OK
  25946. schema:
  25947. $ref: '#/definitions/models.Messageboard'
  25948. "500":
  25949. description: Internal Server Error
  25950. schema:
  25951. $ref: '#/definitions/app.Response'
  25952. security:
  25953. - ApiKeyAuth: []
  25954. summary: 获取用户留言板信息
  25955. tags:
  25956. - 用户信息
  25957. /User/QueryUserFavoriteGoodses:
  25958. get:
  25959. parameters:
  25960. - description: 用户ID
  25961. in: query
  25962. name: userID
  25963. required: true
  25964. type: integer
  25965. produces:
  25966. - application/json
  25967. responses:
  25968. "200":
  25969. description: OK
  25970. schema:
  25971. $ref: '#/definitions/models.Userfavoritegoods'
  25972. "500":
  25973. description: Internal Server Error
  25974. schema:
  25975. $ref: '#/definitions/app.Response'
  25976. security:
  25977. - ApiKeyAuth: []
  25978. summary: 获取用户商品收藏信息
  25979. tags:
  25980. - 用户信息
  25981. /User/QueryUserInfo:
  25982. get:
  25983. parameters:
  25984. - description: 用户ID
  25985. in: query
  25986. name: userID
  25987. required: true
  25988. type: integer
  25989. - description: 是否解密
  25990. in: query
  25991. name: isDecrypt
  25992. type: boolean
  25993. produces:
  25994. - application/json
  25995. responses:
  25996. "200":
  25997. description: OK
  25998. schema:
  25999. $ref: '#/definitions/models.Userinfo'
  26000. "500":
  26001. description: Internal Server Error
  26002. schema:
  26003. $ref: '#/definitions/app.Response'
  26004. security:
  26005. - ApiKeyAuth: []
  26006. summary: 获取用户信息
  26007. tags:
  26008. - 用户信息
  26009. /User/QueryUserReferNum:
  26010. get:
  26011. parameters:
  26012. - description: 用户ID
  26013. in: query
  26014. name: userID
  26015. required: true
  26016. type: integer
  26017. produces:
  26018. - application/json
  26019. responses:
  26020. "200":
  26021. description: OK
  26022. schema:
  26023. $ref: '#/definitions/app.Response'
  26024. "500":
  26025. description: Internal Server Error
  26026. schema:
  26027. $ref: '#/definitions/app.Response'
  26028. summary: 获取用户邀请码
  26029. tags:
  26030. - 用户信息
  26031. /User/RemoveUserFavoriteGoods:
  26032. post:
  26033. parameters:
  26034. - description: 用户ID
  26035. in: query
  26036. name: userID
  26037. required: true
  26038. type: integer
  26039. - description: 商品ID
  26040. in: query
  26041. name: goodsID
  26042. required: true
  26043. type: integer
  26044. produces:
  26045. - application/json
  26046. responses:
  26047. "200":
  26048. description: OK
  26049. schema:
  26050. $ref: '#/definitions/app.Response'
  26051. "500":
  26052. description: Internal Server Error
  26053. schema:
  26054. $ref: '#/definitions/app.Response'
  26055. security:
  26056. - ApiKeyAuth: []
  26057. summary: 移除用户商品收藏信息
  26058. tags:
  26059. - 用户信息
  26060. /User/UpdateUserAccountStatus:
  26061. post:
  26062. parameters:
  26063. - description: 用户ID
  26064. in: query
  26065. name: userID
  26066. required: true
  26067. type: integer
  26068. - description: 账户状态 - 4:正常 6:注销(停用)
  26069. in: query
  26070. name: accountStatus
  26071. required: true
  26072. type: integer
  26073. produces:
  26074. - application/json
  26075. responses:
  26076. "200":
  26077. description: OK
  26078. schema:
  26079. $ref: '#/definitions/app.Response'
  26080. "500":
  26081. description: Internal Server Error
  26082. schema:
  26083. $ref: '#/definitions/app.Response'
  26084. security:
  26085. - ApiKeyAuth: []
  26086. summary: 更新用户状态
  26087. tags:
  26088. - 用户信息
  26089. /WRTrade/GetAllDeliveryGoods:
  26090. get:
  26091. produces:
  26092. - application/json
  26093. responses:
  26094. "200":
  26095. description: OK
  26096. schema:
  26097. $ref: '#/definitions/app.Response'
  26098. "500":
  26099. description: Internal Server Error
  26100. schema:
  26101. $ref: '#/definitions/app.Response'
  26102. security:
  26103. - ApiKeyAuth: []
  26104. summary: 获取带仓单分类的种类信息
  26105. tags:
  26106. - 仓单贸易
  26107. - 仓单贸易
  26108. /WrTrade2/InsertXhcpSellBackApply:
  26109. post:
  26110. parameters:
  26111. - description: 回收申请
  26112. in: body
  26113. name: jsonBody
  26114. required: true
  26115. schema:
  26116. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  26117. produces:
  26118. - application/json
  26119. responses:
  26120. "200":
  26121. description: OK
  26122. schema:
  26123. $ref: '#/definitions/app.Response'
  26124. "500":
  26125. description: Internal Server Error
  26126. schema:
  26127. $ref: '#/definitions/app.Response'
  26128. security:
  26129. - ApiKeyAuth: []
  26130. summary: 新增回收申请(新会陈皮)
  26131. tags:
  26132. - 仓单贸易v2
  26133. /WrTrade2/QueryDeliveryGoodsSection:
  26134. get:
  26135. produces:
  26136. - application/json
  26137. responses:
  26138. "200":
  26139. description: OK
  26140. schema:
  26141. items:
  26142. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26143. type: array
  26144. "500":
  26145. description: Internal Server Error
  26146. schema:
  26147. $ref: '#/definitions/app.Response'
  26148. security:
  26149. - ApiKeyAuth: []
  26150. summary: 查询板块(分类)
  26151. tags:
  26152. - 仓单贸易v2
  26153. /WrTrade2/QueryFaProductDetail:
  26154. get:
  26155. description: 页面 买卖大厅 -> 选择融资方案
  26156. parameters:
  26157. - description: 仓单要素id
  26158. in: query
  26159. name: wrfactortypeid
  26160. required: true
  26161. type: integer
  26162. produces:
  26163. - application/json
  26164. responses:
  26165. "200":
  26166. description: OK
  26167. schema:
  26168. items:
  26169. $ref: '#/definitions/models.WrFAProductDetail'
  26170. type: array
  26171. "500":
  26172. description: Internal Server Error
  26173. schema:
  26174. $ref: '#/definitions/app.Response'
  26175. security:
  26176. - ApiKeyAuth: []
  26177. summary: 查询融资产品列表
  26178. tags:
  26179. - 仓单贸易v2
  26180. /WrTrade2/QueryFilterItem:
  26181. get:
  26182. parameters:
  26183. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26184. in: query
  26185. name: itype
  26186. required: true
  26187. type: string
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. items:
  26195. $ref: '#/definitions/models.WrFilterItem'
  26196. type: array
  26197. "500":
  26198. description: Internal Server Error
  26199. schema:
  26200. $ref: '#/definitions/app.Response'
  26201. security:
  26202. - ApiKeyAuth: []
  26203. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26204. tags:
  26205. - 仓单贸易v2
  26206. /WrTrade2/QueryFtDeliveryGoods:
  26207. get:
  26208. produces:
  26209. - application/json
  26210. responses:
  26211. "200":
  26212. description: OK
  26213. schema:
  26214. items:
  26215. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26216. type: array
  26217. "500":
  26218. description: Internal Server Error
  26219. schema:
  26220. $ref: '#/definitions/app.Response'
  26221. security:
  26222. - ApiKeyAuth: []
  26223. summary: 查询品种品类筛选框列表
  26224. tags:
  26225. - 仓单贸易v2
  26226. /WrTrade2/QueryHoldLB:
  26227. get:
  26228. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26229. parameters:
  26230. - description: 资金账号
  26231. in: query
  26232. name: accountid
  26233. required: true
  26234. type: integer
  26235. - description: 仓库id
  26236. in: query
  26237. name: warehouseid
  26238. type: integer
  26239. - description: 品种id
  26240. in: query
  26241. name: deliverygoodsid
  26242. type: integer
  26243. - description: 品类id
  26244. in: query
  26245. name: wrstandardid
  26246. type: integer
  26247. - description: 仓单要素id
  26248. in: query
  26249. name: wrfactortypeid
  26250. type: integer
  26251. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26252. in: query
  26253. name: dgitemname
  26254. type: string
  26255. produces:
  26256. - application/json
  26257. responses:
  26258. "200":
  26259. description: OK
  26260. schema:
  26261. items:
  26262. $ref: '#/definitions/models.WrHoldLB'
  26263. type: array
  26264. "500":
  26265. description: Internal Server Error
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. security:
  26269. - ApiKeyAuth: []
  26270. summary: 查询仓单持有记录
  26271. tags:
  26272. - 仓单贸易v2
  26273. /WrTrade2/QueryOrderQuote:
  26274. get:
  26275. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  26276. 唯一确定1条记录
  26277. parameters:
  26278. - description: 页码
  26279. in: query
  26280. name: page
  26281. type: integer
  26282. - description: 每页条数
  26283. in: query
  26284. name: pagesize
  26285. type: integer
  26286. - description: 仓单贸易市场id
  26287. in: query
  26288. name: marketid
  26289. type: integer
  26290. - description: 价格方式 - 1:固定价 2-浮动价
  26291. in: query
  26292. name: wrpricetype
  26293. required: true
  26294. type: integer
  26295. - description: 0:仓单预售 1:仓单贸易
  26296. in: query
  26297. name: haswr
  26298. type: integer
  26299. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26300. in: query
  26301. name: dgitemname
  26302. type: string
  26303. - description: 仓库id(筛选条件)
  26304. in: query
  26305. name: warehouseid
  26306. type: integer
  26307. - description: 品种id
  26308. in: query
  26309. name: deliverygoodsid
  26310. type: integer
  26311. - description: 品类id
  26312. in: query
  26313. name: wrstandardid
  26314. type: integer
  26315. - description: 品牌id(dgfactoryitemid)
  26316. in: query
  26317. name: brandid
  26318. type: integer
  26319. - description: 年份id(dgfactoryitemid)
  26320. in: query
  26321. name: yearsid
  26322. type: integer
  26323. - description: 仓单要素id
  26324. in: query
  26325. name: wrfactortypeid
  26326. type: integer
  26327. - description: 交收月(yyyy-mm) 仓单预售填写
  26328. in: query
  26329. name: deliverymonth
  26330. type: string
  26331. produces:
  26332. - application/json
  26333. responses:
  26334. "200":
  26335. description: OK
  26336. schema:
  26337. items:
  26338. $ref: '#/definitions/models.WrOrderQuote'
  26339. type: array
  26340. "500":
  26341. description: Internal Server Error
  26342. schema:
  26343. $ref: '#/definitions/app.Response'
  26344. security:
  26345. - ApiKeyAuth: []
  26346. summary: 查询大厅行情列表
  26347. tags:
  26348. - 仓单贸易v2
  26349. /WrTrade2/QueryOrderQuoteDetail:
  26350. get:
  26351. parameters:
  26352. - description: 页码
  26353. in: query
  26354. name: page
  26355. type: integer
  26356. - description: 每页条数
  26357. in: query
  26358. name: pagesize
  26359. type: integer
  26360. - description: 仓单贸易市场id
  26361. in: query
  26362. name: marketid
  26363. type: integer
  26364. - description: 价格方式 - 1:固定价 2-浮动价
  26365. in: query
  26366. name: wrpricetype
  26367. required: true
  26368. type: integer
  26369. - description: 0:仓单预售 1:仓单贸易
  26370. in: query
  26371. name: haswr
  26372. type: integer
  26373. - description: 仓单要素id
  26374. in: query
  26375. name: wrfactortypeid
  26376. required: true
  26377. type: integer
  26378. - description: 期货商品id(浮动价方式时填)
  26379. in: query
  26380. name: goodsid
  26381. type: integer
  26382. - description: 买卖方向 0-买 1-卖
  26383. in: query
  26384. name: buyorsell
  26385. required: true
  26386. type: integer
  26387. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26388. in: query
  26389. name: deliverymonth
  26390. type: string
  26391. produces:
  26392. - application/json
  26393. responses:
  26394. "200":
  26395. description: OK
  26396. schema:
  26397. items:
  26398. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26399. type: array
  26400. "500":
  26401. description: Internal Server Error
  26402. schema:
  26403. $ref: '#/definitions/app.Response'
  26404. security:
  26405. - ApiKeyAuth: []
  26406. summary: 查询买卖大厅
  26407. tags:
  26408. - 仓单贸易v2
  26409. /WrTrade2/QueryOrderQuoteMyq:
  26410. get:
  26411. parameters:
  26412. - description: 页码
  26413. in: query
  26414. name: page
  26415. type: integer
  26416. - description: 每页条数
  26417. in: query
  26418. name: pagesize
  26419. type: integer
  26420. - description: 用户id
  26421. in: query
  26422. name: userid
  26423. required: true
  26424. type: integer
  26425. - description: 仓单贸易市场id
  26426. in: query
  26427. name: marketid
  26428. type: integer
  26429. - description: 0:仓单预售 1:仓单贸易
  26430. in: query
  26431. name: haswr
  26432. type: integer
  26433. - description: 买卖方向 0-买 1-卖
  26434. in: query
  26435. name: buyorsell
  26436. required: true
  26437. type: integer
  26438. - description: 品种id
  26439. in: query
  26440. name: deliverygoodsid
  26441. type: integer
  26442. - description: 品类id
  26443. in: query
  26444. name: wrstandardid
  26445. type: integer
  26446. - description: 交收月(yyyy-mm) 仓单预售填写
  26447. in: query
  26448. name: deliverymonth
  26449. type: string
  26450. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26451. in: query
  26452. name: dgitemname
  26453. type: string
  26454. produces:
  26455. - application/json
  26456. responses:
  26457. "200":
  26458. description: OK
  26459. schema:
  26460. items:
  26461. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26462. type: array
  26463. "500":
  26464. description: Internal Server Error
  26465. schema:
  26466. $ref: '#/definitions/app.Response'
  26467. security:
  26468. - ApiKeyAuth: []
  26469. summary: 查询贸易圈挂牌大厅
  26470. tags:
  26471. - 仓单贸易v2
  26472. /WrTrade2/QueryPerformancePlan:
  26473. get:
  26474. parameters:
  26475. - description: 用户id
  26476. in: query
  26477. name: userid
  26478. required: true
  26479. type: integer
  26480. - description: 买卖方向 0-买 1-卖
  26481. in: query
  26482. name: buyorsell
  26483. required: true
  26484. type: integer
  26485. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  26486. 8:释放冻结失败 9:超时待处理 10:超时关闭
  26487. in: query
  26488. name: status
  26489. type: string
  26490. - description: 开始交易日(yyyymmdd)
  26491. in: query
  26492. name: begindate
  26493. type: string
  26494. - description: 结束交易日(yyyymmdd)
  26495. in: query
  26496. name: enddate
  26497. type: string
  26498. produces:
  26499. - application/json
  26500. responses:
  26501. "200":
  26502. description: OK
  26503. schema:
  26504. items:
  26505. $ref: '#/definitions/models.WrPerformancePlan'
  26506. type: array
  26507. "500":
  26508. description: Internal Server Error
  26509. schema:
  26510. $ref: '#/definitions/app.Response'
  26511. security:
  26512. - ApiKeyAuth: []
  26513. summary: 查询履约信息
  26514. tags:
  26515. - 仓单贸易v2
  26516. /WrTrade2/QueryPermancePlanTmp:
  26517. get:
  26518. description: |-
  26519. 返回指定用户的模板和公共模板(用户id为空)
  26520. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  26521. parameters:
  26522. - description: 用户id
  26523. in: query
  26524. name: userid
  26525. type: integer
  26526. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  26527. (无仓单) 5:挂牌期权 6:竞拍-降价式
  26528. in: query
  26529. name: tmptype
  26530. type: string
  26531. - description: 是否包含公共模板(用户id为空的) 1-包含
  26532. in: query
  26533. name: includepub
  26534. type: integer
  26535. - description: 市场id(天津麦顿指定此参数,其它不用)
  26536. in: query
  26537. name: marketid
  26538. type: integer
  26539. produces:
  26540. - application/json
  26541. responses:
  26542. "200":
  26543. description: OK
  26544. schema:
  26545. items:
  26546. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26547. type: array
  26548. "500":
  26549. description: Internal Server Error
  26550. schema:
  26551. $ref: '#/definitions/app.Response'
  26552. security:
  26553. - ApiKeyAuth: []
  26554. summary: 查询履约模板
  26555. tags:
  26556. - 仓单贸易v2
  26557. /WrTrade2/QuerySiteColumnDetail:
  26558. get:
  26559. parameters:
  26560. - description: 页码
  26561. in: query
  26562. name: page
  26563. type: integer
  26564. - description: 每页条数
  26565. in: query
  26566. name: pagesize
  26567. type: integer
  26568. - description: 所属栏目id
  26569. in: query
  26570. name: columnid
  26571. type: integer
  26572. produces:
  26573. - application/json
  26574. responses:
  26575. "200":
  26576. description: OK
  26577. schema:
  26578. items:
  26579. $ref: '#/definitions/models.WrSiteColumnDetail'
  26580. type: array
  26581. "500":
  26582. description: Internal Server Error
  26583. schema:
  26584. $ref: '#/definitions/app.Response'
  26585. security:
  26586. - ApiKeyAuth: []
  26587. summary: 查询资讯
  26588. tags:
  26589. - 仓单贸易v2
  26590. /WrTrade2/QuerySpotGroupTradeSum:
  26591. get:
  26592. produces:
  26593. - application/json
  26594. responses:
  26595. "200":
  26596. description: OK
  26597. schema:
  26598. items:
  26599. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26600. type: array
  26601. "500":
  26602. description: Internal Server Error
  26603. schema:
  26604. $ref: '#/definitions/app.Response'
  26605. security:
  26606. - ApiKeyAuth: []
  26607. summary: 查询指数
  26608. tags:
  26609. - 仓单贸易v2
  26610. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26611. get:
  26612. description: 查询的结果将会按日期 从小到大 排序
  26613. parameters:
  26614. - description: 现货商品id
  26615. in: query
  26616. name: deliverygoodsid
  26617. required: true
  26618. type: integer
  26619. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26620. in: query
  26621. name: lastnum
  26622. type: integer
  26623. produces:
  26624. - application/json
  26625. responses:
  26626. "200":
  26627. description: OK
  26628. schema:
  26629. items:
  26630. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26631. type: array
  26632. "500":
  26633. description: Internal Server Error
  26634. schema:
  26635. $ref: '#/definitions/app.Response'
  26636. security:
  26637. - ApiKeyAuth: []
  26638. summary: 查询指数详细(价格走势图)
  26639. tags:
  26640. - 仓单贸易v2
  26641. /WrTrade2/QueryWrAverageTradePrice:
  26642. get:
  26643. parameters:
  26644. - description: 页码
  26645. in: query
  26646. name: page
  26647. type: integer
  26648. - description: 每页条数
  26649. in: query
  26650. name: pagesize
  26651. type: integer
  26652. - description: 0:仓单预售 1:仓单贸易
  26653. in: query
  26654. name: haswr
  26655. required: true
  26656. type: integer
  26657. - description: 仓单要素id
  26658. in: query
  26659. name: wrfactortypeid
  26660. required: true
  26661. type: integer
  26662. produces:
  26663. - application/json
  26664. responses:
  26665. "200":
  26666. description: OK
  26667. schema:
  26668. items:
  26669. $ref: '#/definitions/models.WrAverageTradePrice'
  26670. type: array
  26671. "500":
  26672. description: Internal Server Error
  26673. schema:
  26674. $ref: '#/definitions/app.Response'
  26675. security:
  26676. - ApiKeyAuth: []
  26677. summary: 查询成交价(历史走势)
  26678. tags:
  26679. - 仓单贸易v2
  26680. /WrTrade2/QueryWrBrandAndYears:
  26681. get:
  26682. produces:
  26683. - application/json
  26684. responses:
  26685. "200":
  26686. description: OK
  26687. schema:
  26688. items:
  26689. $ref: '#/definitions/models.WrBrandAndYears'
  26690. type: array
  26691. "500":
  26692. description: Internal Server Error
  26693. schema:
  26694. $ref: '#/definitions/app.Response'
  26695. security:
  26696. - ApiKeyAuth: []
  26697. summary: 查询品牌和年份
  26698. tags:
  26699. - 仓单贸易v2
  26700. /WrTrade2/QueryWrBsGoodsInfo:
  26701. get:
  26702. description: 合约交易/买卖大厅/详情
  26703. parameters:
  26704. - description: 商品id
  26705. in: query
  26706. name: goodsid
  26707. required: true
  26708. type: integer
  26709. produces:
  26710. - application/json
  26711. responses:
  26712. "200":
  26713. description: OK
  26714. schema:
  26715. items:
  26716. $ref: '#/definitions/models.WrBsGoodsInfo'
  26717. type: array
  26718. "500":
  26719. description: Internal Server Error
  26720. schema:
  26721. $ref: '#/definitions/app.Response'
  26722. security:
  26723. - ApiKeyAuth: []
  26724. summary: 查询合约交易买卖大厅详情
  26725. tags:
  26726. - 仓单贸易v2
  26727. /WrTrade2/QueryWrBuybackDetail:
  26728. get:
  26729. parameters:
  26730. - description: 融资合同id
  26731. in: query
  26732. name: scfcontractid
  26733. type: integer
  26734. produces:
  26735. - application/json
  26736. responses:
  26737. "200":
  26738. description: OK
  26739. schema:
  26740. items:
  26741. $ref: '#/definitions/models.WrBuybackDetail'
  26742. type: array
  26743. "500":
  26744. description: Internal Server Error
  26745. schema:
  26746. $ref: '#/definitions/app.Response'
  26747. security:
  26748. - ApiKeyAuth: []
  26749. summary: 查询仓单回购明细
  26750. tags:
  26751. - 仓单贸易v2
  26752. /WrTrade2/QueryWrClientAdSpaceConfig:
  26753. get:
  26754. produces:
  26755. - application/json
  26756. responses:
  26757. "200":
  26758. description: OK
  26759. schema:
  26760. items:
  26761. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  26762. type: array
  26763. "500":
  26764. description: Internal Server Error
  26765. schema:
  26766. $ref: '#/definitions/app.Response'
  26767. security:
  26768. - ApiKeyAuth: []
  26769. summary: 查询固定广告配置
  26770. tags:
  26771. - 仓单贸易v2
  26772. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26773. get:
  26774. parameters:
  26775. - description: 资金账号
  26776. in: query
  26777. name: accountid
  26778. required: true
  26779. type: integer
  26780. - description: 商品id
  26781. in: query
  26782. name: goodsid
  26783. required: true
  26784. type: integer
  26785. produces:
  26786. - application/json
  26787. responses:
  26788. "200":
  26789. description: OK
  26790. schema:
  26791. items:
  26792. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26793. type: array
  26794. "500":
  26795. description: Internal Server Error
  26796. schema:
  26797. $ref: '#/definitions/app.Response'
  26798. security:
  26799. - ApiKeyAuth: []
  26800. summary: 查询合约交收可点选仓单
  26801. tags:
  26802. - 仓单贸易v2
  26803. /WrTrade2/QueryWrDeliveryDetail:
  26804. get:
  26805. parameters:
  26806. - description: 用户id
  26807. in: query
  26808. name: userid
  26809. required: true
  26810. type: integer
  26811. - description: 资金账号id
  26812. in: query
  26813. name: accountid
  26814. type: integer
  26815. - description: 开始交易日(yyyymmdd)
  26816. in: query
  26817. name: begindate
  26818. type: string
  26819. - description: 结束交易日(yyyymmdd)
  26820. in: query
  26821. name: enddate
  26822. type: string
  26823. produces:
  26824. - application/json
  26825. responses:
  26826. "200":
  26827. description: OK
  26828. schema:
  26829. items:
  26830. $ref: '#/definitions/models.WrDeliveryDetail'
  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/QueryWrDraftUserInfo:
  26842. get:
  26843. parameters:
  26844. - description: 用户ID
  26845. in: query
  26846. name: userid
  26847. required: true
  26848. type: integer
  26849. - description: 用户状态 1:正常 2:注销
  26850. in: query
  26851. name: userstatus
  26852. type: integer
  26853. produces:
  26854. - application/json
  26855. responses:
  26856. "200":
  26857. description: OK
  26858. schema:
  26859. items:
  26860. $ref: '#/definitions/models.WrDraftUserInfo'
  26861. type: array
  26862. "500":
  26863. description: Internal Server Error
  26864. schema:
  26865. $ref: '#/definitions/app.Response'
  26866. security:
  26867. - ApiKeyAuth: []
  26868. summary: 查询实名认证信息
  26869. tags:
  26870. - 仓单贸易v2
  26871. /WrTrade2/QueryWrFactorTypeInfo:
  26872. get:
  26873. parameters:
  26874. - description: 仓单要素id
  26875. in: query
  26876. name: wrfactortypeid
  26877. required: true
  26878. type: integer
  26879. produces:
  26880. - application/json
  26881. responses:
  26882. "200":
  26883. description: OK
  26884. schema:
  26885. items:
  26886. $ref: '#/definitions/models.WrFactorTypeInfo'
  26887. type: array
  26888. "500":
  26889. description: Internal Server Error
  26890. schema:
  26891. $ref: '#/definitions/app.Response'
  26892. security:
  26893. - ApiKeyAuth: []
  26894. summary: 查询仓单要素详细信息
  26895. tags:
  26896. - 仓单贸易v2
  26897. /WrTrade2/QueryWrFactorTypeInfoEx:
  26898. get:
  26899. parameters:
  26900. - description: 仓单要素id
  26901. in: query
  26902. name: wrfactortypeid
  26903. required: true
  26904. type: integer
  26905. produces:
  26906. - application/json
  26907. responses:
  26908. "200":
  26909. description: OK
  26910. schema:
  26911. items:
  26912. $ref: '#/definitions/models.WrTypeItem'
  26913. type: array
  26914. "500":
  26915. description: Internal Server Error
  26916. schema:
  26917. $ref: '#/definitions/app.Response'
  26918. security:
  26919. - ApiKeyAuth: []
  26920. summary: 查询仓单要素详细信息列表项
  26921. tags:
  26922. - 仓单贸易v2
  26923. /WrTrade2/QueryWrFinanceBuyApply:
  26924. get:
  26925. description: 页面 融资信息+ / 申请单
  26926. parameters:
  26927. - description: 用户id
  26928. in: query
  26929. name: userid
  26930. required: true
  26931. type: integer
  26932. produces:
  26933. - application/json
  26934. responses:
  26935. "200":
  26936. description: OK
  26937. schema:
  26938. items:
  26939. $ref: '#/definitions/models.WrFinanceBuyApply'
  26940. type: array
  26941. "500":
  26942. description: Internal Server Error
  26943. schema:
  26944. $ref: '#/definitions/app.Response'
  26945. security:
  26946. - ApiKeyAuth: []
  26947. summary: 查询融资购买申请
  26948. tags:
  26949. - 仓单贸易v2
  26950. /WrTrade2/QueryWrFriendApply:
  26951. get:
  26952. parameters:
  26953. - description: 用户id
  26954. in: query
  26955. name: userid
  26956. required: true
  26957. type: integer
  26958. produces:
  26959. - application/json
  26960. responses:
  26961. "200":
  26962. description: OK
  26963. schema:
  26964. items:
  26965. $ref: '#/definitions/models.WrFriendApply'
  26966. type: array
  26967. "500":
  26968. description: Internal Server Error
  26969. schema:
  26970. $ref: '#/definitions/app.Response'
  26971. security:
  26972. - ApiKeyAuth: []
  26973. summary: 查询好友申请记录
  26974. tags:
  26975. - 仓单贸易v2
  26976. /WrTrade2/QueryWrGoodsInfo:
  26977. get:
  26978. parameters:
  26979. - description: 仓单贸易市场id
  26980. in: query
  26981. name: marketid
  26982. type: integer
  26983. - description: 0:仓单预售 1:仓单贸易
  26984. in: query
  26985. name: haswr
  26986. required: true
  26987. type: integer
  26988. - description: 仓单要素id
  26989. in: query
  26990. name: wrfactortypeid
  26991. required: true
  26992. type: integer
  26993. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26994. in: query
  26995. name: tmplateid
  26996. type: integer
  26997. produces:
  26998. - application/json
  26999. responses:
  27000. "200":
  27001. description: OK
  27002. schema:
  27003. items:
  27004. $ref: '#/definitions/models.WrGoodsInfo'
  27005. type: array
  27006. "500":
  27007. description: Internal Server Error
  27008. schema:
  27009. $ref: '#/definitions/app.Response'
  27010. security:
  27011. - ApiKeyAuth: []
  27012. summary: 查询仓单商品信息
  27013. tags:
  27014. - 仓单贸易v2
  27015. /WrTrade2/QueryWrMarketTradeConfig:
  27016. get:
  27017. parameters:
  27018. - description: 市场id
  27019. in: query
  27020. name: marketid
  27021. type: integer
  27022. produces:
  27023. - application/json
  27024. responses:
  27025. "200":
  27026. description: OK
  27027. schema:
  27028. items:
  27029. $ref: '#/definitions/models.WrMarketTradeConfig'
  27030. type: array
  27031. "500":
  27032. description: Internal Server Error
  27033. schema:
  27034. $ref: '#/definitions/app.Response'
  27035. security:
  27036. - ApiKeyAuth: []
  27037. summary: 查询市场交易参数配置
  27038. tags:
  27039. - 仓单贸易v2
  27040. /WrTrade2/QueryWrOrderDetail:
  27041. get:
  27042. description: 页面 现货仓单 | 预售仓单 -> 委托单
  27043. parameters:
  27044. - description: 页码
  27045. in: query
  27046. name: page
  27047. type: integer
  27048. - description: 每页条数
  27049. in: query
  27050. name: pagesize
  27051. type: integer
  27052. - description: 用户id
  27053. in: query
  27054. name: userid
  27055. required: true
  27056. type: integer
  27057. - description: 仓单贸易市场id
  27058. in: query
  27059. name: marketid
  27060. type: integer
  27061. - description: 0:仓单预售 1:仓单贸易
  27062. in: query
  27063. name: haswr
  27064. required: true
  27065. type: integer
  27066. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  27067. in: query
  27068. name: bcancel
  27069. type: integer
  27070. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  27071. in: query
  27072. name: wrtradetype
  27073. type: integer
  27074. - description: 开始交易日(yyyymmdd)
  27075. in: query
  27076. name: begindate
  27077. type: string
  27078. - description: 结束交易日(yyyymmdd)
  27079. in: query
  27080. name: enddate
  27081. type: string
  27082. produces:
  27083. - application/json
  27084. responses:
  27085. "200":
  27086. description: OK
  27087. schema:
  27088. items:
  27089. $ref: '#/definitions/models.WrOrderDetail'
  27090. type: array
  27091. "500":
  27092. description: Internal Server Error
  27093. schema:
  27094. $ref: '#/definitions/app.Response'
  27095. security:
  27096. - ApiKeyAuth: []
  27097. summary: 查询仓单委托单
  27098. tags:
  27099. - 仓单贸易v2
  27100. /WrTrade2/QueryWrOutInApply:
  27101. get:
  27102. parameters:
  27103. - description: 页码
  27104. in: query
  27105. name: page
  27106. type: integer
  27107. - description: 每页条数
  27108. in: query
  27109. name: pagesize
  27110. type: integer
  27111. - description: 用户id
  27112. in: query
  27113. name: userid
  27114. required: true
  27115. type: integer
  27116. - description: 开始交易日(yyyymmdd)
  27117. in: query
  27118. name: begindate
  27119. type: string
  27120. - description: 结束交易日(yyyymmdd)
  27121. in: query
  27122. name: enddate
  27123. type: string
  27124. produces:
  27125. - application/json
  27126. responses:
  27127. "200":
  27128. description: OK
  27129. schema:
  27130. items:
  27131. $ref: '#/definitions/models.WrOutInApply'
  27132. type: array
  27133. "500":
  27134. description: Internal Server Error
  27135. schema:
  27136. $ref: '#/definitions/app.Response'
  27137. security:
  27138. - ApiKeyAuth: []
  27139. summary: 查询提货申请
  27140. tags:
  27141. - 仓单贸易v2
  27142. /WrTrade2/QueryWrPerformancePlanStep:
  27143. get:
  27144. parameters:
  27145. - description: 履约计划id(performanceplanid)
  27146. in: query
  27147. name: planid
  27148. required: true
  27149. type: integer
  27150. - description: 当前步骤id
  27151. in: query
  27152. name: curstepid
  27153. type: integer
  27154. produces:
  27155. - application/json
  27156. responses:
  27157. "200":
  27158. description: OK
  27159. schema:
  27160. items:
  27161. $ref: '#/definitions/models.WrPerformancePlanStep'
  27162. type: array
  27163. "500":
  27164. description: Internal Server Error
  27165. schema:
  27166. $ref: '#/definitions/app.Response'
  27167. security:
  27168. - ApiKeyAuth: []
  27169. summary: 查询履约信息详情
  27170. tags:
  27171. - 仓单贸易v2
  27172. /WrTrade2/QueryWrPerformanceStepType:
  27173. get:
  27174. produces:
  27175. - application/json
  27176. responses:
  27177. "200":
  27178. description: OK
  27179. schema:
  27180. items:
  27181. $ref: '#/definitions/models.WrPerformanceStepType'
  27182. type: array
  27183. "500":
  27184. description: Internal Server Error
  27185. schema:
  27186. $ref: '#/definitions/app.Response'
  27187. security:
  27188. - ApiKeyAuth: []
  27189. summary: 查询履约步骤枚举
  27190. tags:
  27191. - 仓单贸易v2
  27192. /WrTrade2/QueryWrPosition:
  27193. get:
  27194. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27195. parameters:
  27196. - description: 用户id
  27197. in: query
  27198. name: userid
  27199. required: true
  27200. type: integer
  27201. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27202. in: query
  27203. name: querytype
  27204. required: true
  27205. type: integer
  27206. - description: 0:仓单预售 1:仓单贸易
  27207. in: query
  27208. name: haswr
  27209. required: true
  27210. type: integer
  27211. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27212. in: query
  27213. name: dgitemname
  27214. type: string
  27215. - description: 仓库id(筛选条件)
  27216. in: query
  27217. name: warehouseid
  27218. type: integer
  27219. - description: 品种id
  27220. in: query
  27221. name: deliverygoodsid
  27222. type: integer
  27223. - description: 品类id
  27224. in: query
  27225. name: wrstandardid
  27226. type: integer
  27227. produces:
  27228. - application/json
  27229. responses:
  27230. "200":
  27231. description: OK
  27232. schema:
  27233. items:
  27234. $ref: '#/definitions/models.WrPosition'
  27235. type: array
  27236. "500":
  27237. description: Internal Server Error
  27238. schema:
  27239. $ref: '#/definitions/app.Response'
  27240. security:
  27241. - ApiKeyAuth: []
  27242. summary: 查询现货(预售)仓单持仓
  27243. tags:
  27244. - 仓单贸易v2
  27245. /WrTrade2/QueryWrPreSaleInfo:
  27246. get:
  27247. parameters:
  27248. - description: 市场id
  27249. in: query
  27250. name: marketid
  27251. type: integer
  27252. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  27253. in: query
  27254. name: presalestatus
  27255. type: string
  27256. - description: 摇号标识 - 0:未摇号 1:已摇号
  27257. in: query
  27258. name: lotteryflag
  27259. type: integer
  27260. - description: 最近多少条记录(按创建时间倒序)
  27261. in: query
  27262. name: lastnum
  27263. type: integer
  27264. produces:
  27265. - application/json
  27266. responses:
  27267. "200":
  27268. description: OK
  27269. schema:
  27270. items:
  27271. $ref: '#/definitions/models.WrPreSaleInfo'
  27272. type: array
  27273. "500":
  27274. description: Internal Server Error
  27275. schema:
  27276. $ref: '#/definitions/app.Response'
  27277. security:
  27278. - ApiKeyAuth: []
  27279. summary: 查询新品发布
  27280. tags:
  27281. - 仓单贸易v2
  27282. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  27283. get:
  27284. parameters:
  27285. - description: 市场id
  27286. in: query
  27287. name: marketid
  27288. required: true
  27289. type: integer
  27290. - description: 现货商品id
  27291. in: query
  27292. name: wrstandardid
  27293. required: true
  27294. type: integer
  27295. - description: 开始交易日(yyyymmdd)
  27296. in: query
  27297. name: begindate
  27298. type: string
  27299. - description: 结束交易日(yyyymmdd)
  27300. in: query
  27301. name: enddate
  27302. type: string
  27303. - description: 最近多少条记录(按交易日倒序)
  27304. in: query
  27305. name: lastnum
  27306. type: integer
  27307. - description: 是否今日
  27308. in: query
  27309. name: istoday
  27310. type: boolean
  27311. produces:
  27312. - application/json
  27313. responses:
  27314. "200":
  27315. description: OK
  27316. schema:
  27317. items:
  27318. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  27319. type: array
  27320. "500":
  27321. description: Internal Server Error
  27322. schema:
  27323. $ref: '#/definitions/app.Response'
  27324. security:
  27325. - ApiKeyAuth: []
  27326. summary: 查询价格走势
  27327. tags:
  27328. - 仓单贸易v2
  27329. /WrTrade2/QueryWrScfContract:
  27330. get:
  27331. parameters:
  27332. - description: 用户id
  27333. in: query
  27334. name: userid
  27335. required: true
  27336. type: integer
  27337. - description: 融资合同id
  27338. in: query
  27339. name: scfcontractid
  27340. type: integer
  27341. produces:
  27342. - application/json
  27343. responses:
  27344. "200":
  27345. description: OK
  27346. schema:
  27347. items:
  27348. $ref: '#/definitions/models.WrScfContract'
  27349. type: array
  27350. "500":
  27351. description: Internal Server Error
  27352. schema:
  27353. $ref: '#/definitions/app.Response'
  27354. security:
  27355. - ApiKeyAuth: []
  27356. summary: 查询仓单贸易融资合同
  27357. tags:
  27358. - 仓单贸易v2
  27359. /WrTrade2/QueryWrScfContractInterest:
  27360. get:
  27361. parameters:
  27362. - description: 融资合同id
  27363. in: query
  27364. name: scfcontractid
  27365. type: integer
  27366. produces:
  27367. - application/json
  27368. responses:
  27369. "200":
  27370. description: OK
  27371. schema:
  27372. items:
  27373. $ref: '#/definitions/models.WrScfContractInterest'
  27374. type: array
  27375. "500":
  27376. description: Internal Server Error
  27377. schema:
  27378. $ref: '#/definitions/app.Response'
  27379. security:
  27380. - ApiKeyAuth: []
  27381. summary: 查询融资合同费用明细
  27382. tags:
  27383. - 仓单贸易v2
  27384. /WrTrade2/QueryWrSearchUser:
  27385. get:
  27386. parameters:
  27387. - description: 用户名称(模糊匹配)
  27388. in: query
  27389. name: username
  27390. required: true
  27391. type: string
  27392. produces:
  27393. - application/json
  27394. responses:
  27395. "200":
  27396. description: OK
  27397. schema:
  27398. items:
  27399. $ref: '#/definitions/models.WrSearchUser'
  27400. type: array
  27401. "500":
  27402. description: Internal Server Error
  27403. schema:
  27404. $ref: '#/definitions/app.Response'
  27405. security:
  27406. - ApiKeyAuth: []
  27407. summary: 查询用户
  27408. tags:
  27409. - 仓单贸易v2
  27410. /WrTrade2/QueryWrSpecialMatchOrder:
  27411. get:
  27412. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27413. parameters:
  27414. - description: 页码
  27415. in: query
  27416. name: page
  27417. type: integer
  27418. - description: 每页条数
  27419. in: query
  27420. name: pagesize
  27421. type: integer
  27422. - description: 用户id
  27423. in: query
  27424. name: userid
  27425. required: true
  27426. type: integer
  27427. - description: 仓单贸易市场id
  27428. in: query
  27429. name: marketid
  27430. type: integer
  27431. - description: 0:仓单预售 1:仓单贸易
  27432. in: query
  27433. name: haswr
  27434. required: true
  27435. type: integer
  27436. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27437. in: query
  27438. name: isspecified
  27439. type: integer
  27440. produces:
  27441. - application/json
  27442. responses:
  27443. "200":
  27444. description: OK
  27445. schema:
  27446. items:
  27447. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27448. type: array
  27449. "500":
  27450. description: Internal Server Error
  27451. schema:
  27452. $ref: '#/definitions/app.Response'
  27453. security:
  27454. - ApiKeyAuth: []
  27455. summary: 查询指定成交
  27456. tags:
  27457. - 仓单贸易v2
  27458. /WrTrade2/QueryWrStandardFactoryItem:
  27459. get:
  27460. parameters:
  27461. - description: 品类id
  27462. in: query
  27463. name: wrstandardid
  27464. required: true
  27465. type: integer
  27466. produces:
  27467. - application/json
  27468. responses:
  27469. "200":
  27470. description: OK
  27471. schema:
  27472. items:
  27473. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27474. type: array
  27475. "500":
  27476. description: Internal Server Error
  27477. schema:
  27478. $ref: '#/definitions/app.Response'
  27479. security:
  27480. - ApiKeyAuth: []
  27481. summary: 查询品类要素定义项
  27482. tags:
  27483. - 仓单贸易v2
  27484. /WrTrade2/QueryWrTradeBargainApply:
  27485. get:
  27486. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  27487. 议价->对方议价 填写matchuserid=登录用户id
  27488. parameters:
  27489. - description: 议价人id(摘牌方)
  27490. in: query
  27491. name: userid
  27492. type: integer
  27493. - description: 挂牌方id(查对方议价时,填写此项)
  27494. in: query
  27495. name: matchuserid
  27496. type: integer
  27497. - description: 关联委托单id
  27498. in: query
  27499. name: wrtradeorderid
  27500. type: integer
  27501. - description: 0:仓单预售 1:仓单贸易
  27502. in: query
  27503. name: haswr
  27504. required: true
  27505. type: integer
  27506. - description: 开始交易日(yyyymmdd)
  27507. in: query
  27508. name: begindate
  27509. type: string
  27510. - description: 结束交易日(yyyymmdd)
  27511. in: query
  27512. name: enddate
  27513. type: string
  27514. produces:
  27515. - application/json
  27516. responses:
  27517. "200":
  27518. description: OK
  27519. schema:
  27520. items:
  27521. $ref: '#/definitions/models.WRTradeBargainApply'
  27522. type: array
  27523. "500":
  27524. description: Internal Server Error
  27525. schema:
  27526. $ref: '#/definitions/app.Response'
  27527. security:
  27528. - ApiKeyAuth: []
  27529. summary: 查询议价单
  27530. tags:
  27531. - 仓单贸易v2
  27532. /WrTrade2/QueryWrTradeDetail:
  27533. get:
  27534. parameters:
  27535. - description: 页码
  27536. in: query
  27537. name: page
  27538. type: integer
  27539. - description: 每页条数
  27540. in: query
  27541. name: pagesize
  27542. type: integer
  27543. - description: 用户id
  27544. in: query
  27545. name: userid
  27546. required: true
  27547. type: integer
  27548. - description: 仓单贸易市场id
  27549. in: query
  27550. name: marketid
  27551. type: integer
  27552. - description: 0:仓单预售 1:仓单贸易
  27553. in: query
  27554. name: haswr
  27555. required: true
  27556. type: integer
  27557. - description: 开始交易日(yyyymmdd)
  27558. in: query
  27559. name: begindate
  27560. type: string
  27561. - description: 结束交易日(yyyymmdd)
  27562. in: query
  27563. name: enddate
  27564. type: string
  27565. produces:
  27566. - application/json
  27567. responses:
  27568. "200":
  27569. description: OK
  27570. schema:
  27571. items:
  27572. $ref: '#/definitions/models.WrTradeDetail'
  27573. type: array
  27574. "500":
  27575. description: Internal Server Error
  27576. schema:
  27577. $ref: '#/definitions/app.Response'
  27578. security:
  27579. - ApiKeyAuth: []
  27580. summary: 查询仓单成交明细
  27581. tags:
  27582. - 仓单贸易v2
  27583. /WrTrade2/QueryWrTradeOrderDetail:
  27584. get:
  27585. parameters:
  27586. - description: 页码
  27587. in: query
  27588. name: page
  27589. type: integer
  27590. - description: 每页条数
  27591. in: query
  27592. name: pagesize
  27593. type: integer
  27594. - description: 商品id
  27595. in: query
  27596. name: goodsid
  27597. required: true
  27598. type: integer
  27599. - description: 买卖方向 0-买 1-卖
  27600. in: query
  27601. name: buyorsell
  27602. required: true
  27603. type: integer
  27604. produces:
  27605. - application/json
  27606. responses:
  27607. "200":
  27608. description: OK
  27609. schema:
  27610. items:
  27611. $ref: '#/definitions/models.WrTradeOrderDetail'
  27612. type: array
  27613. "500":
  27614. description: Internal Server Error
  27615. schema:
  27616. $ref: '#/definitions/app.Response'
  27617. security:
  27618. - ApiKeyAuth: []
  27619. summary: 查询合约交易买卖大厅
  27620. tags:
  27621. - 仓单贸易v2
  27622. /WrTrade2/QueryWrTradeQuote:
  27623. get:
  27624. parameters:
  27625. - description: 现货商品id
  27626. in: query
  27627. name: wrstandardid
  27628. required: true
  27629. type: integer
  27630. - description: 开始日期(yyyymmdd)
  27631. in: query
  27632. name: begindate
  27633. required: true
  27634. type: string
  27635. - description: 结束日期(yyyymmdd)
  27636. in: query
  27637. name: enddate
  27638. required: true
  27639. type: string
  27640. - description: 市场id
  27641. in: query
  27642. name: marketid
  27643. type: integer
  27644. produces:
  27645. - application/json
  27646. responses:
  27647. "200":
  27648. description: OK
  27649. schema:
  27650. items:
  27651. $ref: '#/definitions/models.Wrtradetradequote'
  27652. type: array
  27653. "500":
  27654. description: Internal Server Error
  27655. schema:
  27656. $ref: '#/definitions/app.Response'
  27657. security:
  27658. - ApiKeyAuth: []
  27659. summary: 查询仓单贸易成交行情
  27660. tags:
  27661. - 仓单贸易v2
  27662. /WrTrade2/QueryWrUserFriend:
  27663. get:
  27664. parameters:
  27665. - description: 用户id
  27666. in: query
  27667. name: userid
  27668. required: true
  27669. type: integer
  27670. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27671. in: query
  27672. name: newuserid
  27673. type: integer
  27674. produces:
  27675. - application/json
  27676. responses:
  27677. "200":
  27678. description: OK
  27679. schema:
  27680. items:
  27681. $ref: '#/definitions/models.WrUserFriend'
  27682. type: array
  27683. "500":
  27684. description: Internal Server Error
  27685. schema:
  27686. $ref: '#/definitions/app.Response'
  27687. security:
  27688. - ApiKeyAuth: []
  27689. summary: 查询我的朋友
  27690. tags:
  27691. - 仓单贸易v2
  27692. /WrTrade2/QueryWrUserReceiptInfo:
  27693. get:
  27694. parameters:
  27695. - description: 用户id
  27696. in: query
  27697. name: userid
  27698. type: integer
  27699. - description: 发票类型 - 1:个人 2:企业
  27700. in: query
  27701. name: receipttype
  27702. type: integer
  27703. produces:
  27704. - application/json
  27705. responses:
  27706. "200":
  27707. description: OK
  27708. schema:
  27709. items:
  27710. $ref: '#/definitions/models.WrUserReceiptInfo'
  27711. type: array
  27712. "500":
  27713. description: Internal Server Error
  27714. schema:
  27715. $ref: '#/definitions/app.Response'
  27716. security:
  27717. - ApiKeyAuth: []
  27718. summary: 查询发票信息
  27719. tags:
  27720. - 仓单贸易v2
  27721. /WrTrade2/QueryXhcpSellBackApply:
  27722. get:
  27723. parameters:
  27724. - description: 用户ID
  27725. in: query
  27726. name: userid
  27727. required: true
  27728. type: integer
  27729. produces:
  27730. - application/json
  27731. responses:
  27732. "200":
  27733. description: OK
  27734. schema:
  27735. items:
  27736. $ref: '#/definitions/models.Xhcpsellbackapply'
  27737. type: array
  27738. "500":
  27739. description: Internal Server Error
  27740. schema:
  27741. $ref: '#/definitions/app.Response'
  27742. security:
  27743. - ApiKeyAuth: []
  27744. summary: 查询我的回收申请(新会陈皮)
  27745. tags:
  27746. - 仓单贸易v2
  27747. /ZJ/GetBankTip:
  27748. get:
  27749. produces:
  27750. - application/json
  27751. responses:
  27752. "200":
  27753. description: OK
  27754. schema:
  27755. type: string
  27756. "500":
  27757. description: Internal Server Error
  27758. schema:
  27759. $ref: '#/definitions/app.Response'
  27760. summary: 获取中江网银端出入金提示信息
  27761. tags:
  27762. - 中江
  27763. /ZJ/GetCusBankChannels:
  27764. get:
  27765. produces:
  27766. - application/json
  27767. responses:
  27768. "200":
  27769. description: OK
  27770. schema:
  27771. items:
  27772. type: string
  27773. type: array
  27774. "500":
  27775. description: Internal Server Error
  27776. schema:
  27777. $ref: '#/definitions/app.Response'
  27778. summary: 获取中江出入金渠道显示列表
  27779. tags:
  27780. - 中江
  27781. securityDefinitions:
  27782. ApiKeyAuth:
  27783. in: header
  27784. name: Authorization
  27785. type: apiKey
  27786. Group:
  27787. in: header
  27788. name: Group
  27789. type: apiKey
  27790. LoginID:
  27791. in: header
  27792. name: LoginID
  27793. type: apiKey
  27794. swagger: "2.0"