swagger.yaml 913 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857
  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. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BuyOrder:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. buyusername:
  3842. description: 买方
  3843. type: string
  3844. marketid:
  3845. description: 市场ID
  3846. type: integer
  3847. origin:
  3848. description: 原产地
  3849. type: string
  3850. remark:
  3851. description: 备注
  3852. type: string
  3853. userid:
  3854. description: 用户ID
  3855. type: integer
  3856. warehouseids:
  3857. description: 仓库ID - 多个, 逗号分隔
  3858. type: string
  3859. warehouseinfosdisplay:
  3860. type: string
  3861. wrtradeorderid:
  3862. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3863. type: integer
  3864. zscategory:
  3865. description: 钻石分类 - 枚举”ZSCategory“
  3866. type: integer
  3867. zscategorydisplay:
  3868. type: string
  3869. zsclaritytype:
  3870. description: 净度 - 两个, 逗号分隔
  3871. type: string
  3872. zsclaritytypedisplay:
  3873. type: string
  3874. zscolortype:
  3875. description: 颜色 - 两个, 逗号分隔
  3876. type: string
  3877. zscolortypedisplay:
  3878. type: string
  3879. zscrystaltype:
  3880. description: 晶型 - 多个,逗号分隔
  3881. type: string
  3882. zscrystaltypedisplay:
  3883. type: string
  3884. zscurrencytype:
  3885. description: 货币类型 - 多个, 逗号分隔
  3886. type: string
  3887. zscurrencytypedisplay:
  3888. type: string
  3889. zscuttype:
  3890. description: 切工 - 两个, 逗号分隔
  3891. type: string
  3892. zscuttypedisplay:
  3893. type: string
  3894. zsczcolor1type:
  3895. description: 彩钻颜色1, 逗号分隔
  3896. type: string
  3897. zsczcolor1typedisplay:
  3898. type: string
  3899. zsczcolor2type:
  3900. description: 彩钻颜色2, 逗号分隔
  3901. type: string
  3902. zsczcolor2typedisplay:
  3903. type: string
  3904. zsczcolor3type:
  3905. description: 彩钻颜色3, 逗号分隔
  3906. type: string
  3907. zsczcolor3typedisplay:
  3908. type: string
  3909. zsfluorescencetype:
  3910. description: 荧光 - 多个, 逗号分隔
  3911. type: string
  3912. zsfluorescencetypedisplay:
  3913. type: string
  3914. zspolishtype:
  3915. description: 抛光度 - 两个, 逗号分隔
  3916. type: string
  3917. zspolishtypedisplay:
  3918. type: string
  3919. zsshapetype:
  3920. description: 形状 - 多个, 逗号分隔
  3921. type: string
  3922. zsshapetypedisplay:
  3923. type: string
  3924. zssize:
  3925. description: 尺寸 - 两个小数, 逗号分隔
  3926. type: string
  3927. zsstyletype:
  3928. description: 款式 - 多个, 逗号分隔
  3929. type: string
  3930. zsstyletypedisplay:
  3931. type: string
  3932. zssymmetrytype:
  3933. description: 对称度 - 两个, 逗号分隔
  3934. type: string
  3935. zssymmetrytypedisplay:
  3936. type: string
  3937. zstabledisplay:
  3938. description: 求购信息
  3939. type: string
  3940. type: object
  3941. models.Clientfixedadconfig:
  3942. properties:
  3943. adsort:
  3944. description: 排序
  3945. type: integer
  3946. adtype:
  3947. description: 广告位类型 - 1:新品抢购(HSBY)
  3948. type: integer
  3949. areauserid:
  3950. description: 所属机构ID
  3951. type: integer
  3952. createdate:
  3953. description: 创建时间
  3954. type: string
  3955. creatorid:
  3956. description: 创建人
  3957. type: integer
  3958. imagepath:
  3959. description: 图片
  3960. type: string
  3961. isshow:
  3962. description: 是否展示 - 0:不展示 1:展示
  3963. type: integer
  3964. modifierid:
  3965. description: 操作人
  3966. type: integer
  3967. recsize:
  3968. description: 推荐尺寸
  3969. type: string
  3970. title:
  3971. description: 标题
  3972. type: string
  3973. updatedate:
  3974. description: 更新时间
  3975. type: string
  3976. urlcontent:
  3977. description: 链接(地址或商品ID)
  3978. type: string
  3979. urltype:
  3980. description: 链接类型 - 1:直接地址 2:商品ID
  3981. type: integer
  3982. required:
  3983. - adsort
  3984. - adtype
  3985. type: object
  3986. models.DgFactoryItem:
  3987. properties:
  3988. dgfactoryitemid:
  3989. description: 选择项ID(SEQ_DGFACTORYITEM)
  3990. type: integer
  3991. dgfactoryitemtypeid:
  3992. description: 要素项类型
  3993. type: integer
  3994. dgfactoryitemvalue:
  3995. description: 要素项值(类型为仓库时填写仓库名称)
  3996. type: string
  3997. orderindex:
  3998. description: 顺序
  3999. type: integer
  4000. type: object
  4001. models.Division:
  4002. properties:
  4003. autoid:
  4004. description: 自增ID
  4005. type: integer
  4006. divisioncode:
  4007. description: 行政代码
  4008. type: string
  4009. divisionlevel:
  4010. description: 行政级别
  4011. type: string
  4012. divisionname:
  4013. description: 行政名称
  4014. type: string
  4015. modifierid:
  4016. description: 修改人
  4017. type: integer
  4018. modifytime:
  4019. description: 修改时间
  4020. type: string
  4021. parentcode:
  4022. description: 上级行政代码
  4023. type: string
  4024. pathname:
  4025. description: 路径名称
  4026. type: string
  4027. postcode:
  4028. description: 邮政编码
  4029. type: string
  4030. separablename:
  4031. description: 可拆分的全称
  4032. type: string
  4033. shortcode:
  4034. description: 地区简码
  4035. type: string
  4036. required:
  4037. - autoid
  4038. - divisioncode
  4039. type: object
  4040. models.Enumdicitem:
  4041. properties:
  4042. autoid:
  4043. description: 自增ID
  4044. type: integer
  4045. bankmappedvalue:
  4046. description: 银行服务对应值
  4047. type: string
  4048. enumdiccode:
  4049. description: 所属枚举代码
  4050. type: string
  4051. enumdicid:
  4052. description: 所属枚举ID
  4053. type: integer
  4054. enumdicname:
  4055. description: 枚举项名称
  4056. type: string
  4057. enumitemname:
  4058. description: 枚举项值
  4059. type: integer
  4060. enumitemstatus:
  4061. description: 枚举项状态 - 1.启用 2.不启用
  4062. type: integer
  4063. enumitemvalue:
  4064. description: 通用值 - [币种通用简写]
  4065. type: string
  4066. param1:
  4067. description: 参数1[币种:币种小数位]
  4068. type: string
  4069. param2:
  4070. description: 参数1[币种:币种显示单位]
  4071. type: string
  4072. remark:
  4073. description: 备注
  4074. type: string
  4075. required:
  4076. - autoid
  4077. - enumdiccode
  4078. - enumdicid
  4079. - enumitemname
  4080. type: object
  4081. models.Ermcp2AreaExposure:
  4082. properties:
  4083. areauserid:
  4084. description: 所属机构
  4085. type: integer
  4086. enumdicname:
  4087. description: 单位
  4088. type: string
  4089. futureqty:
  4090. description: 期货套期量
  4091. type: number
  4092. futureqtychange:
  4093. description: 期货变动量 = FutureQty - OriFutureQty
  4094. type: number
  4095. goodsunitid:
  4096. description: 单位ID
  4097. type: integer
  4098. hedgedspotexposure:
  4099. description: 被套期现货敞口量
  4100. type: number
  4101. hedgedspratio:
  4102. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4103. type: number
  4104. hedgedtotalexposourechange:
  4105. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4106. type: number
  4107. hedgedtotalexposure:
  4108. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4109. type: number
  4110. hedgeplanqty:
  4111. description: 套期计划量
  4112. type: number
  4113. hedgeplanqtychange:
  4114. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4115. type: number
  4116. hedgespotqty:
  4117. description: 被套期现货量
  4118. type: number
  4119. middlegoodsid:
  4120. description: 套保品种
  4121. type: integer
  4122. middlegoodsname:
  4123. description: 套保品种名称
  4124. type: string
  4125. orifutureqty:
  4126. description: 期初期货套期量
  4127. type: number
  4128. orihedgedspotexposure:
  4129. description: 期初被套期现货敞口量
  4130. type: number
  4131. orihedgedtotalexposure:
  4132. description: 期初套期敞口量
  4133. type: number
  4134. orihedgeplanqty:
  4135. description: 期初套期计划量
  4136. type: number
  4137. orihedgespotqty:
  4138. description: 期初被套期现货量
  4139. type: number
  4140. orispotexposure:
  4141. description: 期初现货敞口量
  4142. type: number
  4143. orispotqty:
  4144. description: 期初现货总量
  4145. type: number
  4146. oritotalexposure:
  4147. description: 期初总敞口量
  4148. type: number
  4149. spotexposure:
  4150. description: 现货敞口量
  4151. type: number
  4152. spotqty:
  4153. description: 现货总量
  4154. type: number
  4155. spotqtychange:
  4156. description: 现货变动量 = SpotQty - OriSpotQty
  4157. type: number
  4158. spratio:
  4159. description: 总期现比例 = 期货套期量/现货敞口量
  4160. type: number
  4161. totalexposure:
  4162. description: 总敞口量 = 现货敞口量 + 期货套期量
  4163. type: number
  4164. totalexposurechange:
  4165. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4166. type: number
  4167. updatetime:
  4168. description: 更新时间 --DATE
  4169. type: string
  4170. type: object
  4171. models.Ermcp2hedgeditem:
  4172. properties:
  4173. accountname:
  4174. description: 套期主体
  4175. type: string
  4176. applyid:
  4177. description: 申请人
  4178. type: integer
  4179. applysrc:
  4180. description: 申请来源 - 1:管理端 2:终端
  4181. type: integer
  4182. areauserid:
  4183. description: 企业ID
  4184. type: integer
  4185. auditid:
  4186. description: 审核人
  4187. type: integer
  4188. auditremark:
  4189. description: 审核备注
  4190. type: string
  4191. auditsrc:
  4192. description: 审核来源 - 1:管理端 2:终端
  4193. type: integer
  4194. audittime:
  4195. description: 审核时间
  4196. type: string
  4197. audittradedate:
  4198. description: 审核交易日(yyyyMMdd)
  4199. type: string
  4200. createtime:
  4201. description: 申请时间
  4202. type: string
  4203. curprice:
  4204. description: 当前市场价
  4205. type: number
  4206. curstock:
  4207. description: 期末库存量 = 采购总量 - 销售总量
  4208. type: number
  4209. deliverygoodsid:
  4210. description: 现货品种ID
  4211. type: integer
  4212. enddate:
  4213. description: 完成日期
  4214. type: string
  4215. endtradedate:
  4216. description: 完成交易日
  4217. type: string
  4218. enumdicname:
  4219. description: 单位
  4220. type: string
  4221. exeamount:
  4222. description: 执行市价总额
  4223. type: number
  4224. exeavgprice:
  4225. description: 执行市场均价= 执行市价总额 / 执行现货量
  4226. type: number
  4227. execontractamount:
  4228. description: 执行定价总额
  4229. type: number
  4230. exeqty:
  4231. description: 执行现货量
  4232. type: number
  4233. exerestamount:
  4234. description: 执行剩余市价总额【现货贸易】
  4235. type: number
  4236. futurefloatpl:
  4237. description: 期货浮动损益
  4238. type: number
  4239. futurehedgepl:
  4240. description: 期货实际损益
  4241. type: number
  4242. futurehedgeplchange:
  4243. description: 期货实际损益变动
  4244. type: number
  4245. futurepl:
  4246. description: 期货套期损益
  4247. type: number
  4248. futureplchange:
  4249. description: 期货套期损益变动
  4250. type: number
  4251. hedgeamount:
  4252. description: 套期市价总额
  4253. type: number
  4254. hedgecontractamount:
  4255. description: 套期定价总额 【定价采购合同】【现货贸易】
  4256. type: number
  4257. hedgeditemid:
  4258. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4259. type: string
  4260. hedgeditemname:
  4261. description: 项目名称
  4262. type: string
  4263. hedgeditemnum:
  4264. description: 项目编号
  4265. type: string
  4266. hedgeditemstatus:
  4267. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4268. type: integer
  4269. hedgedtype:
  4270. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4271. type: integer
  4272. hedgeqty:
  4273. description: 套期现货量
  4274. type: number
  4275. hedgerate:
  4276. description: 套保比率
  4277. type: number
  4278. hedgerestamount:
  4279. description: 套期剩余市价总额【现货贸易】
  4280. type: number
  4281. hedgesumpl:
  4282. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4283. type: number
  4284. middlegoodslist:
  4285. description: 套期商品列表
  4286. items:
  4287. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4288. type: array
  4289. oriavgprice:
  4290. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4291. type: number
  4292. orifuturehedgepl:
  4293. description: 期初期货实际损益
  4294. type: number
  4295. orifuturepl:
  4296. description: 期初期货套期损益
  4297. type: number
  4298. orispothedgepl:
  4299. description: 期初现货实际损益
  4300. type: number
  4301. orispotpl:
  4302. description: 期初现货套期损益
  4303. type: number
  4304. planenddate:
  4305. description: 计划结束日期
  4306. type: string
  4307. planstartdate:
  4308. description: 计划开始日期
  4309. type: string
  4310. remark:
  4311. description: 备注
  4312. type: string
  4313. spotbookamount:
  4314. description: 现货账面总额
  4315. type: number
  4316. spotfloatpl:
  4317. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4318. type: number
  4319. spothedgepl:
  4320. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4321. type: number
  4322. spothedgeplchange:
  4323. description: 现货实际损益变动
  4324. type: number
  4325. spotpl:
  4326. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4327. type: number
  4328. spotplchange:
  4329. description: 现货套期损益变动
  4330. type: number
  4331. spottradepl:
  4332. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4333. type: number
  4334. sumobspl:
  4335. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4336. type: number
  4337. tradeuserid:
  4338. description: 交易用户ID
  4339. type: integer
  4340. unexeqty:
  4341. description: 未执行现货量 = 套期现货量 - 执行现货量
  4342. type: number
  4343. updatetime:
  4344. description: 更新时间
  4345. type: string
  4346. vatpl:
  4347. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4348. type: number
  4349. vatrate:
  4350. description: 增值税
  4351. type: number
  4352. wrstandardid:
  4353. description: 现货商品ID
  4354. type: integer
  4355. wrstandardname:
  4356. description: 商品名称
  4357. type: string
  4358. type: object
  4359. models.Ermcp2hedgeditemlink:
  4360. properties:
  4361. areauserid:
  4362. description: 企业ID
  4363. type: integer
  4364. createtime:
  4365. description: '[关联时间]创建时间'
  4366. type: string
  4367. customeruserid:
  4368. description: 对手方 【3:采购合同 4:销售合同】
  4369. type: integer
  4370. deliverygoodsid:
  4371. description: 现货品种ID
  4372. type: integer
  4373. enumdicname:
  4374. description: 单位
  4375. type: string
  4376. hedgeditemid:
  4377. description: 被套期项目ID
  4378. type: integer
  4379. hedgeditemlinkid:
  4380. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4381. type: integer
  4382. hedgeditemnum:
  4383. description: 项目编号
  4384. type: string
  4385. hedgedtype:
  4386. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4387. type: integer
  4388. relatedamount:
  4389. description: 市价总额 = 关联数量 * 期初市场价
  4390. type: number
  4391. relatedhedgeplanid:
  4392. description: 关联计划ID 【1:采购计划 2:销售计划】
  4393. type: integer
  4394. relatedqty:
  4395. description: 关联数量
  4396. type: number
  4397. relatedspotcontractid:
  4398. description: 关联合同ID 【3:采购合同 4:销售合同】
  4399. type: integer
  4400. relatedtype:
  4401. description: 关联类型 - 1:套期关联 2:执行关联
  4402. type: integer
  4403. spotgoodsbrandid:
  4404. description: 现货品牌ID
  4405. type: integer
  4406. spotpricedamount:
  4407. description: '[关联定价总额]定价总额'
  4408. type: number
  4409. spotpricedavgprice:
  4410. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4411. type: number
  4412. spottype:
  4413. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4414. type: integer
  4415. tradeuserid:
  4416. description: 交易用户ID
  4417. type: integer
  4418. unexeqty:
  4419. description: 未执行现货量【项目关联时值】
  4420. type: number
  4421. wrstandardid:
  4422. description: 现货商品ID
  4423. type: integer
  4424. wrstandardname:
  4425. description: 现货商品
  4426. type: string
  4427. required:
  4428. - relatedspotcontractid
  4429. type: object
  4430. models.Ermcp2hedgeditemsDetail:
  4431. properties:
  4432. accountname:
  4433. description: 套期主体
  4434. type: string
  4435. areauserid:
  4436. description: 企业ID
  4437. type: integer
  4438. createtime:
  4439. description: '[日期时间]创建时间'
  4440. type: string
  4441. customeruserid:
  4442. description: 对手方 【3:采购合同 4:销售合同】
  4443. type: integer
  4444. deliverygoodsid:
  4445. description: 现货品种ID
  4446. type: integer
  4447. enumdicname:
  4448. description: 单位
  4449. type: string
  4450. hedgeditemid:
  4451. description: 被套期项目ID
  4452. type: string
  4453. hedgeditemspotid:
  4454. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4455. type: string
  4456. hedgedtype:
  4457. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4458. type: integer
  4459. hedgeplanno:
  4460. description: 计划编号
  4461. type: string
  4462. middlegoodschange:
  4463. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4464. type: number
  4465. oriavgprice:
  4466. description: 期初市场价[当初市场价]
  4467. type: number
  4468. relatedamount:
  4469. description: 市价总额 = 关联数量 * 期初市场价
  4470. type: number
  4471. relatedhedgeplanid:
  4472. description: 关联计划ID 【1:采购计划 2:销售计划】
  4473. type: integer
  4474. relatedqty:
  4475. description: '[期间变化量]关联数量'
  4476. type: number
  4477. relatedspotcontractid:
  4478. description: 关联合同ID 【3:采购合同 4:销售合同】
  4479. type: integer
  4480. relatedtype:
  4481. description: 关联类型 - 1:套期关联 2:执行关联
  4482. type: integer
  4483. spotgoodsbrandid:
  4484. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4485. type: integer
  4486. spotpricedamount:
  4487. description: 定价总额
  4488. type: number
  4489. spotpricedavgprice:
  4490. description: 现货均价 = 定价总额 / 关联数量
  4491. type: number
  4492. spottype:
  4493. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4494. type: integer
  4495. tradeuserid:
  4496. description: 交易用户ID
  4497. type: integer
  4498. unexeqty:
  4499. description: 未执行现货量 = 套期现货量 - 执行现货量
  4500. type: number
  4501. wrstandardid:
  4502. description: 现货商品ID
  4503. type: integer
  4504. wrstandardname:
  4505. description: 现货商品
  4506. type: string
  4507. type: object
  4508. models.Ermcp2hedgeditemspot:
  4509. properties:
  4510. areauserid:
  4511. description: 企业ID
  4512. type: integer
  4513. createtime:
  4514. description: 创建时间
  4515. type: string
  4516. customeruserid:
  4517. description: 对手方 【3:采购合同 4:销售合同】
  4518. type: integer
  4519. deliverygoodsid:
  4520. description: 现货品种ID
  4521. type: integer
  4522. enumdicname:
  4523. description: 单位
  4524. type: string
  4525. hedgeditemid:
  4526. description: 被套期项目ID
  4527. type: string
  4528. hedgeditemspotid:
  4529. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4530. type: string
  4531. hedgedtype:
  4532. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4533. type: integer
  4534. hedgeplanno:
  4535. description: 计划编号
  4536. type: string
  4537. oriavgprice:
  4538. description: 期初市场价[当初市场价]
  4539. type: number
  4540. relatedamount:
  4541. description: 市价总额 = 关联数量 * 期初市场价
  4542. type: number
  4543. relatedhedgeplanid:
  4544. description: 关联计划ID 【1:采购计划 2:销售计划】
  4545. type: integer
  4546. relatedqty:
  4547. description: 关联数量[数量]
  4548. type: number
  4549. relatedspotcontractid:
  4550. description: 关联合同ID 【3:采购合同 4:销售合同】
  4551. type: integer
  4552. relatedtype:
  4553. description: 关联类型 - 1:套期关联 2:执行关联
  4554. type: integer
  4555. spotgoodsbrandid:
  4556. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4557. type: integer
  4558. spotpricedamount:
  4559. description: 定价总额
  4560. type: number
  4561. spotpricedavgprice:
  4562. description: 现货均价 = 定价总额 / 关联数量
  4563. type: number
  4564. spottype:
  4565. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4566. type: integer
  4567. tradeuserid:
  4568. description: 交易用户ID
  4569. type: integer
  4570. wrstandardid:
  4571. description: 现货商品ID
  4572. type: integer
  4573. wrstandardname:
  4574. description: 现货商品
  4575. type: string
  4576. required:
  4577. - hedgeditemid
  4578. type: object
  4579. models.Ermcp2hedgeditemspotDetail:
  4580. properties:
  4581. accountname:
  4582. description: 对手方
  4583. type: string
  4584. areauserid:
  4585. description: 企业ID
  4586. type: integer
  4587. brandname:
  4588. description: 品牌
  4589. type: string
  4590. contractno:
  4591. description: 合同编号
  4592. type: string
  4593. createtime:
  4594. description: 创建时间
  4595. type: string
  4596. customeruserid:
  4597. description: 对手方 【3:采购合同 4:销售合同】
  4598. type: integer
  4599. deliverygoodsid:
  4600. description: 现货品种ID
  4601. type: integer
  4602. enumdicname:
  4603. description: 单位
  4604. type: string
  4605. hedgeditemid:
  4606. description: 被套期项目ID
  4607. type: string
  4608. hedgeditemspotid:
  4609. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4610. type: string
  4611. hedgedtype:
  4612. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4613. type: integer
  4614. oriavgprice:
  4615. description: 期初市场价[当初市场价]
  4616. type: number
  4617. relatedamount:
  4618. description: 市价总额 = 关联数量 * 期初市场价
  4619. type: number
  4620. relatedhedgeplanid:
  4621. description: 关联计划ID 【1:采购计划 2:销售计划】
  4622. type: integer
  4623. relatedqty:
  4624. description: 关联数量[数量]
  4625. type: number
  4626. relatedspotcontractid:
  4627. description: 关联合同ID 【3:采购合同 4:销售合同】
  4628. type: integer
  4629. relatedtype:
  4630. description: 关联类型 - 1:套期关联 2:执行关联
  4631. type: integer
  4632. spotgoodsbrandid:
  4633. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4634. type: integer
  4635. spotpricedamount:
  4636. description: 定价总额[金额]
  4637. type: number
  4638. spotpricedavgprice:
  4639. description: 现货均价 = 定价总额 / 关联数量
  4640. type: number
  4641. spottype:
  4642. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4643. type: integer
  4644. tradeuserid:
  4645. description: 交易用户ID
  4646. type: integer
  4647. wrstandardid:
  4648. description: 现货商品ID
  4649. type: integer
  4650. wrstandardname:
  4651. description: 现货商品
  4652. type: string
  4653. required:
  4654. - hedgeditemid
  4655. type: object
  4656. models.Ermcp2himiddlegoods:
  4657. properties:
  4658. futurehedgeqty:
  4659. description: 期货持仓套期量
  4660. type: number
  4661. hedgeditemid:
  4662. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4663. type: integer
  4664. hiexpsoure:
  4665. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4666. type: number
  4667. middlegoodscode:
  4668. description: 套保商品代码
  4669. type: string
  4670. middlegoodsid:
  4671. description: 套保品种ID
  4672. type: integer
  4673. middlegoodsname:
  4674. description: 套保商品名称
  4675. type: string
  4676. unexehedgeqty:
  4677. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4678. type: number
  4679. required:
  4680. - hedgeditemid
  4681. - middlegoodsid
  4682. type: object
  4683. models.Ermcp2stockspotchangelog:
  4684. properties:
  4685. accountname:
  4686. description: 套期主体
  4687. type: string
  4688. aftervalue:
  4689. description: 现货量
  4690. type: number
  4691. beforevalue:
  4692. description: 变更前现货量
  4693. type: number
  4694. contractno:
  4695. description: '[编号]现货合同编号'
  4696. type: string
  4697. contracttype:
  4698. description: 现货合同类型 - 1:采购 -1:销售
  4699. type: integer
  4700. createtime:
  4701. description: 创建时间
  4702. type: string
  4703. customerusername:
  4704. description: 对手方
  4705. type: string
  4706. deliverygoodsid:
  4707. description: 现货品种ID
  4708. type: integer
  4709. exetype:
  4710. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4711. type: integer
  4712. logid:
  4713. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4714. type: string
  4715. logvalue:
  4716. description: '[期间变化量]现货量变更值'
  4717. type: number
  4718. middlegoodschange:
  4719. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4720. type: number
  4721. operatelogtype:
  4722. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4723. 27:生产出库
  4724. type: integer
  4725. relatedid:
  4726. description: 现货合同ID
  4727. type: integer
  4728. spotgoodsbrandid:
  4729. description: 现货品牌ID
  4730. type: integer
  4731. tradedate:
  4732. description: 交易日(yyyyMMdd)
  4733. type: string
  4734. userid:
  4735. description: 机构ID
  4736. type: integer
  4737. warehouseinfoid:
  4738. description: 仓库ID
  4739. type: integer
  4740. wrfactortypeid:
  4741. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4742. type: integer
  4743. wrstandardid:
  4744. description: 现货商品ID
  4745. type: integer
  4746. wrstandardname:
  4747. description: 商品名称
  4748. type: string
  4749. type: object
  4750. models.Ermcp3AreaSpot:
  4751. properties:
  4752. areauserid:
  4753. description: 所属机构
  4754. type: integer
  4755. convertratio:
  4756. description: 套保系数
  4757. type: number
  4758. decreaseqty:
  4759. description: 减少数量=-(销售已定价数量+采购计划数量)
  4760. type: number
  4761. enumdicname:
  4762. description: 单位名称
  4763. type: string
  4764. increaseqty:
  4765. description: 增加数量=销售计划数量+采购已定价数量
  4766. type: number
  4767. oritoalspotqty:
  4768. description: 昨日数量
  4769. type: number
  4770. totalspotqty:
  4771. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4772. type: number
  4773. unitid:
  4774. description: 现货商品单位id
  4775. type: integer
  4776. updatetime:
  4777. description: 更新时间
  4778. type: string
  4779. wrstandardcode:
  4780. description: 现货商品代码
  4781. type: string
  4782. wrstandardid:
  4783. description: 现货商品ID(SEQ_WRSTANDARD)
  4784. type: integer
  4785. wrstandardname:
  4786. description: 现货商品名称
  4787. type: string
  4788. type: object
  4789. models.Ermcp3AreaSpotDetail:
  4790. properties:
  4791. contracttype:
  4792. description: 合同类型 1-采购 -1-销售
  4793. type: integer
  4794. createtime:
  4795. description: 创建时间
  4796. type: string
  4797. enumdicname:
  4798. description: 现货商品单位名称
  4799. type: string
  4800. logtype:
  4801. description: 记录类型 1-套保 2-现货合同
  4802. type: integer
  4803. qty:
  4804. description: 数量
  4805. type: number
  4806. recordname:
  4807. description: 类型名称
  4808. type: string
  4809. relatedid:
  4810. description: 套保计划ID/现货合同ID
  4811. type: string
  4812. relatedno:
  4813. description: 编号
  4814. type: string
  4815. strtime:
  4816. description: 时间
  4817. type: string
  4818. wrstandardcode:
  4819. description: 现货商品代码
  4820. type: string
  4821. wrstandardid:
  4822. description: 现货商品ID(SEQ_WRSTANDARD)
  4823. type: integer
  4824. wrstandardname:
  4825. description: 现货商品名称
  4826. type: string
  4827. type: object
  4828. models.Ermcp3AreaSpotPLReport:
  4829. properties:
  4830. accountid:
  4831. description: 期货账户ID (作废, 默认为0)
  4832. type: integer
  4833. accountname:
  4834. description: 机构名称
  4835. type: string
  4836. actualpl:
  4837. description: 现货损益
  4838. type: number
  4839. areauserid:
  4840. description: 所属机构\交易用户ID
  4841. type: integer
  4842. begindate:
  4843. description: 开始交易日
  4844. type: string
  4845. biztype:
  4846. description: 业务类型 - 1:套保 2:套利
  4847. type: integer
  4848. brandname:
  4849. description: 品牌名称
  4850. type: string
  4851. curamount:
  4852. description: 期末额
  4853. type: number
  4854. curaverageprice:
  4855. description: 期初均价
  4856. type: number
  4857. curbuyamount:
  4858. description: 期末采购总额
  4859. type: number
  4860. curbuyqty:
  4861. description: 期末采购总量
  4862. type: number
  4863. curmarketvalue:
  4864. description: 期初均价
  4865. type: number
  4866. curqty:
  4867. description: 期末量
  4868. type: number
  4869. currencyid:
  4870. description: 结算币种ID【原值】
  4871. type: integer
  4872. currencyname:
  4873. description: 币种名称
  4874. type: string
  4875. cursellamount:
  4876. description: 期末销售总额
  4877. type: number
  4878. cursellqty:
  4879. description: 期末销售总量
  4880. type: number
  4881. curspotprice:
  4882. description: 期初均价
  4883. type: number
  4884. cycletime:
  4885. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4886. type: string
  4887. cycletype:
  4888. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4889. type: integer
  4890. deliverygoodscode:
  4891. description: 现货品种代码
  4892. type: string
  4893. deliverygoodsid:
  4894. description: 现货品种ID
  4895. type: integer
  4896. deliverygoodsname:
  4897. description: 现货品种名称
  4898. type: string
  4899. enddate:
  4900. description: 结束交易日
  4901. type: string
  4902. enumdicname:
  4903. description: 现货品种单位名称(作废)
  4904. type: string
  4905. floatpl:
  4906. description: 期初均价
  4907. type: number
  4908. goodsunitid:
  4909. description: 现货品种单位id(作废)
  4910. type: integer
  4911. oriamount:
  4912. description: 期初额
  4913. type: number
  4914. oriaverageprice:
  4915. description: 期初均价
  4916. type: number
  4917. oribuyamount:
  4918. description: 期初采购总额
  4919. type: number
  4920. oribuyqty:
  4921. description: 期初采购总量
  4922. type: number
  4923. oriqty:
  4924. description: 期初量
  4925. type: number
  4926. orisellamount:
  4927. description: 期初销售总额
  4928. type: number
  4929. orisellqty:
  4930. description: 期初销售总量
  4931. type: number
  4932. reckondate:
  4933. description: 日照时期(yyyyMMdd)
  4934. type: string
  4935. spotgoodsbrandid:
  4936. description: 现货品牌ID
  4937. type: integer
  4938. todaybuyamount:
  4939. description: 今日采购额(今采购额)
  4940. type: number
  4941. todaybuyaverageprice:
  4942. description: 期初均价
  4943. type: number
  4944. todaybuyqty:
  4945. description: 今日采购量(今采购量)
  4946. type: number
  4947. todayinqty:
  4948. description: 今日入库量(今入库量)
  4949. type: number
  4950. todayoutqty:
  4951. description: 今日出库量(今出库量)
  4952. type: number
  4953. todaysellamount:
  4954. description: 今日销售额(今销售额)
  4955. type: number
  4956. todaysellaverageprice:
  4957. description: 期初均价
  4958. type: number
  4959. todaysellqty:
  4960. description: 今日销售量(今销售量)
  4961. type: number
  4962. unitid:
  4963. description: 品类单位id
  4964. type: integer
  4965. unitidname:
  4966. description: 品类单位名称
  4967. type: string
  4968. updatetime:
  4969. description: 更新时间
  4970. type: string
  4971. wrfactortypeid:
  4972. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4973. type: integer
  4974. wrstandardcode:
  4975. description: 现货商品(品类)代码
  4976. type: string
  4977. wrstandardid:
  4978. description: 现货品类ID
  4979. type: integer
  4980. wrstandardname:
  4981. description: 现货商品(品类)名称
  4982. type: string
  4983. type: object
  4984. models.Ermcp3AreaStock:
  4985. properties:
  4986. brandname:
  4987. description: 品牌名称
  4988. type: string
  4989. curstock:
  4990. description: 期末库存量(今日量)
  4991. type: number
  4992. deliverygoodscode:
  4993. description: 现货品种代码
  4994. type: string
  4995. deliverygoodsid:
  4996. description: 现货品种id
  4997. type: integer
  4998. deliverygoodsname:
  4999. description: 现货品种名称
  5000. type: string
  5001. enumdicname:
  5002. description: 单位名称
  5003. type: string
  5004. goodsunitid:
  5005. description: 现货商品单位id
  5006. type: integer
  5007. oristock:
  5008. description: 期初库存量(昨日量)
  5009. type: number
  5010. spotgoodsbrandid:
  5011. description: 现货品牌ID
  5012. type: integer
  5013. todaybuyinqty:
  5014. description: 今日采购入库量
  5015. type: number
  5016. todayproduceinqty:
  5017. description: 今日生产入库量
  5018. type: number
  5019. todayproduceoutqty:
  5020. description: 今日生产出库量
  5021. type: number
  5022. todayselloutqty:
  5023. description: 今日销售出库量
  5024. type: number
  5025. unitid:
  5026. description: 单位id
  5027. type: integer
  5028. updatetime:
  5029. description: 更新时间
  5030. type: string
  5031. userid:
  5032. description: 机构ID
  5033. type: integer
  5034. username:
  5035. description: 机构名称
  5036. type: string
  5037. warehousecode:
  5038. description: 仓库代码
  5039. type: string
  5040. warehouseinfoid:
  5041. description: 仓库ID
  5042. type: string
  5043. warehousename:
  5044. description: 仓库名称
  5045. type: string
  5046. warehousetype:
  5047. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5048. type: integer
  5049. wrstandardcode:
  5050. description: 品类代码
  5051. type: string
  5052. wrstandardid:
  5053. description: 品类ID
  5054. type: string
  5055. wrstandardname:
  5056. description: 品类名称
  5057. type: string
  5058. required:
  5059. - userid
  5060. type: object
  5061. models.Ermcp3AreaStockApply:
  5062. properties:
  5063. applyid:
  5064. description: 申请人
  5065. type: integer
  5066. applyname:
  5067. description: 申请人名称
  5068. type: string
  5069. applyremark:
  5070. description: 申请备注
  5071. type: string
  5072. applysrc:
  5073. description: 申请来源 - 1:管理端 2:终端
  5074. type: integer
  5075. applystatus:
  5076. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5077. type: integer
  5078. applytime:
  5079. description: 申请时间
  5080. type: string
  5081. auditid:
  5082. description: 审核人
  5083. type: integer
  5084. auditname:
  5085. description: 审核人名称
  5086. type: string
  5087. auditremark:
  5088. description: 审核备注
  5089. type: string
  5090. auditsrc:
  5091. description: 审核来源 - 1:管理端 2:终端
  5092. type: integer
  5093. audittime:
  5094. description: 审核时间
  5095. type: string
  5096. audittradedate:
  5097. description: 审核交易日(yyyyMMdd)
  5098. type: string
  5099. brandname:
  5100. description: 品牌名称
  5101. type: string
  5102. buynickname:
  5103. description: 采购方昵称
  5104. type: string
  5105. buyuserid:
  5106. description: 采购方userid
  5107. type: integer
  5108. buyusername:
  5109. description: 采购方名称
  5110. type: string
  5111. contractno:
  5112. description: 合同编号
  5113. type: string
  5114. contractqty:
  5115. description: 合同量
  5116. type: number
  5117. contracttype:
  5118. description: 现货合同类型 - 1:采购 -1:销售
  5119. type: integer
  5120. deliverygoodscode:
  5121. description: 现货品种代码
  5122. type: string
  5123. deliverygoodsid:
  5124. description: 现货品种id
  5125. type: integer
  5126. deliverygoodsname:
  5127. description: 现货品种名称
  5128. type: string
  5129. detailjson:
  5130. description: 明细数据
  5131. type: string
  5132. enumdicname:
  5133. description: 现货商品单位名称
  5134. type: string
  5135. inoutapplyid:
  5136. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5137. type: string
  5138. inouttype:
  5139. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5140. type: integer
  5141. pricetype:
  5142. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5143. type: integer
  5144. qty:
  5145. description: 数量
  5146. type: number
  5147. sellnickname:
  5148. description: 销售方昵称
  5149. type: string
  5150. selluserid:
  5151. description: 销售方userid
  5152. type: integer
  5153. sellusername:
  5154. description: 销售方名称
  5155. type: string
  5156. spotcontractid:
  5157. description: 关联现货合同ID
  5158. type: string
  5159. spotgoodsbrandid:
  5160. description: 现货品牌ID
  5161. type: integer
  5162. unitid:
  5163. description: 单位id
  5164. type: integer
  5165. userid:
  5166. description: 机构ID
  5167. type: integer
  5168. warehousecode:
  5169. description: 仓库代码
  5170. type: string
  5171. warehouseinfoid:
  5172. description: 现货仓库ID
  5173. type: string
  5174. warehousename:
  5175. description: 仓库名称
  5176. type: string
  5177. warehousetype:
  5178. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5179. type: integer
  5180. wrstandardcode:
  5181. description: 品类代码
  5182. type: string
  5183. wrstandardid:
  5184. description: 品类ID
  5185. type: integer
  5186. wrstandardname:
  5187. description: 品类名称
  5188. type: string
  5189. type: object
  5190. models.Ermcp3AreaStockApplySum:
  5191. properties:
  5192. brandname:
  5193. description: 品牌名称
  5194. type: string
  5195. inouttype:
  5196. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5197. type: integer
  5198. spotcontractid:
  5199. description: 关联现货合同ID
  5200. type: string
  5201. spotgoodsbrandid:
  5202. description: 品牌id
  5203. type: integer
  5204. totalqty:
  5205. description: 总数量
  5206. type: number
  5207. wrstandardid:
  5208. description: 品类id
  5209. type: integer
  5210. wrstandardname:
  5211. description: 品类名称
  5212. type: string
  5213. type: object
  5214. models.Ermcp3AreaStockReportEx:
  5215. properties:
  5216. begindate:
  5217. description: 开始交易日
  5218. type: string
  5219. brandname:
  5220. description: 品牌名称
  5221. type: string
  5222. curstock:
  5223. description: 期末库存量
  5224. type: number
  5225. cycletime:
  5226. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5227. type: string
  5228. cycletype:
  5229. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5230. type: integer
  5231. deliverygoodscode:
  5232. description: 现货品种代码
  5233. type: string
  5234. deliverygoodsid:
  5235. description: 现货品种id
  5236. type: integer
  5237. deliverygoodsname:
  5238. description: 现货品种名称
  5239. type: string
  5240. diffqty:
  5241. description: 库存变化量 = 期末 - 期初
  5242. type: number
  5243. enddate:
  5244. description: 结束交易日
  5245. type: string
  5246. enumdicname:
  5247. description: 单位名称
  5248. type: string
  5249. goodsunitid:
  5250. description: 现货单位id
  5251. type: integer
  5252. oristock:
  5253. description: 期初库存量
  5254. type: number
  5255. reckondate:
  5256. description: 日照时期(yyyyMMdd)
  5257. type: string
  5258. spotgoodsbrandid:
  5259. description: 现货品牌ID
  5260. type: integer
  5261. todaybuyinqty:
  5262. description: 今采购入库量
  5263. type: number
  5264. todayproduceinqty:
  5265. description: 今内部入库量
  5266. type: number
  5267. todayproduceoutqty:
  5268. description: 今内部出库量
  5269. type: number
  5270. todayselloutqty:
  5271. description: 今销售出库量
  5272. type: number
  5273. unbuyinqty:
  5274. description: 采购未入库量(数据库未找到相关字段?)
  5275. type: number
  5276. unitid:
  5277. description: 品类单位id
  5278. type: integer
  5279. unselloutqty:
  5280. description: 销售未出库量(数据库未找到相关字段?)
  5281. type: number
  5282. updatetime:
  5283. description: 更新时间
  5284. type: string
  5285. userid:
  5286. description: 机构ID
  5287. type: integer
  5288. username:
  5289. description: 机构名称
  5290. type: string
  5291. warehousecode:
  5292. description: 仓库代码
  5293. type: string
  5294. warehouseinfoid:
  5295. description: 仓库ID
  5296. type: string
  5297. warehousename:
  5298. description: 仓库名称
  5299. type: string
  5300. warehousetype:
  5301. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5302. type: integer
  5303. wrstandardcode:
  5304. description: 品类代码
  5305. type: string
  5306. wrstandardid:
  5307. description: 品类ID
  5308. type: integer
  5309. wrstandardname:
  5310. description: 品类名称
  5311. type: string
  5312. type: object
  5313. models.Ermcp3ArealSumPL:
  5314. properties:
  5315. accountname:
  5316. description: 机构名称
  5317. type: string
  5318. areauserid:
  5319. description: 所属机构\交易用户ID
  5320. type: integer
  5321. begindate:
  5322. description: 开始交易日
  5323. type: string
  5324. currencyid:
  5325. description: 结算币种ID
  5326. type: integer
  5327. currencyname:
  5328. description: 币种名称
  5329. type: string
  5330. cycletime:
  5331. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5332. type: string
  5333. cycletype:
  5334. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5335. type: integer
  5336. enddate:
  5337. description: 结束交易日
  5338. type: string
  5339. enumdicname:
  5340. description: 单位名称(套保品种)
  5341. type: string
  5342. futureactualpl:
  5343. description: 期货损益
  5344. type: number
  5345. futurefloatpl:
  5346. description: 期货浮动损益
  5347. type: number
  5348. futurespotratio:
  5349. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5350. type: number
  5351. goodsunitid:
  5352. description: 套保品种单位id
  5353. type: integer
  5354. hedgeexposurepl:
  5355. description: 套保敞口损益
  5356. type: number
  5357. middlegoodscode:
  5358. description: 套保品种代码
  5359. type: string
  5360. middlegoodsid:
  5361. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5362. type: integer
  5363. middlegoodsname:
  5364. description: 套保品种名称
  5365. type: string
  5366. reckondate:
  5367. description: 日照时期(yyyyMMdd)
  5368. type: string
  5369. spotactualpl:
  5370. description: 现货损益
  5371. type: number
  5372. spotfloatpl:
  5373. description: 现货浮动损益
  5374. type: number
  5375. sumactualpl:
  5376. description: 实际损益 = (ActualPL + FutureActualPL)
  5377. type: number
  5378. sumpl:
  5379. description: 总敞口损益 | 汇总损益
  5380. type: number
  5381. totalfutureqty:
  5382. description: 期货头寸总量
  5383. type: number
  5384. totalneedhedgeqty:
  5385. description: 应套保总量
  5386. type: number
  5387. totalspotqty:
  5388. description: 现货头寸总量
  5389. type: number
  5390. updatetime:
  5391. description: 更新时间
  5392. type: string
  5393. type: object
  5394. models.Ermcp3Brand:
  5395. properties:
  5396. areauserid:
  5397. description: 用户id
  5398. type: integer
  5399. brandid:
  5400. description: 品牌id
  5401. type: integer
  5402. brandname:
  5403. description: 品牌名称
  5404. type: string
  5405. deliverygoodsid:
  5406. description: 品种ID
  5407. type: integer
  5408. isvalid:
  5409. description: 是否有效
  5410. type: integer
  5411. type: object
  5412. models.Ermcp3Contract:
  5413. properties:
  5414. accountid:
  5415. description: 期货账户id
  5416. type: string
  5417. amount:
  5418. description: 金额 [1:一口价、3:暂定价]
  5419. type: number
  5420. attachment:
  5421. description: 附件
  5422. type: string
  5423. auditremark:
  5424. description: 审核意见
  5425. type: string
  5426. audittime:
  5427. description: 审核时间
  5428. type: string
  5429. biztype:
  5430. description: 业务类型 1-套保 2-套利
  5431. type: integer
  5432. brandname:
  5433. description: 品牌名称
  5434. type: string
  5435. buynickname:
  5436. description: 销售方昵称
  5437. type: string
  5438. buyuserid:
  5439. description: 采购方ID
  5440. type: integer
  5441. buyusername:
  5442. description: 采购方名称
  5443. type: string
  5444. contracctstatus:
  5445. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5446. type: integer
  5447. contractmargin:
  5448. description: 合同保证金
  5449. type: number
  5450. contractno:
  5451. description: 现货合同编号
  5452. type: string
  5453. contracttype:
  5454. description: 现货合同类型 - 1:采购 -1:销售
  5455. type: integer
  5456. convertfactor:
  5457. description: 标仓系数(品类)
  5458. type: number
  5459. createtime:
  5460. description: 创建时间
  5461. type: string
  5462. currencyid:
  5463. description: 币种id
  5464. type: integer
  5465. currencyname:
  5466. description: 币种名称
  5467. type: string
  5468. deliveryenddate:
  5469. description: 交收期(结束)
  5470. type: string
  5471. deliverygoodscode:
  5472. description: 现货品种代码
  5473. type: string
  5474. deliverygoodsid:
  5475. description: 现货品种ID
  5476. type: integer
  5477. deliverygoodsname:
  5478. description: 现货品种名称
  5479. type: string
  5480. deliverystartdate:
  5481. description: 交收期(开始)
  5482. type: string
  5483. enddate:
  5484. description: 点价结束日期 [2:点价 3:暂定价]
  5485. type: string
  5486. enumdicname:
  5487. description: 单位名称
  5488. type: string
  5489. goodscode:
  5490. description: 点价合约代码
  5491. type: string
  5492. goodsid:
  5493. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5494. type: integer
  5495. goodsname:
  5496. description: 点价商品名称
  5497. type: string
  5498. margin:
  5499. description: 当前保证金
  5500. type: number
  5501. meruserid:
  5502. description: 跟单员id
  5503. type: integer
  5504. meruserlogincode:
  5505. description: 跟单员登录代码
  5506. type: string
  5507. merusername:
  5508. description: 跟单员名称
  5509. type: string
  5510. pointdesc:
  5511. description: 点价备注
  5512. type: string
  5513. price:
  5514. description: 价格\暂定价 [1:一口价、3:暂定价]
  5515. type: number
  5516. pricemove:
  5517. description: 升贴水 [2:点价 3:暂定价]
  5518. type: number
  5519. pricetype:
  5520. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5521. type: integer
  5522. producttype:
  5523. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5524. type: integer
  5525. qty:
  5526. description: 数量
  5527. type: number
  5528. remark:
  5529. description: 备注
  5530. type: string
  5531. saleuserid:
  5532. description: 业务员id
  5533. type: integer
  5534. saleuserlogincode:
  5535. description: 业务员登录代码
  5536. type: string
  5537. saleusername:
  5538. description: 业务员名称
  5539. type: string
  5540. sellnickname:
  5541. description: 采购方昵称
  5542. type: string
  5543. selluserid:
  5544. description: 销售方ID
  5545. type: integer
  5546. sellusername:
  5547. description: 销售方名称
  5548. type: string
  5549. spotcontractid:
  5550. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5551. type: string
  5552. spotgoodsbrandid:
  5553. description: 现货品牌ID(DGFactoryItem表的ID)
  5554. type: integer
  5555. spotgoodsdesc:
  5556. description: 商品型号
  5557. type: string
  5558. startdate:
  5559. description: 点价开始日期 [2:点价 3:暂定价]
  5560. type: string
  5561. subjectid:
  5562. description: 交易主体ID
  5563. type: integer
  5564. subjectname:
  5565. description: 交易主体名称
  5566. type: string
  5567. tradeuserid:
  5568. description: 交易员id
  5569. type: integer
  5570. tradeuserlogincode:
  5571. description: 交易员登录代码
  5572. type: string
  5573. tradeusername:
  5574. description: 交易员名称
  5575. type: string
  5576. unitid:
  5577. description: 单位id(取品类上的单位id)
  5578. type: integer
  5579. updatetime:
  5580. description: 更新时间
  5581. type: string
  5582. userid:
  5583. description: 所属机构ID
  5584. type: integer
  5585. vatrate:
  5586. description: 增值税率
  5587. type: number
  5588. wrstandardcode:
  5589. description: 品类代码
  5590. type: string
  5591. wrstandardid:
  5592. description: 品类ID
  5593. type: integer
  5594. wrstandardname:
  5595. description: 品类名称
  5596. type: string
  5597. type: object
  5598. models.Ermcp3ContractMiddleGoodsCfg:
  5599. properties:
  5600. agreeunit:
  5601. description: 合约乘数
  5602. type: number
  5603. convertratio:
  5604. description: 期货品种系数
  5605. type: number
  5606. covertqty:
  5607. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5608. type: integer
  5609. middlegoodsid:
  5610. description: 套保品种ID
  5611. type: integer
  5612. middlegoodspricedqty3:
  5613. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5614. example: "0"
  5615. type: string
  5616. pendingpricedqty:
  5617. description: 待点价量
  5618. example: "0"
  5619. type: string
  5620. relatedmiddlegoodsqty:
  5621. description: 已关联量(套保品种-期货)
  5622. example: "0"
  5623. type: string
  5624. spotcontractid:
  5625. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5626. type: string
  5627. type: object
  5628. models.Ermcp3ExposureContractDetail:
  5629. properties:
  5630. biztype:
  5631. description: 业务类型 1-套保 2-套利
  5632. type: integer
  5633. brandname:
  5634. description: 品牌名称
  5635. type: string
  5636. buyuserid:
  5637. description: 采购方id
  5638. type: integer
  5639. buyusername:
  5640. description: 采购方名称
  5641. type: string
  5642. contractno:
  5643. description: 合同编号
  5644. type: string
  5645. contracttype:
  5646. description: 现货合同类型 - 1:采购 -1:销售
  5647. type: integer
  5648. convertfactor:
  5649. description: 标仓系数
  5650. type: number
  5651. convertratio:
  5652. description: 折算系数(套保品种)
  5653. type: number
  5654. curqty:
  5655. description: 今定价量
  5656. type: number
  5657. deliverygoodscode:
  5658. description: 现货品种代码
  5659. type: string
  5660. deliverygoodsid:
  5661. description: 现货品种id
  5662. type: integer
  5663. deliverygoodsname:
  5664. description: 现货品种名称
  5665. type: string
  5666. diffhedgeqty:
  5667. description: 套保变动量
  5668. type: number
  5669. diffneedhedgeqty:
  5670. description: 应套保变动量
  5671. type: number
  5672. diffqty:
  5673. description: 套保品种今变动量
  5674. type: number
  5675. enumdicname:
  5676. description: 单位名称
  5677. type: string
  5678. mgunitname:
  5679. description: 套保品种单位名称
  5680. type: string
  5681. middlegoodscode:
  5682. description: 套保品种代码
  5683. type: string
  5684. middlegoodsid:
  5685. description: 套保品种id
  5686. type: integer
  5687. middlegoodsname:
  5688. description: 套保品种名称
  5689. type: string
  5690. needarbitrageratio:
  5691. description: 应套利比例
  5692. type: number
  5693. needhedgeratio:
  5694. description: 应套保比例
  5695. type: number
  5696. pricedqty:
  5697. description: 已定价量
  5698. type: number
  5699. qty:
  5700. description: 合同量
  5701. type: number
  5702. reckondate:
  5703. description: 交易日(reckondate)
  5704. type: string
  5705. selluserid:
  5706. description: 销售方id
  5707. type: integer
  5708. sellusername:
  5709. description: 销售方名称
  5710. type: string
  5711. spotcontractid:
  5712. description: 合同id
  5713. type: string
  5714. todaypricedqty:
  5715. description: 今定价量
  5716. type: number
  5717. tradedate:
  5718. description: 交易日
  5719. type: string
  5720. unitid:
  5721. description: 品类单位id
  5722. type: integer
  5723. userid:
  5724. description: 机构id
  5725. type: integer
  5726. username:
  5727. description: 交易用户
  5728. type: string
  5729. wrstandardcode:
  5730. description: 现货商品代码
  5731. type: string
  5732. wrstandardid:
  5733. description: 现货商品id
  5734. type: integer
  5735. wrstandardname:
  5736. description: 现货商品名称
  5737. type: string
  5738. type: object
  5739. models.Ermcp3ExposureDetail:
  5740. properties:
  5741. areauserid:
  5742. description: 机构ID
  5743. type: integer
  5744. changeQty:
  5745. description: 套保变动量
  5746. type: number
  5747. contracttype:
  5748. description: 现货合同类型 - 1:采购 -1:销售
  5749. type: integer
  5750. convertfactor:
  5751. description: 标仓系数
  5752. type: number
  5753. convertratio:
  5754. description: 折算系数
  5755. type: number
  5756. createtime:
  5757. description: 时间
  5758. type: string
  5759. enumdicname:
  5760. description: 现货商品单位名称
  5761. type: string
  5762. logtype:
  5763. description: 类型 - 1:套保计划 2:现货合同
  5764. type: integer
  5765. mgunitid:
  5766. description: 套保品种单位id
  5767. type: integer
  5768. mgunitidname:
  5769. description: 套保品种单位名称
  5770. type: string
  5771. middlegoodsId:
  5772. description: 套保商品id
  5773. type: integer
  5774. middlegoodscode:
  5775. description: 套保商品代码
  5776. type: string
  5777. middlegoodsname:
  5778. description: 套保商品名称
  5779. type: string
  5780. qty:
  5781. description: 数量
  5782. type: number
  5783. relateNo:
  5784. description: 现货合同/套保计划编号
  5785. type: string
  5786. unitid:
  5787. description: 现货商品单位id
  5788. type: integer
  5789. wrstandardcode:
  5790. description: 现货商品代码
  5791. type: string
  5792. wrstandardid:
  5793. description: 现货商品ID(SEQ_WRSTANDARD)
  5794. type: integer
  5795. wrstandardname:
  5796. description: 现货商品名称
  5797. type: string
  5798. type: object
  5799. models.Ermcp3ExposureFutuDetail:
  5800. properties:
  5801. accountid:
  5802. description: 交易账户id
  5803. type: integer
  5804. accountname:
  5805. description: 交易账户
  5806. type: string
  5807. begindate:
  5808. description: 开始交易日
  5809. type: string
  5810. buyorsell:
  5811. description: 方向 0-买 1-卖
  5812. type: integer
  5813. diffmgqty:
  5814. description: 套保品种今变化量
  5815. type: number
  5816. diffneedqty:
  5817. description: 应套保总量变化量
  5818. type: number
  5819. difftradeqty:
  5820. description: 交易品种今变化量
  5821. type: number
  5822. enddate:
  5823. description: 结束交易日
  5824. type: string
  5825. enumdicname:
  5826. description: 单位名称
  5827. type: string
  5828. goodscode:
  5829. description: 商品代码
  5830. type: string
  5831. goodsid:
  5832. description: 商品id
  5833. type: integer
  5834. goodsname:
  5835. description: 商品名称
  5836. type: string
  5837. holdqty:
  5838. description: 期末持仓量
  5839. type: number
  5840. middlegoodscode:
  5841. description: 套保商品代码
  5842. type: string
  5843. middlegoodsid:
  5844. description: 套保商品id
  5845. type: integer
  5846. middlegoodsname:
  5847. description: 套保商品名称
  5848. type: string
  5849. oriholdqty:
  5850. description: 期初持仓量
  5851. type: number
  5852. reckondate:
  5853. description: 交易日(RECKONDATE)
  5854. type: string
  5855. todaycloseqty:
  5856. description: 今平仓量
  5857. type: number
  5858. todayopenqty:
  5859. description: 今开仓量
  5860. type: number
  5861. tradedate:
  5862. description: 交易日(RECKONDATE)
  5863. type: string
  5864. username:
  5865. description: 用户名称(交易用户)
  5866. type: string
  5867. type: object
  5868. models.Ermcp3ExposureHedgeplanDetail:
  5869. properties:
  5870. biztype:
  5871. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5872. type: integer
  5873. changqty:
  5874. description: 应套保总量变化量
  5875. type: number
  5876. contracttype:
  5877. description: 计划类型 - 1:采购 -1:销售
  5878. type: integer
  5879. convertratio:
  5880. description: 折算系数(套保品种)
  5881. type: number
  5882. deliverygoodscode:
  5883. description: 现货商品代码
  5884. type: string
  5885. deliverygoodsid:
  5886. description: 现货商品id
  5887. type: integer
  5888. deliverygoodsname:
  5889. description: 现货商吕名称
  5890. type: string
  5891. dgunitid:
  5892. description: 现货商品单位id
  5893. type: integer
  5894. dgunitidname:
  5895. description: 单位名称(现货商品)
  5896. type: string
  5897. diffqty:
  5898. description: 套保品种今变动量
  5899. type: number
  5900. enumdicname:
  5901. description: 单位名称(品类)
  5902. type: string
  5903. hedgeplanid:
  5904. description: 套保计划id
  5905. type: string
  5906. hedgeplanno:
  5907. description: 套保计划名称
  5908. type: string
  5909. hedgeplanstatus:
  5910. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5911. type: integer
  5912. mgunitidname:
  5913. description: 单位名称(套保商品)
  5914. type: string
  5915. middlegoodscode:
  5916. description: 套保品种代码
  5917. type: string
  5918. middlegoodsid:
  5919. description: 套保品种id
  5920. type: integer
  5921. middlegoodsname:
  5922. description: 套保品种名称
  5923. type: string
  5924. needarbitrageratio:
  5925. description: 应套利比例
  5926. type: number
  5927. needhedgeratio:
  5928. description: 应套保比例
  5929. type: number
  5930. pricedqty:
  5931. description: 已定价量
  5932. type: number
  5933. qty:
  5934. description: 合同量
  5935. type: number
  5936. reckondate:
  5937. description: 交易日(reckondate)
  5938. type: string
  5939. tradedate:
  5940. description: 交易日(登记日)
  5941. type: string
  5942. unitid:
  5943. description: 品类单位id
  5944. type: integer
  5945. userid:
  5946. description: 机构id
  5947. type: integer
  5948. wrstandardcode:
  5949. description: 品类代码
  5950. type: string
  5951. wrstandardid:
  5952. description: 品类id
  5953. type: integer
  5954. wrstandardname:
  5955. description: 品类名称
  5956. type: string
  5957. type: object
  5958. models.Ermcp3ExposureParamChLog:
  5959. properties:
  5960. accountid:
  5961. description: 期货账户ID (作废, 默认为0)
  5962. type: integer
  5963. aftervalue:
  5964. description: 应套保\套利量变更后(调整后应套保总量)
  5965. type: number
  5966. areauserid:
  5967. description: 所属机构\交易用户ID
  5968. type: integer
  5969. beforevalue:
  5970. description: 应套保\套利量变更前(调整前应套保总量)
  5971. type: number
  5972. begindate:
  5973. description: 开始交易日
  5974. type: string
  5975. changelogtype:
  5976. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5977. type: integer
  5978. curvalue:
  5979. description: 当前套保\套利量(套保总量|套利总量)
  5980. type: number
  5981. diffvalue:
  5982. description: 应套保总量变化量
  5983. type: number
  5984. enddate:
  5985. description: 结束交易日
  5986. type: string
  5987. logdatetime:
  5988. description: 流水日期
  5989. type: string
  5990. logid:
  5991. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5992. type: string
  5993. middlegoodscode:
  5994. description: 套保品种代码
  5995. type: string
  5996. middlegoodsid:
  5997. description: 套保品种
  5998. type: integer
  5999. middlegoodsname:
  6000. description: 套保品种名称
  6001. type: string
  6002. paramaftervalue:
  6003. description: 参数变更后(调整后参数值)
  6004. type: number
  6005. parambeforevalue:
  6006. description: 参数变更前(调整前参数值)
  6007. type: number
  6008. reckondate:
  6009. description: 交易日(reckondate)
  6010. type: string
  6011. tradedate:
  6012. description: 交易日(yyyyMMdd)
  6013. type: string
  6014. type: object
  6015. models.Ermcp3ExpourseReport:
  6016. properties:
  6017. accountid:
  6018. description: 期货账户ID (作废, 默认为0)
  6019. type: integer
  6020. accountname:
  6021. description: 机构名称
  6022. type: string
  6023. arbitrageqty:
  6024. description: 套利量
  6025. type: number
  6026. areauserid:
  6027. description: 所属机构\交易用户ID
  6028. type: integer
  6029. begindate:
  6030. description: 开始交易日
  6031. type: string
  6032. buyfutureqty:
  6033. description: 买入期货数量
  6034. type: number
  6035. buyplanqty:
  6036. description: 采购计划数量
  6037. type: number
  6038. buypricedqty:
  6039. description: 采购合同已定价数量
  6040. type: number
  6041. cycletime:
  6042. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6043. type: string
  6044. cycletype:
  6045. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6046. type: integer
  6047. diffexposure:
  6048. description: 变动量(套保敞口)
  6049. type: number
  6050. difffutuqty:
  6051. description: 变动量(期货)
  6052. type: number
  6053. diffhedgeqty:
  6054. description: 变动量(现货应套保总量)
  6055. type: number
  6056. diffmgqtya:
  6057. description: 套保变动量
  6058. type: number
  6059. diffmgqtyb:
  6060. description: 套利变动量
  6061. type: number
  6062. diffneedqty:
  6063. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6064. type: number
  6065. diffqty:
  6066. description: 变动量(总敞口)
  6067. type: number
  6068. diffspotqty:
  6069. description: 变动量(现货) | 除税变动量
  6070. type: number
  6071. enddate:
  6072. description: 结束交易日
  6073. type: string
  6074. enumdicname:
  6075. description: 单位名称
  6076. type: string
  6077. hedgeqty:
  6078. description: 套保量
  6079. type: number
  6080. mgneedhedgeratio:
  6081. description: 套保比例(套保品的)
  6082. type: number
  6083. middlegoodsid:
  6084. description: 套保品种ID
  6085. type: integer
  6086. middlegoodsname:
  6087. description: 套保商品名称
  6088. type: string
  6089. middlgoodscode:
  6090. description: 套保商品代码
  6091. type: string
  6092. needarbitrageqty:
  6093. description: 应套利量
  6094. type: number
  6095. needarbitrageratio:
  6096. description: 套利比例(套保品的)
  6097. type: number
  6098. needhedgeexposoure:
  6099. description: 应套保敞口(套保敞口)
  6100. type: number
  6101. needhedgeqty:
  6102. description: 应套保量
  6103. type: number
  6104. needhedgeratio:
  6105. description: 应套保敞口比例
  6106. type: number
  6107. needqty:
  6108. description: 应套总量 = 应套保量 + 应套利量
  6109. type: number
  6110. oriarbitrageqty:
  6111. description: 期初套利量
  6112. type: number
  6113. oribuyfutureqty:
  6114. description: 期初买入期货数量
  6115. type: number
  6116. oribuyplanqty:
  6117. description: 期初采购计划数量
  6118. type: number
  6119. oribuypricedqty:
  6120. description: 期初采购合同已定价数量
  6121. type: number
  6122. orihedgeqty:
  6123. description: 期初套保量
  6124. type: number
  6125. orineedarbitrageqty:
  6126. description: 期初应套利量
  6127. type: number
  6128. orineedhedgeexposoure:
  6129. description: 期初应套保敞口
  6130. type: number
  6131. orineedhedgeqty:
  6132. description: 期初应套保量
  6133. type: number
  6134. orisellfutureqty:
  6135. description: 期初卖出期货数量
  6136. type: number
  6137. orisellplanqty:
  6138. description: 期初销售计划数量
  6139. type: number
  6140. orisellpricedqty:
  6141. description: 期初销售合同已定价数量
  6142. type: number
  6143. oritotalexposure:
  6144. description: 期初实时总敞口
  6145. type: number
  6146. oritotalfutureqty:
  6147. description: 期初期货头寸总量
  6148. type: number
  6149. oritotalneedhedgeqty:
  6150. description: 期初应套保总量
  6151. type: number
  6152. oritotalspotqty:
  6153. description: 期初现货头寸总量
  6154. type: number
  6155. reckondate:
  6156. description: 日照时期(yyyyMMdd)
  6157. type: string
  6158. sellfutureqty:
  6159. description: 卖出期货数量
  6160. type: number
  6161. sellplanqty:
  6162. description: 销售计划数量
  6163. type: number
  6164. sellpricedqty:
  6165. description: 销售合同已定价数量
  6166. type: number
  6167. totalexposure:
  6168. description: 实时总敞口(总敞口)
  6169. type: number
  6170. totalfutureqty:
  6171. description: 期货头寸总量(期货总量)
  6172. type: number
  6173. totalhedgeratio:
  6174. description: 敞口比例
  6175. type: number
  6176. totalneedhedgeqty:
  6177. description: 应套保总量(现货应套保总量)
  6178. type: number
  6179. totalspotqty:
  6180. description: 现货头寸总量 | 除税总量
  6181. type: number
  6182. unitid:
  6183. description: 单位id
  6184. type: integer
  6185. updatetime:
  6186. description: 更新时间
  6187. type: string
  6188. type: object
  6189. models.Ermcp3FinanceReport:
  6190. properties:
  6191. accountname:
  6192. description: 机构名称
  6193. type: string
  6194. areauserid:
  6195. description: 所属机构\交易用户ID
  6196. type: integer
  6197. begindate:
  6198. description: 开始交易日
  6199. type: string
  6200. biztype:
  6201. description: 业务类型 - 1:套保 2:套利
  6202. type: integer
  6203. brandname:
  6204. description: 品牌名称
  6205. type: string
  6206. buypreinvoicedamount:
  6207. description: 采购预收票额(预收票额)
  6208. type: number
  6209. buyprepaidamount:
  6210. description: 采购预付款额(预付货款额)
  6211. type: number
  6212. buytodayinvoiceamount:
  6213. description: 采购今收票额(今收票额)
  6214. type: number
  6215. buytodayrefundamount:
  6216. description: 采购今收退款额(今收退款额)
  6217. type: number
  6218. buytodaysettleamount:
  6219. description: 采购今付款额(今付货款额)
  6220. type: number
  6221. buyuninvoicedamount:
  6222. description: 采购应收票额(应收票额)
  6223. type: number
  6224. buyunpaidamount:
  6225. description: 采购应付款额(应付货款额)
  6226. type: number
  6227. currencyid:
  6228. description: 结算币种ID
  6229. type: integer
  6230. currencyname:
  6231. description: 币种名称
  6232. type: string
  6233. cycletime:
  6234. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6235. type: string
  6236. cycletype:
  6237. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6238. type: integer
  6239. deliverygoodscode:
  6240. description: 现货品种代码
  6241. type: string
  6242. deliverygoodsid:
  6243. description: 现货品种ID
  6244. type: integer
  6245. deliverygoodsname:
  6246. description: 现货品种名称
  6247. type: string
  6248. enddate:
  6249. description: 结束交易日
  6250. type: string
  6251. reckondate:
  6252. description: 日照时期(yyyyMMdd)
  6253. type: string
  6254. sellpreinvoicedamount:
  6255. description: 销售预开票额(预开票额)
  6256. type: number
  6257. sellprepaidamount:
  6258. description: 销售预收款额(预收货款额)
  6259. type: number
  6260. selltodayinvoiceamount:
  6261. description: 销售今开票额(今开票额)
  6262. type: number
  6263. selltodayrefundamount:
  6264. description: 销售今付退款额(今付退款额)
  6265. type: number
  6266. selltodaysettleamount:
  6267. description: 销售今收款额(今收货款额)
  6268. type: number
  6269. selluninvoicedamount:
  6270. description: 销售应开票额(应开票额)
  6271. type: number
  6272. sellunpaidamount:
  6273. description: 销售应收款额(应收货款额)
  6274. type: number
  6275. spotgoodsbrandid:
  6276. description: 现货品牌ID
  6277. type: integer
  6278. todaypaysum:
  6279. description: 今付款合计
  6280. type: number
  6281. todayreceivesum:
  6282. description: 今收款合计
  6283. type: number
  6284. updatetime:
  6285. description: 更新时间
  6286. type: string
  6287. wrfactortypeid:
  6288. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6289. type: integer
  6290. wrstandardcode:
  6291. description: 品类代码
  6292. type: string
  6293. wrstandardid:
  6294. description: 现货商品ID
  6295. type: integer
  6296. wrstandardname:
  6297. description: 品类名称
  6298. type: string
  6299. type: object
  6300. models.Ermcp3GoodsGroup:
  6301. properties:
  6302. agreeunit:
  6303. description: 合约单位
  6304. type: number
  6305. areauserid:
  6306. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6307. type: integer
  6308. canshort:
  6309. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6310. type: integer
  6311. closepricemode:
  6312. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6313. type: integer
  6314. createtime:
  6315. description: 创建时间
  6316. type: string
  6317. creatorid:
  6318. description: 创建人
  6319. type: integer
  6320. currencyid:
  6321. description: 报价货币ID
  6322. type: integer
  6323. decimalplace:
  6324. description: 报价小数位
  6325. type: integer
  6326. enumdicname:
  6327. description: 单位名称
  6328. type: string
  6329. exchangefullname:
  6330. description: 交易所全称
  6331. type: string
  6332. excludecfg:
  6333. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6334. type: integer
  6335. exexchangecode:
  6336. description: 交易所代码
  6337. type: string
  6338. exexchangeid:
  6339. description: 外部交易所ID[通道交易]
  6340. type: integer
  6341. exexchangename:
  6342. description: 交易所名称
  6343. type: string
  6344. goodsgroupid:
  6345. description: 商品组ID(自增ID)
  6346. type: integer
  6347. goodsgroupname:
  6348. description: 商品组名称
  6349. type: string
  6350. goodsgroupstatus:
  6351. description: 商品组状态 - 1:正常 2:注销
  6352. type: integer
  6353. goodunitid:
  6354. description: 报价单位ID
  6355. type: integer
  6356. groupcategroyid:
  6357. description: 品种分类ID
  6358. type: integer
  6359. innerdealmode:
  6360. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6361. type: integer
  6362. marketid:
  6363. description: 所属市场ID
  6364. type: integer
  6365. modifierid:
  6366. description: 修改人
  6367. type: integer
  6368. modifytime:
  6369. description: 修改时间
  6370. type: string
  6371. outerdealmode:
  6372. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6373. type: integer
  6374. outergroupcode:
  6375. description: 外部商品组代码[通道交易]
  6376. type: string
  6377. quoteminunit:
  6378. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6379. type: integer
  6380. quotesourcegroupid:
  6381. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6382. type: integer
  6383. syncgoodsqty:
  6384. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6385. type: integer
  6386. required:
  6387. - areauserid
  6388. type: object
  6389. models.Ermcp3HPMiddleGoods:
  6390. properties:
  6391. biztype:
  6392. description: 业务类型 1:套保 2:套利
  6393. type: integer
  6394. contracttype:
  6395. description: 合同类型 1:采购 -1:销售
  6396. type: integer
  6397. convertratio:
  6398. description: 折算系数
  6399. type: number
  6400. customername:
  6401. description: 对手手名称
  6402. type: string
  6403. customeruserid:
  6404. description: 对手id
  6405. type: integer
  6406. enumdicname:
  6407. description: 现货单位名称
  6408. type: string
  6409. hedgeplanid:
  6410. description: 计划id
  6411. type: string
  6412. hedgeplanno:
  6413. description: 计划编号
  6414. type: string
  6415. middlegoodsid:
  6416. description: 套保品种ID
  6417. type: integer
  6418. middlegoodsplanqty3:
  6419. description: 应套保计划量
  6420. type: number
  6421. needhedgeratio:
  6422. description: 套保比例
  6423. type: number
  6424. pricedqty:
  6425. description: 已定价量
  6426. type: number
  6427. relatedmiddlegoodsqty:
  6428. description: 已关联量(套保品种)(期货)
  6429. type: number
  6430. unitid:
  6431. description: 现货单位id
  6432. type: integer
  6433. userid:
  6434. description: 用户id
  6435. type: integer
  6436. vatrate:
  6437. description: 增值税率
  6438. type: number
  6439. wrstandardcode:
  6440. description: 现货商品代码
  6441. type: string
  6442. wrstandardid:
  6443. description: 现货商品id
  6444. type: integer
  6445. wrstandardname:
  6446. description: 现货商品名称
  6447. type: string
  6448. type: object
  6449. models.Ermcp3HedgePlan:
  6450. properties:
  6451. accountid:
  6452. description: 资金账号
  6453. type: integer
  6454. areauserid:
  6455. description: 用户ID
  6456. type: integer
  6457. auditid:
  6458. description: 审核id
  6459. type: integer
  6460. auditname:
  6461. description: 审核人名称
  6462. type: string
  6463. auditremark:
  6464. description: 审核备注
  6465. type: string
  6466. auditsrc:
  6467. description: 审核来源 1-管理端 2-终端
  6468. type: integer
  6469. audittime:
  6470. description: 审核时间
  6471. type: string
  6472. contracttype:
  6473. description: 计划类型 - 1:采购 -1:销售
  6474. type: integer
  6475. convertfactor:
  6476. description: 标仓系数
  6477. type: number
  6478. createtime:
  6479. description: 创建时间
  6480. type: string
  6481. currencyid:
  6482. description: 币种id
  6483. type: integer
  6484. currencyname:
  6485. description: 币种名称
  6486. type: string
  6487. deliverygoodscode:
  6488. description: 现货品种代码
  6489. type: string
  6490. deliverygoodsid:
  6491. description: 现货品种ID
  6492. type: integer
  6493. deliverygoodsname:
  6494. description: 现货品种名称
  6495. type: string
  6496. enumdicname:
  6497. description: 单位名称(现货商品)
  6498. type: string
  6499. hedgeplanid:
  6500. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6501. type: string
  6502. hedgeplanno:
  6503. description: 套保计划编号(名称)
  6504. type: string
  6505. hedgeplanstatus:
  6506. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6507. type: integer
  6508. planqty:
  6509. description: 计划数量
  6510. type: number
  6511. plantime:
  6512. description: 计划时间
  6513. type: string
  6514. producttype:
  6515. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6516. type: integer
  6517. remark:
  6518. description: 备注
  6519. type: string
  6520. spotgoodsdesc:
  6521. description: 商品型号
  6522. type: string
  6523. taaccountname:
  6524. description: 资金账号名称
  6525. type: string
  6526. tradeuserid:
  6527. description: 交易用户id
  6528. type: integer
  6529. tradeusername:
  6530. description: 交易用户名称
  6531. type: string
  6532. unitid:
  6533. description: 单位id(现货商品)
  6534. type: integer
  6535. updatetime:
  6536. description: 更新时间
  6537. type: string
  6538. vatrate:
  6539. description: 增值税率
  6540. type: number
  6541. wrstandardcode:
  6542. description: 品类代码
  6543. type: string
  6544. wrstandardid:
  6545. description: 品类id
  6546. type: integer
  6547. wrstandardname:
  6548. description: 品类名称
  6549. type: string
  6550. wrunitid:
  6551. description: 品类单位id
  6552. type: integer
  6553. wrunitidame:
  6554. description: 品类单位名称
  6555. type: string
  6556. type: object
  6557. models.Ermcp3InnerTradeLink:
  6558. properties:
  6559. accountid:
  6560. description: 期货账号代码 | 资金账号ID
  6561. type: integer
  6562. buyorsell:
  6563. description: 方向 - 0:买 1:卖
  6564. type: integer
  6565. channelbuildtype:
  6566. description: 委托单据类型 0:无 1:建仓 2:平仓
  6567. type: integer
  6568. currencyid:
  6569. description: 币种id
  6570. type: integer
  6571. currencyname:
  6572. description: 结算币种 名称
  6573. type: string
  6574. goodscode:
  6575. description: 商品代码
  6576. type: string
  6577. goodsid:
  6578. description: 商品ID
  6579. type: integer
  6580. goodsname:
  6581. description: 商品名称
  6582. type: string
  6583. outtradeid:
  6584. description: 外部成交单号
  6585. type: string
  6586. taname:
  6587. description: 期货账户名称
  6588. type: string
  6589. tradeid:
  6590. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6591. type: string
  6592. tradeprice:
  6593. description: 成交价格
  6594. type: number
  6595. tradeqty:
  6596. description: 期货成交数量
  6597. type: integer
  6598. tradetime:
  6599. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6600. type: string
  6601. username:
  6602. description: 用户名称
  6603. type: string
  6604. type: object
  6605. models.Ermcp3OutTradeLink:
  6606. properties:
  6607. buyorsell:
  6608. description: 买卖方向 - 0:买 1:卖
  6609. type: integer
  6610. channelbuildtype:
  6611. description: 开平标志- 0:无 1:建仓 2:平仓
  6612. type: integer
  6613. currencyname:
  6614. description: 币种名称
  6615. type: string
  6616. exexchangecode:
  6617. description: 交易所代码
  6618. type: string
  6619. exexchangename:
  6620. description: 交易所名称
  6621. type: string
  6622. goodscode:
  6623. description: 合约代码
  6624. type: string
  6625. goodsid:
  6626. description: 合约id
  6627. type: integer
  6628. goodsname:
  6629. description: 合约名称
  6630. type: string
  6631. hasinnerorder:
  6632. description: 是否有内部单关联 - 0:无 1:有
  6633. type: integer
  6634. hedgeaccountcode:
  6635. description: 外部账号 | 对冲账号
  6636. type: string
  6637. outtradeid:
  6638. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6639. type: string
  6640. tradeprice:
  6641. description: 成交价格
  6642. type: number
  6643. tradeqty:
  6644. description: 成交数量
  6645. type: integer
  6646. tradetime:
  6647. description: 成交时间
  6648. type: string
  6649. type: object
  6650. models.Ermcp3PaAreaAuditCfg:
  6651. properties:
  6652. areauserid:
  6653. description: 用户ID
  6654. type: integer
  6655. buyinauditflag:
  6656. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6657. type: integer
  6658. costratioauditflag:
  6659. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6660. type: integer
  6661. customerauditflag:
  6662. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6663. type: integer
  6664. deliveryauditflag:
  6665. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6666. type: integer
  6667. invoiceauditflag:
  6668. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6669. type: integer
  6670. mgneedhedgeratioauditflag:
  6671. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6672. type: integer
  6673. moneyauditflag:
  6674. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6675. type: integer
  6676. operatorid:
  6677. description: 操作人
  6678. type: integer
  6679. operatorsrc:
  6680. description: 操作来源 - 1:管理端 2:终端
  6681. type: integer
  6682. pointpriceauditflag:
  6683. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6684. type: integer
  6685. produceinauditflag:
  6686. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6687. type: integer
  6688. produceoutauditflag:
  6689. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6690. type: integer
  6691. selloutauditflag:
  6692. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6693. type: integer
  6694. sgconvertratioauditflag:
  6695. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6696. type: integer
  6697. sgvtaratioauditflag:
  6698. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6699. type: integer
  6700. spotcontractauditflag:
  6701. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6702. type: integer
  6703. updatetime:
  6704. description: 更新时间
  6705. type: string
  6706. type: object
  6707. models.Ermcp3PaAreaSubject:
  6708. properties:
  6709. areauserid:
  6710. description: 所属机构
  6711. type: integer
  6712. canmodify:
  6713. description: 是否可修改 - 0:否 1:是
  6714. type: integer
  6715. createtime:
  6716. description: 创建时间
  6717. type: string
  6718. creatorid:
  6719. description: 创建人ID
  6720. type: string
  6721. creatorsrc:
  6722. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6723. type: integer
  6724. modifierid:
  6725. description: 修改人
  6726. type: string
  6727. modifiersrc:
  6728. description: 修改人来源 - 1:管理端 2:终端
  6729. type: integer
  6730. modifytime:
  6731. description: 修改时间
  6732. type: string
  6733. parentsubjectid:
  6734. description: 上级主体ID
  6735. type: string
  6736. remark:
  6737. description: 备注
  6738. type: string
  6739. subjectid:
  6740. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6741. type: integer
  6742. subjectname:
  6743. description: 主体名称
  6744. type: string
  6745. subjectstatus:
  6746. description: '主体状态 - 1:正常 2: 停用'
  6747. type: integer
  6748. subjecttype:
  6749. description: 主体类型 - 1:交易主体 2:业务部门
  6750. type: integer
  6751. type: object
  6752. models.Ermcp3PaTradeLink:
  6753. properties:
  6754. accountid:
  6755. description: 期货账户代码 | 账号ID
  6756. type: integer
  6757. agreeunit:
  6758. description: 合约乘数
  6759. type: number
  6760. buyorsell:
  6761. description: 方向 - 0:买 1:卖
  6762. type: integer
  6763. channelbuildtype:
  6764. description: 委托单据类型 0:无 1:建仓 2:平仓
  6765. type: integer
  6766. charge:
  6767. description: 手续费
  6768. type: number
  6769. closepl:
  6770. description: 平仓盈亏
  6771. type: number
  6772. closetype:
  6773. description: 平仓方式 - 0:无 1:平今 2:平昨
  6774. type: integer
  6775. convertratio:
  6776. description: 折算系数
  6777. type: number
  6778. enumdicname:
  6779. description: 单位名称
  6780. type: string
  6781. executeprice:
  6782. description: 执行价 [期权]
  6783. type: integer
  6784. goodscode:
  6785. description: 合约代码
  6786. type: string
  6787. goodsgroupid:
  6788. description: 对冲品种ID[期货合约商品组ID]
  6789. type: integer
  6790. goodsid:
  6791. description: 商品ID
  6792. type: integer
  6793. goodsname:
  6794. description: 合约名称
  6795. type: string
  6796. goodunitid:
  6797. description: 单位id
  6798. type: integer
  6799. hedgeflag:
  6800. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6801. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6802. type: integer
  6803. marketid:
  6804. description: 市场ID
  6805. type: integer
  6806. middlegoodsid:
  6807. description: 套保品种ID
  6808. type: integer
  6809. middlegoodsqty:
  6810. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6811. type: number
  6812. optioncode:
  6813. description: 期权代码 [期权]
  6814. type: string
  6815. ordertype:
  6816. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6817. type: integer
  6818. ordertypename:
  6819. description: 订单类型
  6820. type: string
  6821. parentaccountid:
  6822. description: 所属母账户
  6823. type: integer
  6824. premium:
  6825. description: 权利金 [期权]
  6826. type: number
  6827. relatedlot:
  6828. description: 已关联数量(已关联数量手) | db:关联手数
  6829. type: number
  6830. relatedouttradeid:
  6831. description: 关联外部成交单ID
  6832. type: string
  6833. relatedqty:
  6834. description: 关联数量
  6835. type: number
  6836. spotcontractid:
  6837. description: 现货合同ID [4:套期保值\10\11]
  6838. type: string
  6839. taname:
  6840. description: 期货账户名称
  6841. type: string
  6842. tradeamount:
  6843. description: 成交金额(账户)
  6844. type: number
  6845. tradedate:
  6846. description: 交易日(yyyyMMdd)
  6847. type: string
  6848. tradeid:
  6849. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6850. type: string
  6851. tradelot:
  6852. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6853. type: integer
  6854. tradeprice:
  6855. description: 成交价格
  6856. type: number
  6857. tradetime:
  6858. description: 时间 | db:成交时间
  6859. type: string
  6860. tradetype:
  6861. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6862. type: integer
  6863. userid:
  6864. description: 所属机构 - 所属母账户的UserID
  6865. type: string
  6866. username:
  6867. description: 用户名称
  6868. type: string
  6869. type: object
  6870. models.Ermcp3ParamChangeApp:
  6871. properties:
  6872. aftervalue:
  6873. description: 变更后
  6874. type: number
  6875. applicationid:
  6876. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6877. type: string
  6878. applyid:
  6879. description: 申请人
  6880. type: string
  6881. applyname:
  6882. description: 申请人名称(代码)
  6883. type: string
  6884. applyremark:
  6885. description: 申请备注
  6886. type: string
  6887. applysrc:
  6888. description: 申请来源 - 1:管理端 2:终端
  6889. type: integer
  6890. applystatus:
  6891. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6892. type: integer
  6893. applytime:
  6894. description: 申请时间
  6895. type: string
  6896. areauserid:
  6897. description: 所属机构用户ID
  6898. type: integer
  6899. auditid:
  6900. description: 审核人
  6901. type: string
  6902. auditname:
  6903. description: 审核人名称(代码)
  6904. type: string
  6905. auditremark:
  6906. description: 审核备注
  6907. type: string
  6908. auditsrc:
  6909. description: 审核来源 - 1:管理端 2:终端
  6910. type: integer
  6911. audittime:
  6912. description: 审核时间
  6913. type: string
  6914. audittradedate:
  6915. description: 审核交易日(yyyyMMdd)
  6916. type: string
  6917. beforevalue:
  6918. description: 变更前
  6919. type: number
  6920. deliverygoodscode:
  6921. description: 品种代码
  6922. type: string
  6923. deliverygoodsid:
  6924. description: 品种id
  6925. type: integer
  6926. deliverygoodsname:
  6927. description: 品种名称
  6928. type: string
  6929. middlegoodscode:
  6930. description: 套保品种代码
  6931. type: string
  6932. middlegoodsid:
  6933. description: 套保品种ID [ParamChangeType = 2,3,4]
  6934. type: integer
  6935. middlegoodsname:
  6936. description: 套保品种名称
  6937. type: string
  6938. operatetype:
  6939. description: 操作类型 - 1:新增 2:修改
  6940. type: integer
  6941. paramchangetype:
  6942. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6943. type: integer
  6944. wrstandardcode:
  6945. description: 现货商品代码
  6946. type: string
  6947. wrstandardid:
  6948. description: 现货商品ID [ParamChangeType = 1,2,3]
  6949. type: integer
  6950. wrstandardname:
  6951. description: 现货商品名称
  6952. type: string
  6953. type: object
  6954. models.Ermcp3RootUserAccount:
  6955. properties:
  6956. accountname:
  6957. description: 账户名称(机构名称)
  6958. type: string
  6959. accountstatus:
  6960. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6961. type: integer
  6962. applysrc:
  6963. description: 申请来源 - 1:管理端 2:终端
  6964. type: integer
  6965. auditremark:
  6966. description: 审核备注
  6967. type: string
  6968. auditsrc:
  6969. description: 审核来源 - 1:管理端 2:终端
  6970. type: integer
  6971. audittime:
  6972. description: 审核时间
  6973. type: string
  6974. audituserid:
  6975. description: 审核人
  6976. type: integer
  6977. broker:
  6978. description: 所属经纪人ID
  6979. type: integer
  6980. canceltime:
  6981. description: 销户时间
  6982. type: string
  6983. canceluserid:
  6984. description: 销户人
  6985. type: integer
  6986. canrecommend:
  6987. description: 是否可推荐 - 0:不可 1;可
  6988. type: integer
  6989. createtime:
  6990. description: 创建时间
  6991. type: string
  6992. creatorid:
  6993. description: 创建人
  6994. type: integer
  6995. hasauth:
  6996. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6997. type: integer
  6998. isanonymous:
  6999. description: 是否匿名下单 - 0:否 1:是
  7000. type: integer
  7001. maxinvestornum:
  7002. description: 最大用户数(经纪会员下投资者个数)
  7003. type: integer
  7004. memberuserid:
  7005. description: 所属会员ID
  7006. type: integer
  7007. modifierid:
  7008. description: 修改人
  7009. type: integer
  7010. modifyremark:
  7011. description: 变更备注
  7012. type: string
  7013. modifystatus:
  7014. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7015. type: integer
  7016. modifytime:
  7017. description: 修改时间
  7018. type: string
  7019. nickname:
  7020. description: 昵称
  7021. type: string
  7022. parenttopuser:
  7023. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7024. type: string
  7025. parentuserid:
  7026. description: 所属机构ID
  7027. type: integer
  7028. reckonaccountid:
  7029. description: 默认结算资金账号ID(机构分润使用) 作废
  7030. type: integer
  7031. refercount:
  7032. description: 推荐总人数
  7033. type: integer
  7034. refereeuserid:
  7035. description: 推荐人ID
  7036. type: integer
  7037. refernum:
  7038. description: 推荐码
  7039. type: string
  7040. rootuserid:
  7041. description: 根用户ID
  7042. type: integer
  7043. subaccountlevel:
  7044. description: 子账户层数
  7045. type: integer
  7046. subarealevelpath:
  7047. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7048. type: string
  7049. userid:
  7050. description: 用户ID
  7051. type: integer
  7052. usertype:
  7053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7054. type: integer
  7055. type: object
  7056. models.Ermcp3SCMiddleGoods:
  7057. properties:
  7058. biztype:
  7059. description: 业务类型 1:套保 2:套利
  7060. type: integer
  7061. contractno:
  7062. description: 合同编号
  7063. type: string
  7064. contracttype:
  7065. description: 合同类型 1:采购 -1:销售
  7066. type: integer
  7067. convertratio:
  7068. description: 折算系数
  7069. type: number
  7070. customername:
  7071. description: 对手手名称
  7072. type: string
  7073. customeruserid:
  7074. description: 对手id
  7075. type: integer
  7076. deliverygoodscode:
  7077. description: 现货品种代码
  7078. type: string
  7079. deliverygoodsid:
  7080. description: 现货品种ID
  7081. type: integer
  7082. deliverygoodsname:
  7083. description: 现货品种名称
  7084. type: string
  7085. enumdicname:
  7086. description: 现货单位名称
  7087. type: string
  7088. middlegoodsid:
  7089. description: 套保品种ID
  7090. type: integer
  7091. middlegoodspricedqty3:
  7092. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7093. type: number
  7094. needhedgeratio:
  7095. description: 套保比例
  7096. type: number
  7097. pricedqty:
  7098. description: 已定价量
  7099. type: number
  7100. relatedmiddlegoodsqty:
  7101. description: 已关联量(套保品种)(期货)
  7102. type: number
  7103. spotcontractid:
  7104. description: 合同编号
  7105. type: string
  7106. unitid:
  7107. description: 现货单位id
  7108. type: integer
  7109. userid:
  7110. description: 用户id
  7111. type: integer
  7112. vatrate:
  7113. description: 增值税率
  7114. type: number
  7115. wrstandardcode:
  7116. description: 现货商品代码
  7117. type: string
  7118. wrstandardid:
  7119. description: 现货商品id
  7120. type: integer
  7121. wrstandardname:
  7122. description: 现货商品名称
  7123. type: string
  7124. type: object
  7125. models.Ermcp3SCMiddleGoodsReport:
  7126. properties:
  7127. begindate:
  7128. description: 开始交易日
  7129. type: string
  7130. contractno:
  7131. description: 合同编号
  7132. type: string
  7133. contracttype:
  7134. description: 合同类型 1:采购 -1:销售
  7135. type: integer
  7136. convertratio:
  7137. description: 期初均价
  7138. type: number
  7139. cycletime:
  7140. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7141. type: string
  7142. cycletype:
  7143. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7144. type: integer
  7145. deliverygoodscode:
  7146. description: 品种代码
  7147. type: string
  7148. deliverygoodsid:
  7149. description: 现货品种ID
  7150. type: integer
  7151. deliverygoodsname:
  7152. description: 品种名称
  7153. type: string
  7154. diffprice:
  7155. description: 期初均价
  7156. type: number
  7157. diffqty:
  7158. description: 期初均价
  7159. type: number
  7160. enddate:
  7161. description: 结束交易日
  7162. type: string
  7163. hedgeplanqty:
  7164. description: 期初均价
  7165. type: number
  7166. matchname:
  7167. description: 交易对手方(个人:用户名称 企业:简称)
  7168. type: string
  7169. matchnickname:
  7170. description: 交易对手方昵称
  7171. type: string
  7172. middlegoodscode:
  7173. description: 套保品种代码
  7174. type: string
  7175. middlegoodsid:
  7176. description: 套保品种ID
  7177. type: integer
  7178. middlegoodsname:
  7179. description: 套保品种名称
  7180. type: string
  7181. middlegoodspricedqty:
  7182. description: 期初均价
  7183. type: number
  7184. middlegoodspricedqty2:
  7185. description: 期初均价
  7186. type: number
  7187. middlegoodspricedqty3:
  7188. description: 期初均价
  7189. type: number
  7190. needhedgeratio:
  7191. description: 期初均价
  7192. type: number
  7193. pricedamount:
  7194. description: 期初均价
  7195. type: number
  7196. pricedamount2:
  7197. description: 期初均价
  7198. type: number
  7199. pricedqty:
  7200. description: 期初均价
  7201. type: number
  7202. reckondate:
  7203. description: 日照时期(yyyyMMdd)
  7204. type: string
  7205. relatedmiddlegoodsamount:
  7206. description: 期初均价
  7207. type: number
  7208. relatedmiddlegoodsqty:
  7209. description: 期初均价
  7210. type: number
  7211. spotcontractid:
  7212. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7213. type: string
  7214. todayavgfutuprice:
  7215. description: 期初均价
  7216. type: number
  7217. todayavgprice:
  7218. description: 期初均价
  7219. type: number
  7220. todayavgprice2:
  7221. description: 期初均价
  7222. type: number
  7223. todaypricedamount:
  7224. description: 期初均价
  7225. type: number
  7226. todaypricedamount2:
  7227. description: 期初均价
  7228. type: number
  7229. todaypricedqty:
  7230. description: 期初均价
  7231. type: number
  7232. todayrelatedfutureqty:
  7233. description: 期初均价
  7234. type: number
  7235. todayrelatedmiddlegoodsamount:
  7236. description: 期初均价
  7237. type: number
  7238. todayrelatedmiddlegoodsqty:
  7239. description: 期初均价
  7240. type: number
  7241. updatetime:
  7242. description: 更新时间
  7243. type: string
  7244. userid:
  7245. description: 合同所属用户id
  7246. type: integer
  7247. vatrate:
  7248. description: 期初均价
  7249. type: number
  7250. wrstandardcode:
  7251. description: 商品(品类) 代码
  7252. type: string
  7253. wrstandardid:
  7254. description: 现货商品ID
  7255. type: integer
  7256. wrstandardname:
  7257. description: 商品(品类) 名称
  7258. type: string
  7259. type: object
  7260. models.Ermcp3SellBuyContract:
  7261. properties:
  7262. accountid:
  7263. description: 期货账户id
  7264. type: string
  7265. accountname:
  7266. description: 账户名称
  7267. type: string
  7268. attachment:
  7269. description: 附件
  7270. type: string
  7271. audittime:
  7272. description: 审核时间
  7273. type: string
  7274. bizsubjectid:
  7275. description: 归属业务部门ID - SubjectID
  7276. type: integer
  7277. biztype:
  7278. description: 业务类型 1-套保 2-套利
  7279. type: integer
  7280. brandname:
  7281. description: 品牌名称
  7282. type: string
  7283. contracctstatus:
  7284. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7285. type: integer
  7286. contractmargin:
  7287. description: 合同保证金
  7288. type: number
  7289. contractno:
  7290. description: 合同编号
  7291. type: string
  7292. contracttype:
  7293. description: 合同类型 1-采购, -1-销售
  7294. type: integer
  7295. convertfactor:
  7296. description: 标仓系数(品类)
  7297. type: number
  7298. createtime:
  7299. description: 创建时间
  7300. type: string
  7301. currencyid:
  7302. description: 币种id
  7303. type: integer
  7304. currencyname:
  7305. description: 币种名称
  7306. type: string
  7307. daikaiamount:
  7308. description: 应收(开)票额 | 未收票额
  7309. type: number
  7310. deliveryenddate:
  7311. description: 交割结束日
  7312. type: string
  7313. deliverygoodscode:
  7314. description: 现货品种代码
  7315. type: string
  7316. deliverygoodsid:
  7317. description: 现货商品ID
  7318. type: integer
  7319. deliverygoodsname:
  7320. description: 现货品种名称
  7321. type: string
  7322. deliverystartdate:
  7323. description: 交割开始日
  7324. type: string
  7325. enddate:
  7326. description: 点价结束日
  7327. type: string
  7328. enumdicname:
  7329. description: 单位名称
  7330. type: string
  7331. goodscode:
  7332. description: 点价商品代码
  7333. type: string
  7334. goodsgroupid:
  7335. description: 点价商品组id
  7336. type: integer
  7337. goodsid:
  7338. description: 点价商品ID
  7339. type: integer
  7340. goodsname:
  7341. description: 点价商品名称
  7342. type: string
  7343. invoiceamount:
  7344. description: 已开票额
  7345. type: number
  7346. loanamount:
  7347. description: 贷款总额=已定价额+调整金额
  7348. type: number
  7349. margin:
  7350. description: 保证金
  7351. type: number
  7352. meruserid:
  7353. description: 跟单员id
  7354. type: integer
  7355. meruserlogincode:
  7356. description: 跟单员登录代码
  7357. type: string
  7358. merusername:
  7359. description: 跟单员名称
  7360. type: string
  7361. nickname:
  7362. description: 账户昵称
  7363. type: string
  7364. orireckonrealqty:
  7365. description: 应交收量
  7366. type: number
  7367. payamount:
  7368. description: 已收付额(收款或付款)
  7369. type: number
  7370. preinvoiceamount:
  7371. description: 预收(开)票额
  7372. type: number
  7373. prepayamount:
  7374. description: 预收付额
  7375. type: number
  7376. price:
  7377. description: 价格
  7378. type: number
  7379. pricedamount:
  7380. description: 已定价额
  7381. type: number
  7382. pricedavg:
  7383. description: 已点均价
  7384. type: number
  7385. pricedqty:
  7386. description: 已定价量
  7387. type: number
  7388. pricemove:
  7389. description: 升贴水
  7390. type: number
  7391. pricetype:
  7392. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7393. type: integer
  7394. producttype:
  7395. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7396. type: integer
  7397. qty:
  7398. description: 合同量
  7399. type: number
  7400. reckonadjustamount:
  7401. description: 调整金额
  7402. type: number
  7403. reckonedamount:
  7404. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7405. type: number
  7406. reckonotheramount:
  7407. description: 其它费用
  7408. type: number
  7409. reckonrealqty:
  7410. description: 已交收量
  7411. type: number
  7412. remark:
  7413. description: 备注
  7414. type: string
  7415. saleuserid:
  7416. description: 业务员id
  7417. type: integer
  7418. saleuserlogincode:
  7419. description: 业务员登录代码
  7420. type: string
  7421. saleusername:
  7422. description: 业务员名称
  7423. type: string
  7424. spotcontractid:
  7425. description: 合同ID
  7426. type: string
  7427. spotgoodsbrandid:
  7428. description: 现货品牌ID(DGFactoryItem表的ID)
  7429. type: integer
  7430. spotgoodsdesc:
  7431. description: 商品型号(商品规格)
  7432. type: string
  7433. startdate:
  7434. description: 点价开始日
  7435. type: string
  7436. subjectid:
  7437. description: 交易主体ID
  7438. type: integer
  7439. subjectname:
  7440. description: 交易主体名称
  7441. type: string
  7442. totalamount:
  7443. description: 合计总额
  7444. type: number
  7445. tradeuserid:
  7446. description: 交易员id
  7447. type: integer
  7448. tradeuserlogincode:
  7449. description: 交易员登录代码
  7450. type: string
  7451. tradeusername:
  7452. description: 交易员名称
  7453. type: string
  7454. unpayamount:
  7455. description: 应收付款额(应支付或应收款) | 未付款额
  7456. type: number
  7457. unpricedqty:
  7458. description: 未定价量
  7459. type: number
  7460. unsureqty:
  7461. description: 未确定量 | 未交收量
  7462. type: number
  7463. userid:
  7464. description: 机构ID
  7465. type: integer
  7466. vatrate:
  7467. description: 增值税率
  7468. type: number
  7469. wrstandardcode:
  7470. description: 品类代码
  7471. type: string
  7472. wrstandardid:
  7473. description: 品类ID
  7474. type: integer
  7475. wrstandardname:
  7476. description: 品类名称
  7477. type: string
  7478. type: object
  7479. models.Ermcp3SpotGoodsPrice:
  7480. properties:
  7481. areauserid:
  7482. description: 所属机构id
  7483. type: integer
  7484. brandname:
  7485. description: 品牌名称
  7486. type: string
  7487. currencyid:
  7488. description: 报价货币ID
  7489. type: integer
  7490. currencyname:
  7491. description: 币种名称
  7492. type: string
  7493. deliverygoodscode:
  7494. description: 现货商品代码
  7495. type: string
  7496. deliverygoodsid:
  7497. description: 现货商品id
  7498. type: integer
  7499. deliverygoodsname:
  7500. description: 现货商品名称
  7501. type: string
  7502. enumdicname:
  7503. description: 现货商品单位名称
  7504. type: string
  7505. gbenumdicname:
  7506. description: 品类单位名称
  7507. type: string
  7508. gmunitid:
  7509. description: 品类单位id
  7510. type: integer
  7511. isvalid:
  7512. description: 是否有效 - 0:无效 1:有效
  7513. type: integer
  7514. operateid:
  7515. description: 最后操作人
  7516. type: integer
  7517. operatesrc:
  7518. description: 最后操作来源 - 1:管理端 2:终端
  7519. type: integer
  7520. operatetime:
  7521. description: 最后操作时间
  7522. type: string
  7523. operatorname:
  7524. description: 操作人名称
  7525. type: string
  7526. spotgoodsbrandid:
  7527. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7528. type: integer
  7529. spotgoodsprice:
  7530. description: 现货价格
  7531. type: number
  7532. tradedate:
  7533. description: 交易日(yyyyMMdd)
  7534. type: string
  7535. unitid:
  7536. description: 现货商品单位id
  7537. type: integer
  7538. wrstandardcode:
  7539. description: 品类代码
  7540. type: string
  7541. wrstandardid:
  7542. description: 现货品类ID(通用则为0)
  7543. type: integer
  7544. wrstandardname:
  7545. description: 品类名称
  7546. type: string
  7547. type: object
  7548. models.Ermcp3SpotGoodsPriceLog:
  7549. properties:
  7550. areauserid:
  7551. description: 所属机构id
  7552. type: integer
  7553. brandname:
  7554. description: 品牌名称
  7555. type: string
  7556. currencyid:
  7557. description: 报价货币ID
  7558. type: integer
  7559. deliverygoodscode:
  7560. description: 现货商品代码
  7561. type: string
  7562. deliverygoodsid:
  7563. description: 现货商品id
  7564. type: integer
  7565. deliverygoodsname:
  7566. description: 现货商品名称
  7567. type: string
  7568. enumdicname:
  7569. description: 现货商品单位名称
  7570. type: string
  7571. gbenumdicname:
  7572. description: 品类单位名称
  7573. type: string
  7574. gmunitid:
  7575. description: 品类单位id
  7576. type: integer
  7577. logid:
  7578. description: 日志id
  7579. type: integer
  7580. operateid:
  7581. description: 最后操作人
  7582. type: integer
  7583. operatesrc:
  7584. description: 最后操作来源 - 1:管理端 2:终端
  7585. type: integer
  7586. operatetime:
  7587. description: 最后操作时间
  7588. type: string
  7589. operatorname:
  7590. description: 操作人名称
  7591. type: string
  7592. spotgoodsbrandid:
  7593. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7594. type: integer
  7595. spotgoodsprice:
  7596. description: 现货价格
  7597. type: number
  7598. tradedate:
  7599. description: 交易日(yyyyMMdd)
  7600. type: string
  7601. unitid:
  7602. description: 现货商品单位id
  7603. type: integer
  7604. wrstandardcode:
  7605. description: 品类代码
  7606. type: string
  7607. wrstandardid:
  7608. description: 现货品类ID(通用则为0)
  7609. type: integer
  7610. wrstandardname:
  7611. description: 品类名称
  7612. type: string
  7613. type: object
  7614. models.Ermcp3SubTaaccount:
  7615. properties:
  7616. accountid:
  7617. description: 资金账户ID
  7618. type: integer
  7619. parentaccountcode:
  7620. description: 所属根账号代码(母账号代码)
  7621. type: string
  7622. parentaccountid:
  7623. description: 所属根账号(母账号)
  7624. type: integer
  7625. taname:
  7626. description: 资金账号名称
  7627. type: string
  7628. tradestatus:
  7629. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7630. type: integer
  7631. username:
  7632. description: 交易用户
  7633. type: string
  7634. type: object
  7635. models.Ermcp3TaFutuReDataReport:
  7636. properties:
  7637. accountid:
  7638. description: 交易账户
  7639. type: integer
  7640. accountname:
  7641. description: 交易账号名称
  7642. type: string
  7643. agreeunit:
  7644. description: 商品合约单位
  7645. type: number
  7646. begindate:
  7647. description: 开始交易日
  7648. type: string
  7649. buyorsell:
  7650. description: 持仓方向
  7651. type: integer
  7652. charge:
  7653. description: 手续费
  7654. type: number
  7655. closeavgprice:
  7656. description: 期初均价
  7657. type: number
  7658. closepl:
  7659. description: 平仓损益
  7660. type: number
  7661. currencyid:
  7662. description: 结算币种ID
  7663. type: integer
  7664. currencyname:
  7665. description: 币种名称
  7666. type: string
  7667. cycletime:
  7668. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7669. type: string
  7670. cycletype:
  7671. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7672. type: integer
  7673. enddate:
  7674. description: 结束交易日
  7675. type: string
  7676. enumdicname:
  7677. description: 单位名称
  7678. type: string
  7679. floatpl:
  7680. description: 浮动损益
  7681. type: number
  7682. goodscode:
  7683. description: 交易合约代码
  7684. type: string
  7685. goodsgroupid:
  7686. description: 交易品种
  7687. type: integer
  7688. goodsgroupname:
  7689. description: 交易品种名称
  7690. type: string
  7691. goodsgroupspotqty:
  7692. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7693. type: number
  7694. goodsid:
  7695. description: 交易合约
  7696. type: integer
  7697. goodsname:
  7698. description: 交易合约名称
  7699. type: string
  7700. goodunitid:
  7701. description: 交易合约单位id
  7702. type: integer
  7703. holdamount:
  7704. description: 期末持仓额
  7705. type: number
  7706. holdqty:
  7707. description: 期初均价
  7708. type: number
  7709. lastholdamount:
  7710. description: 当前持仓额
  7711. type: number
  7712. lastprice:
  7713. description: 最新价
  7714. type: number
  7715. middlegoodsid:
  7716. description: 套保品种id
  7717. type: integer
  7718. middlegoodsname:
  7719. description: 套保商品名称
  7720. type: string
  7721. middlegoodsqty:
  7722. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7723. type: number
  7724. middlgoodscode:
  7725. description: 套保商品代码
  7726. type: string
  7727. openamount:
  7728. description: 期末开仓额
  7729. type: number
  7730. openavgprice:
  7731. description: 期初均价
  7732. type: number
  7733. oriholdamount:
  7734. description: 期初持仓额
  7735. type: number
  7736. oriholdqty:
  7737. description: 期初均价
  7738. type: number
  7739. oriopenamount:
  7740. description: 期初开仓额
  7741. type: number
  7742. outergroupcode:
  7743. description: 交易品种代码
  7744. type: string
  7745. qtydecimalplace:
  7746. description: 成交量小数位
  7747. type: integer
  7748. reckondate:
  7749. description: 日照时期(yyyyMMdd)
  7750. type: string
  7751. reckonholdamount:
  7752. description: 结算持仓额
  7753. type: number
  7754. reckonpl:
  7755. description: 结算损益
  7756. type: number
  7757. reckonpl2:
  7758. description: 结算逐笔盈亏
  7759. type: number
  7760. reckonprice:
  7761. description: 结算价
  7762. type: number
  7763. relateduserid:
  7764. description: 账户关联用户ID
  7765. type: integer
  7766. todaycloseamount:
  7767. description: 今平仓额
  7768. type: number
  7769. todaycloseqty:
  7770. description: 期初均价
  7771. type: number
  7772. todaygoodsgroupspotqty:
  7773. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7774. type: number
  7775. todaymiddlegoodsqty:
  7776. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7777. type: number
  7778. todayopenamount:
  7779. description: 今开仓额
  7780. type: number
  7781. todayopenqty:
  7782. description: 期初均价
  7783. type: number
  7784. userid:
  7785. description: 账户所属用户ID
  7786. type: integer
  7787. type: object
  7788. models.Ermcp3TradeLinkDetail:
  7789. properties:
  7790. accountid:
  7791. description: 资金账号
  7792. type: integer
  7793. agreeunit:
  7794. description: 合约乘数
  7795. type: number
  7796. areauserid:
  7797. description: 所属机构
  7798. type: string
  7799. bizsubjectid:
  7800. description: 归属业务部门ID - SubjectID
  7801. type: string
  7802. buyorsell:
  7803. description: 方向 - 0:买 1:卖
  7804. type: integer
  7805. channelbuildtype:
  7806. description: 委托单据类型 0:无 1:建仓 2:平仓
  7807. type: integer
  7808. contractno:
  7809. description: 现货编号 (合同编号)
  7810. type: string
  7811. convertratio:
  7812. description: 折算系数
  7813. type: number
  7814. createtime:
  7815. description: 关联时间 | 创建时间
  7816. type: string
  7817. creatorid:
  7818. description: 创建人ID
  7819. type: string
  7820. creatorsrc:
  7821. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7822. type: integer
  7823. enumdicname:
  7824. description: 单位名称
  7825. type: string
  7826. goodscode:
  7827. description: 合约代码
  7828. type: string
  7829. goodsgroupid:
  7830. description: 对冲品种ID[期货合约商品组ID]
  7831. type: integer
  7832. goodsid:
  7833. description: 商品ID
  7834. type: integer
  7835. goodsname:
  7836. description: 合约名称
  7837. type: string
  7838. hedgeflag:
  7839. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7840. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7841. type: integer
  7842. linkdetailid:
  7843. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7844. type: string
  7845. linkstatus:
  7846. description: 关联状态 - 1:成功 2:失败 3:解绑
  7847. type: integer
  7848. middlegoodscode:
  7849. description: 套保品种代码
  7850. type: string
  7851. middlegoodsid:
  7852. description: 套保品种ID
  7853. type: integer
  7854. middlegoodsname:
  7855. description: 套保品种名称
  7856. type: string
  7857. relatedlot:
  7858. description: 关联手数
  7859. type: number
  7860. relatedmode:
  7861. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7862. type: integer
  7863. relatedqty:
  7864. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7865. type: number
  7866. retcode:
  7867. description: 返回码
  7868. type: integer
  7869. saleuserid:
  7870. description: 业务员ID
  7871. type: string
  7872. spotcontractid:
  7873. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7874. type: string
  7875. taname:
  7876. description: 期货账户
  7877. type: string
  7878. tradedate:
  7879. description: 关联交易日(yyyyMMdd)
  7880. type: string
  7881. tradeid:
  7882. description: 期货订单号 | 内部成交单ID
  7883. type: string
  7884. tradelot:
  7885. description: 成交数量 | 成交手数
  7886. type: integer
  7887. tradeprice:
  7888. description: 成交价格
  7889. type: number
  7890. tradetime:
  7891. description: 期货成交时间
  7892. type: string
  7893. tradetradedate:
  7894. description: 成交交易日(yyyyMMdd)
  7895. type: string
  7896. username:
  7897. description: 用户名称
  7898. type: string
  7899. type: object
  7900. models.Ermcp3Wrstandard:
  7901. properties:
  7902. areauserid:
  7903. description: 所属机构
  7904. type: integer
  7905. cantrade:
  7906. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7907. type: integer
  7908. convertfactor:
  7909. description: 标仓系数
  7910. type: number
  7911. createtime:
  7912. description: 创建时间
  7913. type: string
  7914. creatorid:
  7915. description: 创建人
  7916. type: integer
  7917. deliverygoodsid:
  7918. description: 现货品种ID
  7919. type: integer
  7920. enumdicname:
  7921. description: 品类单位名称
  7922. type: string
  7923. isvalid:
  7924. description: 是否有效 0-无效(停用) 1-有效(正常)
  7925. type: integer
  7926. minivalue:
  7927. description: 最小变动值
  7928. type: integer
  7929. minivaluedp:
  7930. description: 最小变动值小数位
  7931. type: integer
  7932. realminivalue:
  7933. description: 实际最小变动值
  7934. type: integer
  7935. realminivaluedp:
  7936. description: 实际最小变动值小数位
  7937. type: integer
  7938. remark:
  7939. description: 备注
  7940. type: string
  7941. unitid:
  7942. description: 品类单位ID
  7943. type: integer
  7944. updatetime:
  7945. description: 更新时间
  7946. type: string
  7947. wrstandardcode:
  7948. description: 品类代码
  7949. type: string
  7950. wrstandardid:
  7951. description: 品类ID(SEQ_WRSTANDARD)
  7952. type: integer
  7953. wrstandardname:
  7954. description: 品类名称
  7955. type: string
  7956. type: object
  7957. models.Ermcp8EnableHedgeditem:
  7958. properties:
  7959. accountname:
  7960. description: 套期主体
  7961. type: string
  7962. hedgeditemid:
  7963. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7964. type: string
  7965. hedgeditemname:
  7966. description: 项目名称
  7967. type: string
  7968. hedgeditemnum:
  7969. description: 项目编号
  7970. type: string
  7971. hedgedtype:
  7972. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7973. type: integer
  7974. planenddate:
  7975. description: 计划结束日期
  7976. type: string
  7977. planstartdate:
  7978. description: 计划开始日期
  7979. type: string
  7980. wrstandardid:
  7981. description: 现货商品ID
  7982. type: integer
  7983. wrstandardname:
  7984. description: 现货商品
  7985. type: string
  7986. type: object
  7987. models.Ermcp8HedgeditemReport:
  7988. properties:
  7989. accountname:
  7990. description: 套期主体
  7991. type: string
  7992. areauserid:
  7993. description: 企业ID
  7994. type: integer
  7995. curprice:
  7996. description: '[当日现货市场价]当前市场价'
  7997. type: number
  7998. enumdicname:
  7999. description: 单位
  8000. type: string
  8001. exeamount:
  8002. description: '[执行现货金额]执行市价总额'
  8003. type: number
  8004. exeavgprice:
  8005. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8006. type: number
  8007. exeqty:
  8008. description: '[执行数量]执行现货量'
  8009. type: number
  8010. futurehedgepl:
  8011. description: 期货实际损益
  8012. type: number
  8013. futurehedgeplchange:
  8014. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8015. type: number
  8016. futurepl:
  8017. description: 期货套期损益
  8018. type: number
  8019. futureplchange:
  8020. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8021. type: number
  8022. hedgeamount:
  8023. description: '[套期现货金额]套期市价总额'
  8024. type: number
  8025. hedgeditemnum:
  8026. description: 项目编号,模糊查询
  8027. type: string
  8028. hedgeditemstatus:
  8029. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8030. type: integer
  8031. hedgedtype:
  8032. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8033. type: integer
  8034. hedgeqty:
  8035. description: '[套期数量]套期现货量'
  8036. type: number
  8037. oriavgprice:
  8038. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8039. type: number
  8040. orifuturehedgepl:
  8041. description: 期初期货实际损益
  8042. type: number
  8043. orifuturepl:
  8044. description: 期初期货套期损益
  8045. type: number
  8046. orispothedgepl:
  8047. description: 期初现货实际损益
  8048. type: number
  8049. orispotpl:
  8050. description: 期初现货套期损益
  8051. type: number
  8052. planenddate:
  8053. description: 计划结束日期
  8054. type: string
  8055. planstartdate:
  8056. description: 计划开始日期
  8057. type: string
  8058. spothedgepl:
  8059. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8060. type: number
  8061. spothedgeplchange:
  8062. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8063. type: number
  8064. spotpl:
  8065. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8066. type: number
  8067. spotplchange:
  8068. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8069. type: number
  8070. tradeuserid:
  8071. description: 交易用户ID
  8072. type: integer
  8073. unexeqty:
  8074. description: 未执行现货量 = 套期现货量 - 执行现货量
  8075. type: number
  8076. wrstandardcode:
  8077. description: 现货品类代码
  8078. type: string
  8079. wrstandardid:
  8080. description: 现货商品ID
  8081. type: integer
  8082. wrstandardname:
  8083. description: '[现货商品]现货品类名称'
  8084. type: string
  8085. type: object
  8086. models.Ermcp8RunningHedgeditem:
  8087. properties:
  8088. accountname:
  8089. description: 套期主体
  8090. type: string
  8091. applyid:
  8092. description: 申请人
  8093. type: integer
  8094. applysrc:
  8095. description: 申请来源 - 1:管理端 2:终端
  8096. type: integer
  8097. areauserid:
  8098. description: 企业ID
  8099. type: integer
  8100. auditid:
  8101. description: 审核人
  8102. type: integer
  8103. auditremark:
  8104. description: 审核备注
  8105. type: string
  8106. auditsrc:
  8107. description: 审核来源 - 1:管理端 2:终端
  8108. type: integer
  8109. audittime:
  8110. description: 审核时间
  8111. type: string
  8112. audittradedate:
  8113. description: 审核交易日(yyyyMMdd)
  8114. type: string
  8115. createtime:
  8116. description: 申请时间
  8117. type: string
  8118. curprice:
  8119. description: 当前市场价
  8120. type: number
  8121. curstock:
  8122. description: 期末库存量 = 采购总量 - 销售总量
  8123. type: number
  8124. deliverygoodsid:
  8125. description: 现货品种ID
  8126. type: integer
  8127. enddate:
  8128. description: 完成日期
  8129. type: string
  8130. endtradedate:
  8131. description: 完成交易日
  8132. type: string
  8133. enumdicname:
  8134. description: 单位
  8135. type: string
  8136. exeamount:
  8137. description: 执行市价总额
  8138. type: number
  8139. exeavgprice:
  8140. description: 执行市场均价= 执行市价总额 / 执行现货量
  8141. type: number
  8142. execontractamount:
  8143. description: 执行定价总额
  8144. type: number
  8145. exeqty:
  8146. description: 执行现货量
  8147. type: number
  8148. exerestamount:
  8149. description: 执行剩余市价总额【现货贸易】
  8150. type: number
  8151. futurefloatpl:
  8152. description: 期货浮动损益
  8153. type: number
  8154. futurehedgepl:
  8155. description: 期货实际损益
  8156. type: number
  8157. futurehedgeplchange:
  8158. description: 期货实际损益变动
  8159. type: number
  8160. futurepl:
  8161. description: 期货套期损益
  8162. type: number
  8163. futureplchange:
  8164. description: 期货套期损益变动
  8165. type: number
  8166. hedgeamount:
  8167. description: 套期市价总额
  8168. type: number
  8169. hedgecontractamount:
  8170. description: 套期定价总额 【定价采购合同】【现货贸易】
  8171. type: number
  8172. hedgeditemid:
  8173. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8174. type: string
  8175. hedgeditemname:
  8176. description: 项目名称
  8177. type: string
  8178. hedgeditemnum:
  8179. description: 项目编号
  8180. type: string
  8181. hedgeditemstatus:
  8182. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8183. type: integer
  8184. hedgedtype:
  8185. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8186. type: integer
  8187. hedgeqty:
  8188. description: 套期现货量
  8189. type: number
  8190. hedgerate:
  8191. description: 套保比率
  8192. type: number
  8193. hedgerestamount:
  8194. description: 套期剩余市价总额【现货贸易】
  8195. type: number
  8196. hedgesumpl:
  8197. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8198. type: number
  8199. middlegoodslist:
  8200. description: 套期商品列表
  8201. items:
  8202. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8203. type: array
  8204. oriavgprice:
  8205. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8206. type: number
  8207. orifuturehedgepl:
  8208. description: 期初期货实际损益
  8209. type: number
  8210. orifuturepl:
  8211. description: 期初期货套期损益
  8212. type: number
  8213. orispothedgepl:
  8214. description: 期初现货实际损益
  8215. type: number
  8216. orispotpl:
  8217. description: 期初现货套期损益
  8218. type: number
  8219. planenddate:
  8220. description: 计划结束日期
  8221. type: string
  8222. planstartdate:
  8223. description: 计划开始日期
  8224. type: string
  8225. remark:
  8226. description: 备注
  8227. type: string
  8228. spotbookamount:
  8229. description: 现货账面总额
  8230. type: number
  8231. spotfloatpl:
  8232. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8233. type: number
  8234. spothedgepl:
  8235. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8236. type: number
  8237. spothedgeplchange:
  8238. description: 现货实际损益变动
  8239. type: number
  8240. spotpl:
  8241. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8242. type: number
  8243. spotplchange:
  8244. description: 现货套期损益变动
  8245. type: number
  8246. spottradepl:
  8247. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8248. type: number
  8249. sumobspl:
  8250. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8251. type: number
  8252. tradeuserid:
  8253. description: 交易用户ID
  8254. type: integer
  8255. unexeqty:
  8256. description: 未执行现货量 = 套期现货量 - 执行现货量
  8257. type: number
  8258. updatetime:
  8259. description: 更新时间
  8260. type: string
  8261. vatpl:
  8262. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8263. type: number
  8264. vatrate:
  8265. description: 增值税
  8266. type: number
  8267. wrstandardid:
  8268. description: 现货商品ID
  8269. type: integer
  8270. wrstandardname:
  8271. description: 商品名称
  8272. type: string
  8273. type: object
  8274. models.ErmcpBizGroupEx:
  8275. properties:
  8276. acclist:
  8277. description: 账号列表
  8278. items:
  8279. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8280. type: array
  8281. bizgroupid:
  8282. description: 业务分组id
  8283. type: integer
  8284. biztype:
  8285. description: 业务类型 1-套保 2-套利
  8286. type: integer
  8287. wrlist:
  8288. description: 现货商品表
  8289. items:
  8290. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8291. type: array
  8292. type: object
  8293. models.ErmcpBizGroupSpotGoods:
  8294. properties:
  8295. areauserid:
  8296. description: 所属机构id
  8297. type: integer
  8298. bizgroupid:
  8299. description: 分组id
  8300. type: integer
  8301. biztype:
  8302. description: 业务类型 1-套保 2-套利
  8303. type: integer
  8304. deliverygoodscode:
  8305. description: 现货商品代码
  8306. type: string
  8307. deliverygoodsid:
  8308. description: 现货商品id
  8309. type: integer
  8310. deliverygoodsname:
  8311. description: 现货商品名称
  8312. type: string
  8313. unitid:
  8314. description: 现货商品单位id
  8315. type: integer
  8316. type: object
  8317. models.ErmcpBizGroupTaAccount:
  8318. properties:
  8319. accountid:
  8320. description: 账号id
  8321. type: integer
  8322. accountname:
  8323. description: 账号名称
  8324. type: string
  8325. areauserid:
  8326. description: 所属机构id
  8327. type: integer
  8328. bizgroupid:
  8329. description: 业务分组id
  8330. type: integer
  8331. ismain:
  8332. description: 是否主账号 1-是 0-否
  8333. type: integer
  8334. type: object
  8335. models.ErmcpDGFactoryItem:
  8336. properties:
  8337. areauserid:
  8338. description: 用户id
  8339. type: integer
  8340. deliverygoodsid:
  8341. description: 现货品种ID
  8342. type: integer
  8343. dgfactoryitemid:
  8344. description: 选择项ID(SEQ_DGFACTORYITEM)
  8345. type: integer
  8346. dgfactoryitemtypeid:
  8347. description: 要素项类型
  8348. type: integer
  8349. dgfactoryitemvalue:
  8350. description: 要素项值(类型为仓库时填写仓库名称)
  8351. type: string
  8352. isvalid:
  8353. description: 是否有效 - 0:无效 1:有效
  8354. type: integer
  8355. orderindex:
  8356. description: 顺序
  8357. type: integer
  8358. warehouseid:
  8359. description: 仓库ID(类型为仓库时填写)
  8360. type: integer
  8361. type: object
  8362. models.ErmcpDeliveryGoods:
  8363. properties:
  8364. agreeunit:
  8365. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8366. type: integer
  8367. areauserid:
  8368. description: 所属机构
  8369. type: integer
  8370. auditflag:
  8371. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8372. type: integer
  8373. categoryid:
  8374. description: 类别ID(SEQ_WRCATEGORY)
  8375. type: integer
  8376. deliverygoodscode:
  8377. description: 现货品种代码
  8378. type: string
  8379. deliverygoodsid:
  8380. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8381. type: integer
  8382. deliverygoodsname:
  8383. description: 现货品种名称
  8384. type: string
  8385. deliverygoodstype:
  8386. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8387. type: integer
  8388. dgstatus:
  8389. description: 品种状态 - 作废 - 0:未激活 1:正常
  8390. type: integer
  8391. enumdicname:
  8392. description: 现货品种单位名称
  8393. type: string
  8394. goodsunitid:
  8395. description: 现货品种单位ID
  8396. type: integer
  8397. isvalid:
  8398. description: 是否有效 - 0:无效 1:有效
  8399. type: integer
  8400. qtydecimalplace:
  8401. description: 成交量小数位
  8402. type: integer
  8403. remark:
  8404. description: 备注
  8405. type: string
  8406. standardqty:
  8407. description: 标准数量(库位数量) [标准品特有]
  8408. type: integer
  8409. standardqtyrange:
  8410. description: 标准数量偏差范围 [标准品特有]
  8411. type: integer
  8412. type: object
  8413. models.ErmcpFuturesCompany:
  8414. properties:
  8415. brokerid:
  8416. description: 经纪公司代码
  8417. type: string
  8418. channeladdress:
  8419. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8420. type: string
  8421. channelid:
  8422. description: 对冲渠道ID
  8423. type: string
  8424. createtime:
  8425. description: 创建时间
  8426. type: string
  8427. creatorid:
  8428. description: 创建人
  8429. type: string
  8430. fcid:
  8431. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8432. type: integer
  8433. fcname:
  8434. description: 期货公司名称
  8435. type: string
  8436. isvalid:
  8437. description: 是否有效 - 0:无效 1:有效
  8438. type: integer
  8439. mhpaddress:
  8440. description: MHP服务地址(IP:Port)
  8441. type: string
  8442. riskrulegroupid:
  8443. description: 风控规则组ID
  8444. type: string
  8445. tradefeetmpid:
  8446. description: 手续费模板ID[TradeConfigTmpType为2]
  8447. type: string
  8448. trademargintmpid:
  8449. description: 保证金模板ID [TradeConfigTmpType为1]
  8450. type: string
  8451. traderatetmpid:
  8452. description: 汇率模板ID[TradeConfigTmpType为3]
  8453. type: string
  8454. updatetime:
  8455. description: 更新时间
  8456. type: string
  8457. updatorid:
  8458. description: 更新人
  8459. type: string
  8460. type: object
  8461. models.ErmcpGGConvertCfg:
  8462. properties:
  8463. convertratio:
  8464. description: 折算系数
  8465. type: number
  8466. destgoodsgroupid:
  8467. description: 目标品种ID
  8468. type: integer
  8469. dstcode:
  8470. description: 目录品种代码
  8471. type: string
  8472. dstexchangecode:
  8473. description: 目标期货交易所
  8474. type: string
  8475. dstname:
  8476. description: 目标品种名称
  8477. type: string
  8478. dstunitid:
  8479. description: 目标品种单位ID
  8480. type: integer
  8481. dstunitidname:
  8482. description: 目标品种单位名称
  8483. type: string
  8484. modifytime:
  8485. description: 修改时间
  8486. type: string
  8487. srccode:
  8488. description: 源品种代码
  8489. type: string
  8490. srcexchangecode:
  8491. description: 源期货交易所
  8492. type: string
  8493. srcgoodsgroupid:
  8494. description: 源品种ID
  8495. type: integer
  8496. srcname:
  8497. description: 源品种名称
  8498. type: string
  8499. srcunitid:
  8500. description: 源品种单位ID
  8501. type: integer
  8502. srcunitidname:
  8503. description: 源品种单位名称
  8504. type: string
  8505. type: object
  8506. models.ErmcpGoods:
  8507. properties:
  8508. agreeunit:
  8509. description: 合约单位
  8510. type: number
  8511. areauserid:
  8512. description: 所属机构
  8513. type: integer
  8514. auditaccountid:
  8515. description: 审核操作员账号
  8516. type: integer
  8517. audittime:
  8518. description: 审核时间
  8519. type: string
  8520. cancelaccountid:
  8521. description: 注销操作员账号
  8522. type: integer
  8523. canceltime:
  8524. description: 注销时间
  8525. type: string
  8526. closepricemode:
  8527. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8528. type: integer
  8529. closepriceparam:
  8530. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8531. type: number
  8532. createtime:
  8533. description: 创建时间
  8534. type: string
  8535. creatorid:
  8536. description: 创建人
  8537. type: integer
  8538. currencyid:
  8539. description: 报价货币ID
  8540. type: integer
  8541. cutmode:
  8542. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8543. type: integer
  8544. decimalplace:
  8545. description: 报价小数位
  8546. type: integer
  8547. delistingdate:
  8548. description: 商品退市时间(状态:退市) -- 已作废
  8549. type: string
  8550. delistingmode:
  8551. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8552. type: integer
  8553. deliveryflag:
  8554. description: 交割标志 - 0:不可交割 1:可交割
  8555. type: integer
  8556. enumdicname:
  8557. description: 单位名称
  8558. type: string
  8559. forceclosemode:
  8560. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8561. type: integer
  8562. forceclosevalue:
  8563. description: 定期强平参数 [收益权]
  8564. type: integer
  8565. goodscode:
  8566. description: 商品代码(内部)
  8567. type: string
  8568. goodscurrencyid:
  8569. description: 合约货币ID
  8570. type: integer
  8571. goodsgroupid:
  8572. description: 所属商品组ID
  8573. type: integer
  8574. goodsid:
  8575. description: 商品ID(自增ID SEQ_GOODS)
  8576. type: integer
  8577. goodsname:
  8578. description: 商品名称
  8579. type: string
  8580. goodsquotetype:
  8581. description: '合约报价类型: 1-直接报价 2-间接报价'
  8582. type: integer
  8583. goodsstatus:
  8584. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8585. type: integer
  8586. goodstradetype:
  8587. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8588. type: integer
  8589. goodunitid:
  8590. description: 报价单位ID
  8591. type: integer
  8592. hasquoter:
  8593. description: 是否有报价商 - 0:无报价商 1:有报价商
  8594. type: integer
  8595. hqprotecttime:
  8596. description: 行情保护时间(秒)
  8597. type: integer
  8598. innerdealmode:
  8599. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8600. type: integer
  8601. isbuylimited:
  8602. description: 是否限制建仓量 - 0:不限制 1:限制
  8603. type: integer
  8604. isvisible:
  8605. description: 游客是否可见 - 0:不可见 1:可见
  8606. type: integer
  8607. lasttradedate:
  8608. description: 最后交易日期(状态:待退市)
  8609. type: string
  8610. listingdate:
  8611. description: 交易开始日期
  8612. type: string
  8613. marketid:
  8614. description: 所属市场ID
  8615. type: integer
  8616. modifierid:
  8617. description: 修改人
  8618. type: integer
  8619. modifystatus:
  8620. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8621. type: integer
  8622. modifytime:
  8623. description: 修改时间
  8624. type: string
  8625. outerdealmode:
  8626. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8627. type: integer
  8628. outgoodscode:
  8629. description: 商品代码(外部)
  8630. type: string
  8631. pictureurl:
  8632. description: 商品图片
  8633. type: string
  8634. qtydecimalplace:
  8635. description: 成交量小数位
  8636. type: integer
  8637. quotegear:
  8638. description: 行情档位(1-10)
  8639. type: integer
  8640. quoteminunit:
  8641. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8642. type: integer
  8643. quoteshowtype:
  8644. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8645. type: integer
  8646. quoteshowtypeinterval:
  8647. description: 行情报价间隔时间(秒)(成交价时为0)
  8648. type: integer
  8649. relatedgoodsid:
  8650. description: 关联参考商品ID
  8651. type: integer
  8652. remark:
  8653. description: 备注
  8654. type: string
  8655. trademode:
  8656. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8657. 21:竞拍-大宗式 22:受托竞价
  8658. type: integer
  8659. required:
  8660. - goodscode
  8661. - goodsid
  8662. - goodsname
  8663. - marketid
  8664. type: object
  8665. models.ErmcpGoodsBrand:
  8666. properties:
  8667. areauserid:
  8668. description: 所属机构
  8669. type: integer
  8670. brandid:
  8671. description: BrandID(SEQ_SPOTGOODSBRAND)
  8672. type: integer
  8673. brandname:
  8674. description: 品牌名称
  8675. type: string
  8676. createtime:
  8677. description: 创建时间
  8678. type: string
  8679. creatorid:
  8680. description: 创建人
  8681. type: integer
  8682. creatorsrc:
  8683. description: 创建人来源 - 1:管理端 2:终端
  8684. type: integer
  8685. deliverygoodsid:
  8686. description: 现货品种ID
  8687. type: integer
  8688. isvalid:
  8689. description: 是否有效 - 0:无效 1:有效
  8690. type: integer
  8691. updatetime:
  8692. description: 更新时间
  8693. type: string
  8694. updatorid:
  8695. description: 更新人
  8696. type: integer
  8697. updatorsrc:
  8698. description: 更新人来源 - 1:管理端 2:终端
  8699. type: integer
  8700. wrstandardid:
  8701. description: 现货商品ID
  8702. type: integer
  8703. type: object
  8704. models.ErmcpGoodsModel:
  8705. properties:
  8706. areauserid:
  8707. description: 所属机构
  8708. type: integer
  8709. convertfactor:
  8710. description: 标仓系数
  8711. type: number
  8712. createtime:
  8713. description: 创建时间
  8714. type: string
  8715. creatorid:
  8716. description: 创建人
  8717. type: integer
  8718. creatorsrc:
  8719. description: 创建人来源 - 1:管理端 2:终端
  8720. type: integer
  8721. deliverygoodsid:
  8722. description: 现货品种ID
  8723. type: integer
  8724. isvalid:
  8725. description: 是否有效 - 0:无效 1:有效
  8726. type: integer
  8727. modelid:
  8728. description: ModelID(SEQ_SPOTGOODSMODEL)
  8729. type: integer
  8730. modelname:
  8731. description: 型号名称
  8732. type: string
  8733. updatetime:
  8734. description: 更新时间
  8735. type: string
  8736. updatorid:
  8737. description: 更新人
  8738. type: integer
  8739. updatorsrc:
  8740. description: 更新人来源 - 1:管理端 2:终端
  8741. type: integer
  8742. wrstandardid:
  8743. description: 现货商品ID
  8744. type: integer
  8745. type: object
  8746. models.ErmcpHisExposure:
  8747. properties:
  8748. needhedgeexposoure:
  8749. description: 应套保敞口
  8750. type: number
  8751. reckondate:
  8752. description: 日照时期(yyyyMMdd)
  8753. type: string
  8754. totalexposure:
  8755. description: 总敞口
  8756. type: number
  8757. type: object
  8758. models.ErmcpLoginTaAccount:
  8759. properties:
  8760. accountid:
  8761. description: 账号id
  8762. type: integer
  8763. accountname:
  8764. description: 账号名称
  8765. type: string
  8766. type: object
  8767. models.ErmcpLoginUser:
  8768. properties:
  8769. acclist:
  8770. description: 关联资金账号
  8771. items:
  8772. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8773. type: array
  8774. accountname:
  8775. description: 用户名称
  8776. type: string
  8777. clientroleid:
  8778. description: 角色id(usertype=2)
  8779. type: integer
  8780. createtime:
  8781. description: 创建时间
  8782. type: string
  8783. logincode:
  8784. description: 登录代码
  8785. type: string
  8786. loginid:
  8787. description: 登录id(LOGINID)
  8788. type: integer
  8789. loginname:
  8790. description: 登录名称(loginaccount表中的accountname字段)
  8791. type: string
  8792. loginstatus:
  8793. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8794. type: integer
  8795. memberuserid:
  8796. description: 所属会员id
  8797. type: integer
  8798. mobile:
  8799. description: 手机号
  8800. type: string
  8801. modifytime:
  8802. description: 修改时间
  8803. type: string
  8804. password:
  8805. description: 密码(不可解密)
  8806. type: string
  8807. rolename:
  8808. description: 角色名称
  8809. type: string
  8810. rolestatus:
  8811. description: 角色状态 1-启用 2-停用
  8812. type: integer
  8813. roletype:
  8814. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8815. type: string
  8816. userid:
  8817. description: 用户id
  8818. type: integer
  8819. usertype:
  8820. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8821. type: integer
  8822. type: object
  8823. models.ErmcpLoginUserEx:
  8824. properties:
  8825. accountstatus:
  8826. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8827. type: integer
  8828. mobile:
  8829. description: 手机号
  8830. type: string
  8831. querytype:
  8832. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8833. type: integer
  8834. roleid:
  8835. description: 角色id(交易账户->用户id)
  8836. type: integer
  8837. rolename:
  8838. description: 角色名称(交易账户->用户名称)
  8839. type: string
  8840. userlist:
  8841. description: 用户列表
  8842. items:
  8843. $ref: '#/definitions/models.ErmcpLoginUser'
  8844. type: array
  8845. usertype:
  8846. description: 用户类型 2-机构 7-企业成员(云平台)
  8847. type: integer
  8848. type: object
  8849. models.ErmcpMiddleGoodsModel:
  8850. properties:
  8851. areauserid:
  8852. description: 机构用户ID
  8853. type: integer
  8854. createtime:
  8855. description: 修改时间
  8856. type: string
  8857. enumdicname:
  8858. description: 单位名称
  8859. type: string
  8860. evaluateratio:
  8861. description: 估价系数
  8862. type: number
  8863. goodsgroupid:
  8864. description: 关联期货品种ID
  8865. type: integer
  8866. goodsunitid:
  8867. description: 单位ID
  8868. type: integer
  8869. isvalid:
  8870. description: 状态 0-无效(停用) 1-有效(正常)
  8871. type: integer
  8872. middlegoodscode:
  8873. description: 套保品种代码
  8874. type: string
  8875. middlegoodsid:
  8876. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8877. type: integer
  8878. middlegoodsname:
  8879. description: 套保品种名称
  8880. type: string
  8881. modifytime:
  8882. description: 修改时间
  8883. type: string
  8884. needarbitrageratio:
  8885. description: 套利比例
  8886. type: number
  8887. needhedgeratio:
  8888. description: 套保比率
  8889. type: number
  8890. qtydecimalplace:
  8891. description: 数量小数位
  8892. type: integer
  8893. relatedgoodsid:
  8894. description: 关联交易商品ID
  8895. type: integer
  8896. relatedgoodstype:
  8897. description: 关联商品类型 - 1:期货合约 2:现货品种
  8898. type: integer
  8899. remark:
  8900. description: 备注
  8901. type: string
  8902. type: object
  8903. models.ErmcpMiddlegoodsRelateGoods:
  8904. properties:
  8905. agreeunit:
  8906. description: 合约乘数
  8907. type: number
  8908. convertratio:
  8909. description: 折算系数
  8910. type: number
  8911. enumdicname:
  8912. description: 单位名称(交易商品)
  8913. type: string
  8914. goodscode:
  8915. description: 交易商品代码
  8916. type: string
  8917. goodsgroupid:
  8918. description: 交易品种id
  8919. type: integer
  8920. goodsid:
  8921. description: 商品Id
  8922. type: integer
  8923. goodsname:
  8924. description: 交易商品名称
  8925. type: string
  8926. goodunitid:
  8927. description: 交易商品单位id
  8928. type: integer
  8929. middlegoodsid:
  8930. description: 套保商品id
  8931. type: integer
  8932. middlegoodsname:
  8933. description: 套保商品名称
  8934. type: string
  8935. middlegoodsswcode:
  8936. description: 套保商品代码
  8937. type: string
  8938. needarbitrageratio:
  8939. description: 应套利比例
  8940. type: number
  8941. needhedgeratio:
  8942. description: 应套保比例
  8943. type: number
  8944. type: object
  8945. models.ErmcpRole:
  8946. properties:
  8947. areauserid:
  8948. description: 所属机构
  8949. type: integer
  8950. autoid:
  8951. description: 角色ID(自增ID)
  8952. type: integer
  8953. modifierid:
  8954. description: 修改人(创建人)
  8955. type: integer
  8956. modifiername:
  8957. description: 修改人名称
  8958. type: string
  8959. modifytime:
  8960. description: 修改时间(创建时间)
  8961. type: string
  8962. rolename:
  8963. description: 角色名称
  8964. type: string
  8965. rolestatus:
  8966. description: 角色状态 - 1:启用 2:停用
  8967. type: integer
  8968. roletype:
  8969. description: 角色类型 - 1- 管理端 2- 交易端
  8970. type: integer
  8971. type: object
  8972. models.ErmcpRoleMenu:
  8973. properties:
  8974. iconame:
  8975. description: 菜单图标
  8976. type: string
  8977. ishadrole:
  8978. description: 是否有权限
  8979. type: boolean
  8980. menutype:
  8981. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8982. type: integer
  8983. parentcode:
  8984. description: 上级资源代码
  8985. type: string
  8986. remark:
  8987. description: 菜单备注
  8988. type: string
  8989. resourcecode:
  8990. description: 菜单代码
  8991. type: string
  8992. resourcelevel:
  8993. description: 级别
  8994. type: integer
  8995. resourcename:
  8996. description: 菜单名称
  8997. type: string
  8998. roleid:
  8999. description: 角色id
  9000. type: integer
  9001. sort:
  9002. description: 排序
  9003. type: integer
  9004. url:
  9005. description: URL
  9006. type: string
  9007. userid:
  9008. description: 用户id
  9009. type: integer
  9010. type: object
  9011. models.ErmcpRoleMenuEx:
  9012. properties:
  9013. menu:
  9014. $ref: '#/definitions/models.ErmcpRoleMenu'
  9015. description: 父级菜单
  9016. subMenu:
  9017. description: 子级菜单
  9018. items:
  9019. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9020. type: array
  9021. type: object
  9022. models.ErmcpSpotContractModelEx:
  9023. properties:
  9024. accountname:
  9025. description: 套期主体
  9026. type: string
  9027. amount:
  9028. description: 金额 [1:一口价、3:暂定价]
  9029. type: number
  9030. attachment:
  9031. description: 附件
  9032. type: string
  9033. auditremark:
  9034. description: 审核意见
  9035. type: string
  9036. audittime:
  9037. description: 审核时间
  9038. type: string
  9039. avgprice:
  9040. description: 定价均价 = 已定价金额 / 已定价量
  9041. type: number
  9042. brandname:
  9043. description: 品牌名称
  9044. type: string
  9045. buyuserid:
  9046. description: 采购方ID
  9047. type: integer
  9048. buyusername:
  9049. description: 采购方名称
  9050. type: string
  9051. contracctstatus:
  9052. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9053. type: integer
  9054. contractmargin:
  9055. description: 合同保证金
  9056. type: number
  9057. contractno:
  9058. description: '[合同编号]现货合同编号'
  9059. type: string
  9060. contracttype:
  9061. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9062. type: integer
  9063. convertfactor:
  9064. description: 标仓系数
  9065. type: number
  9066. createtime:
  9067. description: 创建时间
  9068. type: string
  9069. customername:
  9070. description: 对手方
  9071. type: string
  9072. customeruserid:
  9073. description: 客户ID
  9074. type: integer
  9075. deliveryenddate:
  9076. description: 交收期(结束)
  9077. type: string
  9078. deliverygoodscode:
  9079. description: 现货品种代码
  9080. type: string
  9081. deliverygoodsid:
  9082. description: 现货品种ID
  9083. type: integer
  9084. deliverygoodsname:
  9085. description: 现货品种名称
  9086. type: string
  9087. deliverystartdate:
  9088. description: 交收期(开始)
  9089. type: string
  9090. enddate:
  9091. description: 点价结束日期 [2:点价 3:暂定价]
  9092. type: string
  9093. enumdicname:
  9094. description: 单位名称
  9095. type: string
  9096. goodscode:
  9097. description: 点价合约代码
  9098. type: string
  9099. goodsid:
  9100. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9101. type: integer
  9102. goodsname:
  9103. description: 点价商品名称
  9104. type: string
  9105. isrelated:
  9106. description: 是否已关联计划项目 - 0:否 1:是
  9107. type: integer
  9108. isrelated2:
  9109. description: 是否已关联现货项目 - 0:否 1:是
  9110. type: integer
  9111. margin:
  9112. description: 当前保证金
  9113. type: number
  9114. modelname:
  9115. description: 型号名称
  9116. type: string
  9117. price:
  9118. description: 价格\暂定价 [1:一口价、3:暂定价]
  9119. type: number
  9120. pricedamount:
  9121. description: 已定价金额 = (点价价格+升贴水) * 数量
  9122. type: number
  9123. pricedqty:
  9124. description: 已定价量
  9125. type: number
  9126. pricemove:
  9127. description: 升贴水 [2:点价 3:暂定价]
  9128. type: number
  9129. pricetype:
  9130. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9131. type: integer
  9132. producttype:
  9133. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9134. type: integer
  9135. qty:
  9136. description: '[合同数量]数量'
  9137. type: number
  9138. remark:
  9139. description: 备注
  9140. type: string
  9141. selluserid:
  9142. description: 销售方ID
  9143. type: integer
  9144. sellusername:
  9145. description: 销售方名称
  9146. type: string
  9147. spotamount:
  9148. description: 合同现货金额 [不含升贴水]
  9149. type: number
  9150. spotavgprice:
  9151. description: 现货均价 = 合同现货金额 / 已定价量
  9152. type: number
  9153. spotcontractid:
  9154. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9155. type: string
  9156. spotgoodsbrandid:
  9157. description: 现货品牌ID
  9158. type: integer
  9159. spotgoodsdesc:
  9160. description: 商品型号
  9161. type: string
  9162. spotgoodsmodelid:
  9163. description: 现货型号ID
  9164. type: integer
  9165. startdate:
  9166. description: 点价开始日期 [2:点价 3:暂定价]
  9167. type: string
  9168. tradeuserid:
  9169. description: 交易用户ID
  9170. type: integer
  9171. unpricedqty:
  9172. description: 未定价量 = 合同数量 - 已定价量
  9173. type: number
  9174. updatetime:
  9175. description: 更新时间
  9176. type: string
  9177. userid:
  9178. description: 机构ID
  9179. type: integer
  9180. wrstandardcode:
  9181. description: 现货商品代码
  9182. type: string
  9183. wrstandardid:
  9184. description: 现货商品ID
  9185. type: integer
  9186. wrstandardname:
  9187. description: '[现货商品]现货商品名称'
  9188. type: string
  9189. type: object
  9190. models.ErmcpTaAccount:
  9191. properties:
  9192. accountid:
  9193. description: 账户id
  9194. type: integer
  9195. accountname:
  9196. description: 账户名称
  9197. type: string
  9198. currencyid:
  9199. description: 币种id
  9200. type: integer
  9201. hedgeaccountcode:
  9202. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9203. type: string
  9204. ismain:
  9205. description: 是否主账户 0-否 1-是
  9206. type: integer
  9207. parentaccountid:
  9208. description: 父账户id
  9209. type: integer
  9210. relateduserid:
  9211. description: 关联userid
  9212. type: integer
  9213. tradefeetmpid:
  9214. description: 手续费模板id
  9215. type: integer
  9216. tradefeetmpname:
  9217. description: 手续费模板名称
  9218. type: string
  9219. trademargintmpid:
  9220. description: 保证金模板id
  9221. type: integer
  9222. trademargintmpname:
  9223. description: 保证金模板名称
  9224. type: string
  9225. traderatetmpid:
  9226. description: 汇率模板id
  9227. type: integer
  9228. traderatetmpname:
  9229. description: 汇率模板名称
  9230. type: string
  9231. tradestatus:
  9232. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9233. type: integer
  9234. userid:
  9235. description: 用户id
  9236. type: integer
  9237. type: object
  9238. models.ErmcpTaAccountEx:
  9239. properties:
  9240. mainAcc:
  9241. $ref: '#/definitions/models.ErmcpTaAccountM'
  9242. description: 主账号
  9243. subacclist:
  9244. description: 子账号列表
  9245. items:
  9246. $ref: '#/definitions/models.ErmcpTaAccount'
  9247. type: array
  9248. type: object
  9249. models.ErmcpTaAccountInfo:
  9250. properties:
  9251. accountid:
  9252. description: 资金账户ID
  9253. type: integer
  9254. accountname:
  9255. description: 账户名称
  9256. type: string
  9257. balance:
  9258. description: 期初余额
  9259. type: number
  9260. capitalbalance:
  9261. description: 本金余额[外部子账户实际出入金余额]
  9262. type: number
  9263. closepl:
  9264. description: 今日平仓盈亏
  9265. type: number
  9266. creditdecrease:
  9267. description: 今日授信减少
  9268. type: number
  9269. creditincrease:
  9270. description: 今日授信增加
  9271. type: number
  9272. curdebt:
  9273. description: 期末欠款
  9274. type: number
  9275. currencyid:
  9276. description: 货币ID
  9277. type: integer
  9278. currentbalance:
  9279. description: 期末余额
  9280. type: number
  9281. freezecharge:
  9282. description: 手续费冻结
  9283. type: number
  9284. freezemargin:
  9285. description: 冻结保证金
  9286. type: number
  9287. fromaccountid:
  9288. description: 所属上级账户
  9289. type: integer
  9290. inamount:
  9291. description: 今日入金金额(包括三方入金)
  9292. type: number
  9293. ismain:
  9294. description: 是否母账号 0:不是母账户 1:是母账户
  9295. type: integer
  9296. mortgagecredit:
  9297. description: 授信金额
  9298. type: number
  9299. oridebt:
  9300. description: 期初欠款
  9301. type: number
  9302. orifreezecharge:
  9303. description: 期初手续费冻结
  9304. type: number
  9305. orifreezemargin:
  9306. description: 期初冻结保证金
  9307. type: number
  9308. orimortgagecredit:
  9309. description: 期初授信金额
  9310. type: number
  9311. oriothercredit:
  9312. description: 期初其它授信金额
  9313. type: number
  9314. oriotherfreezemargin:
  9315. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9316. type: number
  9317. orioutamountfreeze:
  9318. description: 期初出金冻结
  9319. type: number
  9320. oriusedmargin:
  9321. description: 期初占用保证金
  9322. type: number
  9323. othercredit:
  9324. description: 其它授信金额
  9325. type: number
  9326. othercreditdecrease:
  9327. description: 今日其它授信减少
  9328. type: number
  9329. othercreditincrease:
  9330. description: 今日其它授信增加
  9331. type: number
  9332. otherfreezemargin:
  9333. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9334. type: number
  9335. outamount:
  9336. description: 今日出金金额(包括三方出金)
  9337. type: number
  9338. outamountfreeze:
  9339. description: 出金冻结
  9340. type: number
  9341. outthreshold:
  9342. description: 出金阈值
  9343. type: number
  9344. parentaccountid:
  9345. description: 所属根账号
  9346. type: integer
  9347. paycharge:
  9348. description: 今日手续费支出
  9349. type: number
  9350. relateduserid:
  9351. description: 关联用户
  9352. type: integer
  9353. signstatus:
  9354. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9355. type: integer
  9356. sublevelpath:
  9357. description: 账号层级路径(逗号分隔,首尾加逗号)
  9358. type: string
  9359. taaccounttype:
  9360. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9361. type: integer
  9362. thirdinamount:
  9363. description: 今日三方入金
  9364. type: number
  9365. thirdoutamount:
  9366. description: 今日三方出金
  9367. type: number
  9368. tradestatus:
  9369. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9370. type: integer
  9371. transferamount:
  9372. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9373. type: number
  9374. usedmargin:
  9375. description: 占用保证金
  9376. type: number
  9377. userid:
  9378. description: 用户ID
  9379. type: integer
  9380. type: object
  9381. models.ErmcpTaAccountM:
  9382. properties:
  9383. accountid:
  9384. description: 账户id
  9385. type: integer
  9386. accountname:
  9387. description: 账户名称
  9388. type: string
  9389. currencyid:
  9390. description: 币种id
  9391. type: integer
  9392. fcid:
  9393. description: 期货公司id
  9394. type: integer
  9395. fcname:
  9396. description: 期货公司代码
  9397. type: string
  9398. hedgeaccountcode:
  9399. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9400. type: string
  9401. ismain:
  9402. description: 是否主账户 0-否 1-是
  9403. type: integer
  9404. parentaccountid:
  9405. description: 父账户id
  9406. type: integer
  9407. relateduserid:
  9408. description: 关联userid
  9409. type: integer
  9410. tradefeetmpid:
  9411. description: 手续费模板id
  9412. type: integer
  9413. tradefeetmpname:
  9414. description: 手续费模板名称
  9415. type: string
  9416. trademargintmpid:
  9417. description: 保证金模板id
  9418. type: integer
  9419. trademargintmpname:
  9420. description: 保证金模板名称
  9421. type: string
  9422. traderatetmpid:
  9423. description: 汇率模板id
  9424. type: integer
  9425. traderatetmpname:
  9426. description: 汇率模板名称
  9427. type: string
  9428. tradestatus:
  9429. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9430. type: integer
  9431. userid:
  9432. description: 用户id
  9433. type: integer
  9434. type: object
  9435. models.ErmcpTradeConfigTMP:
  9436. properties:
  9437. areauserid:
  9438. description: 所属机构
  9439. type: integer
  9440. basiccurrencyid:
  9441. description: 基本币种ID[汇率] - 目标币种
  9442. type: integer
  9443. mainaccountid:
  9444. description: 主账户ID
  9445. type: integer
  9446. modifierid:
  9447. description: 修改人
  9448. type: integer
  9449. remark:
  9450. description: 备注
  9451. type: string
  9452. tradeconfigtmpid:
  9453. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9454. type: integer
  9455. tradeconfigtmpname:
  9456. description: 交易配置模板名称
  9457. type: string
  9458. tradeconfigtmptype:
  9459. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9460. type: integer
  9461. updatetime:
  9462. description: 更新时间
  9463. type: string
  9464. type: object
  9465. models.Ermcpjrlinkpos:
  9466. properties:
  9467. areauserid:
  9468. description: 所属企业
  9469. type: integer
  9470. averageprice:
  9471. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9472. type: number
  9473. closepl:
  9474. description: 总平仓盈亏 [期货损益]
  9475. type: number
  9476. executeprice:
  9477. description: 执行价 - 1:期货单 为 0
  9478. type: integer
  9479. futurehedgeqty:
  9480. description: 期货套期量
  9481. type: number
  9482. goodsid:
  9483. description: 期货合约
  9484. type: integer
  9485. middlegoodscode:
  9486. description: 套保商品代码
  9487. type: string
  9488. middlegoodsname:
  9489. description: 套保商品名称
  9490. type: string
  9491. netqty:
  9492. description: 净头寸
  9493. type: number
  9494. optioncode:
  9495. description: 期权代码
  9496. type: string
  9497. ordertype:
  9498. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9499. type: integer
  9500. reckonpl:
  9501. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9502. type: number
  9503. spotcontractid:
  9504. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9505. type: string
  9506. todayfutureclosepl:
  9507. description: 今日平仓盈亏
  9508. type: number
  9509. totalbuyamount:
  9510. description: 买金额 [期货]
  9511. type: number
  9512. totalbuyholdamount:
  9513. description: 买持仓总金额[期货]
  9514. type: number
  9515. totalbuyqty:
  9516. description: 买数量
  9517. type: number
  9518. totalcharge:
  9519. description: 手续费
  9520. type: number
  9521. totalpremium:
  9522. description: 权利金 [期权]
  9523. type: number
  9524. totalsellamount:
  9525. description: 卖金额 [期货]
  9526. type: number
  9527. totalsellholdamount:
  9528. description: 卖持仓总金额[期货]
  9529. type: number
  9530. totalsellqty:
  9531. description: 卖数量
  9532. type: number
  9533. updatetime:
  9534. description: 更新时间
  9535. type: string
  9536. required:
  9537. - spotcontractid
  9538. type: object
  9539. models.Ermcppatradelinkdetail:
  9540. properties:
  9541. agreeunit:
  9542. description: 合约乘数
  9543. type: number
  9544. amount:
  9545. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9546. type: number
  9547. areauserid:
  9548. description: 所属机构
  9549. type: integer
  9550. bizsubjectid:
  9551. description: 归属业务部门ID - SubjectID
  9552. type: integer
  9553. buyorsell:
  9554. description: 方向 - 0:买 1:卖
  9555. type: integer
  9556. convertratio:
  9557. description: 品种系数
  9558. type: number
  9559. createtime:
  9560. description: 创建时间
  9561. type: string
  9562. creatorid:
  9563. description: 创建人ID
  9564. type: integer
  9565. creatorsrc:
  9566. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9567. type: integer
  9568. goodsgroupid:
  9569. description: 对冲品种ID[期货合约商品组ID]
  9570. type: integer
  9571. goodsid:
  9572. description: 商品ID
  9573. type: integer
  9574. hedgeditemid:
  9575. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9576. type: integer
  9577. hedgeflag:
  9578. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9579. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9580. type: integer
  9581. linkdetailid:
  9582. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9583. type: string
  9584. linkstatus:
  9585. description: 关联状态 - 1:成功 2:失败 3:解绑
  9586. type: integer
  9587. middlegoodsid:
  9588. description: 套保品种ID
  9589. type: integer
  9590. name:
  9591. description: 账户名/子账户
  9592. type: string
  9593. optioncode:
  9594. description: '[期货合约]期权代码 [期权]'
  9595. type: string
  9596. ordertype:
  9597. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9598. type: integer
  9599. relatedlot:
  9600. description: '[数量]关联手数'
  9601. type: number
  9602. relatedmode:
  9603. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9604. type: integer
  9605. relatedqty:
  9606. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9607. type: number
  9608. retcode:
  9609. description: 返回码
  9610. type: integer
  9611. saleuserid:
  9612. description: 业务员ID
  9613. type: integer
  9614. tradedate:
  9615. description: 关联交易日(yyyyMMdd)
  9616. type: string
  9617. tradeid:
  9618. description: '[成交单号]内部成交单ID'
  9619. type: string
  9620. tradelot:
  9621. description: 成交手数
  9622. type: integer
  9623. tradeprice:
  9624. description: '[价格]成交价格'
  9625. type: number
  9626. tradetime:
  9627. description: 日期时间
  9628. type: string
  9629. tradetradedate:
  9630. description: 成交交易日(yyyyMMdd)
  9631. type: string
  9632. required:
  9633. - hedgeditemid
  9634. type: object
  9635. models.Externalexchange:
  9636. properties:
  9637. autoid:
  9638. description: AutoID - SEQ_EXTERNALEXCHANGE
  9639. type: integer
  9640. exchangefullname:
  9641. description: 外部交易所全称
  9642. type: string
  9643. exexchangecode:
  9644. description: 外部交易所代码
  9645. type: string
  9646. exexchangename:
  9647. description: 外部交易所名称(简称)
  9648. type: string
  9649. ismarketprice:
  9650. description: 是否支持市价 - 0:不支持 1:支持
  9651. type: integer
  9652. quotegear:
  9653. description: 行情档位(1-10)
  9654. type: integer
  9655. showbrokerflag:
  9656. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9657. type: integer
  9658. updatetime:
  9659. description: 更新时间
  9660. type: string
  9661. required:
  9662. - autoid
  9663. type: object
  9664. models.Funcmenulist:
  9665. properties:
  9666. iconame:
  9667. description: 菜单图标
  9668. type: string
  9669. menutype:
  9670. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9671. type: integer
  9672. parentcode:
  9673. description: 上级资源代码
  9674. type: string
  9675. remark:
  9676. description: 备注
  9677. type: string
  9678. resourcecode:
  9679. description: 资源代码
  9680. type: string
  9681. resourcelevel:
  9682. description: 级别 1-一级 2-二级 3-三级 4-四级
  9683. type: integer
  9684. resourcename:
  9685. description: 资源名
  9686. type: string
  9687. sort:
  9688. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9689. type: integer
  9690. url:
  9691. description: URL
  9692. type: string
  9693. required:
  9694. - resourcecode
  9695. type: object
  9696. models.GZWarehouseinfo:
  9697. properties:
  9698. address:
  9699. description: 详细地址
  9700. type: string
  9701. areauserid:
  9702. description: 所属机构
  9703. type: integer
  9704. autoid:
  9705. description: 自增ID
  9706. type: integer
  9707. cityid:
  9708. description: 市
  9709. type: integer
  9710. contactname:
  9711. description: 联系人
  9712. type: string
  9713. contactnum:
  9714. description: 联系电话
  9715. type: string
  9716. countryid:
  9717. description: 国家
  9718. type: integer
  9719. createtime:
  9720. description: 创建时间
  9721. type: string
  9722. districtid:
  9723. description: 区
  9724. type: integer
  9725. hasvideo:
  9726. description: 是否有视频 - 0:无 1:有
  9727. type: integer
  9728. provinceid:
  9729. description: 省
  9730. type: integer
  9731. remark:
  9732. description: 审核备注
  9733. type: string
  9734. videourl:
  9735. description: 视频地址
  9736. type: string
  9737. warehousecode:
  9738. description: 仓库代码
  9739. type: string
  9740. warehousename:
  9741. description: 仓库名称
  9742. type: string
  9743. warehousestatus:
  9744. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9745. type: integer
  9746. warehousetype:
  9747. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9748. type: integer
  9749. type: object
  9750. models.Goods:
  9751. properties:
  9752. agreeunit:
  9753. description: 合约单位
  9754. type: number
  9755. areauserid:
  9756. description: 所属机构
  9757. type: integer
  9758. auditaccountid:
  9759. description: 审核操作员账号
  9760. type: integer
  9761. audittime:
  9762. description: 审核时间
  9763. type: string
  9764. cancelaccountid:
  9765. description: 注销操作员账号
  9766. type: integer
  9767. canceltime:
  9768. description: 注销时间
  9769. type: string
  9770. closepricemode:
  9771. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9772. type: integer
  9773. closepriceparam:
  9774. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9775. type: number
  9776. createtime:
  9777. description: 创建时间
  9778. type: string
  9779. creatorid:
  9780. description: 创建人
  9781. type: integer
  9782. currencyid:
  9783. description: 报价货币ID
  9784. type: integer
  9785. cutmode:
  9786. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9787. type: integer
  9788. decimalplace:
  9789. description: 报价小数位
  9790. type: integer
  9791. delistingdate:
  9792. description: 商品退市时间(状态:退市) -- 已作废
  9793. type: string
  9794. delistingmode:
  9795. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9796. type: integer
  9797. deliveryflag:
  9798. description: 交割标志 - 0:不可交割 1:可交割
  9799. type: integer
  9800. forceclosemode:
  9801. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9802. type: integer
  9803. forceclosevalue:
  9804. description: 定期强平参数 [收益权]
  9805. type: integer
  9806. goodscode:
  9807. description: 商品代码(内部)
  9808. type: string
  9809. goodscurrencyid:
  9810. description: 合约货币ID
  9811. type: integer
  9812. goodsgroupid:
  9813. description: 所属商品组ID
  9814. type: integer
  9815. goodsid:
  9816. description: 商品ID(自增ID SEQ_GOODS)
  9817. type: integer
  9818. goodsname:
  9819. description: 商品名称
  9820. type: string
  9821. goodsquotetype:
  9822. description: '合约报价类型: 1-直接报价 2-间接报价'
  9823. type: integer
  9824. goodsstatus:
  9825. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9826. type: integer
  9827. goodstradetype:
  9828. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9829. type: integer
  9830. goodunitid:
  9831. description: 报价单位ID
  9832. type: integer
  9833. hasquoter:
  9834. description: 是否有报价商 - 0:无报价商 1:有报价商
  9835. type: integer
  9836. hqprotecttime:
  9837. description: 行情保护时间(秒)
  9838. type: integer
  9839. innerdealmode:
  9840. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9841. type: integer
  9842. isbuylimited:
  9843. description: 是否限制建仓量 - 0:不限制 1:限制
  9844. type: integer
  9845. isvisible:
  9846. description: 游客是否可见 - 0:不可见 1:可见
  9847. type: integer
  9848. lasttradedate:
  9849. description: 最后交易日期(状态:待退市)
  9850. type: string
  9851. listingdate:
  9852. description: 交易开始日期
  9853. type: string
  9854. marketid:
  9855. description: 所属市场ID
  9856. type: integer
  9857. modifierid:
  9858. description: 修改人
  9859. type: integer
  9860. modifystatus:
  9861. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9862. type: integer
  9863. modifytime:
  9864. description: 修改时间
  9865. type: string
  9866. outerdealmode:
  9867. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9868. type: integer
  9869. outgoodscode:
  9870. description: 商品代码(外部)
  9871. type: string
  9872. pictureurl:
  9873. description: 商品图片
  9874. type: string
  9875. qtydecimalplace:
  9876. description: 成交量小数位
  9877. type: integer
  9878. quotegear:
  9879. description: 行情档位(1-10)
  9880. type: integer
  9881. quoteminunit:
  9882. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9883. type: integer
  9884. quoteshowtype:
  9885. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9886. type: integer
  9887. quoteshowtypeinterval:
  9888. description: 行情报价间隔时间(秒)(成交价时为0)
  9889. type: integer
  9890. remark:
  9891. description: 备注
  9892. type: string
  9893. required:
  9894. - goodscode
  9895. - goodsid
  9896. - goodsname
  9897. - marketid
  9898. type: object
  9899. models.GoodsIDAndName:
  9900. properties:
  9901. goodscode:
  9902. description: 商品代码(内部)
  9903. type: string
  9904. goodsid:
  9905. description: 商品ID(自增ID SEQ_GOODS)
  9906. type: integer
  9907. goodsname:
  9908. description: 商品名称
  9909. type: string
  9910. marketid:
  9911. description: 所属市场ID
  9912. type: integer
  9913. required:
  9914. - goodscode
  9915. - goodsid
  9916. - goodsname
  9917. - marketid
  9918. type: object
  9919. models.Goodsgroup:
  9920. properties:
  9921. agreeunit:
  9922. description: 合约单位
  9923. type: number
  9924. canshort:
  9925. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9926. type: integer
  9927. closepricemode:
  9928. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9929. type: integer
  9930. closepriceparam:
  9931. description: 强平最新价浮动比例 - 方式为2时使用
  9932. type: number
  9933. createtime:
  9934. description: 创建时间
  9935. type: string
  9936. creatorid:
  9937. description: 创建人
  9938. type: integer
  9939. currencyid:
  9940. description: 报价货币ID
  9941. type: integer
  9942. decimalplace:
  9943. description: 报价小数位
  9944. type: integer
  9945. exercisetype:
  9946. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9947. type: integer
  9948. exexchangeid:
  9949. description: 外部交易所ID[通道交易]
  9950. type: integer
  9951. goodsgroupid:
  9952. description: 商品组ID(自增ID)
  9953. type: integer
  9954. goodsgroupname:
  9955. description: 商品组名称
  9956. type: string
  9957. goodsgroupstatus:
  9958. description: 商品组状态 - 1:正常 2:注销
  9959. type: integer
  9960. goodunitid:
  9961. description: 报价单位ID
  9962. type: integer
  9963. innerdealmode:
  9964. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9965. type: integer
  9966. isbuylimited:
  9967. description: 是否限制建仓量 - 0:不限制 1:限制
  9968. type: integer
  9969. marketid:
  9970. description: 所属市场ID
  9971. type: integer
  9972. modifierid:
  9973. description: 修改人
  9974. type: integer
  9975. modifytime:
  9976. description: 修改时间
  9977. type: string
  9978. outerdealmode:
  9979. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9980. type: integer
  9981. outergroupcode:
  9982. description: 外部商品组代码[通道交易]
  9983. type: string
  9984. premiumdecimalplace:
  9985. description: 权利金小数位[场外期权]
  9986. type: integer
  9987. premiumspreadalgorithm:
  9988. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9989. type: integer
  9990. premiumspreadvalue:
  9991. description: 权利金点差值[场外期权]
  9992. type: number
  9993. qtydecimalplace:
  9994. description: 成交量小数位
  9995. type: integer
  9996. quotegear:
  9997. description: 行情档位(1-10)
  9998. type: integer
  9999. quoteminunit:
  10000. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10001. type: integer
  10002. quoterid:
  10003. description: 报价商ID[场外期权]
  10004. type: integer
  10005. quotesourcegroupid:
  10006. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10007. type: integer
  10008. syncgoodsqty:
  10009. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10010. type: integer
  10011. required:
  10012. - goodsgroupid
  10013. - goodsgroupname
  10014. - goodsgroupstatus
  10015. - marketid
  10016. type: object
  10017. models.Goodssortbypreposition:
  10018. properties:
  10019. goodscode:
  10020. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10021. type: string
  10022. goodsgroupcode:
  10023. description: 品种代码
  10024. type: string
  10025. prepositionqty:
  10026. description: 昨持仓量
  10027. type: integer
  10028. sortindex:
  10029. description: 排序
  10030. type: integer
  10031. tradedate:
  10032. description: 交易日
  10033. type: string
  10034. updatetime:
  10035. description: 更新时间
  10036. type: string
  10037. required:
  10038. - goodscode
  10039. - tradedate
  10040. type: object
  10041. models.Hedgeinnerholderdetail:
  10042. properties:
  10043. accountid:
  10044. description: 账号ID
  10045. type: integer
  10046. buyorsell:
  10047. description: 方向 - 0:买 1:卖
  10048. type: integer
  10049. freezeqty:
  10050. description: 冻结数量 - 按单平使用
  10051. type: integer
  10052. goodsid:
  10053. description: 商品ID
  10054. type: integer
  10055. holderamount:
  10056. description: 持仓金额 [商品币种]
  10057. type: number
  10058. holderdays:
  10059. description: 剩余冻结天数
  10060. type: integer
  10061. holderprice:
  10062. description: 持仓价格
  10063. type: number
  10064. holderqty:
  10065. description: 持仓数量
  10066. type: integer
  10067. marketid:
  10068. description: 市场ID
  10069. type: integer
  10070. openprice:
  10071. description: 建仓价格
  10072. type: number
  10073. openqty:
  10074. description: 建仓数量
  10075. type: integer
  10076. parentaccountid:
  10077. description: 所属母账户
  10078. type: integer
  10079. releaseamount:
  10080. description: 释放持仓金额[商品币种]
  10081. type: number
  10082. tradeamount:
  10083. description: 成交金额[账户]
  10084. type: number
  10085. tradedate:
  10086. description: 交易日(yyyyMMdd)
  10087. type: string
  10088. tradeid:
  10089. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10090. type: string
  10091. tradetime:
  10092. description: 交易时间
  10093. type: string
  10094. required:
  10095. - buyorsell
  10096. - tradeid
  10097. type: object
  10098. models.Hedgemarketopenlog:
  10099. properties:
  10100. accountid:
  10101. description: 资金账号[外部母账户]
  10102. type: integer
  10103. fcname:
  10104. description: 期货公司名称
  10105. type: string
  10106. handlestatus:
  10107. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10108. type: integer
  10109. marketid:
  10110. description: 市场ID
  10111. type: integer
  10112. status:
  10113. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10114. type: integer
  10115. tradedate:
  10116. description: 交易日(yyyyMMdd)
  10117. type: string
  10118. updatetime:
  10119. description: 更新时间
  10120. type: string
  10121. required:
  10122. - accountid
  10123. type: object
  10124. models.HsbyBuyMyPayOrder:
  10125. properties:
  10126. agreeunit:
  10127. description: 合约单位
  10128. type: number
  10129. buyaccountid:
  10130. description: 买方账号ID[报价币种]
  10131. type: integer
  10132. buyorderid:
  10133. description: 买方委托单号
  10134. type: string
  10135. createtime:
  10136. description: 创建时间
  10137. type: string
  10138. currencysign:
  10139. description: 货币符号
  10140. type: string
  10141. decimalplace:
  10142. description: 报价小数位
  10143. type: integer
  10144. goodscode:
  10145. description: 商品代码(内部)
  10146. type: string
  10147. goodsid:
  10148. description: 商品ID
  10149. type: integer
  10150. goodsname:
  10151. description: 商品名称
  10152. type: string
  10153. marketid:
  10154. description: 市场ID
  10155. type: integer
  10156. offamount:
  10157. description: 优惠金额
  10158. type: number
  10159. originalamount:
  10160. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10161. type: number
  10162. payamount:
  10163. description: 支付金额 = TradeAmount + TradeCharge
  10164. type: number
  10165. payflag:
  10166. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10167. type: integer
  10168. paylimitedtime:
  10169. description: 支付期限
  10170. type: string
  10171. paytime:
  10172. description: 付款时间
  10173. type: string
  10174. picurls1:
  10175. description: 预售商品介绍图片[多张用逗号分隔]
  10176. type: string
  10177. picurls2:
  10178. description: 挂牌商品介绍图片[多张用逗号分隔]
  10179. type: string
  10180. sellaccountid:
  10181. description: 卖方账号ID[报价币种]
  10182. type: integer
  10183. sellorderid:
  10184. description: 卖方委托单号
  10185. type: string
  10186. tradeamount:
  10187. description: 成交金额
  10188. type: number
  10189. tradecharge:
  10190. description: 成交手续费(买方)
  10191. type: number
  10192. tradedate:
  10193. description: 交易日(yyyyMMdd)
  10194. type: string
  10195. tradeid:
  10196. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10197. type: string
  10198. trademode:
  10199. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10200. 21:竞拍-大宗式 22:受托竞价
  10201. type: integer
  10202. tradeprice:
  10203. description: 成交价格
  10204. type: number
  10205. tradeqty:
  10206. description: 成交数量
  10207. type: integer
  10208. vendorname1:
  10209. description: 预售商品供应商名称
  10210. type: string
  10211. vendorname2:
  10212. description: 挂牌商品供应商名称
  10213. type: string
  10214. required:
  10215. - goodscode
  10216. - goodsname
  10217. - tradeid
  10218. - trademode
  10219. type: object
  10220. models.HsbyBuyMyTradeDetail:
  10221. properties:
  10222. accountid:
  10223. description: 账户ID[报价币种]
  10224. type: integer
  10225. agreeunit:
  10226. description: 合约单位
  10227. type: number
  10228. amount:
  10229. description: 金额 = 价格 * 数量 * 合约单位
  10230. type: number
  10231. buyorsell:
  10232. description: 买卖 - 0:买 1:卖
  10233. type: integer
  10234. currencysign:
  10235. description: 货币符号
  10236. type: string
  10237. decimalplace:
  10238. description: 报价小数位
  10239. type: integer
  10240. goodscode:
  10241. description: 商品代码(内部)
  10242. type: string
  10243. goodsid:
  10244. description: 商品ID
  10245. type: integer
  10246. goodsname:
  10247. description: 商品名称
  10248. type: string
  10249. marketid:
  10250. description: 市场ID
  10251. type: integer
  10252. orderamount:
  10253. description: 委托金额
  10254. type: number
  10255. orderid:
  10256. description: 单号(成交单号)
  10257. type: string
  10258. picurls1:
  10259. description: 预售商品介绍图片[多张用逗号分隔]
  10260. type: string
  10261. picurls2:
  10262. description: 挂牌商品介绍图片[多张用逗号分隔]
  10263. type: string
  10264. price:
  10265. description: 价格
  10266. type: number
  10267. qty:
  10268. description: 数量
  10269. type: integer
  10270. time:
  10271. description: 时间
  10272. type: string
  10273. trademode:
  10274. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10275. 21:竞拍-大宗式 22:受托竞价
  10276. type: integer
  10277. vendorname1:
  10278. description: 预售商品供应商名称
  10279. type: string
  10280. vendorname2:
  10281. description: 挂牌商品供应商名称
  10282. type: string
  10283. required:
  10284. - accountid
  10285. - buyorsell
  10286. - goodscode
  10287. - goodsid
  10288. - goodsname
  10289. - marketid
  10290. - orderid
  10291. - qty
  10292. - time
  10293. - trademode
  10294. type: object
  10295. models.HsbyGoodsOrderDetail:
  10296. properties:
  10297. buyorsell:
  10298. description: 买卖 - 0:买 1:卖
  10299. type: integer
  10300. currencysign:
  10301. description: 货币符号
  10302. type: string
  10303. customername:
  10304. description: 客户名称(企业名称),已脱敏
  10305. type: string
  10306. enableqty:
  10307. description: 可用数量
  10308. type: integer
  10309. goodunit:
  10310. description: 报价单位
  10311. type: string
  10312. orderid:
  10313. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10314. type: string
  10315. orderprice:
  10316. description: 委托价格
  10317. type: number
  10318. ordertime:
  10319. description: 委托时间
  10320. type: string
  10321. required:
  10322. - buyorsell
  10323. - orderid
  10324. - ordertime
  10325. type: object
  10326. models.HsbyListingGoodsDetail:
  10327. properties:
  10328. agreeunit:
  10329. description: 合约单位
  10330. type: number
  10331. buymaxqty:
  10332. description: 购买上限 [71] - 0为不限
  10333. type: integer
  10334. currency:
  10335. description: 货币
  10336. type: string
  10337. currencysign:
  10338. description: 货币符号
  10339. type: string
  10340. decimalplace:
  10341. description: 报价小数位
  10342. type: integer
  10343. desccityid:
  10344. description: 目的地(市)ID
  10345. type: integer
  10346. descprovinceid:
  10347. description: 目的地(省)ID
  10348. type: integer
  10349. goodscode:
  10350. description: 商品代码(内部)
  10351. type: string
  10352. goodsdesc:
  10353. description: 商品详情
  10354. type: string
  10355. goodsid:
  10356. description: 商品ID(自增ID SEQ_GOODS)
  10357. type: integer
  10358. goodsname:
  10359. description: 商品名称
  10360. type: string
  10361. goodsprice:
  10362. description: 商品价格
  10363. type: number
  10364. hotindex:
  10365. description: 景点热度
  10366. type: integer
  10367. last:
  10368. description: 现价
  10369. type: number
  10370. limitdown:
  10371. description: 跌停价
  10372. type: number
  10373. limitup:
  10374. description: 涨停价
  10375. type: number
  10376. lotsize:
  10377. description: 手数最小变动单位
  10378. type: integer
  10379. marketid:
  10380. description: 所属市场ID
  10381. type: integer
  10382. picurls:
  10383. description: 介绍图片[多张用逗号分隔]
  10384. type: string
  10385. quoteminunit:
  10386. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10387. type: integer
  10388. stepvalue:
  10389. description: 价格最小变动单位
  10390. type: number
  10391. trademode:
  10392. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10393. 21:竞拍-大宗式 22:受托竞价
  10394. type: integer
  10395. vendorattr:
  10396. description: 供应商附件(多张,逗号分隔)
  10397. type: string
  10398. vendorname:
  10399. description: 供应商名称
  10400. type: string
  10401. vendorphone:
  10402. description: 供应商客服电话
  10403. type: string
  10404. videourls:
  10405. description: 介绍视频[多张用逗号分隔]
  10406. type: string
  10407. required:
  10408. - goodscode
  10409. - goodsid
  10410. - goodsname
  10411. - marketid
  10412. - trademode
  10413. type: object
  10414. models.HsbyMarketGoods:
  10415. properties:
  10416. accountid:
  10417. description: 账户ID[报价币种]
  10418. type: integer
  10419. agreeunit:
  10420. description: 合约单位
  10421. type: number
  10422. buyorsell:
  10423. description: 买卖 - 0:买 1:卖
  10424. type: integer
  10425. categoryid:
  10426. description: 类别ID(WRCATEGORY)
  10427. type: integer
  10428. currency:
  10429. description: 货币
  10430. type: string
  10431. currencysign:
  10432. description: 货币符号
  10433. type: string
  10434. customername:
  10435. description: 卖家名称
  10436. type: string
  10437. decimalplace:
  10438. description: 报价小数位
  10439. type: integer
  10440. goodscode:
  10441. description: 商品代码(内部)
  10442. type: string
  10443. goodsid:
  10444. description: 商品ID
  10445. type: integer
  10446. goodsname:
  10447. description: 商品名称
  10448. type: string
  10449. goodsprice:
  10450. description: 商品价格
  10451. type: number
  10452. hascoupon:
  10453. description: 是否可用优惠卷
  10454. type: boolean
  10455. hotindex:
  10456. description: 景点热度
  10457. type: integer
  10458. marketid:
  10459. description: 市场ID
  10460. type: integer
  10461. orderid:
  10462. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10463. type: string
  10464. orderprice:
  10465. description: 委托价格
  10466. type: number
  10467. orderstatus:
  10468. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10469. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10470. 16:成交失败违约(荷兰式竞拍专用)
  10471. type: integer
  10472. picurls:
  10473. description: 介绍图片[多张用逗号分隔]
  10474. type: string
  10475. quoteminunit:
  10476. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10477. type: integer
  10478. sellUserID:
  10479. description: 卖方UserID
  10480. type: integer
  10481. trademode:
  10482. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10483. 21:竞拍-大宗式 22:受托竞价
  10484. type: integer
  10485. videourls:
  10486. description: 介绍视频[多张用逗号分隔]
  10487. type: string
  10488. required:
  10489. - accountid
  10490. - buyorsell
  10491. - goodscode
  10492. - goodsid
  10493. - goodsname
  10494. - marketid
  10495. - orderid
  10496. - trademode
  10497. type: object
  10498. models.HsbyMarketGoodsDetail:
  10499. properties:
  10500. accountid:
  10501. description: 账户ID[报价币种]
  10502. type: integer
  10503. agreeunit:
  10504. description: 合约单位
  10505. type: number
  10506. buymaxqty:
  10507. description: 购买上限 [71] - 0为不限
  10508. type: integer
  10509. buyorsell:
  10510. description: 买卖 - 0:买 1:卖
  10511. type: integer
  10512. cancelqty:
  10513. description: 撤单数量
  10514. type: integer
  10515. categoryid:
  10516. description: 类别ID(WRCATEGORY)
  10517. type: integer
  10518. currency:
  10519. description: 货币
  10520. type: string
  10521. currencysign:
  10522. description: 货币符号
  10523. type: string
  10524. customername:
  10525. description: 卖家名称
  10526. type: string
  10527. decimalplace:
  10528. description: 报价小数位
  10529. type: integer
  10530. goodscode:
  10531. description: 商品代码(内部)
  10532. type: string
  10533. goodsdesc:
  10534. description: 商品详情
  10535. type: string
  10536. goodsid:
  10537. description: 商品ID
  10538. type: integer
  10539. goodsname:
  10540. description: 商品名称
  10541. type: string
  10542. goodsprice:
  10543. description: 商品价格
  10544. type: number
  10545. hotindex:
  10546. description: 景点热度
  10547. type: integer
  10548. lotsize:
  10549. description: 手数最小变动单位
  10550. type: integer
  10551. marketid:
  10552. description: 市场ID
  10553. type: integer
  10554. orderid:
  10555. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10556. type: string
  10557. orderprice:
  10558. description: 委托价格
  10559. type: number
  10560. orderqty:
  10561. description: 委托数量
  10562. type: integer
  10563. orderstatus:
  10564. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10565. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10566. 16:成交失败违约(荷兰式竞拍专用)
  10567. type: integer
  10568. picurls:
  10569. description: 介绍图片[多张用逗号分隔]
  10570. type: string
  10571. quoteminunit:
  10572. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10573. type: integer
  10574. sellUserID:
  10575. description: 卖方UserID
  10576. type: integer
  10577. trademode:
  10578. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10579. 21:竞拍-大宗式 22:受托竞价
  10580. type: integer
  10581. tradeqty:
  10582. description: 成交数量
  10583. type: integer
  10584. vendorattr:
  10585. description: 供应商附件(多张,逗号分隔)
  10586. type: string
  10587. vendorname:
  10588. description: 供应商名称
  10589. type: string
  10590. vendorphone:
  10591. description: 供应商客服电话
  10592. type: string
  10593. videourls:
  10594. description: 介绍视频[多张用逗号分隔]
  10595. type: string
  10596. required:
  10597. - accountid
  10598. - buyorsell
  10599. - goodscode
  10600. - goodsid
  10601. - goodsname
  10602. - marketid
  10603. - orderid
  10604. - orderqty
  10605. - trademode
  10606. type: object
  10607. models.HsbyMarketInfo:
  10608. properties:
  10609. marketid:
  10610. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10611. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10612. type: integer
  10613. marketname:
  10614. description: 市场名称
  10615. type: string
  10616. marketstatus:
  10617. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10618. type: integer
  10619. trademode:
  10620. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10621. 21:竞拍-大宗式 22:受托竞价
  10622. type: integer
  10623. required:
  10624. - marketid
  10625. - marketstatus
  10626. - trademode
  10627. type: object
  10628. models.HsbyMyGoods:
  10629. properties:
  10630. accountid:
  10631. description: 账号Id
  10632. type: integer
  10633. agreeunit:
  10634. description: 合约单位
  10635. type: number
  10636. buyaverageprice:
  10637. description: 持仓均价
  10638. type: number
  10639. buycurholderamount:
  10640. description: 买当前持仓总金额[商品币种]
  10641. type: number
  10642. buycurpositionqty:
  10643. description: 买当前持仓总数量
  10644. type: integer
  10645. buymaxqty:
  10646. description: 购买上限 [71] - 0为不限
  10647. type: integer
  10648. currencysign:
  10649. description: 货币符号
  10650. type: string
  10651. decimalplace:
  10652. description: 报价小数位
  10653. type: integer
  10654. enableqty:
  10655. description: 可用数量
  10656. type: integer
  10657. goodscode:
  10658. description: 商品代码(内部)
  10659. type: string
  10660. goodsid:
  10661. description: 商品Id
  10662. type: integer
  10663. goodsname:
  10664. description: 商品名称
  10665. type: string
  10666. goodsprice:
  10667. description: 商品价格
  10668. type: number
  10669. goodsstatus:
  10670. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10671. type: integer
  10672. last:
  10673. description: 现价(仅使用于挂牌点选)
  10674. type: number
  10675. limitdown:
  10676. description: 跌停价(仅使用于挂牌点选)
  10677. type: number
  10678. limitup:
  10679. description: 涨停价(仅使用于挂牌点选)
  10680. type: number
  10681. lotsize:
  10682. description: 手数最小变动单位
  10683. type: integer
  10684. marketid:
  10685. description: 所属市场ID
  10686. type: integer
  10687. picurls:
  10688. description: 介绍图片[多张用逗号分隔]
  10689. type: string
  10690. quoteminunit:
  10691. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10692. type: integer
  10693. stepvalue:
  10694. description: 价格最小变动单位
  10695. type: number
  10696. trademode:
  10697. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10698. 21:竞拍-大宗式 22:受托竞价
  10699. type: integer
  10700. required:
  10701. - accountid
  10702. - goodscode
  10703. - goodsid
  10704. - goodsname
  10705. - marketid
  10706. - trademode
  10707. type: object
  10708. models.HsbyMyPackage:
  10709. properties:
  10710. accountid:
  10711. description: 账户ID
  10712. type: integer
  10713. address:
  10714. description: 提货人详细地址
  10715. type: string
  10716. agreeunit:
  10717. description: 合约单位
  10718. type: number
  10719. amount:
  10720. description: 提货金额
  10721. type: number
  10722. auditer:
  10723. description: 审核人
  10724. type: integer
  10725. audittime:
  10726. description: 审核时间
  10727. type: string
  10728. averageprice:
  10729. description: 均价
  10730. type: number
  10731. cardnum:
  10732. description: 提货人证件号码
  10733. type: string
  10734. cardtypeid:
  10735. description: 提货人证件类型
  10736. type: integer
  10737. checkremark:
  10738. description: 审核备注
  10739. type: string
  10740. currencysign:
  10741. description: 货币符号
  10742. type: string
  10743. decimalplace:
  10744. description: 报价小数位
  10745. type: integer
  10746. goodscode:
  10747. description: 商品代码(内部)
  10748. type: string
  10749. goodsid:
  10750. description: 商品ID
  10751. type: integer
  10752. goodsname:
  10753. description: 商品名称
  10754. type: string
  10755. handlestatus:
  10756. description: 处理状态
  10757. type: integer
  10758. marketid:
  10759. description: 市场ID
  10760. type: integer
  10761. phonenum:
  10762. description: 提货人联系方式
  10763. type: string
  10764. picurls:
  10765. description: 介绍图片[多张用逗号分隔]
  10766. type: string
  10767. qty:
  10768. description: 提货数量
  10769. type: number
  10770. recivername:
  10771. description: 提货人姓名
  10772. type: string
  10773. reqtime:
  10774. description: 更新时间
  10775. type: string
  10776. takemode:
  10777. description: 提货方式 - 2:自提 3:配送
  10778. type: integer
  10779. takeorderid:
  10780. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10781. type: string
  10782. takeorderstatus:
  10783. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10784. type: integer
  10785. takeremark:
  10786. description: 提货备注
  10787. type: string
  10788. tradedate:
  10789. description: 交易日(yyyyMMdd)
  10790. type: string
  10791. trademode:
  10792. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10793. 21:竞拍-大宗式 22:受托竞价
  10794. type: integer
  10795. userid:
  10796. description: 用户ID
  10797. type: integer
  10798. vendorname:
  10799. description: 供应商名称
  10800. type: string
  10801. required:
  10802. - goodscode
  10803. - goodsname
  10804. - takeorderid
  10805. - trademode
  10806. type: object
  10807. models.HsbyPreGoods:
  10808. properties:
  10809. agreeunit:
  10810. description: 合约单位
  10811. type: number
  10812. currency:
  10813. description: 货币
  10814. type: string
  10815. currencysign:
  10816. description: 货币符号
  10817. type: string
  10818. decimalplace:
  10819. description: 报价小数位
  10820. type: integer
  10821. desccityid:
  10822. description: 目的地(市)
  10823. type: integer
  10824. descprovinceid:
  10825. description: 目的地(省)
  10826. type: integer
  10827. enableqty:
  10828. description: 剩余数量
  10829. type: integer
  10830. goodscode:
  10831. description: 商品代码(内部)
  10832. type: string
  10833. goodsid:
  10834. description: 商品ID(自增ID SEQ_GOODS)
  10835. type: integer
  10836. goodsname:
  10837. description: 商品名称
  10838. type: string
  10839. goodsstatus:
  10840. description: 商品状态- 2:未上市 3:上市
  10841. type: integer
  10842. lasttradedate:
  10843. description: 最后交易日期(状态:待退市)
  10844. type: string
  10845. listingdate:
  10846. description: 交易开始日期
  10847. type: string
  10848. marketid:
  10849. description: 所属市场ID
  10850. type: integer
  10851. picurls:
  10852. description: 介绍图片[多张用逗号分隔]
  10853. type: string
  10854. presaledqty:
  10855. description: 已预售量(预售结束时更新)
  10856. type: integer
  10857. presaleqty:
  10858. description: 预售数量
  10859. type: integer
  10860. quoteminunit:
  10861. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10862. type: integer
  10863. refprice:
  10864. description: 参考价格[一口价]
  10865. type: number
  10866. relatedgoodsid:
  10867. description: 关联交易合约ID
  10868. type: integer
  10869. trademode:
  10870. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10871. 21:竞拍-大宗式 22:受托竞价
  10872. type: integer
  10873. videourls:
  10874. description: 介绍视频[多张用逗号分隔]
  10875. type: string
  10876. required:
  10877. - goodscode
  10878. - goodsid
  10879. - goodsname
  10880. - marketid
  10881. - trademode
  10882. type: object
  10883. models.HsbyPreGoodsDetail:
  10884. properties:
  10885. agreeunit:
  10886. description: 合约单位
  10887. type: number
  10888. buymaxqty:
  10889. description: 购买上限 [71] - 0为不限
  10890. type: integer
  10891. currency:
  10892. description: 货币
  10893. type: string
  10894. currencysign:
  10895. description: 货币符号
  10896. type: string
  10897. customername:
  10898. description: 发行单位
  10899. type: string
  10900. decimalplace:
  10901. description: 报价小数位
  10902. type: integer
  10903. desccityid:
  10904. description: 目的地(市)ID
  10905. type: integer
  10906. descprovinceid:
  10907. description: 目的地(省)ID
  10908. type: integer
  10909. enableqty:
  10910. description: 剩余数量
  10911. type: integer
  10912. goodscode:
  10913. description: 商品代码(内部)
  10914. type: string
  10915. goodsdesc:
  10916. description: 商品详情
  10917. type: string
  10918. goodsid:
  10919. description: 商品ID(自增ID SEQ_GOODS)
  10920. type: integer
  10921. goodsname:
  10922. description: 商品名称
  10923. type: string
  10924. goodsstatus:
  10925. description: 商品状态- 2:未上市 3:上市
  10926. type: integer
  10927. goodunit:
  10928. description: 报价单位
  10929. type: string
  10930. lasttradedate:
  10931. description: 最后交易日期(状态:待退市)
  10932. type: string
  10933. listingdate:
  10934. description: 交易开始日期
  10935. type: string
  10936. lotsize:
  10937. description: 手数最小变动单位
  10938. type: integer
  10939. marketid:
  10940. description: 所属市场ID
  10941. type: integer
  10942. picurls:
  10943. description: 介绍图片[多张用逗号分隔]
  10944. type: string
  10945. presaledqty:
  10946. description: 已预售量(预售结束时更新)
  10947. type: integer
  10948. presaleqty:
  10949. description: 预售数量
  10950. type: integer
  10951. quoteminunit:
  10952. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10953. type: integer
  10954. refprice:
  10955. description: 参考价格[一口价]
  10956. type: number
  10957. relatedgoodsid:
  10958. description: 关联交易合约ID
  10959. type: integer
  10960. stepvalue:
  10961. description: 价格最小变动单位
  10962. type: number
  10963. trademode:
  10964. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10965. 21:竞拍-大宗式 22:受托竞价
  10966. type: integer
  10967. vendorattr:
  10968. description: 供应商附件(多张,逗号分隔)
  10969. type: string
  10970. vendorname:
  10971. description: 供应商名称
  10972. type: string
  10973. vendorphone:
  10974. description: 供应商客服电话
  10975. type: string
  10976. videourls:
  10977. description: 介绍视频[多张用逗号分隔]
  10978. type: string
  10979. required:
  10980. - goodscode
  10981. - goodsid
  10982. - goodsname
  10983. - marketid
  10984. - trademode
  10985. type: object
  10986. models.HsbySellCollectionOrder:
  10987. properties:
  10988. agreeunit:
  10989. description: 合约单位
  10990. type: number
  10991. buyaccountid:
  10992. description: 买方账号ID[报价币种]
  10993. type: integer
  10994. buyorderid:
  10995. description: 买方委托单号
  10996. type: string
  10997. createtime:
  10998. description: 创建时间
  10999. type: string
  11000. currencysign:
  11001. description: 货币符号
  11002. type: string
  11003. decimalplace:
  11004. description: 报价小数位
  11005. type: integer
  11006. goodscode:
  11007. description: 商品代码(内部)
  11008. type: string
  11009. goodsid:
  11010. description: 商品ID
  11011. type: integer
  11012. goodsname:
  11013. description: 商品名称
  11014. type: string
  11015. marketid:
  11016. description: 市场ID
  11017. type: integer
  11018. offamount:
  11019. description: 优惠金额
  11020. type: number
  11021. payamount:
  11022. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  11023. type: number
  11024. payflag:
  11025. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11026. type: integer
  11027. paylimitedtime:
  11028. description: 支付期限
  11029. type: string
  11030. paytime:
  11031. description: 付款时间
  11032. type: string
  11033. picurls:
  11034. description: 商品介绍图片[多张用逗号分隔]
  11035. type: string
  11036. sellaccountid:
  11037. description: 卖方账号ID[报价币种]
  11038. type: integer
  11039. sellorderid:
  11040. description: 卖方委托单号
  11041. type: string
  11042. tradeamount:
  11043. description: 成交金额
  11044. type: number
  11045. tradecharge:
  11046. description: 成交手续费(买方)
  11047. type: number
  11048. tradedate:
  11049. description: 交易日(yyyyMMdd)
  11050. type: string
  11051. tradeid:
  11052. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11053. type: string
  11054. trademode:
  11055. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11056. 21:竞拍-大宗式 22:受托竞价
  11057. type: integer
  11058. tradeprice:
  11059. description: 成交价格
  11060. type: number
  11061. tradeqty:
  11062. description: 成交数量
  11063. type: integer
  11064. required:
  11065. - goodscode
  11066. - goodsname
  11067. - tradeid
  11068. - trademode
  11069. type: object
  11070. models.HsbySellMyDetail:
  11071. properties:
  11072. accountid:
  11073. description: 账户ID[报价币种]
  11074. type: integer
  11075. agreeunit:
  11076. description: 合约单位
  11077. type: number
  11078. buyorsell:
  11079. description: 买卖 - 0:买 1:卖
  11080. type: integer
  11081. currencysign:
  11082. description: 货币符号
  11083. type: string
  11084. decimalplace:
  11085. description: 报价小数位
  11086. type: integer
  11087. goodscode:
  11088. description: 商品代码(内部)
  11089. type: string
  11090. goodsid:
  11091. description: 商品ID
  11092. type: integer
  11093. goodsname:
  11094. description: 商品名称
  11095. type: string
  11096. marketid:
  11097. description: 市场ID
  11098. type: integer
  11099. orderid:
  11100. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  11101. type: string
  11102. ordertype:
  11103. description: 单据类型:0 - 发布中, 1 - 已完成
  11104. type: integer
  11105. picurls:
  11106. description: 介绍图片[多张用逗号分隔]
  11107. type: string
  11108. price:
  11109. description: 价格
  11110. type: number
  11111. qty:
  11112. description: 数量
  11113. type: integer
  11114. time:
  11115. description: 时间
  11116. type: string
  11117. trademode:
  11118. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11119. 21:竞拍-大宗式 22:受托竞价
  11120. type: integer
  11121. vendorname:
  11122. description: 供应商名称
  11123. type: string
  11124. required:
  11125. - accountid
  11126. - buyorsell
  11127. - goodscode
  11128. - goodsid
  11129. - goodsname
  11130. - marketid
  11131. - orderid
  11132. - time
  11133. - trademode
  11134. type: object
  11135. models.HsbyTopGoods:
  11136. properties:
  11137. agreeunit:
  11138. description: 合约单位
  11139. type: number
  11140. currency:
  11141. description: 货币
  11142. type: string
  11143. currencysign:
  11144. description: 货币符号
  11145. type: string
  11146. decimalplace:
  11147. description: 报价小数位
  11148. type: integer
  11149. desccityid:
  11150. description: 目的地(市)
  11151. type: integer
  11152. descprovinceid:
  11153. description: 目的地(省)
  11154. type: integer
  11155. goodscode:
  11156. description: 商品代码(内部)
  11157. type: string
  11158. goodsid:
  11159. description: 商品ID(自增ID SEQ_GOODS)
  11160. type: integer
  11161. goodsname:
  11162. description: 商品名称
  11163. type: string
  11164. hotindex:
  11165. description: 景点热度
  11166. type: integer
  11167. last:
  11168. description: 现价
  11169. type: number
  11170. marketid:
  11171. description: 所属市场ID
  11172. type: integer
  11173. picurls:
  11174. description: 介绍图片[多张用逗号分隔]
  11175. type: string
  11176. quoteminunit:
  11177. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11178. type: integer
  11179. trademode:
  11180. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11181. 21:竞拍-大宗式 22:受托竞价
  11182. type: integer
  11183. videourls:
  11184. description: 介绍视频[多张用逗号分隔]
  11185. type: string
  11186. required:
  11187. - goodscode
  11188. - goodsid
  11189. - goodsname
  11190. - marketid
  11191. - trademode
  11192. type: object
  11193. models.HybsMyBuyOrderDetail:
  11194. properties:
  11195. accountid:
  11196. description: 账户ID[报价币种]
  11197. type: integer
  11198. agreeunit:
  11199. description: 合约单位
  11200. type: number
  11201. buyorsell:
  11202. description: 买卖 - 0:买 1:卖
  11203. type: integer
  11204. cancelqty:
  11205. description: 撤单数量
  11206. type: integer
  11207. currencysign:
  11208. description: 货币符号
  11209. type: string
  11210. decimalplace:
  11211. description: 报价小数位
  11212. type: integer
  11213. goodscode:
  11214. description: 商品代码(内部)
  11215. type: string
  11216. goodsid:
  11217. description: 商品ID
  11218. type: integer
  11219. goodsname:
  11220. description: 商品名称
  11221. type: string
  11222. listingselecttype:
  11223. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11224. type: integer
  11225. marketid:
  11226. description: 市场ID
  11227. type: integer
  11228. mybuystatus:
  11229. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11230. type: integer
  11231. orderamount:
  11232. description: 委托金额
  11233. type: number
  11234. orderid:
  11235. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11236. type: string
  11237. orderprice:
  11238. description: 委托价格
  11239. type: number
  11240. orderqty:
  11241. description: 委托数量
  11242. type: integer
  11243. orderstatus:
  11244. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11245. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11246. 16:成交失败违约(荷兰式竞拍专用)
  11247. type: integer
  11248. ordertime:
  11249. description: 委托时间
  11250. type: string
  11251. picurls1:
  11252. description: 预售商品介绍图片[多张用逗号分隔]
  11253. type: string
  11254. picurls2:
  11255. description: 挂牌商品介绍图片[多张用逗号分隔]
  11256. type: string
  11257. trademode:
  11258. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11259. 21:竞拍-大宗式 22:受托竞价
  11260. type: integer
  11261. tradeqty:
  11262. description: 成交数量
  11263. type: integer
  11264. vendorname1:
  11265. description: 预售商品供应商名称
  11266. type: string
  11267. vendorname2:
  11268. description: 挂牌商品供应商名称
  11269. type: string
  11270. required:
  11271. - accountid
  11272. - buyorsell
  11273. - goodscode
  11274. - goodsid
  11275. - goodsname
  11276. - marketid
  11277. - orderid
  11278. - orderqty
  11279. - ordertime
  11280. - trademode
  11281. type: object
  11282. models.InternalEnableTradeDetail:
  11283. properties:
  11284. agreeunit:
  11285. description: 合约乘数
  11286. type: number
  11287. areauserid:
  11288. description: 企业ID
  11289. type: integer
  11290. convertratio:
  11291. description: 品种系数
  11292. type: number
  11293. deliverygoodscode:
  11294. description: 现货品种代码
  11295. type: string
  11296. deliverygoodsid:
  11297. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11298. type: integer
  11299. deliverygoodsname:
  11300. description: 现货品种名称
  11301. type: string
  11302. futurehedgeqty:
  11303. description: '[已关联数量]期货持仓套期量'
  11304. type: number
  11305. goodsid:
  11306. description: 期货合约ID
  11307. type: integer
  11308. hedgeditemid:
  11309. description: 被套期项目ID
  11310. type: string
  11311. hedgeditemnum:
  11312. description: 项目编号
  11313. type: string
  11314. tradeuserid:
  11315. description: 交易用户ID
  11316. type: integer
  11317. unexehedgeqty:
  11318. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11319. type: number
  11320. unexespotqty:
  11321. description: 未执行现货量
  11322. type: number
  11323. wrstandardcode:
  11324. description: 现货品类代码
  11325. type: string
  11326. wrstandardid:
  11327. description: 现货品类ID(SEQ_WRSTANDARD)
  11328. type: integer
  11329. wrstandardname:
  11330. description: 现货品类名称
  11331. type: string
  11332. required:
  11333. - areauserid
  11334. - goodsid
  11335. - tradeuserid
  11336. type: object
  11337. models.InternalUncorrelatedTradeDetail:
  11338. properties:
  11339. accountid:
  11340. description: 账号ID
  11341. type: integer
  11342. accountname:
  11343. description: 套期主体
  11344. type: string
  11345. agreeunit:
  11346. description: 合约乘数
  11347. type: number
  11348. areauserid:
  11349. description: 所属机构
  11350. type: integer
  11351. bizsubjectid:
  11352. description: 归属业务部门ID - SubjectID
  11353. type: integer
  11354. buyorsell:
  11355. description: 方向 - 0:买 1:卖
  11356. type: integer
  11357. channelbuildtype:
  11358. description: 委托单据类型 0:无 1:建仓 2:平仓
  11359. type: integer
  11360. convertratio:
  11361. description: 品种系数
  11362. type: number
  11363. createtime:
  11364. description: 创建时间
  11365. type: string
  11366. creatorid:
  11367. description: 创建人ID
  11368. type: integer
  11369. creatorsrc:
  11370. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11371. type: integer
  11372. enableqty:
  11373. description: 项目可关联数量 = 套保品种数量 - 关联数量
  11374. type: number
  11375. enumdicname:
  11376. description: 单位
  11377. type: string
  11378. goodscode:
  11379. description: 合约代码
  11380. type: string
  11381. goodsgroupid:
  11382. description: 对冲品种ID[期货合约商品组ID]
  11383. type: integer
  11384. goodsid:
  11385. description: 商品ID
  11386. type: integer
  11387. goodsname:
  11388. description: 合约名称
  11389. type: string
  11390. hedgeditemid:
  11391. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11392. type: integer
  11393. hedgeflag:
  11394. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11395. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11396. type: integer
  11397. linkdetailid:
  11398. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11399. type: string
  11400. linkstatus:
  11401. description: 关联状态 - 1:成功 2:失败 3:解绑
  11402. type: integer
  11403. middlegoodsid:
  11404. description: 套保品种ID
  11405. type: integer
  11406. middlegoodsqty:
  11407. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  11408. type: number
  11409. relatedlot:
  11410. description: '[数量]关联手数'
  11411. type: number
  11412. relatedmode:
  11413. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11414. type: integer
  11415. relatedqty:
  11416. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11417. type: number
  11418. retcode:
  11419. description: 返回码
  11420. type: integer
  11421. saleuserid:
  11422. description: 业务员ID
  11423. type: integer
  11424. tradedate:
  11425. description: 关联交易日(yyyyMMdd)
  11426. type: string
  11427. tradeid:
  11428. description: 成交单号
  11429. type: string
  11430. tradelot:
  11431. description: 成交手数
  11432. type: integer
  11433. tradeprice:
  11434. description: 成交价
  11435. type: number
  11436. tradetime:
  11437. description: 成交时间
  11438. type: string
  11439. tradetradedate:
  11440. description: 成交交易日(yyyyMMdd)
  11441. type: string
  11442. tradeuserid:
  11443. description: 交易用户ID
  11444. type: integer
  11445. type: object
  11446. models.Loginaccount:
  11447. properties:
  11448. accountname:
  11449. description: 账户名称
  11450. type: string
  11451. canoutin:
  11452. description: 是否可出入金 - 0:不可 1:可
  11453. type: integer
  11454. clientroleid:
  11455. description: 终端角色ID
  11456. type: integer
  11457. haslogined:
  11458. description: 是否已登录 - 0:未登录 1:已登录
  11459. type: integer
  11460. hasupdatedpwd:
  11461. description: 是否已更改密码 - 0:未修改 1:已修改
  11462. type: integer
  11463. lastloginip:
  11464. description: 最新登录地址
  11465. type: string
  11466. lastloginmode:
  11467. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11468. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11469. type: integer
  11470. lastloginremark:
  11471. description: 最新登录描述
  11472. type: string
  11473. lastlogintime:
  11474. description: 最新登录时间
  11475. type: string
  11476. logincode:
  11477. description: 登录代码
  11478. type: string
  11479. loginfailnum:
  11480. description: 连续登录失败次数(登录成功时清零)
  11481. type: integer
  11482. loginid:
  11483. description: 登陆账号
  11484. type: integer
  11485. loginport:
  11486. description: 最新登录端口
  11487. type: integer
  11488. loginstatus:
  11489. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11490. type: integer
  11491. loginusertype:
  11492. description: 登录账号类型 - 1:投资者 2:机构交易员
  11493. type: integer
  11494. mobile:
  11495. description: 手机号码(加密存储)
  11496. type: string
  11497. modifierid:
  11498. description: 修改人
  11499. type: integer
  11500. modifysrc:
  11501. description: 审核来源 - 1:管理端 2:终端
  11502. type: integer
  11503. modifytime:
  11504. description: 修改时间
  11505. type: string
  11506. password:
  11507. description: 登陆密码
  11508. type: string
  11509. pwdwrongcount:
  11510. description: 密码错误次数
  11511. type: integer
  11512. relateduserid:
  11513. description: 关联用户ID(机构)
  11514. type: integer
  11515. taaccountrighttype:
  11516. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11517. type: integer
  11518. unfreezetime:
  11519. description: 账户解冻时间
  11520. type: string
  11521. userid:
  11522. description: 用户ID
  11523. type: integer
  11524. required:
  11525. - loginid
  11526. type: object
  11527. models.MainAccountInfo:
  11528. properties:
  11529. accountid:
  11530. description: 账号id
  11531. type: integer
  11532. accountname:
  11533. description: 账号名称(taaccount表中的名称)
  11534. type: string
  11535. appid:
  11536. description: AppID
  11537. type: string
  11538. authcode:
  11539. description: 授权码
  11540. type: string
  11541. brokerid:
  11542. description: 经纪商id
  11543. type: string
  11544. fcid:
  11545. description: 期货公司id
  11546. type: integer
  11547. fcname:
  11548. description: 期货公司代码
  11549. type: string
  11550. hedgeaccountcode:
  11551. description: 外部账号代码(主账号登录代码)
  11552. type: string
  11553. hedgeaccountpwd:
  11554. description: 密码
  11555. type: string
  11556. ismain:
  11557. description: 是否主账号
  11558. type: integer
  11559. relateduserid:
  11560. description: 关联用户id
  11561. type: integer
  11562. userid:
  11563. description: 关联用户id
  11564. type: integer
  11565. type: object
  11566. models.Market:
  11567. properties:
  11568. auctionwrtype:
  11569. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11570. type: integer
  11571. canacceptquote:
  11572. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11573. type: integer
  11574. cangoodsexercise:
  11575. description: '[期权]是否可现货行权- 0:否 1:是'
  11576. type: integer
  11577. cangoodsexercisetype:
  11578. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11579. type: integer
  11580. canmanualquotestrike:
  11581. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11582. type: integer
  11583. canmutistage:
  11584. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11585. type: integer
  11586. canpreexercise:
  11587. description: '[期权]是否可预申报- 0:否 1:是'
  11588. type: integer
  11589. clearinterval:
  11590. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11591. type: integer
  11592. contracttmp:
  11593. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11594. type: string
  11595. exchareaid:
  11596. description: 所属交易所,可以没有
  11597. type: integer
  11598. goodstype:
  11599. description: 商品类型 - 1:交易商品 2:仓单商品
  11600. type: integer
  11601. hasrebate:
  11602. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11603. type: integer
  11604. hastradecredit:
  11605. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11606. type: integer
  11607. haswr:
  11608. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11609. type: integer
  11610. isdeductmargin:
  11611. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11612. type: integer
  11613. isrecordsource:
  11614. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11615. type: integer
  11616. isreleasemargin:
  11617. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11618. type: integer
  11619. marginformula:
  11620. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11621. type: integer
  11622. marginformula2:
  11623. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11624. type: integer
  11625. marketid:
  11626. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11627. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11628. type: integer
  11629. marketname:
  11630. description: 市场名称
  11631. type: string
  11632. marketserviceid:
  11633. description: 市场服务ID
  11634. type: integer
  11635. marketstatus:
  11636. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11637. type: integer
  11638. markettype:
  11639. description: 市场类型- 1:非交易服务 2:交易服务
  11640. type: integer
  11641. matchermode:
  11642. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11643. type: integer
  11644. openmethod:
  11645. description: 开盘模式 - 0 自动 1手动
  11646. type: integer
  11647. otcuserid:
  11648. description: 场外期权做市商[场外期权]
  11649. type: integer
  11650. outersynctime:
  11651. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11652. type: string
  11653. pendingflag:
  11654. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11655. type: integer
  11656. pendingtime:
  11657. description: 待开市时间[通道交易-对冲](HH:mm)
  11658. type: string
  11659. performancetempid:
  11660. description: 履约计划模板ID - 作废
  11661. type: integer
  11662. premiumquotemode:
  11663. description: 权利金报价方式 - 1:自动 2:手动
  11664. type: integer
  11665. rebateratio:
  11666. description: 返利比率[竞价式]
  11667. type: number
  11668. reckonorder:
  11669. description: 结算顺序
  11670. type: integer
  11671. reckonpricealgorithm:
  11672. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11673. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11674. type: integer
  11675. reckonpriceparam:
  11676. description: 结算价参数
  11677. type: integer
  11678. reckontime:
  11679. description: 结算时间[通道交易-对冲](HH:mm)
  11680. type: string
  11681. roleprioritytype:
  11682. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11683. type: integer
  11684. selllistingauditflag:
  11685. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11686. type: integer
  11687. trademarkettype:
  11688. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11689. type: integer
  11690. trademode:
  11691. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11692. 21:竞拍-大宗式 22:受托竞价
  11693. type: integer
  11694. tradeproperty:
  11695. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11696. 8:场外期权
  11697. type: integer
  11698. tradetype:
  11699. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11700. type: integer
  11701. required:
  11702. - marketid
  11703. - marketstatus
  11704. - openmethod
  11705. - reckonpricealgorithm
  11706. - trademode
  11707. - tradeproperty
  11708. type: object
  11709. models.Marketcalendar:
  11710. properties:
  11711. holidaydate:
  11712. description: 节假日期(yyyy-MM-dd)
  11713. type: string
  11714. marketid:
  11715. description: 市场ID
  11716. type: integer
  11717. type: object
  11718. models.Marketrun:
  11719. properties:
  11720. afternexttradedate:
  11721. description: 下下交易日
  11722. type: string
  11723. clearquoteflag:
  11724. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11725. type: integer
  11726. lastreckondate:
  11727. description: 最新交易日(结算成功)
  11728. type: string
  11729. machinedate:
  11730. description: 机器时间
  11731. type: string
  11732. manualflag:
  11733. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11734. type: integer
  11735. marketid:
  11736. description: 市场ID
  11737. type: integer
  11738. nexttradedate:
  11739. description: 下一交易日
  11740. type: string
  11741. pretradedate:
  11742. description: 上一交易日
  11743. type: string
  11744. reckonflag:
  11745. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11746. type: integer
  11747. runstatus:
  11748. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11749. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11750. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11751. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11752. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11753. 62.今日免清算
  11754. type: integer
  11755. sectionid:
  11756. description: 时间段号[多时段时用]
  11757. type: integer
  11758. tradedate:
  11759. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11760. type: string
  11761. tradedate2:
  11762. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11763. type: string
  11764. updatetime:
  11765. description: 更新时间
  11766. type: string
  11767. required:
  11768. - marketid
  11769. - nexttradedate
  11770. - reckonflag
  11771. - runstatus
  11772. - tradedate
  11773. - tradedate2
  11774. type: object
  11775. models.Messageboard:
  11776. properties:
  11777. contactnum:
  11778. description: 联系电话
  11779. type: string
  11780. createtime:
  11781. description: 创建时间
  11782. type: string
  11783. message:
  11784. description: 留言信息
  11785. type: string
  11786. messageboardid:
  11787. description: 留言簿ID(SEQ_MessageBoard)
  11788. type: integer
  11789. userid:
  11790. description: 用户ID
  11791. type: integer
  11792. required:
  11793. - messageboardid
  11794. type: object
  11795. models.MyCoupon:
  11796. properties:
  11797. accountid:
  11798. description: 资金账户ID
  11799. type: integer
  11800. areauserid:
  11801. description: 所属机构
  11802. type: integer
  11803. conditionvalue:
  11804. description: 条件阈值(可为0)
  11805. type: number
  11806. couponcategroy:
  11807. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11808. type: integer
  11809. couponname:
  11810. description: 优惠券名称
  11811. type: string
  11812. coupontypeid:
  11813. description: 优惠券类型ID
  11814. type: string
  11815. couponvalue:
  11816. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11817. type: number
  11818. curfreezeqty:
  11819. description: 期末冻结数量
  11820. type: integer
  11821. curqty:
  11822. description: 期末数量
  11823. type: integer
  11824. isgeneral:
  11825. description: 是否通用券 - 0:否 1:是
  11826. type: integer
  11827. isunusable:
  11828. description: 是否不可用
  11829. type: boolean
  11830. limitedflag:
  11831. description: 是否指定商品 - 0:不限 1:限制
  11832. type: integer
  11833. limitedgoodsids:
  11834. description: 指定商品IDs[逗号分隔,前后加逗号]
  11835. type: string
  11836. orifreezeqty:
  11837. description: 期初冻结数量
  11838. type: integer
  11839. oriqty:
  11840. description: 期初数量
  11841. type: integer
  11842. reasontype:
  11843. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11844. type: integer
  11845. todaydecrease:
  11846. description: 今日减少
  11847. type: integer
  11848. todayincrease:
  11849. description: 今日增加
  11850. type: integer
  11851. userid:
  11852. description: 用户ID
  11853. type: integer
  11854. userscope:
  11855. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11856. type: string
  11857. required:
  11858. - accountid
  11859. - coupontypeid
  11860. type: object
  11861. models.MyCouponHold:
  11862. properties:
  11863. accountid:
  11864. description: 资金账户ID
  11865. type: integer
  11866. conditionvalue:
  11867. description: 条件阈值(可为0)
  11868. type: number
  11869. couponcategroy:
  11870. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11871. type: integer
  11872. couponholdid:
  11873. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11874. type: string
  11875. couponname:
  11876. description: 优惠券名称
  11877. type: string
  11878. coupontypeid:
  11879. description: 优惠券类型ID - SEQ_COUPONTYPE
  11880. type: string
  11881. couponvalue:
  11882. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11883. type: number
  11884. createtime:
  11885. description: 创建时间
  11886. type: string
  11887. enddate:
  11888. description: 结束日期
  11889. type: string
  11890. giveapplyid:
  11891. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11892. type: integer
  11893. holdstatus:
  11894. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11895. type: integer
  11896. isgeneral:
  11897. description: 是否通用券 - 0:否 1:是
  11898. type: integer
  11899. limitedflag:
  11900. description: 是否指定商品 - 0:不限 1:限制
  11901. type: integer
  11902. limitedgoodsids:
  11903. description: 指定商品IDs[逗号分隔]
  11904. type: string
  11905. qty:
  11906. description: 数量(按1平铺)
  11907. type: integer
  11908. startdate:
  11909. description: 开始日期
  11910. type: string
  11911. userid:
  11912. description: 用户ID
  11913. type: integer
  11914. userscope:
  11915. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11916. type: string
  11917. required:
  11918. - couponholdid
  11919. type: object
  11920. models.MyUsedCoupon:
  11921. properties:
  11922. accountid:
  11923. description: 资金账户ID(买方)
  11924. type: integer
  11925. conditionvalue:
  11926. description: 条件阈值(可为0)
  11927. type: number
  11928. couponcategroy:
  11929. description: 种类 - 1:现金券 2:折扣券
  11930. type: integer
  11931. couponname:
  11932. description: 优惠券名称
  11933. type: string
  11934. coupontypeid:
  11935. description: 优惠券类型ID(买方)
  11936. type: string
  11937. couponvalue:
  11938. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11939. type: number
  11940. createtime:
  11941. description: 创建时间
  11942. type: string
  11943. goodsid:
  11944. description: 商品ID
  11945. type: integer
  11946. handlestatus:
  11947. description: 处理状态
  11948. type: integer
  11949. marketid:
  11950. description: 市场ID
  11951. type: integer
  11952. offamount:
  11953. description: 优惠金额
  11954. type: number
  11955. orderid:
  11956. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11957. type: string
  11958. sellaccountid:
  11959. description: 资金账户ID(卖方)
  11960. type: integer
  11961. tradeamount:
  11962. description: 成交金额
  11963. type: number
  11964. tradeid:
  11965. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11966. type: string
  11967. usedqty:
  11968. description: 使用数量
  11969. type: integer
  11970. required:
  11971. - coupontypeid
  11972. - orderid
  11973. type: object
  11974. models.MyWRPosition:
  11975. properties:
  11976. cerno:
  11977. description: 证书编号 - 类型:2,4,5
  11978. type: string
  11979. cpcertno:
  11980. description: 金伯利证书编号 - 类型:3
  11981. type: string
  11982. ffreezeqty:
  11983. description: 期初均价
  11984. type: number
  11985. ftotalqty:
  11986. description: 期初均价
  11987. type: number
  11988. goodsno:
  11989. description: 商品编号
  11990. type: string
  11991. imagepath:
  11992. description: 商品照片(相对地址)
  11993. type: string
  11994. isvalid:
  11995. description: 是否有效 - 0:无效 1:有效
  11996. type: integer
  11997. kppath:
  11998. description: 金伯利证书图片(相对地址) - 类型:3
  11999. type: string
  12000. kpweight:
  12001. description: 金伯利证书重量 - 类型:3
  12002. type: string
  12003. marketprice:
  12004. description: 市场价
  12005. type: string
  12006. origin:
  12007. description: 原产地 - 类型:3
  12008. type: string
  12009. price:
  12010. description: 总价(价格) - 类型:1,2,3,4,5
  12011. type: number
  12012. priceper:
  12013. description: 克拉单价 - 类型:1,2,3,5
  12014. type: string
  12015. remark:
  12016. description: 备注
  12017. type: string
  12018. sellmobile:
  12019. description: 手机号码(加密存储)
  12020. type: string
  12021. sellusername:
  12022. description: 账户名称(机构名称)
  12023. type: string
  12024. settingmaterial:
  12025. description: 镶嵌材料 - 类型:4
  12026. type: string
  12027. size1:
  12028. description: 尺寸1 - 类型:2,4,5
  12029. type: string
  12030. size2:
  12031. description: 尺寸2 - 类型:2,4,5
  12032. type: string
  12033. size3:
  12034. description: 尺寸3 - 类型:2,4,5
  12035. type: string
  12036. stonedesc:
  12037. description: 配石描述 - 类型:4
  12038. type: string
  12039. userid:
  12040. description: 用户ID
  12041. type: integer
  12042. warehouseid:
  12043. description: 仓库ID
  12044. type: integer
  12045. warehousenamedisplay:
  12046. type: string
  12047. weight:
  12048. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12049. type: number
  12050. weightavg:
  12051. description: 平均单颗重量 - 类型:1,3
  12052. type: number
  12053. wrpath:
  12054. description: 仓单扫描件(相对地址)
  12055. type: string
  12056. wrstandardid:
  12057. description: 现货商品ID
  12058. type: integer
  12059. wruserid:
  12060. description: 登录用户ID
  12061. type: integer
  12062. zscategory:
  12063. description: 钻石分类 - 枚举”ZSCategory“
  12064. type: integer
  12065. zscategorydisplay:
  12066. type: string
  12067. zscerttype:
  12068. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12069. type: integer
  12070. zscerttypedisplay:
  12071. type: string
  12072. zsclaritytype1:
  12073. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12074. type: integer
  12075. zsclaritytype1display:
  12076. type: string
  12077. zsclaritytype2:
  12078. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12079. type: integer
  12080. zsclaritytype2display:
  12081. type: string
  12082. zscolortype1:
  12083. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12084. type: integer
  12085. zscolortype1display:
  12086. type: string
  12087. zscolortype2:
  12088. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12089. type: integer
  12090. zscolortype2display:
  12091. type: string
  12092. zscrystaltype:
  12093. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12094. type: string
  12095. zscrystaltypedisplay:
  12096. type: string
  12097. zscurrencytype:
  12098. description: 货币类型 - 枚举“ZSCurrencyType”
  12099. type: integer
  12100. zscurrencytypedisplay:
  12101. type: string
  12102. zscurrencytypedisplayunit:
  12103. type: string
  12104. zscuttype1:
  12105. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12106. type: integer
  12107. zscuttype1display:
  12108. type: string
  12109. zscuttype2:
  12110. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12111. type: integer
  12112. zscuttype2display:
  12113. type: string
  12114. zsczcolor1type:
  12115. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12116. type: integer
  12117. zsczcolor1typedisplay:
  12118. type: string
  12119. zsczcolor2type:
  12120. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12121. type: integer
  12122. zsczcolor2typedisplay:
  12123. type: string
  12124. zsczcolor3type:
  12125. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12126. type: integer
  12127. zsczcolor3typedisplay:
  12128. type: string
  12129. zsfluorescencetype1:
  12130. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12131. type: integer
  12132. zsfluorescencetype1display:
  12133. type: string
  12134. zsfluorescencetype2:
  12135. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12136. type: integer
  12137. zsfluorescencetype2display:
  12138. type: string
  12139. zspolishtype1:
  12140. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12141. type: integer
  12142. zspolishtype1display:
  12143. type: string
  12144. zspolishtype2:
  12145. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12146. type: integer
  12147. zspolishtype2display:
  12148. type: string
  12149. zsshapetype:
  12150. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12151. type: string
  12152. zsshapetypedisplay:
  12153. type: string
  12154. zsstyletype:
  12155. description: 款式 - 类型:4
  12156. type: integer
  12157. zsstyletypedisplay:
  12158. type: string
  12159. zssymmetrytype1:
  12160. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12161. type: integer
  12162. zssymmetrytype1display:
  12163. type: string
  12164. zssymmetrytype2:
  12165. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12166. type: integer
  12167. zssymmetrytype2display:
  12168. type: string
  12169. required:
  12170. - wruserid
  12171. type: object
  12172. models.NewFuncmenulist:
  12173. properties:
  12174. authtype:
  12175. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12176. type: integer
  12177. buttonname:
  12178. description: 按钮名称
  12179. type: string
  12180. buttontype:
  12181. description: 按钮类型 - 存按钮样式
  12182. type: string
  12183. component:
  12184. description: 组件名或组件地址
  12185. type: string
  12186. hidden:
  12187. description: 是否隐藏 - 0:显示 1:隐藏
  12188. type: integer
  12189. iconame:
  12190. description: 菜单图标
  12191. type: string
  12192. menutype:
  12193. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12194. type: integer
  12195. parentcode:
  12196. description: 上级资源代码
  12197. type: string
  12198. remark:
  12199. description: Remark
  12200. type: string
  12201. resourcecode:
  12202. description: 资源代码
  12203. type: string
  12204. resourcelevel:
  12205. description: 级别1-一级 2-二级 3-三级4-四级
  12206. type: integer
  12207. resourcename:
  12208. description: 资源名(Title)
  12209. type: string
  12210. sort:
  12211. description: 排序
  12212. type: integer
  12213. url:
  12214. description: Url
  12215. type: string
  12216. urltype:
  12217. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12218. type: integer
  12219. required:
  12220. - resourcecode
  12221. type: object
  12222. models.OperationPrimaryMenu:
  12223. properties:
  12224. Children:
  12225. description: 二级功能菜单
  12226. items:
  12227. $ref: '#/definitions/models.OperationSecondaryMenu'
  12228. type: array
  12229. Key:
  12230. description: 菜单KEY
  12231. type: string
  12232. Label:
  12233. description: 菜单标题
  12234. type: string
  12235. type: object
  12236. models.OperationSecondaryMenu:
  12237. properties:
  12238. Key:
  12239. description: 菜单KEY
  12240. type: string
  12241. Label:
  12242. description: 菜单标题
  12243. type: string
  12244. TabList:
  12245. description: 三级功能菜单
  12246. items:
  12247. $ref: '#/definitions/models.OperationTabMenu'
  12248. type: array
  12249. type: object
  12250. models.OperationTabMenu:
  12251. properties:
  12252. Key:
  12253. description: 菜单KEY
  12254. type: string
  12255. Label:
  12256. description: 菜单标题
  12257. type: string
  12258. type: object
  12259. models.Patradelinkdetail:
  12260. properties:
  12261. accountname:
  12262. description: 套期主体
  12263. type: string
  12264. agreeunit:
  12265. description: 合约乘数
  12266. type: number
  12267. amount:
  12268. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12269. type: number
  12270. areauserid:
  12271. description: 所属机构
  12272. type: integer
  12273. bizsubjectid:
  12274. description: 归属业务部门ID - SubjectID
  12275. type: integer
  12276. buyorsell:
  12277. description: 方向 - 0:买 1:卖
  12278. type: integer
  12279. convertratio:
  12280. description: 品种系数
  12281. type: number
  12282. convertratiochange:
  12283. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12284. type: number
  12285. createtime:
  12286. description: '[日期时间]创建时间'
  12287. type: string
  12288. creatorid:
  12289. description: 创建人ID
  12290. type: integer
  12291. creatorsrc:
  12292. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12293. type: integer
  12294. goodscode:
  12295. description: 商品代码(内部)
  12296. type: string
  12297. goodsgroupid:
  12298. description: 对冲品种ID[期货合约商品组ID]
  12299. type: integer
  12300. goodsid:
  12301. description: 商品ID
  12302. type: integer
  12303. hedgeditemid:
  12304. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12305. type: integer
  12306. hedgeflag:
  12307. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12308. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12309. type: integer
  12310. linkdetailid:
  12311. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12312. type: string
  12313. linkstatus:
  12314. description: 关联状态 - 1:成功 2:失败 3:解绑
  12315. type: integer
  12316. middlegoodsid:
  12317. description: 套保品种ID
  12318. type: integer
  12319. name:
  12320. description: 账户名/子账户
  12321. type: string
  12322. optioncode:
  12323. description: '[期货合约]期权代码 [期权]'
  12324. type: string
  12325. ordertype:
  12326. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12327. type: integer
  12328. relatedlot:
  12329. description: '[数量]关联手数'
  12330. type: number
  12331. relatedmode:
  12332. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12333. type: integer
  12334. relatedqty:
  12335. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12336. type: number
  12337. retcode:
  12338. description: 返回码
  12339. type: integer
  12340. saleuserid:
  12341. description: 业务员ID
  12342. type: integer
  12343. tradedate:
  12344. description: 关联交易日(yyyyMMdd)
  12345. type: string
  12346. tradeid:
  12347. description: '[成交单号]内部成交单ID'
  12348. type: string
  12349. tradelot:
  12350. description: 成交手数
  12351. type: integer
  12352. tradeprice:
  12353. description: '[价格]成交价格'
  12354. type: number
  12355. tradetradedate:
  12356. description: 成交交易日(yyyyMMdd)
  12357. type: string
  12358. type: object
  12359. models.QhjAccountOutInApply:
  12360. properties:
  12361. accountcode:
  12362. description: 资金账号
  12363. type: string
  12364. accountname:
  12365. description: 用户名称(名称)
  12366. type: string
  12367. accountpwd:
  12368. description: 资金密码
  12369. type: string
  12370. accountticket:
  12371. description: 最新账户服务流水号
  12372. type: string
  12373. amount:
  12374. description: 金额
  12375. type: number
  12376. applyremark:
  12377. description: 申请备注
  12378. type: string
  12379. applystatus:
  12380. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12381. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12382. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12383. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12384. type: integer
  12385. auditid:
  12386. description: 审核人
  12387. type: integer
  12388. audittime:
  12389. description: 审核时间
  12390. type: string
  12391. bank_apply_ticket:
  12392. description: 银行申请流水
  12393. type: string
  12394. bankaccountname:
  12395. description: 银行账户名
  12396. type: string
  12397. bankaccountno:
  12398. description: 银行卡号
  12399. type: string
  12400. bankid:
  12401. description: 银行编号
  12402. type: string
  12403. bankticket:
  12404. description: 银行流水
  12405. type: string
  12406. branchbankid:
  12407. description: 银行支行号
  12408. type: string
  12409. branchbankname:
  12410. description: 银行支行名称
  12411. type: string
  12412. capamountout:
  12413. description: 出金(劣后本金) - 外部子账户
  12414. type: number
  12415. certificatephotourl:
  12416. description: 凭证地址
  12417. type: string
  12418. charge:
  12419. description: 手续费
  12420. type: number
  12421. checkerrorflag:
  12422. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12423. type: integer
  12424. currency:
  12425. description: 币种
  12426. type: string
  12427. cusbankid:
  12428. description: 托管银行编号
  12429. type: string
  12430. exchticket:
  12431. description: 银行服务流水号
  12432. type: string
  12433. executetype:
  12434. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12435. 7:外部子账户:入金 8:外部子账户:出金'
  12436. type: integer
  12437. extendinfo:
  12438. description: 扩展信息
  12439. type: string
  12440. extoperateid:
  12441. description: 交易服务流水号
  12442. type: integer
  12443. infamount:
  12444. description: 劣后金额(自有)
  12445. type: number
  12446. logincode:
  12447. description: 登录账号(账号)
  12448. type: string
  12449. netaddr:
  12450. description: 调转网址
  12451. type: string
  12452. priamount:
  12453. description: 优先金额(授信)
  12454. type: number
  12455. reauditid:
  12456. description: 复审人
  12457. type: integer
  12458. reauditremark:
  12459. description: 复审备注
  12460. type: string
  12461. reaudittime:
  12462. description: 复审时间
  12463. type: string
  12464. relatedorderid:
  12465. description: 三方关联ID
  12466. type: string
  12467. remark:
  12468. description: 备注
  12469. type: string
  12470. remark2:
  12471. description: 备注(失败原因)
  12472. type: string
  12473. soucreamount:
  12474. description: 原始出入金金额
  12475. type: number
  12476. soucrecurrencyid:
  12477. description: 原始出入金币种
  12478. type: integer
  12479. tradedate:
  12480. description: 交易日(yyyyMMdd)
  12481. type: string
  12482. updatetime:
  12483. description: 更新时间(申请时间)
  12484. type: string
  12485. userid:
  12486. description: 用户id
  12487. type: integer
  12488. userinfotype:
  12489. description: 账户类型 1-个人 2-企业
  12490. type: integer
  12491. type: object
  12492. models.QhjAgreementChangeLog:
  12493. properties:
  12494. agreementcontent:
  12495. description: 协议内容
  12496. type: string
  12497. agreementfrequency:
  12498. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12499. type: integer
  12500. agreementid:
  12501. description: 协议ID
  12502. type: integer
  12503. agreementname:
  12504. description: 协议名称
  12505. type: string
  12506. agreementno:
  12507. description: 协议编号
  12508. type: string
  12509. agreementtype:
  12510. description: 协议类型 - 1:注册 2:登录 3:交易
  12511. type: integer
  12512. agreementversion:
  12513. description: 协议版本号
  12514. type: integer
  12515. logid:
  12516. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12517. type: integer
  12518. reviserid:
  12519. description: 修改人
  12520. type: integer
  12521. revisersrc:
  12522. description: 修改来源 - 1:管理端 2:终端
  12523. type: integer
  12524. updatetime:
  12525. description: 更新时间
  12526. type: string
  12527. type: object
  12528. models.QhjAgreementConfig:
  12529. properties:
  12530. agreementcontent:
  12531. description: 协议内容
  12532. type: string
  12533. agreementfrequency:
  12534. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12535. type: integer
  12536. agreementid:
  12537. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12538. type: integer
  12539. agreementname:
  12540. description: 协议名称
  12541. type: string
  12542. agreementno:
  12543. description: 协议编号
  12544. type: string
  12545. agreementtype:
  12546. description: 协议类型 - 1:注册 2:登录 3:交易
  12547. type: integer
  12548. agreementversion:
  12549. description: 协议版本号(从1开始每次修改加1)
  12550. type: integer
  12551. createtime:
  12552. description: 创建时间
  12553. type: string
  12554. creatorid:
  12555. description: 创建人
  12556. type: integer
  12557. creatorsrc:
  12558. description: 创建来源 - 1:管理端 2:终端
  12559. type: integer
  12560. isvalid:
  12561. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12562. type: integer
  12563. reviserid:
  12564. description: 修改人
  12565. type: integer
  12566. revisersrc:
  12567. description: 修改来源 - 1:管理端 2:终端
  12568. type: integer
  12569. updatetime:
  12570. description: 更新时间
  12571. type: string
  12572. type: object
  12573. models.QhjAreaFinanceConfig:
  12574. properties:
  12575. additionalratio:
  12576. description: 追加款比例
  12577. type: number
  12578. advanceratio:
  12579. description: 预付款比例
  12580. type: number
  12581. alarmratio:
  12582. description: 告警比例
  12583. type: number
  12584. consumptiondirectreward:
  12585. description: 消费直推奖励值
  12586. type: number
  12587. consumptionenabled:
  12588. description: 是否启用消费奖励 - 0:不启用 1:启用
  12589. type: integer
  12590. consumptionindirectreward:
  12591. description: 消费间推奖励值
  12592. type: number
  12593. consumptionmodel:
  12594. description: 消费奖励方式 - 1:比率 2:固定
  12595. type: integer
  12596. customerservicenum:
  12597. description: 客服电话
  12598. type: string
  12599. dayinterestrate:
  12600. description: 日利率
  12601. type: number
  12602. disableconsumptiontips:
  12603. description: 关闭消费奖励提示
  12604. type: string
  12605. modifierid:
  12606. description: 修改人ID
  12607. type: integer
  12608. modifysrc:
  12609. description: 审核来源 - 1:管理端 2:终端
  12610. type: integer
  12611. modifytime:
  12612. description: 修改时间
  12613. type: string
  12614. promotionvalue:
  12615. description: 推广奖励值(固定)
  12616. type: number
  12617. scoreconfigvalue1:
  12618. description: 提货积分配置1
  12619. type: integer
  12620. scoreconfigvalue2:
  12621. description: 提货积分配置2
  12622. type: integer
  12623. userid:
  12624. description: 机构用户ID其他做市关系,都设置为 1
  12625. type: integer
  12626. username:
  12627. description: 用户名称
  12628. type: string
  12629. type: object
  12630. models.QhjBankAccountSign:
  12631. properties:
  12632. accountcode:
  12633. description: 资金账号
  12634. type: string
  12635. accountname:
  12636. description: 资金账号对应的账号名(UserName)
  12637. type: string
  12638. accountname2:
  12639. description: 资金账号对应的账号名(UserName) - 密文
  12640. type: string
  12641. accounttype:
  12642. description: 账户类型(UserType)
  12643. type: integer
  12644. applicationtime:
  12645. description: 最后一次更新的时间
  12646. type: string
  12647. applyexchticket:
  12648. description: 申请流水
  12649. type: string
  12650. auditid:
  12651. description: 审核人
  12652. type: integer
  12653. audittime:
  12654. description: 审核时间
  12655. type: string
  12656. bankaccountname:
  12657. description: 签约银行卡账号名
  12658. type: string
  12659. bankaccountname2:
  12660. description: 签约银行卡账号名 - 密文
  12661. type: string
  12662. bankaccountno:
  12663. description: 银行卡号
  12664. type: string
  12665. bankaccountno2:
  12666. description: 银行卡号 - 密文
  12667. type: string
  12668. bankaccounttype:
  12669. description: 银行账户类型 - 1-对私; 2-对公
  12670. type: integer
  12671. bankcardtype:
  12672. description: 银行卡类型
  12673. type: integer
  12674. bankchildaccount:
  12675. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12676. type: string
  12677. bankcity:
  12678. description: 开户行城市
  12679. type: string
  12680. bankid:
  12681. description: 签约银行ID
  12682. type: string
  12683. bankname:
  12684. description: 签约银行名称
  12685. type: string
  12686. bankprovince:
  12687. description: 开户行省份
  12688. type: string
  12689. branchbankid:
  12690. description: 签约银行支行号
  12691. type: string
  12692. branchbankname:
  12693. description: 签约银行支行名称
  12694. type: string
  12695. cardno:
  12696. description: 证件号码
  12697. type: string
  12698. cardno2:
  12699. description: 证件号码 - 密文
  12700. type: string
  12701. cardtype:
  12702. description: 证件类型
  12703. type: string
  12704. currency:
  12705. description: 币种
  12706. type: string
  12707. cusbankid:
  12708. description: 托管银行编号
  12709. type: string
  12710. direct:
  12711. description: 方向(可以判断那方先发起的签约)
  12712. type: integer
  12713. exchticket:
  12714. description: 最后一次签约成功的流水号
  12715. type: string
  12716. extendinfo:
  12717. description: 扩展信息(JSON字符串)
  12718. type: string
  12719. mobilephone:
  12720. description: 手机号
  12721. type: string
  12722. mobilephone2:
  12723. description: 手机号 - 密文
  12724. type: string
  12725. netaddr:
  12726. description: 调转网址
  12727. type: string
  12728. relateduserid:
  12729. description: 关联使用者userid
  12730. type: integer
  12731. signstatus:
  12732. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12733. 10:审核拒绝 11:换签待审核
  12734. type: integer
  12735. updatetime:
  12736. description: 更新时间(签解约更新时间)
  12737. type: string
  12738. type: object
  12739. models.QhjBankInfo:
  12740. properties:
  12741. bankid:
  12742. description: 银行ID
  12743. type: string
  12744. bankname:
  12745. description: 银行名称
  12746. type: string
  12747. clearbankno:
  12748. description: 清算系统银行编号
  12749. type: string
  12750. orderindex:
  12751. description: 排序顺序
  12752. type: integer
  12753. status:
  12754. description: 状态 - 0:正常 1:注销
  12755. type: integer
  12756. type: object
  12757. models.QhjBrokerApply:
  12758. properties:
  12759. applicantid:
  12760. description: 申请人
  12761. type: integer
  12762. applysrc:
  12763. description: 申请来源 - 1:管理端 2:终端
  12764. type: integer
  12765. applystatus:
  12766. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12767. type: integer
  12768. applytime:
  12769. description: 申请时间
  12770. type: string
  12771. auditorid:
  12772. description: 审核人
  12773. type: integer
  12774. auditremark:
  12775. description: 审核备注
  12776. type: string
  12777. auditsrc:
  12778. description: 审核来源 - 1:管理端 2:终端
  12779. type: integer
  12780. audittime:
  12781. description: 审核时间
  12782. type: string
  12783. audittradedate:
  12784. description: 审核交易日(yyyyMMdd)
  12785. type: string
  12786. brokerapplyid:
  12787. description: 申请ID(SEQ_BROKERAPPLY)
  12788. type: integer
  12789. cardbackphotourl:
  12790. description: 证件背面图片地址
  12791. type: string
  12792. cardfrontphotourl:
  12793. description: 证件正面图片地址
  12794. type: string
  12795. cardnum:
  12796. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12797. type: string
  12798. customername:
  12799. description: 姓名
  12800. type: string
  12801. logincode:
  12802. description: 登录代码
  12803. type: string
  12804. mobile:
  12805. description: 手机号码
  12806. type: string
  12807. parentuserid:
  12808. description: 所属机构id
  12809. type: integer
  12810. parentusername:
  12811. description: 所属机构名称
  12812. type: string
  12813. refereeuserid:
  12814. description: 推荐人id(经纪人)
  12815. type: integer
  12816. refernum:
  12817. description: 推荐码
  12818. type: string
  12819. remark:
  12820. description: 备注
  12821. type: string
  12822. subarealevelpath:
  12823. description: 层级路径
  12824. type: string
  12825. tradedate:
  12826. description: 交易日(yyyyMMdd)
  12827. type: string
  12828. userid:
  12829. description: 申请人用户ID
  12830. type: integer
  12831. userinfotype:
  12832. description: 用户类型 1-个人 2-企业
  12833. type: integer
  12834. username:
  12835. description: 用户名称
  12836. type: string
  12837. type: object
  12838. models.QhjBrokerApplyEx:
  12839. properties:
  12840. applylist:
  12841. description: 经纪人申请记录(只返回最新一条)
  12842. items:
  12843. $ref: '#/definitions/models.QhjBrokerApply'
  12844. type: array
  12845. canrecommend:
  12846. description: 是否经纪人 0-不是 1-是
  12847. type: integer
  12848. refernum:
  12849. description: 推荐码
  12850. type: string
  12851. userid:
  12852. description: 用户id
  12853. type: integer
  12854. userinfotype:
  12855. description: 用户类型 1-个人 2-企业
  12856. type: integer
  12857. type: object
  12858. models.QhjBrokerRewardLog:
  12859. properties:
  12860. accountid:
  12861. description: 资金账号ID
  12862. type: integer
  12863. createtime:
  12864. description: 创建时间(时间)
  12865. type: string
  12866. handlestatus:
  12867. description: 处理状态
  12868. type: integer
  12869. logid:
  12870. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12871. type: string
  12872. marketid:
  12873. description: 市场ID
  12874. type: integer
  12875. mmaccountid:
  12876. description: 做市商资金账号ID
  12877. type: string
  12878. mmuserid:
  12879. description: 做市商用户ID
  12880. type: string
  12881. rewardamount:
  12882. description: 奖励金额
  12883. type: number
  12884. rewardmodel:
  12885. description: 消费奖励方式 - 1:比率 2:固定
  12886. type: integer
  12887. rewardtype:
  12888. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12889. type: integer
  12890. rewardvalue:
  12891. description: 配置奖励值
  12892. type: number
  12893. srcamount:
  12894. description: 成交金额 [消费奖励] (金额)
  12895. type: number
  12896. srcgoodsid:
  12897. description: 来源商品ID [消费奖励]
  12898. type: string
  12899. srctime:
  12900. description: 来源时间 (成交时间) [消费奖励]
  12901. type: string
  12902. srctradeid:
  12903. description: 来源成交单ID [消费奖励] - 排除提货成交
  12904. type: string
  12905. srcuserid:
  12906. description: 来源用户ID(推广账户)
  12907. type: string
  12908. srcusername:
  12909. description: 推广账户名称
  12910. type: string
  12911. tradedate:
  12912. description: 交易日(yyyyMMdd)
  12913. type: string
  12914. userid:
  12915. description: 经纪人用户ID
  12916. type: integer
  12917. type: object
  12918. models.QhjContract:
  12919. properties:
  12920. contractconfirmtime:
  12921. description: 合同确认时间(时间)
  12922. type: string
  12923. currisklevel:
  12924. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12925. type: integer
  12926. decimalplace:
  12927. description: 商品报价小数位
  12928. type: integer
  12929. enumdicname:
  12930. description: 单位名称
  12931. type: string
  12932. goodscode:
  12933. description: 商品代码
  12934. type: string
  12935. goodsid:
  12936. description: 商品ID [5:融资单]
  12937. type: integer
  12938. goodsname:
  12939. description: 商品名称
  12940. type: string
  12941. goodunitid:
  12942. description: 商品单位id
  12943. type: integer
  12944. initmargin:
  12945. description: 初始保证金(首付款)
  12946. type: number
  12947. lenderamount:
  12948. description: 贷款金额(总额|订单总额)
  12949. type: number
  12950. marginratio:
  12951. description: 保证金比率(首付比例)
  12952. type: number
  12953. payamount:
  12954. description: 已付(已付货款)
  12955. type: number
  12956. reckonrecovermargin:
  12957. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12958. type: number
  12959. recoveredmargin:
  12960. description: 已追缴保证金
  12961. type: number
  12962. remainamount:
  12963. description: 合同剩余金额(融资额)
  12964. type: number
  12965. scfcontractid:
  12966. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12967. type: string
  12968. scfcontractstatus:
  12969. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12970. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12971. type: integer
  12972. scfcontracttype:
  12973. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12974. type: integer
  12975. totalinterest:
  12976. description: 已计总利息(利息)
  12977. type: number
  12978. tradeprice:
  12979. description: 成交价格(成本价格)
  12980. type: number
  12981. userid:
  12982. description: 用户ID
  12983. type: integer
  12984. username:
  12985. description: 用户名称
  12986. type: string
  12987. wrqty:
  12988. description: 仓单数量(数量)
  12989. type: number
  12990. type: object
  12991. models.QhjContractLog:
  12992. properties:
  12993. amount:
  12994. description: 支付金额
  12995. type: number
  12996. amounttype:
  12997. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12998. type: integer
  12999. logid:
  13000. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13001. type: string
  13002. remainamount:
  13003. description: 剩余货款
  13004. type: number
  13005. scfcontractid:
  13006. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13007. type: integer
  13008. updatetime:
  13009. description: 更新时间
  13010. type: string
  13011. type: object
  13012. models.QhjCusBankSignBankEx:
  13013. properties:
  13014. banklst:
  13015. description: 银行列表
  13016. items:
  13017. $ref: '#/definitions/models.QhjBankInfo'
  13018. type: array
  13019. canallot:
  13020. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13021. type: integer
  13022. canallotquery:
  13023. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13024. type: integer
  13025. canbindcard:
  13026. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13027. type: integer
  13028. caninamount:
  13029. description: 是否可入金 - 0:不可 1:可以
  13030. type: integer
  13031. caninamount2:
  13032. description: 是否可入金(网银端) - 0:不可 1:可以
  13033. type: integer
  13034. canmodifybankcard:
  13035. description: 是否可修改银行卡号 - 0:不可 1:可以
  13036. type: integer
  13037. canmodifyphone:
  13038. description: 是否可修改手机号 - 0:不可 1:可以
  13039. type: integer
  13040. canmodifysigninfo:
  13041. description: 是否可修改签约信息 - 0:不可 1:可以
  13042. type: integer
  13043. canoutamount:
  13044. description: 是否可出金 - 0:不可 1:可以
  13045. type: integer
  13046. canoutamount2:
  13047. description: 是否可出金(网银端) - 0:不可 1:可以
  13048. type: integer
  13049. canrelease:
  13050. description: 是否可解约 - 0:不可 1:可以
  13051. type: integer
  13052. canrelease2:
  13053. description: 是否可解约(网银端) - 0:不可 1:可以
  13054. type: integer
  13055. cansign:
  13056. description: 是否可签约 - 0:不可 1:可以
  13057. type: integer
  13058. cansign2:
  13059. description: 是否可签约(网银端) - 0:不可 1:可以
  13060. type: integer
  13061. currency:
  13062. description: 币种
  13063. type: string
  13064. cusbankid:
  13065. description: 托管银行编号(对应清算中心TRAN_NO)
  13066. type: string
  13067. cusbankname:
  13068. description: 银行业务名称
  13069. type: string
  13070. cusbankshortname:
  13071. description: 银行业务简称
  13072. type: string
  13073. exchbankid:
  13074. description: 交易所开户银行ID
  13075. type: string
  13076. exchpaybankaccname:
  13077. description: 交易所支出结算账户户名
  13078. type: string
  13079. exchpaybankaccno:
  13080. description: 交易所支出结算账户
  13081. type: string
  13082. isneedcheck:
  13083. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13084. type: integer
  13085. isneedclear:
  13086. description: 是否需要清算 - 0:不需要 1:需要
  13087. type: integer
  13088. lastcheckstatus:
  13089. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13090. type: integer
  13091. lastchecktime:
  13092. description: 最后对账时间
  13093. type: string
  13094. lastclearstatus:
  13095. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13096. type: integer
  13097. lastcleartime:
  13098. description: 最后清算时间
  13099. type: string
  13100. lastsignintime:
  13101. description: 最后签到时间
  13102. type: string
  13103. lastsignouttime:
  13104. description: 最后签退时间
  13105. type: string
  13106. riskinfo:
  13107. description: 签约风险提示书
  13108. type: string
  13109. signstatus:
  13110. description: 当前签到/签退状态 - 1:签到 2:签退
  13111. type: integer
  13112. tradedate:
  13113. description: 交易日(yyyyMMdd)
  13114. type: string
  13115. updatetime:
  13116. description: 当前签到/签退更新时间
  13117. type: string
  13118. type: object
  13119. models.QhjCustomer:
  13120. properties:
  13121. address:
  13122. description: 通讯地址
  13123. type: string
  13124. attachment1:
  13125. description: 附件1
  13126. type: string
  13127. attachment2:
  13128. description: 附件2
  13129. type: string
  13130. audittime:
  13131. description: 审核时间
  13132. type: string
  13133. cardbackphotourl:
  13134. description: 证件反面图片地址
  13135. type: string
  13136. cardfrontphotourl:
  13137. description: 证件正面图片地址
  13138. type: string
  13139. cardnum:
  13140. description: 证件号码
  13141. type: string
  13142. cardtype:
  13143. description: 证件类型
  13144. type: integer
  13145. cardtypename:
  13146. description: 证件类型名称
  13147. type: string
  13148. cityid:
  13149. description: 市
  13150. type: integer
  13151. cityname:
  13152. description: 城市名称
  13153. type: string
  13154. contactname:
  13155. description: 联系人
  13156. type: string
  13157. countryid:
  13158. description: 国家
  13159. type: integer
  13160. countryname:
  13161. description: 国家名称
  13162. type: string
  13163. createtime:
  13164. description: 创建时间
  13165. type: string
  13166. customername:
  13167. description: 客户名称
  13168. type: string
  13169. districtid:
  13170. description: 区域
  13171. type: integer
  13172. districtname:
  13173. description: 地区名称
  13174. type: string
  13175. email:
  13176. description: 邮件
  13177. type: string
  13178. legalpersonname:
  13179. description: 法人姓名(企业)
  13180. type: string
  13181. logincode:
  13182. description: 登录账号(代码)
  13183. type: string
  13184. memberuserid:
  13185. description: 所属机构ID(所属会员)
  13186. type: integer
  13187. memberusername:
  13188. description: 所属会员名称
  13189. type: string
  13190. mobile:
  13191. description: 手机号码
  13192. type: string
  13193. modifytime:
  13194. description: 修改时间
  13195. type: string
  13196. nickname:
  13197. description: 昵称
  13198. type: string
  13199. parentuserid:
  13200. description: 上级机构(所属机构)
  13201. type: integer
  13202. parentusername:
  13203. description: 所属机构名称
  13204. type: string
  13205. provinceid:
  13206. description: 省
  13207. type: integer
  13208. provincename:
  13209. description: 省名称
  13210. type: string
  13211. proxystatementurl:
  13212. description: 授权委托书
  13213. type: string
  13214. remark:
  13215. description: 备注
  13216. type: string
  13217. status:
  13218. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13219. type: integer
  13220. statusdesc:
  13221. description: 账户状态中文描述
  13222. type: string
  13223. taxpayernum:
  13224. description: 纳税人识别号
  13225. type: string
  13226. telphone:
  13227. description: 联系电话
  13228. type: string
  13229. userid:
  13230. description: 用户ID
  13231. type: integer
  13232. userinfotype:
  13233. description: 客户类型 1-个人 2-企业
  13234. type: integer
  13235. username:
  13236. description: 用户名称
  13237. type: string
  13238. type: object
  13239. models.QhjCustomerSignLog:
  13240. properties:
  13241. agreementcontent:
  13242. description: 协议内容
  13243. type: string
  13244. agreementid:
  13245. description: 协议ID
  13246. type: integer
  13247. agreementname:
  13248. description: 协议名称
  13249. type: string
  13250. agreementno:
  13251. description: 协议编号
  13252. type: string
  13253. agreementtype:
  13254. description: 协议类型 - 1:注册 2:登录 3:交易
  13255. type: integer
  13256. agreementversion:
  13257. description: 协议版本号
  13258. type: integer
  13259. createtime:
  13260. description: 创建时间
  13261. type: string
  13262. goodscode:
  13263. description: 商品代码
  13264. type: string
  13265. goodsid:
  13266. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13267. type: integer
  13268. goodsname:
  13269. description: 商品名称
  13270. type: string
  13271. logid:
  13272. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13273. type: integer
  13274. nodetype:
  13275. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13276. type: integer
  13277. signadressurl:
  13278. description: 签约文件地址
  13279. type: string
  13280. signtimestamp:
  13281. description: 签约状态时间戳
  13282. type: string
  13283. userid:
  13284. description: 客户ID
  13285. type: integer
  13286. username:
  13287. description: 客户名称
  13288. type: string
  13289. type: object
  13290. models.QhjCustomerSignStatus:
  13291. properties:
  13292. createtime:
  13293. description: 创建时间
  13294. type: string
  13295. goodscode:
  13296. description: 商品代码
  13297. type: string
  13298. goodsid:
  13299. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13300. type: integer
  13301. goodsname:
  13302. description: 商品名称
  13303. type: string
  13304. nodetype:
  13305. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13306. type: integer
  13307. signtimestamp:
  13308. description: 签约状态时间戳
  13309. type: string
  13310. tradedate:
  13311. description: 创建交易日(yyyyMMdd)
  13312. type: string
  13313. updatetime:
  13314. description: 更新时间
  13315. type: string
  13316. userid:
  13317. description: 客户ID
  13318. type: integer
  13319. username:
  13320. description: 客户名称
  13321. type: string
  13322. type: object
  13323. models.QhjMgrAccountOutInApply:
  13324. properties:
  13325. accountcode:
  13326. description: 资金账号
  13327. type: string
  13328. accountname:
  13329. description: 用户名称(名称)
  13330. type: string
  13331. accountpwd:
  13332. description: 资金密码
  13333. type: string
  13334. accountticket:
  13335. description: 最新账户服务流水号
  13336. type: string
  13337. amount:
  13338. description: 金额
  13339. type: number
  13340. applyremark:
  13341. description: 申请备注
  13342. type: string
  13343. applystatus:
  13344. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13345. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13346. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13347. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13348. type: integer
  13349. auditid:
  13350. description: 审核人
  13351. type: integer
  13352. audittime:
  13353. description: 审核时间
  13354. type: string
  13355. bank_apply_ticket:
  13356. description: 银行申请流水
  13357. type: string
  13358. bankaccountname:
  13359. description: 银行账户名
  13360. type: string
  13361. bankaccountno:
  13362. description: 银行卡号
  13363. type: string
  13364. bankid:
  13365. description: 银行编号
  13366. type: string
  13367. bankname:
  13368. description: 银行名称
  13369. type: string
  13370. bankticket:
  13371. description: 银行流水
  13372. type: string
  13373. branchbankid:
  13374. description: 银行支行号
  13375. type: string
  13376. branchbankname:
  13377. description: 银行支行名称
  13378. type: string
  13379. capamountout:
  13380. description: 出金(劣后本金) - 外部子账户
  13381. type: number
  13382. certificatephotourl:
  13383. description: 凭证地址
  13384. type: string
  13385. charge:
  13386. description: 手续费
  13387. type: number
  13388. checkerrorflag:
  13389. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13390. type: integer
  13391. currency:
  13392. description: 币种
  13393. type: string
  13394. cusbankid:
  13395. description: 托管银行编号
  13396. type: string
  13397. exchticket:
  13398. description: 银行服务流水号
  13399. type: string
  13400. executetype:
  13401. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13402. 7:外部子账户:入金 8:外部子账户:出金'
  13403. type: integer
  13404. extendinfo:
  13405. description: 扩展信息
  13406. type: string
  13407. extoperateid:
  13408. description: 交易服务流水号
  13409. type: integer
  13410. infamount:
  13411. description: 劣后金额(自有)
  13412. type: number
  13413. logincode:
  13414. description: 登录账号(账号)
  13415. type: string
  13416. netaddr:
  13417. description: 调转网址
  13418. type: string
  13419. priamount:
  13420. description: 优先金额(授信)
  13421. type: number
  13422. reauditid:
  13423. description: 复审人
  13424. type: integer
  13425. reauditremark:
  13426. description: 复审备注
  13427. type: string
  13428. reaudittime:
  13429. description: 复审时间
  13430. type: string
  13431. relatedorderid:
  13432. description: 三方关联ID
  13433. type: string
  13434. remark:
  13435. description: 备注
  13436. type: string
  13437. remark2:
  13438. description: 备注(失败原因)
  13439. type: string
  13440. soucreamount:
  13441. description: 原始出入金金额
  13442. type: number
  13443. soucrecurrencyid:
  13444. description: 原始出入金币种
  13445. type: integer
  13446. tradedate:
  13447. description: 交易日(yyyyMMdd)
  13448. type: string
  13449. updatetime:
  13450. description: 更新时间(申请时间)
  13451. type: string
  13452. userid:
  13453. description: 用户id
  13454. type: integer
  13455. userinfotype:
  13456. description: 账户类型 1-个人 2-企业
  13457. type: integer
  13458. type: object
  13459. models.QhjMgrBrokerApply:
  13460. properties:
  13461. applicantid:
  13462. description: 申请人
  13463. type: integer
  13464. applysrc:
  13465. description: 申请来源 - 1:管理端 2:终端
  13466. type: integer
  13467. applystatus:
  13468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13469. type: integer
  13470. applytime:
  13471. description: 申请时间
  13472. type: string
  13473. auditorid:
  13474. description: 审核人
  13475. type: integer
  13476. auditremark:
  13477. description: 审核备注
  13478. type: string
  13479. auditsrc:
  13480. description: 审核来源 - 1:管理端 2:终端
  13481. type: integer
  13482. audittime:
  13483. description: 审核时间
  13484. type: string
  13485. audittradedate:
  13486. description: 审核交易日(yyyyMMdd)
  13487. type: string
  13488. brokerapplyid:
  13489. description: 申请ID(SEQ_BROKERAPPLY)
  13490. type: integer
  13491. cardbackphotourl:
  13492. description: 证件背面图片地址
  13493. type: string
  13494. cardfrontphotourl:
  13495. description: 证件正面图片地址
  13496. type: string
  13497. cardnum:
  13498. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13499. type: string
  13500. customername:
  13501. description: 姓名
  13502. type: string
  13503. filterstatus:
  13504. description: 筛选条件
  13505. type: string
  13506. logincode:
  13507. description: 登录代码
  13508. type: string
  13509. mobile:
  13510. description: 手机号码
  13511. type: string
  13512. parentuserid:
  13513. description: 所属机构id
  13514. type: integer
  13515. parentusername:
  13516. description: 所属机构名称
  13517. type: string
  13518. refereeuserid:
  13519. description: 推荐人id(经纪人)
  13520. type: integer
  13521. refernum:
  13522. description: 推荐码
  13523. type: string
  13524. remark:
  13525. description: 备注
  13526. type: string
  13527. subarealevelpath:
  13528. description: 层级路径
  13529. type: string
  13530. tradedate:
  13531. description: 交易日(yyyyMMdd)
  13532. type: string
  13533. userid:
  13534. description: 申请人用户ID
  13535. type: integer
  13536. userinfotype:
  13537. description: 用户类型 1-个人 2-企业
  13538. type: integer
  13539. username:
  13540. description: 用户名称
  13541. type: string
  13542. type: object
  13543. models.QhjMgrBrokerRewardReport:
  13544. properties:
  13545. createtime:
  13546. description: 创建时间(注册时间)
  13547. type: string
  13548. cycletime:
  13549. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13550. type: string
  13551. cycletype:
  13552. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13553. type: integer
  13554. directtotalnum:
  13555. description: 直推总人数【期末】
  13556. type: integer
  13557. indirecttotalnum:
  13558. description: 间推总人数【期末】
  13559. type: integer
  13560. mobile:
  13561. description: 电话号码
  13562. type: string
  13563. refereeuserid:
  13564. description: 推荐人id(经纪人id)
  13565. type: integer
  13566. refereeusername:
  13567. description: 推荐人名称(经纪人) 上级经纪人名称
  13568. type: string
  13569. refernum:
  13570. description: 推荐码
  13571. type: string
  13572. subarealevelpath:
  13573. description: 用户层级路径
  13574. type: string
  13575. todayrewardamount:
  13576. description: 奖励总金额【汇总】
  13577. type: number
  13578. updatetime:
  13579. description: 更新时间
  13580. type: string
  13581. userid:
  13582. description: 经纪人用户ID
  13583. type: integer
  13584. userinfotype:
  13585. description: 用户类型 1-个人 2-企业
  13586. type: integer
  13587. username:
  13588. description: 用户名称
  13589. type: string
  13590. type: object
  13591. models.QhjMgrContract:
  13592. properties:
  13593. contractconfirmtime:
  13594. description: 合同确认时间(时间)
  13595. type: string
  13596. currisklevel:
  13597. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13598. type: integer
  13599. decimalplace:
  13600. description: 商品报价小数位
  13601. type: integer
  13602. enumdicname:
  13603. description: 单位名称
  13604. type: string
  13605. goodscode:
  13606. description: 商品代码
  13607. type: string
  13608. goodsid:
  13609. description: 商品ID [5:融资单]
  13610. type: integer
  13611. goodsname:
  13612. description: 商品名称
  13613. type: string
  13614. goodunitid:
  13615. description: 商品单位id
  13616. type: integer
  13617. initmargin:
  13618. description: 初始保证金(首付款)
  13619. type: number
  13620. lenderamount:
  13621. description: 贷款金额(总额|订单总额)
  13622. type: number
  13623. logincode:
  13624. description: 账号(登录代码)
  13625. type: string
  13626. marginratio:
  13627. description: 保证金比率(首付比例)
  13628. type: number
  13629. mobile:
  13630. description: 电话号码(用户资料里的电话)
  13631. type: string
  13632. payamount:
  13633. description: 已付(已付货款)
  13634. type: number
  13635. reckonrecovermargin:
  13636. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13637. type: number
  13638. recoveredmargin:
  13639. description: 已追缴保证金
  13640. type: number
  13641. remainamount:
  13642. description: 合同剩余金额(融资额)
  13643. type: number
  13644. scfcontractid:
  13645. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13646. type: string
  13647. scfcontractstatus:
  13648. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13649. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13650. type: integer
  13651. scfcontracttype:
  13652. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13653. type: integer
  13654. totalinterest:
  13655. description: 已计总利息(利息)
  13656. type: number
  13657. tradedate:
  13658. description: 交易日
  13659. type: string
  13660. tradeprice:
  13661. description: 成交价格(成本价格)
  13662. type: number
  13663. userid:
  13664. description: 用户ID
  13665. type: integer
  13666. userinfotype:
  13667. description: 用户类型 1-个人 2-企业
  13668. type: integer
  13669. username:
  13670. description: 用户名称
  13671. type: string
  13672. wrqty:
  13673. description: 仓单数量(数量)
  13674. type: number
  13675. type: object
  13676. models.QhjMgrCustomer:
  13677. properties:
  13678. address:
  13679. description: 通讯地址
  13680. type: string
  13681. attachment1:
  13682. description: 附件1
  13683. type: string
  13684. audittime:
  13685. description: 审核时间
  13686. type: string
  13687. birthday:
  13688. description: 生日
  13689. type: string
  13690. brokerid:
  13691. description: 所属客户经理id
  13692. type: integer
  13693. brokername:
  13694. description: 所属客户经理名称
  13695. type: string
  13696. cardbackphotourl:
  13697. description: 证件反面图片地址
  13698. type: string
  13699. cardfrontphotourl:
  13700. description: 证件正面图片地址
  13701. type: string
  13702. cardnum:
  13703. description: 证件号码
  13704. type: string
  13705. cardtype:
  13706. description: 证件类型
  13707. type: integer
  13708. cardtypename:
  13709. description: 证件类型名称
  13710. type: string
  13711. cityid:
  13712. description: 市
  13713. type: integer
  13714. cityname:
  13715. description: 城市名称
  13716. type: string
  13717. contactname:
  13718. description: 联系人
  13719. type: string
  13720. countryid:
  13721. description: 国家
  13722. type: integer
  13723. countryname:
  13724. description: 国家名称
  13725. type: string
  13726. createtime:
  13727. description: 创建时间
  13728. type: string
  13729. customername:
  13730. description: 客户名称
  13731. type: string
  13732. districtid:
  13733. description: 区域
  13734. type: integer
  13735. districtname:
  13736. description: 地区名称
  13737. type: string
  13738. email:
  13739. description: 邮件
  13740. type: string
  13741. legalpersonname:
  13742. description: 法人姓名(企业)
  13743. type: string
  13744. logincode:
  13745. description: 登录账号(代码)
  13746. type: string
  13747. memberuserid:
  13748. description: 所属机构ID(所属会员)
  13749. type: integer
  13750. memberusername:
  13751. description: 所属会员名称
  13752. type: string
  13753. mobile:
  13754. description: 手机号码
  13755. type: string
  13756. modifytime:
  13757. description: 修改时间
  13758. type: string
  13759. nickname:
  13760. description: 昵称
  13761. type: string
  13762. parentuserid:
  13763. description: 上级机构(所属机构)
  13764. type: integer
  13765. parentusername:
  13766. description: 所属机构名称
  13767. type: string
  13768. provinceid:
  13769. description: 省
  13770. type: integer
  13771. provincename:
  13772. description: 省名称
  13773. type: string
  13774. proxystatementurl:
  13775. description: 授权委托书
  13776. type: string
  13777. querytype:
  13778. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13779. type: integer
  13780. remark:
  13781. description: 备注
  13782. type: string
  13783. sex:
  13784. description: 性别 0-女 1-男
  13785. type: integer
  13786. status:
  13787. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13788. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13789. type: integer
  13790. statusdesc:
  13791. description: 账户状态中文描述
  13792. type: string
  13793. taxpayernum:
  13794. description: 纳税人识别号
  13795. type: string
  13796. telphone:
  13797. description: 联系电话
  13798. type: string
  13799. userid:
  13800. description: 用户ID
  13801. type: integer
  13802. userinfotype:
  13803. description: 客户类型 1-个人 2-企业
  13804. type: integer
  13805. username:
  13806. description: 用户名称
  13807. type: string
  13808. type: object
  13809. models.QhjMgrPickGoods:
  13810. properties:
  13811. enumdicname:
  13812. description: 单位名称(提货商品)
  13813. type: string
  13814. goodsid:
  13815. description: 商品id
  13816. type: integer
  13817. imageaddress:
  13818. description: 图片
  13819. type: string
  13820. modifierid:
  13821. description: 修改人
  13822. type: integer
  13823. modifiername:
  13824. description: 修改人名称
  13825. type: string
  13826. modifysrc:
  13827. description: 修改来源 - 1:管理端 2:终端
  13828. type: integer
  13829. pickupgoodsagreeunit:
  13830. description: 合约乘数
  13831. type: number
  13832. pickupgoodsdesc:
  13833. description: 描述
  13834. type: string
  13835. pickupgoodsid:
  13836. description: 提货商品ID
  13837. type: string
  13838. pickupgoodsname:
  13839. description: 提货商品名称
  13840. type: string
  13841. pickupgoodsstatus:
  13842. description: 状态 - 1:正常 2:停用 3:注销
  13843. type: integer
  13844. pickupgoodsunitid:
  13845. description: 单位ID
  13846. type: integer
  13847. pickupratio:
  13848. description: 提货系数
  13849. type: number
  13850. preparedays:
  13851. description: 备货期(天)
  13852. type: integer
  13853. remark:
  13854. description: 备注
  13855. type: string
  13856. updatetime:
  13857. description: 更新时间
  13858. type: string
  13859. type: object
  13860. models.QhjMgrPositionRsp:
  13861. properties:
  13862. accountid:
  13863. description: 账号Id
  13864. type: integer
  13865. accountname:
  13866. description: 用户名称
  13867. type: string
  13868. agreeunit:
  13869. description: 合约乘数
  13870. type: number
  13871. averageprice:
  13872. description: 均价
  13873. type: number
  13874. avialqty:
  13875. description: 可用数量
  13876. type: number
  13877. decimalplace:
  13878. description: 报价小数位
  13879. type: integer
  13880. enumdicname:
  13881. description: 单位名称(商品)
  13882. type: string
  13883. frozenqty:
  13884. description: 冻结数量
  13885. type: number
  13886. goodscode:
  13887. description: 商品代码(内部)
  13888. type: string
  13889. goodsid:
  13890. description: 商品Id
  13891. type: integer
  13892. goodsname:
  13893. description: 商品名称
  13894. type: string
  13895. goodunitid:
  13896. description: 报价单位ID
  13897. type: integer
  13898. holderamount:
  13899. description: 金额
  13900. type: number
  13901. holderqty:
  13902. description: 持有数量
  13903. type: number
  13904. holdertype:
  13905. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13906. type: integer
  13907. logincode:
  13908. description: 登录代码(账户)
  13909. type: string
  13910. marketid:
  13911. description: 市场id
  13912. type: integer
  13913. qtydecimalplace:
  13914. description: 成交量小数位
  13915. type: integer
  13916. trademode:
  13917. description: 交易模式
  13918. type: integer
  13919. userid:
  13920. description: 用户id
  13921. type: integer
  13922. userinfotype:
  13923. description: 账户类型 1-个人 2-企业
  13924. type: integer
  13925. type: object
  13926. models.QhjMgrSubArea:
  13927. properties:
  13928. accountname:
  13929. description: 账户名称(机构名称)
  13930. type: string
  13931. memberuserid:
  13932. description: 所属会员ID
  13933. type: integer
  13934. parenttopuser:
  13935. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13936. type: string
  13937. parentuserid:
  13938. description: 所属机构ID
  13939. type: integer
  13940. rootuserid:
  13941. description: 根用户ID
  13942. type: string
  13943. subaccountlevel:
  13944. description: 子账户层数
  13945. type: integer
  13946. subarealevelpath:
  13947. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13948. type: string
  13949. userid:
  13950. description: 用户ID
  13951. type: integer
  13952. usertype:
  13953. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13954. type: integer
  13955. type: object
  13956. models.QhjMgrTradeDetailRsp:
  13957. properties:
  13958. accountid:
  13959. description: 资金账号
  13960. type: integer
  13961. accountname:
  13962. description: 用户名称
  13963. type: string
  13964. agreeunit:
  13965. description: 合约乘数
  13966. type: number
  13967. buyorsell:
  13968. description: 成交类型(方向) 0:买 1:卖
  13969. type: integer
  13970. decimalplace:
  13971. description: 报价小数位
  13972. type: integer
  13973. enumdicname:
  13974. description: 单位名称(商品)
  13975. type: string
  13976. goodscode:
  13977. description: 商品代码(内部)
  13978. type: string
  13979. goodsid:
  13980. description: 商品id
  13981. type: integer
  13982. goodsname:
  13983. description: 商品名称
  13984. type: string
  13985. goodunitid:
  13986. description: 报价单位ID
  13987. type: integer
  13988. logincode:
  13989. description: 登录代码(账户)
  13990. type: string
  13991. marketid:
  13992. description: 市场id
  13993. type: integer
  13994. orderid:
  13995. description: 关联委托单号
  13996. type: string
  13997. qtydecimalplace:
  13998. description: 成交量小数位
  13999. type: integer
  14000. tradeamount:
  14001. description: 金额
  14002. type: number
  14003. tradedate:
  14004. description: 交易日
  14005. type: string
  14006. tradeid:
  14007. description: 成交单号
  14008. type: string
  14009. trademode:
  14010. description: 交易模式
  14011. type: integer
  14012. tradeprice:
  14013. description: 价格
  14014. type: number
  14015. tradeqty:
  14016. description: 数量
  14017. type: number
  14018. tradetime:
  14019. description: 成交时间
  14020. type: string
  14021. userid:
  14022. description: 用户id
  14023. type: integer
  14024. userinfotype:
  14025. description: 账户类型 1-个人 2-企业
  14026. type: integer
  14027. type: object
  14028. models.QhjMgrTradeOrderDetailRsp:
  14029. properties:
  14030. accountid:
  14031. description: 资金账号
  14032. type: integer
  14033. accountname:
  14034. description: 用户名称
  14035. type: string
  14036. agreeunit:
  14037. description: 合约乘数
  14038. type: number
  14039. amount:
  14040. description: 金额
  14041. type: number
  14042. decimalplace:
  14043. description: 报价小数位
  14044. type: integer
  14045. enumdicname:
  14046. description: 单位名称(商品)
  14047. type: string
  14048. goodscode:
  14049. description: 商品代码(内部)
  14050. type: string
  14051. goodsid:
  14052. description: 商品id
  14053. type: integer
  14054. goodsname:
  14055. description: 商品名称
  14056. type: string
  14057. goodunitid:
  14058. description: 报价单位ID
  14059. type: integer
  14060. logincode:
  14061. description: 登录代码(账户)
  14062. type: string
  14063. marketid:
  14064. description: 市场id
  14065. type: integer
  14066. orderid:
  14067. description: 关联委托单号
  14068. type: string
  14069. orderprice:
  14070. description: 价格
  14071. type: number
  14072. orderqty:
  14073. description: 数量
  14074. type: number
  14075. orderstatus:
  14076. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14077. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14078. 16:成交失败违约(荷兰式竞拍专用)
  14079. type: integer
  14080. ordertime:
  14081. description: 委托时间
  14082. type: string
  14083. qtydecimalplace:
  14084. description: 成交量小数位
  14085. type: integer
  14086. tradedate:
  14087. description: 交易日
  14088. type: string
  14089. trademode:
  14090. description: 交易模式
  14091. type: integer
  14092. userid:
  14093. description: 用户id
  14094. type: integer
  14095. userinfotype:
  14096. description: 账户类型 1-个人 2-企业
  14097. type: integer
  14098. type: object
  14099. models.QhjMgrTradePayOrder:
  14100. properties:
  14101. accountname:
  14102. description: 用户名称
  14103. type: string
  14104. advanceratio:
  14105. description: 首付比率
  14106. type: number
  14107. agreeunit:
  14108. description: 合约乘数
  14109. type: number
  14110. buyaccountid:
  14111. description: 买方账号ID[报价币种]
  14112. type: integer
  14113. buyorderid:
  14114. description: 买方委托单号(关联单号)
  14115. type: string
  14116. createtime:
  14117. description: 创建时间
  14118. type: string
  14119. decimalplace:
  14120. description: 报价小数位
  14121. type: integer
  14122. enumdicname:
  14123. description: 单位名称(商品)
  14124. type: string
  14125. goodscode:
  14126. description: 商品代码(内部)
  14127. type: string
  14128. goodsid:
  14129. description: 商品ID
  14130. type: integer
  14131. goodsname:
  14132. description: 商品名称
  14133. type: string
  14134. goodunitid:
  14135. description: 报价单位ID
  14136. type: integer
  14137. logincode:
  14138. description: 登录代码(账户)
  14139. type: string
  14140. marketid:
  14141. description: 市场id
  14142. type: integer
  14143. offamount:
  14144. description: 优惠金额
  14145. type: number
  14146. operatetype:
  14147. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14148. type: integer
  14149. payamount:
  14150. description: 支付金额(金额)
  14151. type: number
  14152. payflag:
  14153. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14154. type: integer
  14155. paylimitedtime:
  14156. description: 支付期限
  14157. type: string
  14158. paytime:
  14159. description: 付款时间
  14160. type: string
  14161. qtydecimalplace:
  14162. description: 成交量小数位
  14163. type: integer
  14164. sellaccountid:
  14165. description: 卖方账号ID[报价币种]
  14166. type: integer
  14167. sellorderid:
  14168. description: 卖方委托单号
  14169. type: string
  14170. tradeamount:
  14171. description: 成交金额(优惠后金额)
  14172. type: number
  14173. tradecharge:
  14174. description: 成交手续费(买方)
  14175. type: number
  14176. tradedate:
  14177. description: 交易日(yyyyMMdd)
  14178. type: string
  14179. tradeid:
  14180. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14181. type: string
  14182. trademode:
  14183. description: 交易模式
  14184. type: integer
  14185. tradeprice:
  14186. description: 成交价格(价格)
  14187. type: number
  14188. tradeqty:
  14189. description: 成交数量(数量)
  14190. type: number
  14191. tradetime:
  14192. description: 成交时间
  14193. type: string
  14194. userid:
  14195. description: 用户id
  14196. type: integer
  14197. userinfotype:
  14198. description: 账户类型 1-个人 2-企业
  14199. type: integer
  14200. type: object
  14201. models.QhjMyTeamEx:
  14202. properties:
  14203. accountname:
  14204. description: 用户名称
  14205. type: string
  14206. accountstatus:
  14207. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14208. type: integer
  14209. createtime:
  14210. description: 创建时间
  14211. type: string
  14212. mobile:
  14213. description: 手机号码
  14214. type: string
  14215. refereeuserid:
  14216. description: 推荐人id
  14217. type: integer
  14218. refernum:
  14219. description: 推荐码
  14220. type: string
  14221. subList:
  14222. items:
  14223. $ref: '#/definitions/models.QhjMyTeamEx'
  14224. type: array
  14225. userid:
  14226. description: 用户id
  14227. type: integer
  14228. userinfotype:
  14229. description: 用户类型 1-个人 2-企业
  14230. type: integer
  14231. type: object
  14232. models.QhjNodeAgreementConfig:
  14233. properties:
  14234. agreementcontent:
  14235. description: 协议内容
  14236. type: string
  14237. agreementid:
  14238. description: 协议ID
  14239. type: integer
  14240. agreementname:
  14241. description: 协议名称
  14242. type: string
  14243. agreementno:
  14244. description: 协议编号
  14245. type: string
  14246. agreementtype:
  14247. description: 协议类型 - 1:注册 2:登录 3:交易
  14248. type: integer
  14249. agreementversion:
  14250. description: 协议版本号
  14251. type: integer
  14252. configid:
  14253. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14254. type: integer
  14255. createtime:
  14256. description: 创建时间
  14257. type: string
  14258. goodsid:
  14259. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14260. type: integer
  14261. nodetype:
  14262. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14263. type: integer
  14264. type: object
  14265. models.QhjParentAreaList:
  14266. properties:
  14267. accountname:
  14268. description: 账户名称(机构名称)
  14269. type: string
  14270. userid:
  14271. description: 用户ID
  14272. type: integer
  14273. usertype:
  14274. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14275. type: integer
  14276. type: object
  14277. models.QhjPayOrder:
  14278. properties:
  14279. advanceratio:
  14280. description: 首付比率
  14281. type: number
  14282. buyaccountid:
  14283. description: 买方账号ID[报价币种]
  14284. type: integer
  14285. buyorderid:
  14286. description: 买方委托单号
  14287. type: string
  14288. createtime:
  14289. description: 创建时间
  14290. type: string
  14291. decimalplace:
  14292. description: 商品报价小数位
  14293. type: integer
  14294. enumdicname:
  14295. description: 单位名称
  14296. type: string
  14297. goodscode:
  14298. description: 商品代码
  14299. type: string
  14300. goodsid:
  14301. description: 商品ID
  14302. type: integer
  14303. goodsname:
  14304. description: 商品名称
  14305. type: string
  14306. goodunitid:
  14307. description: 商品单位id
  14308. type: integer
  14309. marketid:
  14310. description: 市场ID
  14311. type: integer
  14312. offamount:
  14313. description: 优惠金额
  14314. type: number
  14315. operatetype:
  14316. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14317. type: integer
  14318. payamount:
  14319. description: 支付金额
  14320. type: number
  14321. payflag:
  14322. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14323. type: integer
  14324. paylimitedtime:
  14325. description: 支付期限
  14326. type: string
  14327. paytime:
  14328. description: 付款时间
  14329. type: string
  14330. qtydecimalplace:
  14331. description: 成交量小数位
  14332. type: integer
  14333. sellaccountid:
  14334. description: 卖方账号ID[报价币种]
  14335. type: integer
  14336. sellorderid:
  14337. description: 卖方委托单号
  14338. type: string
  14339. tradeamount:
  14340. description: 成交金额(优惠后金额)
  14341. type: number
  14342. tradecharge:
  14343. description: 成交手续费(买方)
  14344. type: number
  14345. tradedate:
  14346. description: 交易日(yyyyMMdd)
  14347. type: string
  14348. tradeid:
  14349. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14350. type: string
  14351. tradeprice:
  14352. description: 成交价格
  14353. type: number
  14354. tradeqty:
  14355. description: 成交数量
  14356. type: number
  14357. type: object
  14358. models.QhjPickArea:
  14359. properties:
  14360. address:
  14361. description: 详细地址
  14362. type: string
  14363. cityid:
  14364. description: 市
  14365. type: integer
  14366. cityname:
  14367. description: 城市名称
  14368. type: string
  14369. countryid:
  14370. description: 国家
  14371. type: integer
  14372. countryname:
  14373. description: 国家名称
  14374. type: string
  14375. districtid:
  14376. description: 地区
  14377. type: integer
  14378. districtname:
  14379. description: 地区名称
  14380. type: string
  14381. fromuserid:
  14382. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14383. type: integer
  14384. fromusername:
  14385. description: 所属机构名称
  14386. type: string
  14387. provinceid:
  14388. description: 省
  14389. type: integer
  14390. provincename:
  14391. description: 省名称
  14392. type: string
  14393. suborgtype:
  14394. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14395. type: integer
  14396. userid:
  14397. description: 机构用户ID 其他做市关系,都设置为 1
  14398. type: integer
  14399. username:
  14400. description: 机构用户名称(门店门称)
  14401. type: string
  14402. type: object
  14403. models.QhjPickGoods:
  14404. properties:
  14405. enumdicname:
  14406. description: 单位名称(提货商品)
  14407. type: string
  14408. goodsid:
  14409. description: 商品id
  14410. type: integer
  14411. imageaddress:
  14412. description: 图片
  14413. type: string
  14414. modifierid:
  14415. description: 修改人
  14416. type: integer
  14417. modifiername:
  14418. description: 修改人名称
  14419. type: string
  14420. modifysrc:
  14421. description: 修改来源 - 1:管理端 2:终端
  14422. type: integer
  14423. pickupgoodsagreeunit:
  14424. description: 合约乘数
  14425. type: number
  14426. pickupgoodsdesc:
  14427. description: 描述
  14428. type: string
  14429. pickupgoodsid:
  14430. description: 提货商品ID
  14431. type: string
  14432. pickupgoodsname:
  14433. description: 提货商品名称
  14434. type: string
  14435. pickupgoodsstatus:
  14436. description: 状态 - 1:正常 2:停用 3:注销
  14437. type: integer
  14438. pickupgoodsunitid:
  14439. description: 单位ID
  14440. type: integer
  14441. pickupratio:
  14442. description: 提货系数
  14443. type: number
  14444. preparedays:
  14445. description: 备货期(天)
  14446. type: integer
  14447. remark:
  14448. description: 备注
  14449. type: string
  14450. updatetime:
  14451. description: 更新时间
  14452. type: string
  14453. type: object
  14454. models.QhjRSTriggerLog:
  14455. properties:
  14456. accountid:
  14457. description: 用户资金账户
  14458. type: integer
  14459. accountname:
  14460. description: 账号名称(ACCOUNTID对应的名称)
  14461. type: string
  14462. currencyid:
  14463. description: 币种id
  14464. type: integer
  14465. currencyname:
  14466. description: 币种名称
  14467. type: string
  14468. decimalplace:
  14469. description: 商品报价小数位
  14470. type: integer
  14471. enumdicname:
  14472. description: 单位名称
  14473. type: string
  14474. goodscode:
  14475. description: 定投商品代码
  14476. type: string
  14477. goodsid:
  14478. description: 定投商品ID
  14479. type: integer
  14480. goodsname:
  14481. description: 定投商品名称
  14482. type: string
  14483. goodunitid:
  14484. description: 定投商品单位id
  14485. type: integer
  14486. logid:
  14487. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14488. type: string
  14489. logincode:
  14490. description: 账号(登录代码)
  14491. type: string
  14492. qtydecimalplace:
  14493. description: 成交量小数位
  14494. type: integer
  14495. regularlycycle:
  14496. description: 定投频率 - 1:每周 2:每月
  14497. type: integer
  14498. regularlycyclevalue:
  14499. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14500. type: string
  14501. regularlymode:
  14502. description: 定投方式 - 1:按数量 2:按金额
  14503. type: integer
  14504. regularlymodevalue:
  14505. description: 定投方式值 - 数量或金额
  14506. type: number
  14507. regularlystrategyid:
  14508. description: 定投策略ID
  14509. type: integer
  14510. retcode:
  14511. description: 错误码
  14512. type: string
  14513. tradeid:
  14514. description: 成交单ID
  14515. type: string
  14516. triggeramount:
  14517. description: 触发金额
  14518. type: number
  14519. triggerqty:
  14520. description: 触发数量
  14521. type: number
  14522. triggerstatus:
  14523. description: 触发状态 - 1:成功 2:失败
  14524. type: integer
  14525. triggertime:
  14526. description: 触发时间
  14527. type: string
  14528. triggertradedate:
  14529. description: 触发交易日
  14530. type: string
  14531. userid:
  14532. description: 所属用户ID
  14533. type: integer
  14534. userinfotype:
  14535. description: 用户类型 1-个人 2-企业
  14536. type: integer
  14537. username:
  14538. description: 用户名称(userid对应的名称)
  14539. type: string
  14540. type: object
  14541. models.QhjRStrategy:
  14542. properties:
  14543. accountid:
  14544. description: 用户资金账户
  14545. type: integer
  14546. accountname:
  14547. description: 账号名称(ACCOUNTID对应的名称)
  14548. type: string
  14549. currencyid:
  14550. description: 币种id
  14551. type: integer
  14552. currencyname:
  14553. description: 币种名称
  14554. type: string
  14555. decimalplace:
  14556. description: 商品报价小数位
  14557. type: integer
  14558. enumdicname:
  14559. description: 单位名称
  14560. type: string
  14561. goodscode:
  14562. description: 定投商品代码
  14563. type: string
  14564. goodsid:
  14565. description: 定投商品ID
  14566. type: integer
  14567. goodsname:
  14568. description: 定投商品名称
  14569. type: string
  14570. goodunitid:
  14571. description: 定投商品单位id
  14572. type: integer
  14573. lasteffecttradedate:
  14574. description: 最新生效交易日
  14575. type: string
  14576. laststoptradedate:
  14577. description: 最新暂停交易日
  14578. type: string
  14579. lasttriggertradedate:
  14580. description: 最新触发交易日
  14581. type: string
  14582. logincode:
  14583. description: 账号(登录代码)
  14584. type: string
  14585. nexttriggeramount:
  14586. description: 下次触发金额
  14587. type: number
  14588. nexttriggerdate:
  14589. description: 下次触发日期
  14590. type: string
  14591. nexttriggerqty:
  14592. description: 下次触发数量 [按小数位放大值]
  14593. type: number
  14594. qtydecimalplace:
  14595. description: 成交量小数位
  14596. type: integer
  14597. regularlycycle:
  14598. description: 定投频率 - 1:每周 2:每月
  14599. type: integer
  14600. regularlycyclevalue:
  14601. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14602. type: string
  14603. regularlymode:
  14604. description: 定投方式 - 1:按数量 2:按金额
  14605. type: integer
  14606. regularlymodevalue:
  14607. description: 定投方式值 - 数量或金额
  14608. type: number
  14609. regularlystrategyid:
  14610. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14611. type: integer
  14612. regularlystrategystatus:
  14613. description: 策略状态 - 1:正常 2:暂停 3:终止
  14614. type: integer
  14615. remark:
  14616. description: 备注
  14617. type: string
  14618. triggersuccesstimes:
  14619. description: 累计定投成功次数
  14620. type: string
  14621. triggertotalamount:
  14622. description: 累计定投金额(成功)
  14623. type: number
  14624. triggertotalqty:
  14625. description: 累计定投数量(成功) [按小数位放大值]
  14626. type: number
  14627. triggertotaltimes:
  14628. description: 累计定投总次数
  14629. type: string
  14630. updatesrc:
  14631. description: 更新来源 - 1:管理端 2:终端
  14632. type: integer
  14633. updatetime:
  14634. description: 更新时间
  14635. type: string
  14636. updatorid:
  14637. description: 更新人
  14638. type: string
  14639. userid:
  14640. description: 所属用户ID
  14641. type: integer
  14642. userinfotype:
  14643. description: 用户类型 1-个人 2-企业
  14644. type: integer
  14645. username:
  14646. description: 用户名称(userid对应的名称)
  14647. type: string
  14648. type: object
  14649. models.QhjReckonPriceLog:
  14650. properties:
  14651. decimalplace:
  14652. description: 商品报价小数位
  14653. type: integer
  14654. goodscode:
  14655. description: 商品代码
  14656. type: string
  14657. goodsid:
  14658. description: 商品ID
  14659. type: integer
  14660. goodsname:
  14661. description: 商品名称
  14662. type: string
  14663. lastreckonprice:
  14664. description: 上日结算价
  14665. type: number
  14666. nextdnlimitprice:
  14667. description: 下个交易日跌停价
  14668. type: number
  14669. nexttrade:
  14670. description: 下个交易日
  14671. type: string
  14672. nextuplimitprice:
  14673. description: 下个交易日涨停价
  14674. type: number
  14675. reckonprice:
  14676. description: 今日结算价(定投价)
  14677. type: number
  14678. reckontime:
  14679. description: 结算时间
  14680. type: string
  14681. totalholderqty:
  14682. description: 总持仓数
  14683. type: integer
  14684. totalstock:
  14685. description: 总库存
  14686. type: integer
  14687. tradedate:
  14688. description: 交易日
  14689. type: string
  14690. updowncount:
  14691. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14692. type: integer
  14693. updownflag:
  14694. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14695. type: integer
  14696. updownrate:
  14697. description: 今日涨跌幅
  14698. type: number
  14699. updownrate_2d:
  14700. description: 连续两日涨跌幅
  14701. type: number
  14702. updownrate_3d:
  14703. description: 连续三日涨跌幅
  14704. type: number
  14705. type: object
  14706. models.QhjScoreLog:
  14707. properties:
  14708. accountid:
  14709. description: 账户ID
  14710. type: integer
  14711. createtime:
  14712. description: 创建时间(时间)
  14713. type: string
  14714. goodsid:
  14715. description: 商品ID
  14716. type: integer
  14717. hasuploaded:
  14718. description: 是否已同步(千海金) 0:未同步 1;已同步
  14719. type: integer
  14720. logid:
  14721. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14722. type: string
  14723. marketid:
  14724. description: 市场ID
  14725. type: integer
  14726. relatedamount:
  14727. description: 关联金额
  14728. type: number
  14729. relatedorderid:
  14730. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14731. type: string
  14732. scoreconfigvalue1:
  14733. description: 积分配置1
  14734. type: integer
  14735. scoreconfigvalue2:
  14736. description: 积分配置1
  14737. type: integer
  14738. scoretype:
  14739. description: 积分类型 - 1:提货积分
  14740. type: integer
  14741. scorevalue:
  14742. description: 积分
  14743. type: number
  14744. tradedate:
  14745. description: 交易日(yyyyMMdd)
  14746. type: string
  14747. uploadedtime:
  14748. description: 同步时间
  14749. type: string
  14750. userid:
  14751. description: 用户ID
  14752. type: integer
  14753. type: object
  14754. models.QhjSiteColumnDetail:
  14755. properties:
  14756. author:
  14757. description: 作者
  14758. type: string
  14759. brief:
  14760. description: 简介
  14761. type: string
  14762. columnid:
  14763. description: 所属栏目
  14764. type: integer
  14765. context:
  14766. description: 内容
  14767. type: string
  14768. coverimage:
  14769. description: 封面图片
  14770. type: string
  14771. creaedate:
  14772. description: 创建时间
  14773. type: string
  14774. creatorid:
  14775. description: 创建人
  14776. type: integer
  14777. hits:
  14778. description: 点击数
  14779. type: integer
  14780. id:
  14781. description: ID(SEQ_SITE_COLUMNDETAIL)
  14782. type: integer
  14783. isshow:
  14784. description: 是否展示 - 0:不展示 1:展示
  14785. type: integer
  14786. istop:
  14787. description: 是否置顶 - 0:不置 1:置顶
  14788. type: integer
  14789. modifierid:
  14790. description: 操作人
  14791. type: integer
  14792. publishdate:
  14793. description: 发布日期
  14794. type: string
  14795. status:
  14796. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14797. type: integer
  14798. title:
  14799. description: 标题
  14800. type: string
  14801. updatedate:
  14802. description: 修改时间
  14803. type: string
  14804. userid:
  14805. description: 用户ID(默认为0, 核心为为机构用户ID)
  14806. type: integer
  14807. username:
  14808. description: 用户名称
  14809. type: string
  14810. type: object
  14811. models.QhjTeamOrder:
  14812. properties:
  14813. accountid:
  14814. description: 账户ID[报价币种]
  14815. type: integer
  14816. accountname:
  14817. description: 账户名称
  14818. type: string
  14819. agreeunit:
  14820. description: 合约乘数
  14821. type: number
  14822. buyorsell:
  14823. description: 方向 - 0:买 1:卖
  14824. type: integer
  14825. decimalplace:
  14826. description: 报价小数位
  14827. type: integer
  14828. enumdicname:
  14829. description: 单位名称
  14830. type: string
  14831. goodscode:
  14832. description: 商品代码(内部)
  14833. type: string
  14834. goodsid:
  14835. description: 商品ID
  14836. type: integer
  14837. goodsname:
  14838. description: 商品名称
  14839. type: string
  14840. goodunitid:
  14841. description: 报价单位ID
  14842. type: integer
  14843. marketid:
  14844. description: 市场ID
  14845. type: integer
  14846. marketname:
  14847. description: 市场名称
  14848. type: string
  14849. qtydecimalplace:
  14850. description: 成交量小数位
  14851. type: integer
  14852. refereeuserid:
  14853. description: 推荐人ID
  14854. type: integer
  14855. tradeamount:
  14856. description: 成交金额[账户币种,用于所有权]
  14857. type: number
  14858. tradedate:
  14859. description: 交易日(yyyyMMdd)
  14860. type: string
  14861. trademode:
  14862. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14863. 21:竞拍-大宗式 22:受托竞价
  14864. type: integer
  14865. tradeprice:
  14866. description: 成交价格
  14867. type: number
  14868. tradeqty:
  14869. description: 成交数量
  14870. type: number
  14871. tradetime:
  14872. description: 成交时间
  14873. type: string
  14874. userid:
  14875. description: 用户ID
  14876. type: integer
  14877. type: object
  14878. models.QhjTradeGoodsPickup:
  14879. properties:
  14880. accountid:
  14881. description: 账户ID
  14882. type: integer
  14883. address:
  14884. description: 提货人详细地址
  14885. type: string
  14886. amount:
  14887. description: 提货金额
  14888. type: number
  14889. artradedate:
  14890. description: 自动收货交易日(yyyyMMdd)
  14891. type: string
  14892. auditer:
  14893. description: 审核人
  14894. type: integer
  14895. auditsrc:
  14896. description: 更新来源 - 1:管理端 2:终端
  14897. type: integer
  14898. audittime:
  14899. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14900. type: string
  14901. audittradedate:
  14902. description: 审核交易日(yyyyMMdd)
  14903. type: string
  14904. cardnum:
  14905. description: 提货人证件号码
  14906. type: string
  14907. cardtypeid:
  14908. description: 提货人证件类型
  14909. type: integer
  14910. checkremark:
  14911. description: 审核备注
  14912. type: string
  14913. cityid:
  14914. description: 市
  14915. type: integer
  14916. cityname:
  14917. description: 城市名称
  14918. type: string
  14919. confirmtime:
  14920. description: 取货时间 或 收货时间
  14921. type: string
  14922. countryid:
  14923. description: 国家
  14924. type: integer
  14925. countryname:
  14926. description: 国家名称
  14927. type: string
  14928. decimalplace:
  14929. description: 商品报价小数位
  14930. type: integer
  14931. districtid:
  14932. description: 地区
  14933. type: integer
  14934. districtname:
  14935. description: 地区名称
  14936. type: string
  14937. enumdicname:
  14938. description: 单位名称(提货商品)
  14939. type: string
  14940. expresscompany:
  14941. description: 物流公司
  14942. type: string
  14943. expressnum:
  14944. description: 物流单号
  14945. type: string
  14946. goodsagreeunit:
  14947. description: 交易商品乘数
  14948. type: number
  14949. goodscode:
  14950. description: 商品代码
  14951. type: string
  14952. goodsid:
  14953. description: 商品ID
  14954. type: integer
  14955. goodsname:
  14956. description: 商品名称
  14957. type: string
  14958. goodsqty:
  14959. description: 交易商品手数(69模式按成交量小数位放大取整)
  14960. type: number
  14961. handlestatus:
  14962. description: 处理状态
  14963. type: integer
  14964. logincode:
  14965. description: 账号(登录代码, 有可能为空)
  14966. type: string
  14967. marketid:
  14968. description: 市场ID
  14969. type: integer
  14970. phonenum:
  14971. description: 提货人联系方式
  14972. type: string
  14973. pickupgoodsagreeunit:
  14974. description: 提货商品合约乘数
  14975. type: number
  14976. pickupgoodsid:
  14977. description: 提货商品ID
  14978. type: string
  14979. pickupgoodsname:
  14980. description: 提货商品名称
  14981. type: string
  14982. pickupgoodsqty:
  14983. description: 提货商品手数(数量)
  14984. type: number
  14985. pickupgoodsunitid:
  14986. description: 单位ID(提货商品)
  14987. type: integer
  14988. pickupratio:
  14989. description: 提货系数
  14990. type: number
  14991. preparedays:
  14992. description: 备货期(天)-提货单明细表
  14993. type: integer
  14994. provinceid:
  14995. description: 省
  14996. type: integer
  14997. provincename:
  14998. description: 省名称
  14999. type: string
  15000. qty:
  15001. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15002. type: number
  15003. qtydecimalplace:
  15004. description: 商品数量小数位
  15005. type: integer
  15006. recivername:
  15007. description: 提货人姓名
  15008. type: string
  15009. reqtime:
  15010. description: 提货申请时间
  15011. type: string
  15012. storeuserid:
  15013. description: 门店用户ID (千海金)
  15014. type: integer
  15015. storeusername:
  15016. description: 门店用户名称
  15017. type: string
  15018. takemode:
  15019. description: 提货方式 - 2:自提 3:配送(邮寄)
  15020. type: integer
  15021. takeorderid:
  15022. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15023. type: string
  15024. takeorderstatus:
  15025. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15026. 7:已拒绝 8:已撤销
  15027. type: integer
  15028. takeremark:
  15029. description: 提货备注
  15030. type: string
  15031. tradedate:
  15032. description: 交易日(yyyyMMdd)
  15033. type: string
  15034. updatetime:
  15035. description: 更新时间
  15036. type: string
  15037. userid:
  15038. description: 用户ID
  15039. type: integer
  15040. userinfotype:
  15041. description: 客户类型 1-个人 2-企业
  15042. type: integer
  15043. username:
  15044. description: 用户名称
  15045. type: string
  15046. type: object
  15047. models.QhjUserNodeCfgAndStatus:
  15048. properties:
  15049. agreementcontent:
  15050. description: 协议内容
  15051. type: string
  15052. agreementid:
  15053. description: 协议ID
  15054. type: integer
  15055. agreementname:
  15056. description: 协议名称
  15057. type: string
  15058. agreementno:
  15059. description: 协议编号
  15060. type: string
  15061. agreementtype:
  15062. description: 协议类型 - 1:注册 2:登录 3:交易
  15063. type: integer
  15064. agreementversion:
  15065. description: 协议版本号
  15066. type: integer
  15067. configid:
  15068. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15069. type: integer
  15070. createtime:
  15071. description: 创建时间
  15072. type: string
  15073. goodsid:
  15074. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15075. type: integer
  15076. nodetype:
  15077. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15078. type: integer
  15079. signtimestamp:
  15080. description: 签约状态时间戳(最近一次)
  15081. type: string
  15082. tradedate:
  15083. description: 签约交易日(yyyyMMdd)
  15084. type: string
  15085. userid:
  15086. description: 客户ID
  15087. type: integer
  15088. type: object
  15089. models.Qhjgoodsex:
  15090. properties:
  15091. canfinance:
  15092. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15093. type: integer
  15094. canregularlybuy:
  15095. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15096. type: integer
  15097. defaulttradeuserid:
  15098. description: 默认交易用户ID
  15099. type: integer
  15100. deliverygoodsid:
  15101. description: 现货品种ID
  15102. type: integer
  15103. goodsid:
  15104. description: 商品ID(自增ID SEQ_GOODS)
  15105. type: integer
  15106. minamount:
  15107. description: 最小购买金额
  15108. type: number
  15109. regularlybuyminamount:
  15110. description: 定投最小金额
  15111. type: number
  15112. regularlybuyminqty:
  15113. description: 定投最小数量
  15114. type: number
  15115. spotgoodsbrandid:
  15116. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15117. type: integer
  15118. visibilityforenterprise:
  15119. description: 企业客户是否可见 - 0:不可见 1:可见
  15120. type: integer
  15121. visibilityforpersonal:
  15122. description: 个人客户是否可见 - 0:不可见 1:可见
  15123. type: integer
  15124. wrstandardid:
  15125. description: 现货商品ID
  15126. type: integer
  15127. type: object
  15128. models.QueryErrorInfosRsp:
  15129. properties:
  15130. description:
  15131. description: 异常描述
  15132. type: string
  15133. errorcode:
  15134. description: 异常代码
  15135. type: string
  15136. errorid:
  15137. description: 异常ID
  15138. type: integer
  15139. modulecode:
  15140. description: 所属模块
  15141. type: string
  15142. operatecode:
  15143. description: 所属操作
  15144. type: string
  15145. rownumber:
  15146. description: 行号
  15147. type: string
  15148. required:
  15149. - errorid
  15150. type: object
  15151. models.QueryHedgeOrderDetailRsp:
  15152. properties:
  15153. accountid:
  15154. description: 账户ID
  15155. type: integer
  15156. buyorsell:
  15157. description: 买卖 - 0:买 1:卖
  15158. type: integer
  15159. cancellogincode:
  15160. description: 撤单人
  15161. type: string
  15162. channelbuildtype:
  15163. description: 开平标志 - 0:无 1:建仓 2:平仓
  15164. type: integer
  15165. channelinnerorderstatus:
  15166. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15167. 9:全部成交
  15168. type: integer
  15169. channeloperatetype:
  15170. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15171. type: integer
  15172. closetype:
  15173. description: 平仓方式 - 0:无 1:平今 2:平昨
  15174. type: integer
  15175. curexchangerate:
  15176. description: 当前汇率
  15177. type: number
  15178. decimalplace:
  15179. description: 商品报价小数位
  15180. type: integer
  15181. exchangefullname:
  15182. description: 外部交易所全称
  15183. type: string
  15184. goodscode:
  15185. description: 商品代码(内部)
  15186. type: string
  15187. goodsid:
  15188. description: 商品ID
  15189. type: integer
  15190. goodsname:
  15191. description: 商品名称
  15192. type: string
  15193. marketid:
  15194. description: 市场ID
  15195. type: integer
  15196. openfreezemargin:
  15197. description: 冻结保证金(冻结交易金额)
  15198. type: number
  15199. orderid:
  15200. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15201. type: string
  15202. orderlogincode:
  15203. description: 委托人
  15204. type: string
  15205. orderprice:
  15206. description: 委托价格(账户)
  15207. type: number
  15208. orderqty:
  15209. description: 委托数量
  15210. type: integer
  15211. ordertime:
  15212. description: 委托时间
  15213. type: string
  15214. pricemode:
  15215. description: '取价方式 - 1:市价 2: 限价'
  15216. type: integer
  15217. tradedate:
  15218. description: 交易日(yyyyMMdd)
  15219. type: string
  15220. tradeqty:
  15221. description: 成交数量
  15222. type: integer
  15223. type: object
  15224. models.QueryHedgeTradeDetailRsp:
  15225. properties:
  15226. accountid:
  15227. description: 账号ID
  15228. type: integer
  15229. buyorsell:
  15230. description: 方向 - 0:买 1:卖
  15231. type: integer
  15232. channelbuildtype:
  15233. description: 委托单据类型 0:无 1:建仓 2:平仓
  15234. type: integer
  15235. closecharge:
  15236. description: 平仓手续费(账户)
  15237. type: number
  15238. closecharge2:
  15239. description: 平仓手续费(商品)
  15240. type: number
  15241. closepl:
  15242. description: 平仓盈亏(账户)
  15243. type: number
  15244. closepl2:
  15245. description: 平仓盈亏(商品)
  15246. type: number
  15247. closepl3:
  15248. description: 平仓盈亏(账户)(逐笔)
  15249. type: number
  15250. closepl4:
  15251. description: 平仓盈亏(商品)(逐笔)
  15252. type: number
  15253. closetype:
  15254. description: 平仓方式 - 0:无 1:平今 2:平昨
  15255. type: integer
  15256. curexchangerate:
  15257. description: 当前汇率
  15258. type: number
  15259. decimalplace:
  15260. description: 商品报价小数位
  15261. type: integer
  15262. exchangefullname:
  15263. description: 外部交易所全称
  15264. type: string
  15265. goodscode:
  15266. description: 商品代码(内部)
  15267. type: string
  15268. goodsid:
  15269. description: 商品ID
  15270. type: integer
  15271. goodsname:
  15272. description: 商品名称
  15273. type: string
  15274. marketid:
  15275. description: 市场ID
  15276. type: integer
  15277. opencharge:
  15278. description: 建仓手续费(账户)
  15279. type: number
  15280. opencharge2:
  15281. description: 建仓手续费(商品)
  15282. type: number
  15283. orderid:
  15284. description: 委托单号
  15285. type: string
  15286. orderlogincode:
  15287. description: 委托人
  15288. type: string
  15289. tradeamount:
  15290. description: 成交金额(账户)
  15291. type: number
  15292. tradedate:
  15293. description: 交易日(yyyyMMdd)
  15294. type: string
  15295. tradeid:
  15296. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15297. type: string
  15298. tradeprice:
  15299. description: 成交价格
  15300. type: number
  15301. tradeqty:
  15302. description: 成交数量
  15303. type: integer
  15304. tradetime:
  15305. description: 成交时间
  15306. type: string
  15307. tradetype:
  15308. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15309. type: integer
  15310. type: object
  15311. models.QuotePrimaryMenu:
  15312. properties:
  15313. Index:
  15314. description: 序号
  15315. type: integer
  15316. Key:
  15317. description: 键名
  15318. type: string
  15319. Name:
  15320. description: 菜单名称
  15321. type: string
  15322. SubMenus:
  15323. description: 子菜单
  15324. items:
  15325. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15326. type: array
  15327. SubTitleType:
  15328. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15329. type: integer
  15330. TradeModes:
  15331. description: 包含市场交易类型
  15332. type: string
  15333. type: object
  15334. models.QuoteSecondaryMenu:
  15335. properties:
  15336. ExExchangeCode:
  15337. description: 外部交易所代码
  15338. type: string
  15339. ExExchangeID:
  15340. description: 外部交易所ID
  15341. type: integer
  15342. GoodsGroupIDs:
  15343. description: 商品组ID列表
  15344. items:
  15345. type: integer
  15346. type: array
  15347. Index:
  15348. description: 序号
  15349. type: integer
  15350. MarketID:
  15351. description: 市场ID
  15352. type: integer
  15353. MenuTitle:
  15354. description: 菜单标题(市场名称或外部交易所名称)
  15355. type: string
  15356. TradeMode:
  15357. description: 交易模式
  15358. type: integer
  15359. type: object
  15360. models.RelatedTaAccount:
  15361. properties:
  15362. accountid:
  15363. description: 资金账户ID
  15364. type: integer
  15365. type: object
  15366. models.RoleMenu:
  15367. properties:
  15368. hasright:
  15369. description: 是否有权限 0-没有权限 1-有权限
  15370. type: integer
  15371. iconame:
  15372. description: 菜单图标
  15373. type: string
  15374. menutype:
  15375. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15376. type: integer
  15377. parentcode:
  15378. description: 上级资源代码
  15379. type: string
  15380. remark:
  15381. description: 菜单备注
  15382. type: string
  15383. resourcecode:
  15384. description: 菜单代码
  15385. type: string
  15386. resourcelevel:
  15387. description: 级别
  15388. type: integer
  15389. resourcename:
  15390. description: 菜单名称
  15391. type: string
  15392. roleid:
  15393. description: 角色id
  15394. type: integer
  15395. sort:
  15396. description: 排序
  15397. type: integer
  15398. subMenu:
  15399. description: 子级菜单(结构同上层一样, swag解析不出来)
  15400. items:
  15401. $ref: '#/definitions/models.RoleMenu'
  15402. type: array
  15403. url:
  15404. description: URL
  15405. type: string
  15406. userid:
  15407. description: 用户id
  15408. type: integer
  15409. type: object
  15410. models.SearchGoods:
  15411. properties:
  15412. goodscode:
  15413. description: 商品代码(内部)
  15414. type: string
  15415. goodsid:
  15416. description: 商品ID(自增ID SEQ_GOODS)
  15417. type: integer
  15418. goodsname:
  15419. description: 商品名称
  15420. type: string
  15421. marketid:
  15422. description: 所属市场ID
  15423. type: integer
  15424. marketname:
  15425. description: 市场名称
  15426. type: string
  15427. trademode:
  15428. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15429. 21:竞拍-大宗式 22:受托竞价
  15430. type: integer
  15431. required:
  15432. - goodscode
  15433. - goodsid
  15434. - goodsname
  15435. - marketid
  15436. - trademode
  15437. type: object
  15438. models.SellOrder:
  15439. properties:
  15440. accountid:
  15441. description: 资金账号
  15442. type: integer
  15443. applyid:
  15444. description: 申请单ID
  15445. type: integer
  15446. attachment1:
  15447. description: 附件1
  15448. type: string
  15449. attachment2:
  15450. description: 附件2
  15451. type: string
  15452. buyorsell:
  15453. description: 买卖 - 0:买 1:卖
  15454. type: integer
  15455. canbargain:
  15456. description: 是否可议价 - 0:不可 1:可
  15457. type: integer
  15458. cancelqty:
  15459. description: 撤销数量
  15460. type: integer
  15461. canceltime:
  15462. description: 撤销时间
  15463. type: string
  15464. chargealgorithm:
  15465. description: 手续费收取方式 1:比率 2:固定
  15466. type: integer
  15467. chargealgorithmvalue:
  15468. description: 手续费设置值(交易所部分)
  15469. type: number
  15470. chargealgorithmvalue2:
  15471. description: 手续费设置值(会员部分)
  15472. type: number
  15473. clientordertime:
  15474. description: 客户端委托时间
  15475. type: string
  15476. exchangerate:
  15477. description: 汇率[67]
  15478. type: number
  15479. firstratio:
  15480. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15481. type: number
  15482. fixedprice:
  15483. description: 固定价格 - [挂牌]
  15484. type: number
  15485. freezecharge:
  15486. description: 冻结手续费
  15487. type: number
  15488. freezefirstamount:
  15489. description: 冻结首付金额 - [摘牌]
  15490. type: number
  15491. freezemargin:
  15492. description: 冻结保证金
  15493. type: number
  15494. goodsno:
  15495. description: 商品编号
  15496. type: string
  15497. isQueryDiamond:
  15498. description: 是否钻石查询
  15499. type: boolean
  15500. isspecified:
  15501. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15502. type: integer
  15503. marginalgorithm:
  15504. description: 保证金方式 - 1:比率 2:固定
  15505. type: integer
  15506. marginvalue:
  15507. description: 保证金设置值
  15508. type: number
  15509. marketid:
  15510. description: 市场ID
  15511. type: integer
  15512. orderamount:
  15513. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15514. type: number
  15515. orderqty:
  15516. description: 委托数量
  15517. type: integer
  15518. ordertime:
  15519. description: 委托时间
  15520. type: string
  15521. performancetemplateid:
  15522. description: 履约计划模板ID
  15523. type: integer
  15524. pricefactor:
  15525. description: 价格系数(浮动价时填写) - [挂牌]
  15526. type: number
  15527. pricemove:
  15528. description: 升贴水(浮动价时填写) - [挂牌]
  15529. type: number
  15530. relatedwrtradeorderid:
  15531. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15532. type: integer
  15533. retcode:
  15534. description: 错误代码
  15535. type: integer
  15536. sellusername:
  15537. description: 卖方(查询字段-模糊查询)
  15538. type: string
  15539. tradedate:
  15540. description: 交易日(yyyyMMdd)
  15541. type: string
  15542. tradeprice:
  15543. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15544. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15545. type: number
  15546. tradeqty:
  15547. description: 成交数量
  15548. type: integer
  15549. unfreezecharge:
  15550. description: 解冻手续费
  15551. type: number
  15552. unfreezefirstamount:
  15553. description: 解冻首付金额 - [摘牌]
  15554. type: number
  15555. unfreezemargin:
  15556. description: 解冻保证金
  15557. type: number
  15558. userid:
  15559. description: 用户ID
  15560. type: integer
  15561. uuid:
  15562. description: 发起端唯一id
  15563. type: string
  15564. validtime:
  15565. description: 有效期限
  15566. type: string
  15567. validtype:
  15568. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15569. type: integer
  15570. wrbargainid:
  15571. description: 议价申请单ID
  15572. type: integer
  15573. wrfactortypeid:
  15574. description: 仓单要素类型ID/商品ID(77)
  15575. type: integer
  15576. wrpricetype:
  15577. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15578. type: integer
  15579. wrstandardid:
  15580. description: 现货商品ID
  15581. type: integer
  15582. wrtradeorderid:
  15583. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15584. type: integer
  15585. wrtradeorderstatus:
  15586. 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:撤单解冻贷款失败
  15587. type: integer
  15588. wrtradetype:
  15589. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15590. type: integer
  15591. wrtransferuserid:
  15592. description: 仓单受让用户 - [摘牌]
  15593. type: integer
  15594. zscategory:
  15595. description: 钻石分类 - 枚举”ZSCategory“
  15596. type: integer
  15597. zscurrencytype:
  15598. description: 货币类型 - 枚举“ZSCurrencyType”
  15599. type: integer
  15600. type: object
  15601. models.SellOrderQueryReq:
  15602. properties:
  15603. origin:
  15604. description: 原产地
  15605. type: string
  15606. page:
  15607. description: 页码
  15608. type: integer
  15609. pagesize:
  15610. description: 每页大小
  15611. type: integer
  15612. total:
  15613. description: 总条数
  15614. type: integer
  15615. warehouseid:
  15616. description: 仓库ID
  15617. type: integer
  15618. weight1:
  15619. description: 总重量(克拉重量)-从
  15620. type: number
  15621. weight2:
  15622. description: 总重量(克拉重量)-至
  15623. type: number
  15624. weightavg1:
  15625. description: 平均单颗重量-从
  15626. type: number
  15627. weightavg2:
  15628. description: 平均单颗重量-至
  15629. type: number
  15630. zscategory:
  15631. description: 钻石分类 - 枚举”ZSCategory“
  15632. type: integer
  15633. zscerttype:
  15634. description: 证书类型
  15635. items:
  15636. type: string
  15637. type: array
  15638. zsclaritytype:
  15639. description: 净度
  15640. items:
  15641. type: integer
  15642. type: array
  15643. zscolortype:
  15644. description: 颜色
  15645. items:
  15646. type: integer
  15647. type: array
  15648. zscurrencytype:
  15649. description: 货币类型 - 枚举“ZSCurrencyType”
  15650. items:
  15651. type: string
  15652. type: array
  15653. zscuttype:
  15654. description: 切工
  15655. items:
  15656. type: integer
  15657. type: array
  15658. zsczcolor1type:
  15659. description: 彩钻颜色1
  15660. items:
  15661. type: string
  15662. type: array
  15663. zsfluorescencetype:
  15664. description: 荧光
  15665. items:
  15666. type: integer
  15667. type: array
  15668. zspolishtype:
  15669. description: 抛光度
  15670. items:
  15671. type: integer
  15672. type: array
  15673. zsshapetype:
  15674. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  15675. items:
  15676. type: string
  15677. type: array
  15678. zsstyletype:
  15679. description: 款式
  15680. items:
  15681. type: string
  15682. type: array
  15683. zssymmetrytype:
  15684. description: 对称度
  15685. items:
  15686. type: integer
  15687. type: array
  15688. required:
  15689. - zscategory
  15690. type: object
  15691. models.Systemparam:
  15692. properties:
  15693. loginid:
  15694. description: 更新用户账号,登录账号
  15695. type: string
  15696. modifyflag:
  15697. description: 修改标志0 不允许修改 1 允许修改
  15698. type: integer
  15699. paramcode:
  15700. description: 参数代码
  15701. type: string
  15702. paramname:
  15703. description: 参数名
  15704. type: string
  15705. paramtype:
  15706. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15707. type: integer
  15708. paramvalue:
  15709. description: 参数值
  15710. type: string
  15711. paramvalue2:
  15712. description: 参数值(CLOB)
  15713. type: string
  15714. regexpress:
  15715. description: 正则表达式
  15716. type: string
  15717. remark:
  15718. description: 备注
  15719. type: string
  15720. serverip:
  15721. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15722. type: string
  15723. showflag:
  15724. description: 是否显示0 不显示 1 显示
  15725. type: integer
  15726. updatetime:
  15727. description: 更新时间
  15728. type: string
  15729. userid:
  15730. description: 更新用户ID
  15731. type: integer
  15732. required:
  15733. - paramcode
  15734. type: object
  15735. models.Szdz3convertconfig:
  15736. properties:
  15737. canin:
  15738. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15739. type: integer
  15740. canout:
  15741. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15742. type: integer
  15743. converttype:
  15744. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15745. 6:交易转花生米(不设置)
  15746. type: integer
  15747. createtime:
  15748. description: 创建时间
  15749. type: string
  15750. creatorid:
  15751. description: 创建人
  15752. type: integer
  15753. daymaxvalue:
  15754. description: 当日最大转入限制
  15755. type: number
  15756. freezedays:
  15757. description: 冻结天数 [5:花生米转交易]
  15758. type: integer
  15759. innergoodsid:
  15760. description: 内部商品ID[交易]
  15761. type: integer
  15762. inratio:
  15763. description: 目标值
  15764. type: integer
  15765. modifierid:
  15766. description: 修改人
  15767. type: integer
  15768. modifytime:
  15769. description: 修改时间
  15770. type: string
  15771. outergoodscode:
  15772. description: 外部商品代码[JD\PD]
  15773. type: string
  15774. outratio:
  15775. description: 源值
  15776. type: integer
  15777. pddecimalplace:
  15778. description: PD小数位
  15779. type: integer
  15780. timemaxvalue:
  15781. description: 单次最大转入限制
  15782. type: number
  15783. timeminvalue:
  15784. description: 单次最小转入限制
  15785. type: number
  15786. required:
  15787. - converttype
  15788. - innergoodsid
  15789. - outergoodscode
  15790. type: object
  15791. models.Szdz3searchwhitelist:
  15792. properties:
  15793. createtime:
  15794. description: 创建时间
  15795. type: string
  15796. creatorid:
  15797. description: 创建人
  15798. type: integer
  15799. modifierid:
  15800. description: 修改人
  15801. type: integer
  15802. modifytime:
  15803. description: 修改时间
  15804. type: string
  15805. userid:
  15806. description: 用户ID
  15807. type: integer
  15808. required:
  15809. - userid
  15810. type: object
  15811. models.TBGoods:
  15812. properties:
  15813. agreeunit:
  15814. description: 合约乘数
  15815. type: number
  15816. enumdicname:
  15817. description: 单位名称
  15818. type: string
  15819. goodscode:
  15820. description: 商品代码(内部)
  15821. type: string
  15822. goodsid:
  15823. description: 商品ID(自增ID SEQ_GOODS)
  15824. type: integer
  15825. goodsname:
  15826. description: 商品名称
  15827. type: string
  15828. type: object
  15829. models.TBGoodsGroup:
  15830. properties:
  15831. GDLST:
  15832. description: 商品列表
  15833. items:
  15834. $ref: '#/definitions/models.TBGoods'
  15835. type: array
  15836. convertratio:
  15837. description: 折算系数
  15838. type: number
  15839. enumdicname:
  15840. description: 单位名称
  15841. type: string
  15842. exexchangecode:
  15843. description: 交易所代码
  15844. type: string
  15845. exexchangename:
  15846. description: 交易所名称
  15847. type: string
  15848. goodsgroupid:
  15849. description: 商品组ID(自增ID)
  15850. type: integer
  15851. goodsgroupname:
  15852. description: 商品组名称
  15853. type: string
  15854. goodunitid:
  15855. description: 报价单位ID
  15856. type: integer
  15857. type: object
  15858. models.TBMiddleGoods:
  15859. properties:
  15860. GPLST:
  15861. description: 期货品种列表
  15862. items:
  15863. $ref: '#/definitions/models.TBGoodsGroup'
  15864. type: array
  15865. WDLST:
  15866. description: 商品信息列表(现货品类)
  15867. items:
  15868. $ref: '#/definitions/models.TBWrstandard'
  15869. type: array
  15870. areauserid:
  15871. description: 机构用户ID
  15872. type: integer
  15873. enumdicname:
  15874. description: 单位名称
  15875. type: string
  15876. goodsunitid:
  15877. description: 套保品种单位id
  15878. type: integer
  15879. middlegoodscode:
  15880. description: 套保品种代码
  15881. type: string
  15882. middlegoodsid:
  15883. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15884. type: integer
  15885. middlegoodsname:
  15886. description: 套保品种名称
  15887. type: string
  15888. needarbitrageratio:
  15889. description: 套利比率
  15890. type: number
  15891. needhedgeratio:
  15892. description: 套保比率
  15893. type: number
  15894. type: object
  15895. models.TBWrstandard:
  15896. properties:
  15897. convertratio:
  15898. description: 折算系数
  15899. type: number
  15900. deliverygoodsname:
  15901. description: 品种名称
  15902. type: string
  15903. enumdicname:
  15904. description: 单位名称
  15905. type: string
  15906. vatrate:
  15907. description: 增值税率
  15908. type: number
  15909. wrstandardcode:
  15910. description: 现货商品代码
  15911. type: string
  15912. wrstandardid:
  15913. description: 现货商品ID(SEQ_WRSTANDARD)
  15914. type: integer
  15915. wrstandardname:
  15916. description: 现货商品名称
  15917. type: string
  15918. type: object
  15919. models.Taaccount:
  15920. properties:
  15921. accountflag:
  15922. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15923. type: integer
  15924. accountid:
  15925. description: 资金账户ID
  15926. type: integer
  15927. accountname:
  15928. description: 账户名称
  15929. type: string
  15930. balance:
  15931. description: 期初余额
  15932. type: number
  15933. capitalbalance:
  15934. description: 本金余额[外部子账户实际出入金余额]
  15935. type: number
  15936. changeflag:
  15937. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15938. type: integer
  15939. changetime:
  15940. description: 账户状态变更时间
  15941. type: string
  15942. closepl:
  15943. description: 今日平仓盈亏
  15944. type: number
  15945. creditdecrease:
  15946. description: 今日授信减少
  15947. type: number
  15948. creditincrease:
  15949. description: 今日授信增加
  15950. type: number
  15951. curamount:
  15952. description: 总市值(从持仓中统计)
  15953. type: number
  15954. currencyid:
  15955. description: 货币ID
  15956. type: integer
  15957. currentbalance:
  15958. description: 期末余额
  15959. type: number
  15960. freezecharge:
  15961. description: 手续费冻结
  15962. type: number
  15963. freezemargin:
  15964. description: 冻结保证金
  15965. type: number
  15966. fromaccountid:
  15967. description: 所属上级账户
  15968. type: integer
  15969. inamount:
  15970. description: 今日入金金额(包括三方入金)
  15971. type: number
  15972. ismain:
  15973. description: 是否母账号 0:不是母账户 1:是母账户
  15974. type: integer
  15975. ismarketaccount:
  15976. description: 是否机构接单账号 0:不是 1:是
  15977. type: integer
  15978. isreckonaccount:
  15979. description: 是否机构分润账号 0:不是 1:是
  15980. type: integer
  15981. mortgagecredit:
  15982. description: 授信金额
  15983. type: number
  15984. orifreezecharge:
  15985. description: 期初手续费冻结
  15986. type: number
  15987. orifreezemargin:
  15988. description: 期初冻结保证金
  15989. type: number
  15990. orimortgagecredit:
  15991. description: 期初授信金额
  15992. type: number
  15993. oriothercredit:
  15994. description: 期初其它授信金额
  15995. type: number
  15996. oriotherfreezemargin:
  15997. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15998. type: number
  15999. orioutamountfreeze:
  16000. description: 期初出金冻结
  16001. type: number
  16002. oriusedmargin:
  16003. description: 期初占用保证金
  16004. type: number
  16005. othercredit:
  16006. description: 其它授信金额
  16007. type: number
  16008. othercreditdecrease:
  16009. description: 今日其它授信减少
  16010. type: number
  16011. othercreditincrease:
  16012. description: 今日其它授信增加
  16013. type: number
  16014. otherfreezemargin:
  16015. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16016. type: number
  16017. otherincome:
  16018. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16019. type: number
  16020. otherpay:
  16021. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16022. type: number
  16023. outamount:
  16024. description: 今日出金金额(包括三方出金)
  16025. type: number
  16026. outamountfreeze:
  16027. description: 出金冻结
  16028. type: number
  16029. outthreshold:
  16030. description: 出金阈值
  16031. type: number
  16032. parentaccountid:
  16033. description: 所属根账号
  16034. type: integer
  16035. paycharge:
  16036. description: 今日手续费支出
  16037. type: number
  16038. relatedaccountstatus:
  16039. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16040. type: integer
  16041. relateduserid:
  16042. description: 关联用户
  16043. type: integer
  16044. remainamount:
  16045. description: 融资额(从融资合同中统计)
  16046. type: number
  16047. serivcegroup:
  16048. description: 服务分组
  16049. type: integer
  16050. signstatus:
  16051. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16052. type: integer
  16053. sublevelpath:
  16054. description: 账号层级路径(逗号分隔,首尾加逗号)
  16055. type: string
  16056. taaccounttype:
  16057. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16058. type: integer
  16059. thirdinamount:
  16060. description: 今日三方入金
  16061. type: number
  16062. thirdoutamount:
  16063. description: 今日三方出金
  16064. type: number
  16065. tradestatus:
  16066. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16067. type: integer
  16068. tradestatuschangetime:
  16069. description: 激活时间
  16070. type: string
  16071. transferamount:
  16072. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16073. type: number
  16074. usedmargin:
  16075. description: 占用保证金
  16076. type: number
  16077. userid:
  16078. description: 用户ID
  16079. type: integer
  16080. required:
  16081. - accountid
  16082. - userid
  16083. type: object
  16084. models.Tablecolumnconfig:
  16085. properties:
  16086. aligntype:
  16087. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16088. type: integer
  16089. autoid:
  16090. description: AutoID
  16091. type: integer
  16092. columnfield:
  16093. description: 列字段
  16094. type: string
  16095. columntitle:
  16096. description: 列Title
  16097. type: string
  16098. columnwidth:
  16099. description: 列宽
  16100. type: string
  16101. fixed:
  16102. description: 固定类型 - 空 | left | right
  16103. type: string
  16104. formatterstring:
  16105. description: 格式化字符
  16106. type: string
  16107. formattertype:
  16108. description: 格式化类型
  16109. type: string
  16110. groupname:
  16111. description: 表头分组名称
  16112. type: string
  16113. ismerge:
  16114. description: 是否合并显示 - 0:不合并 1:合并
  16115. type: integer
  16116. isshow:
  16117. description: 是否显示 - 0:不显示 1:显示
  16118. type: integer
  16119. needsummary:
  16120. description: 是否需要汇总 - 0:不需要 1:需要
  16121. type: integer
  16122. orderindex:
  16123. description: 顺序
  16124. type: integer
  16125. remark:
  16126. description: 备注
  16127. type: string
  16128. summarytype:
  16129. description: 汇总类型 - 1:加总 2:最后一个
  16130. type: integer
  16131. tablekey:
  16132. description: 列表Key
  16133. type: string
  16134. required:
  16135. - autoid
  16136. type: object
  16137. models.TjmdHolderDetailTradeInfo:
  16138. properties:
  16139. agreeunit:
  16140. description: 合约乘数
  16141. type: number
  16142. buyaccountid:
  16143. description: 买方账户
  16144. type: string
  16145. buyusername:
  16146. description: 买方
  16147. type: string
  16148. delistingdate:
  16149. description: 最后结算日
  16150. type: string
  16151. expiredate:
  16152. description: 到期结算价定价日
  16153. type: string
  16154. exprieprice:
  16155. description: 到期清算价格
  16156. type: string
  16157. goodscode:
  16158. description: 商品代码
  16159. type: string
  16160. goodsid:
  16161. description: 商品ID
  16162. type: integer
  16163. goodsname:
  16164. description: 商品名称(交易标的)
  16165. type: string
  16166. lasttradedate:
  16167. description: 最后交易日
  16168. type: string
  16169. listingdate:
  16170. description: 开始交易日
  16171. type: string
  16172. openprice:
  16173. description: 成交价
  16174. type: number
  16175. openqty:
  16176. description: 交易数量
  16177. type: integer
  16178. sellaccountid:
  16179. description: 卖方账户
  16180. type: string
  16181. sellusername:
  16182. description: 卖方
  16183. type: string
  16184. tradeamount:
  16185. description: 初始名义价值
  16186. type: number
  16187. tradedate:
  16188. description: 成交日期
  16189. type: string
  16190. tradeid:
  16191. description: 成交编号
  16192. type: string
  16193. type: object
  16194. models.TjmdMarketSection:
  16195. properties:
  16196. marketsectionid:
  16197. description: 市场版块ID(SEQ_MARKETSECTION)
  16198. type: integer
  16199. marketsectionname:
  16200. description: 市场版块名称
  16201. type: string
  16202. mlist:
  16203. description: 市场列表(板块下面有多少个市场)
  16204. items:
  16205. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16206. type: array
  16207. orderindex:
  16208. description: 排序
  16209. type: integer
  16210. pictureurl:
  16211. description: 图片url, 规格(90*90)
  16212. type: string
  16213. remark:
  16214. description: 备注
  16215. type: string
  16216. type: object
  16217. models.TjmdMarketSectionConfig:
  16218. properties:
  16219. auctionwrtype:
  16220. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16221. type: integer
  16222. canacceptquote:
  16223. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16224. type: integer
  16225. cangoodsexercise:
  16226. description: '[期权]是否可现货行权- 0:否 1:是'
  16227. type: integer
  16228. cangoodsexercisetype:
  16229. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16230. type: integer
  16231. canmanualquotestrike:
  16232. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16233. type: integer
  16234. canmutistage:
  16235. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16236. type: integer
  16237. canpreexercise:
  16238. description: '[期权]是否可预申报- 0:否 1:是'
  16239. type: integer
  16240. clearinterval:
  16241. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16242. type: integer
  16243. contracttmp:
  16244. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16245. type: string
  16246. exchareaid:
  16247. description: 所属交易所,可以没有
  16248. type: integer
  16249. financemarketid:
  16250. description: 融资回购市场ID [仓单贸易]
  16251. type: integer
  16252. goodstype:
  16253. description: 商品类型 - 1:交易商品 2:仓单商品
  16254. type: integer
  16255. hasrebate:
  16256. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16257. type: integer
  16258. hastradecredit:
  16259. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16260. type: integer
  16261. haswr:
  16262. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16263. type: integer
  16264. isdeductmargin:
  16265. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16266. type: integer
  16267. isrecordsource:
  16268. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16269. type: integer
  16270. isreleasemargin:
  16271. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16272. type: integer
  16273. isupdatereckonprice:
  16274. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16275. type: integer
  16276. listingmode:
  16277. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16278. type: integer
  16279. marginformula:
  16280. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16281. type: integer
  16282. marginformula2:
  16283. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16284. type: integer
  16285. marketid:
  16286. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16287. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16288. type: integer
  16289. marketname:
  16290. description: 市场名称
  16291. type: string
  16292. marketsectionid:
  16293. description: 市场版块ID(SEQ_MARKETSECTION)
  16294. type: integer
  16295. marketserviceid:
  16296. description: 市场服务ID
  16297. type: integer
  16298. marketstatus:
  16299. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16300. type: integer
  16301. markettype:
  16302. description: 市场类型- 1:非交易服务 2:交易服务
  16303. type: integer
  16304. matchermode:
  16305. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16306. type: integer
  16307. nowrquotaflag:
  16308. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16309. type: integer
  16310. openmethod:
  16311. description: 开盘模式 - 0 自动 1手动
  16312. type: integer
  16313. orderindex:
  16314. description: 排序
  16315. type: integer
  16316. otcuserid:
  16317. description: 场外期权做市商[场外期权]
  16318. type: integer
  16319. outersynctime:
  16320. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16321. type: string
  16322. paylaterflag:
  16323. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16324. type: integer
  16325. pendingflag:
  16326. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16327. type: integer
  16328. pendingtime:
  16329. description: 待开市时间[通道交易-对冲](HH:mm)
  16330. type: string
  16331. performancetempid:
  16332. description: 履约计划模板ID - 作废
  16333. type: integer
  16334. premiumquotemode:
  16335. description: 权利金报价方式 - 1:自动 2:手动
  16336. type: integer
  16337. rebateratio:
  16338. description: 返利比率[竞价式]
  16339. type: number
  16340. reckonorder:
  16341. description: 结算顺序
  16342. type: integer
  16343. reckonpricealgorithm:
  16344. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16345. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16346. type: integer
  16347. reckonpriceparam:
  16348. description: 结算价参数
  16349. type: integer
  16350. reckontime:
  16351. description: 结算时间[通道交易-对冲](HH:mm)
  16352. type: string
  16353. roleprioritytype:
  16354. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16355. type: integer
  16356. selllistingauditflag:
  16357. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16358. type: integer
  16359. trademarkettype:
  16360. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16361. type: integer
  16362. trademode:
  16363. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16364. 21:竞拍-大宗式 22:受托竞价
  16365. type: integer
  16366. tradeproperty:
  16367. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16368. 8:场外期权
  16369. type: integer
  16370. tradetype:
  16371. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16372. type: integer
  16373. updatereckonpriceinterval:
  16374. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16375. type: integer
  16376. type: object
  16377. models.TjmdQuoteGoods:
  16378. properties:
  16379. buyqty:
  16380. description: 买量(暂不做, 无值, 保留字段)
  16381. type: number
  16382. decimalplace:
  16383. description: 报价小数位
  16384. type: integer
  16385. goodscode:
  16386. description: 合约代码
  16387. type: string
  16388. goodsgroupid:
  16389. description: 商品组ID(自增ID)
  16390. type: integer
  16391. goodsgroupname:
  16392. description: 商品组名称
  16393. type: string
  16394. goodsid:
  16395. description: 合约id
  16396. type: integer
  16397. goodsname:
  16398. description: 合约名称
  16399. type: string
  16400. refgoodscode:
  16401. description: 标的合约代码
  16402. type: string
  16403. refgoodsid:
  16404. description: 标的合约id
  16405. type: integer
  16406. refgoodsname:
  16407. description: 标的合约名称
  16408. type: string
  16409. sellqty:
  16410. description: 卖量(暂不做, 无值, 保留字段)
  16411. type: number
  16412. type: object
  16413. models.TjmdTodayAccountMargin:
  16414. properties:
  16415. accountid:
  16416. description: 账号ID
  16417. type: integer
  16418. goodsid:
  16419. description: 商品ID
  16420. type: integer
  16421. infoc:
  16422. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16423. description: 配置参数
  16424. marketid:
  16425. description: 市场ID
  16426. type: integer
  16427. type: object
  16428. models.TjmdTradeOrderDetail:
  16429. properties:
  16430. buyorsell:
  16431. description: 买卖方向 0-买 1-卖
  16432. type: integer
  16433. goodsid:
  16434. description: 商品id
  16435. type: integer
  16436. marketmaxsub:
  16437. description: 市价最大偏移范围 [浮动价 - 点差]
  16438. type: number
  16439. orderid:
  16440. description: 委托单号
  16441. type: string
  16442. orderprice:
  16443. description: 期初均价
  16444. type: number
  16445. orderqty:
  16446. description: 委托数量
  16447. type: integer
  16448. pricemode:
  16449. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16450. type: integer
  16451. userid:
  16452. description: 用户id
  16453. type: integer
  16454. username:
  16455. description: 用户名称(已脱敏)
  16456. type: string
  16457. type: object
  16458. models.TjmdTransferApply:
  16459. properties:
  16460. applyid:
  16461. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16462. type: integer
  16463. applystatus:
  16464. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16465. type: integer
  16466. applytime:
  16467. description: 申请时间(时间)
  16468. type: string
  16469. auditremark:
  16470. description: 审核备注(拒绝原因?)
  16471. type: string
  16472. begindate:
  16473. description: 开始交易日(yyyymmdd)
  16474. type: string
  16475. buyorsell:
  16476. description: 买卖 - 0:买 1:卖
  16477. type: integer
  16478. enddate:
  16479. description: 结束交易日(yyyymmdd)
  16480. type: string
  16481. goodscode:
  16482. description: 商品代码
  16483. type: string
  16484. goodsid:
  16485. description: 商品ID
  16486. type: integer
  16487. goodsname:
  16488. description: 商品名称
  16489. type: string
  16490. marketid:
  16491. description: 市场ID
  16492. type: integer
  16493. qty:
  16494. description: 期初均价
  16495. type: number
  16496. tradeid:
  16497. description: 成交单号(关联持仓)
  16498. type: string
  16499. transferamount:
  16500. description: 转让总金额(金额)
  16501. type: number
  16502. transferprice:
  16503. description: 转让价格(协议价格)
  16504. type: number
  16505. type: object
  16506. models.TradeHolderDetail:
  16507. properties:
  16508. accountid:
  16509. description: 账号ID
  16510. type: integer
  16511. agreeunit:
  16512. description: 合约乘数
  16513. type: number
  16514. buyorsell:
  16515. description: 方向 - 0:买 1:卖
  16516. type: integer
  16517. currencyid:
  16518. description: 商品币种id
  16519. type: integer
  16520. currencyname:
  16521. description: 币种名称
  16522. type: string
  16523. decimalplace:
  16524. description: 商品价格小数位
  16525. type: integer
  16526. enumdicname:
  16527. description: 商品单位名称
  16528. type: string
  16529. expirecycle:
  16530. description: 行权周期(天) - 1:滚动行权时填写
  16531. type: integer
  16532. expiredate:
  16533. description: 行权日(yyyyMMdd) - 到期日
  16534. type: string
  16535. expiretype:
  16536. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16537. type: integer
  16538. freezeqty:
  16539. description: 期初均价
  16540. type: number
  16541. goodscode:
  16542. description: 商品代码
  16543. type: string
  16544. goodsid:
  16545. description: 商品ID
  16546. type: integer
  16547. goodsname:
  16548. description: 商品名称
  16549. type: string
  16550. goodunitid:
  16551. description: 商品单位id
  16552. type: integer
  16553. holderamount:
  16554. description: 持仓金额
  16555. type: number
  16556. holdercredit:
  16557. description: 持仓授信金额
  16558. type: number
  16559. holderdays:
  16560. description: 剩余冻结天数
  16561. type: integer
  16562. holderprice:
  16563. description: 持仓价格
  16564. type: number
  16565. holderqty:
  16566. description: 期初均价
  16567. type: number
  16568. isconfirmexercise:
  16569. description: 是否确认行权- 0:否 1:是
  16570. type: integer
  16571. ispreexercise:
  16572. description: 是否预申报- 0:否 1:是 2:不可行权
  16573. type: integer
  16574. marketid:
  16575. description: 市场id
  16576. type: integer
  16577. marketname:
  16578. description: 市场名称
  16579. type: string
  16580. openprice:
  16581. description: 建仓价格
  16582. type: number
  16583. openqty:
  16584. description: 期初均价
  16585. type: number
  16586. optiontype:
  16587. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16588. type: integer
  16589. preexerciseprice:
  16590. description: 预申报价格
  16591. type: number
  16592. premium:
  16593. description: 权利金
  16594. type: number
  16595. qtydecimalplace:
  16596. description: 商品成交量小数位
  16597. type: integer
  16598. refgoodscode:
  16599. description: 标的合约代码
  16600. type: string
  16601. refgoodsid:
  16602. description: 标的合约id
  16603. type: integer
  16604. releaseamount:
  16605. description: 释放持仓金额
  16606. type: number
  16607. releaseholdercredit:
  16608. description: 释放持仓授信金额
  16609. type: number
  16610. taname:
  16611. description: 资金账号名称
  16612. type: string
  16613. tradeamount:
  16614. description: 成交金额
  16615. type: number
  16616. tradedate:
  16617. description: 交易日(yyyyMMdd)
  16618. type: string
  16619. tradeid:
  16620. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16621. type: string
  16622. trademode:
  16623. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16624. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16625. type: integer
  16626. tradeproperty:
  16627. description: 交易属性
  16628. type: integer
  16629. tradetime:
  16630. description: 交易时间
  16631. type: string
  16632. userid:
  16633. description: 用户id
  16634. type: integer
  16635. username:
  16636. description: 用户名称
  16637. type: string
  16638. type: object
  16639. models.Unlinkermcphedgeplan:
  16640. properties:
  16641. accountid:
  16642. description: 期货账户ID - 作废
  16643. type: integer
  16644. accountname:
  16645. description: 交易用户
  16646. type: string
  16647. applyid:
  16648. description: 申请人
  16649. type: integer
  16650. applysrc:
  16651. description: 申请来源 - 1:管理端 2:终端
  16652. type: integer
  16653. applytime:
  16654. description: 申请时间
  16655. type: string
  16656. areauserid:
  16657. description: '[企业ID]机构ID'
  16658. type: integer
  16659. auditid:
  16660. description: 审核人
  16661. type: integer
  16662. auditremark:
  16663. description: 审核备注
  16664. type: string
  16665. auditsrc:
  16666. description: 审核来源 - 1:管理端 2:终端
  16667. type: integer
  16668. audittime:
  16669. description: 审核时间
  16670. type: string
  16671. audittradedate:
  16672. description: 审核交易日(yyyyMMdd)
  16673. type: string
  16674. biztype:
  16675. description: 业务类型 - 1:套保
  16676. type: integer
  16677. contracttype:
  16678. description: 计划类型 - 1:采购 -1:销售
  16679. type: integer
  16680. convertfactor:
  16681. description: 标仓系数 - 作废
  16682. type: number
  16683. createtime:
  16684. description: 创建时间
  16685. type: string
  16686. currencyid:
  16687. description: 结算币种ID - 作废
  16688. type: integer
  16689. deliverygoodsid:
  16690. description: 现货品种ID
  16691. type: integer
  16692. enumdicname:
  16693. description: 结算币种
  16694. type: string
  16695. hedgeplanid:
  16696. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16697. type: string
  16698. hedgeplanno:
  16699. description: '[计划编号]套保计划编号,模糊查询'
  16700. type: string
  16701. hedgeplanstatus:
  16702. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16703. type: integer
  16704. isrelated:
  16705. description: 是否已关联计划项目 - 0:否 1:是
  16706. type: integer
  16707. planqty:
  16708. description: '[计划量]计划数量'
  16709. type: number
  16710. plantime:
  16711. description: 计划时间
  16712. type: string
  16713. producttype:
  16714. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16715. type: integer
  16716. remark:
  16717. description: 备注
  16718. type: string
  16719. spotgoodsdesc:
  16720. description: 商品型号
  16721. type: string
  16722. tradedate:
  16723. description: 交易日(yyyyMMdd)
  16724. type: string
  16725. tradeuserid:
  16726. description: 交易用户ID
  16727. type: integer
  16728. updatetime:
  16729. description: 更新时间
  16730. type: string
  16731. wrstandardid:
  16732. description: 现货商品ID
  16733. type: integer
  16734. wrstandardname:
  16735. description: 现货商品,模糊查询
  16736. type: string
  16737. required:
  16738. - areauserid
  16739. type: object
  16740. models.UserCollectConfig:
  16741. properties:
  16742. accountstatus:
  16743. description: 账户状态 - 1:正常 2:停用 3:注销
  16744. type: integer
  16745. collectaccountname:
  16746. description: 收款人账户名称
  16747. type: string
  16748. collectaccountno:
  16749. description: 收款人账户
  16750. type: string
  16751. collectbankname:
  16752. description: 收款人开户行
  16753. type: string
  16754. collectbranchbankname:
  16755. description: 收款人开户支行
  16756. type: string
  16757. collectconfigid:
  16758. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16759. type: string
  16760. remark:
  16761. description: 备注
  16762. type: string
  16763. userid:
  16764. description: 收款人用户ID
  16765. type: integer
  16766. type: object
  16767. models.UserReceiveInfo:
  16768. properties:
  16769. address:
  16770. description: 提货人详细地址
  16771. type: string
  16772. autoid:
  16773. description: AutoID
  16774. type: integer
  16775. cardnum:
  16776. description: 证件号码(加密存储)
  16777. type: string
  16778. cardtypeid:
  16779. description: 证件类型
  16780. type: integer
  16781. cityid:
  16782. description: 市
  16783. type: integer
  16784. cityname:
  16785. description: 城市名称
  16786. type: string
  16787. countryid:
  16788. description: 国家
  16789. type: integer
  16790. countryname:
  16791. description: 国家名称
  16792. type: string
  16793. districtid:
  16794. description: 地区
  16795. type: integer
  16796. districtname:
  16797. description: 地区名称
  16798. type: string
  16799. hasencrypt:
  16800. description: 数据是否已加密 - 0:未加密 1:已加密
  16801. type: integer
  16802. isdefault:
  16803. description: 是否默认地址 - 0:否 1:是
  16804. type: integer
  16805. phonenum:
  16806. description: 提货人联系方式(加密存储)
  16807. type: string
  16808. provinceid:
  16809. description: 省
  16810. type: integer
  16811. provincename:
  16812. description: 省名称
  16813. type: string
  16814. receivername:
  16815. description: 提货人姓名
  16816. type: string
  16817. takeremark:
  16818. description: 提货备注
  16819. type: string
  16820. userid:
  16821. description: 用户ID
  16822. type: integer
  16823. type: object
  16824. models.Useraccount:
  16825. properties:
  16826. accountname:
  16827. description: 账户名称(机构名称)
  16828. type: string
  16829. accountstatus:
  16830. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16831. type: integer
  16832. applysrc:
  16833. description: 申请来源 - 1:管理端 2:终端
  16834. type: integer
  16835. auditremark:
  16836. description: 审核备注
  16837. type: string
  16838. auditsrc:
  16839. description: 审核来源 - 1:管理端 2:终端
  16840. type: integer
  16841. audittime:
  16842. description: 审核时间
  16843. type: string
  16844. audituserid:
  16845. description: 审核人
  16846. type: integer
  16847. broker:
  16848. description: 所属经纪人ID
  16849. type: integer
  16850. canceltime:
  16851. description: 销户时间
  16852. type: string
  16853. canceluserid:
  16854. description: 销户人
  16855. type: integer
  16856. canrecommend:
  16857. description: 是否可推荐 - 0:不可 1;可
  16858. type: integer
  16859. createtime:
  16860. description: 创建时间
  16861. type: string
  16862. creatorid:
  16863. description: 创建人
  16864. type: integer
  16865. hasauth:
  16866. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16867. type: integer
  16868. isanonymous:
  16869. description: 是否匿名下单 - 0:否 1:是
  16870. type: integer
  16871. maxinvestornum:
  16872. description: 最大用户数(经纪会员下投资者个数)
  16873. type: integer
  16874. memberuserid:
  16875. description: 所属会员ID
  16876. type: integer
  16877. modifierid:
  16878. description: 修改人
  16879. type: integer
  16880. modifyremark:
  16881. description: 变更备注
  16882. type: string
  16883. modifystatus:
  16884. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16885. type: integer
  16886. modifytime:
  16887. description: 修改时间
  16888. type: string
  16889. parenttopuser:
  16890. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16891. type: string
  16892. parentuserid:
  16893. description: 所属机构ID
  16894. type: integer
  16895. reckonaccountid:
  16896. description: 默认结算资金账号ID(机构分润使用) 作废
  16897. type: integer
  16898. refercount:
  16899. description: 推荐总人数
  16900. type: integer
  16901. refereeuserid:
  16902. description: 推荐人ID
  16903. type: integer
  16904. refernum:
  16905. description: 推荐码
  16906. type: string
  16907. rootuserid:
  16908. description: 根用户ID
  16909. type: integer
  16910. subaccountlevel:
  16911. description: 子账户层数
  16912. type: integer
  16913. subarealevelpath:
  16914. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16915. type: string
  16916. userid:
  16917. description: 用户ID
  16918. type: integer
  16919. usertype:
  16920. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16921. type: integer
  16922. required:
  16923. - userid
  16924. type: object
  16925. models.Userfavoritegoods:
  16926. properties:
  16927. goodsid:
  16928. description: 商品ID
  16929. type: integer
  16930. required:
  16931. - goodsid
  16932. type: object
  16933. models.Userinfo:
  16934. properties:
  16935. address:
  16936. description: 地址
  16937. type: string
  16938. attachment1:
  16939. description: 附件1
  16940. type: string
  16941. attachment2:
  16942. description: 附件2
  16943. type: string
  16944. bankaccount:
  16945. description: 银行帐号 (加密存储)
  16946. type: string
  16947. bankaccountname:
  16948. description: 收款人名称
  16949. type: string
  16950. bankcardfrontphotourl:
  16951. description: 银行卡正面照地址
  16952. type: string
  16953. bankid:
  16954. description: 银行编码
  16955. type: string
  16956. bankname:
  16957. description: 银行名称
  16958. type: string
  16959. biznature:
  16960. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16961. type: integer
  16962. bizscope:
  16963. description: 企业经营范围(企业)
  16964. type: string
  16965. cardbackphotourl:
  16966. description: 证件背面图片地址
  16967. type: string
  16968. cardfrontphotourl:
  16969. description: 证件正面图片地址
  16970. type: string
  16971. cardnum:
  16972. description: 证件号码(加密存储)
  16973. type: string
  16974. cardtypeid:
  16975. description: 证件类型ID
  16976. type: integer
  16977. cityid:
  16978. description: 市
  16979. type: integer
  16980. company:
  16981. description: 公司(个人)
  16982. type: string
  16983. contactname:
  16984. description: 联系人
  16985. type: string
  16986. countryid:
  16987. description: 国家
  16988. type: integer
  16989. createtime:
  16990. description: 创建时间
  16991. type: string
  16992. creatorid:
  16993. description: 创建人
  16994. type: integer
  16995. customername:
  16996. description: 客户名称(企业名称)
  16997. type: string
  16998. districtid:
  16999. description: 地区
  17000. type: integer
  17001. email:
  17002. description: 邮件(加密存储)
  17003. type: string
  17004. fax:
  17005. description: 传真(加密存储)
  17006. type: string
  17007. halfbodyphotourl:
  17008. description: 半身照地址
  17009. type: string
  17010. hasencrypt:
  17011. description: 数据是否已加密 - 0:未加密 1:已加密
  17012. type: integer
  17013. headurl:
  17014. description: 头像地址
  17015. type: string
  17016. legalcardbackphotourl:
  17017. description: 法人身份证背面照地址
  17018. type: string
  17019. legalcardfrontphotourl:
  17020. description: 法人身份证正面照地址
  17021. type: string
  17022. legalpersonname:
  17023. description: 法人姓名(企业)
  17024. type: string
  17025. mobile:
  17026. description: 手机号码(加密存储)
  17027. type: string
  17028. mobile2:
  17029. description: 手机号码[明文-尚志]
  17030. type: string
  17031. modifierid:
  17032. description: 修改人
  17033. type: integer
  17034. modifiertime:
  17035. description: 修改时间
  17036. type: string
  17037. needinvoice:
  17038. description: 是否需要发票 - 0:不需要 1:需要
  17039. type: integer
  17040. nickname:
  17041. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17042. type: string
  17043. openmode:
  17044. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17045. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17046. type: integer
  17047. otherurl:
  17048. description: 其它图片地址[使用分号分隔]
  17049. type: string
  17050. postalcode:
  17051. description: 邮政编码
  17052. type: string
  17053. provinceid:
  17054. description: 省
  17055. type: integer
  17056. qq:
  17057. description: QQ(加密存储
  17058. type: string
  17059. remark:
  17060. description: 备注
  17061. type: string
  17062. sex:
  17063. description: '用户性别 0: 女 1: 男'
  17064. type: integer
  17065. signpdfurl:
  17066. description: 签约pdf文件
  17067. type: string
  17068. telphone:
  17069. description: 联系电话(加密存储)
  17070. type: string
  17071. userid:
  17072. description: 用户ID
  17073. type: integer
  17074. userinfotype:
  17075. description: 用户信息类型 - 1:个人 2:企业
  17076. type: integer
  17077. userstatus:
  17078. description: 用户状态 - 1:正常 2:注销
  17079. type: integer
  17080. usertype:
  17081. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17082. type: integer
  17083. wechat:
  17084. description: 微信(加密存储)
  17085. type: string
  17086. wskhinfo:
  17087. description: 开户申请信息(JSON)
  17088. type: string
  17089. required:
  17090. - userid
  17091. type: object
  17092. models.WRSConverTDetail:
  17093. properties:
  17094. convertratio:
  17095. description: 套保系数
  17096. type: number
  17097. deliverygoodscode:
  17098. description: 现货商品代码
  17099. type: string
  17100. deliverygoodsid:
  17101. description: 现货品种ID
  17102. type: integer
  17103. deliverygoodsname:
  17104. description: 现货商品名称
  17105. type: string
  17106. enumdicname:
  17107. description: 单位名称
  17108. type: string
  17109. goodsunitid:
  17110. description: 套保品种单位id
  17111. type: integer
  17112. middlegoodscode:
  17113. description: 套保品种代码
  17114. type: string
  17115. middlegoodsid:
  17116. description: 套保品种ID
  17117. type: integer
  17118. middlegoodsname:
  17119. description: 套保品种名称
  17120. type: string
  17121. modifytime:
  17122. description: 修改时间
  17123. type: string
  17124. wrstandardid:
  17125. description: 品类ID
  17126. type: integer
  17127. type: object
  17128. models.WRStandardInfo:
  17129. properties:
  17130. areauserid:
  17131. description: 所属机构
  17132. type: integer
  17133. convertfactor:
  17134. description: 标仓系数
  17135. type: number
  17136. createtime:
  17137. description: 创建时间
  17138. type: string
  17139. creatorid:
  17140. description: 创建人
  17141. type: integer
  17142. deliverygoodsid:
  17143. description: 品种ID
  17144. type: integer
  17145. deliverygoodsname:
  17146. description: 交割商品名称
  17147. type: string
  17148. factoryitemjson:
  17149. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17150. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17151. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17152. 逗号分隔'
  17153. type: string
  17154. isvalid:
  17155. description: 是否有效 - 0:无效 1:有效
  17156. type: integer
  17157. minivalue:
  17158. description: 最小变动值
  17159. type: integer
  17160. minivaluedp:
  17161. description: 最小变动值小数位
  17162. type: integer
  17163. realminivalue:
  17164. description: 实际最小变动值
  17165. type: integer
  17166. realminivaluedp:
  17167. description: 实际最小变动值小数位
  17168. type: integer
  17169. remark:
  17170. description: 备注
  17171. type: string
  17172. unitid:
  17173. description: 单位ID
  17174. type: integer
  17175. unitname:
  17176. description: 单位
  17177. type: string
  17178. updatetime:
  17179. description: 更新时间
  17180. type: string
  17181. updatorid:
  17182. description: 更新人
  17183. type: integer
  17184. wrsstatus:
  17185. description: 状态 - 作废 - 0:未激活 1:正常
  17186. type: integer
  17187. wrstandardcode:
  17188. description: 现货品类代码
  17189. type: string
  17190. wrstandardid:
  17191. description: 现货品类ID(SEQ_WRSTANDARD)
  17192. type: integer
  17193. wrstandardname:
  17194. description: 现货品类名称
  17195. type: string
  17196. required:
  17197. - wrstandardid
  17198. type: object
  17199. models.WRTradeBargainApply:
  17200. properties:
  17201. accountid:
  17202. description: 摘牌资金账号
  17203. type: integer
  17204. applyprice:
  17205. description: 申请价格(议价价格)
  17206. type: string
  17207. applyqty:
  17208. description: 摘牌数量(议价数量)
  17209. type: number
  17210. applyremark:
  17211. description: 申请备注
  17212. type: string
  17213. applystatus:
  17214. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17215. type: integer
  17216. applytime:
  17217. description: 申请时间(议价时间)
  17218. type: string
  17219. begindate:
  17220. description: 开始交易日(yyyymmdd)
  17221. type: string
  17222. buyorsell:
  17223. description: 买卖(挂牌类型) - 0:买 1:卖
  17224. type: integer
  17225. confirmremark:
  17226. description: 确认备注
  17227. type: string
  17228. confirmtime:
  17229. description: 确认时间
  17230. type: string
  17231. confirmuserid:
  17232. description: 确认人
  17233. type: integer
  17234. deliverygoodscode:
  17235. description: 品种代码
  17236. type: string
  17237. deliverygoodsid:
  17238. description: 品种ID
  17239. type: integer
  17240. deliverygoodsname:
  17241. description: 品种名称
  17242. type: string
  17243. deliverymonth:
  17244. description: 交收月
  17245. type: string
  17246. enddate:
  17247. description: 结束交易日(yyyymmdd)
  17248. type: string
  17249. enumdicname:
  17250. description: 单位名称
  17251. type: string
  17252. fixedprice:
  17253. description: 期初均价
  17254. type: number
  17255. handlestatus:
  17256. description: 处理状态
  17257. type: integer
  17258. marginvalue:
  17259. description: 期初均价
  17260. type: number
  17261. marketid:
  17262. description: 市场ID
  17263. type: integer
  17264. matchaccountid:
  17265. description: 挂牌方资金账号
  17266. type: integer
  17267. matchuserid:
  17268. description: 挂牌方用户id
  17269. type: integer
  17270. matchusername:
  17271. description: 挂牌方用户名称(已脱敏)
  17272. type: string
  17273. minivalue:
  17274. description: 现货商品最小变动值
  17275. type: integer
  17276. optioncompare:
  17277. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17278. type: string
  17279. orderqty:
  17280. description: 挂牌数量
  17281. type: integer
  17282. refprice:
  17283. description: 参考价格
  17284. type: string
  17285. retcode:
  17286. description: 委托返回代码
  17287. type: integer
  17288. templatename:
  17289. description: 履约方式(履约模板名称)
  17290. type: string
  17291. tradedate:
  17292. description: 交易日(yyyyMMdd)
  17293. type: string
  17294. userid:
  17295. description: 摘牌人用户ID(议价人ID)
  17296. type: integer
  17297. username:
  17298. description: 议价人名字(已脱敏)
  17299. type: string
  17300. validtime:
  17301. description: 有效期限
  17302. type: string
  17303. warehouseid:
  17304. description: 仓库ID
  17305. type: integer
  17306. warehousename:
  17307. description: 仓库名称
  17308. type: string
  17309. wrbargainid:
  17310. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17311. type: string
  17312. wrfactortypeid:
  17313. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17314. type: string
  17315. wrfactortypename:
  17316. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17317. type: string
  17318. wrstandardcode:
  17319. description: 现货商品代码
  17320. type: string
  17321. wrstandardid:
  17322. description: 现货商品ID
  17323. type: integer
  17324. wrstandardname:
  17325. description: 商品名称
  17326. type: string
  17327. wrtradeorderid:
  17328. description: 关联委托单ID
  17329. type: string
  17330. wrtypename:
  17331. description: 商品
  17332. type: string
  17333. type: object
  17334. models.Warehouseinfo:
  17335. properties:
  17336. address:
  17337. description: 详细地址
  17338. type: string
  17339. areauserid:
  17340. description: 所属机构
  17341. type: integer
  17342. autoid:
  17343. description: 自增ID
  17344. type: integer
  17345. cityid:
  17346. description: 市
  17347. type: integer
  17348. contactname:
  17349. description: 联系人
  17350. type: string
  17351. contactnum:
  17352. description: 联系电话
  17353. type: string
  17354. countryid:
  17355. description: 国家
  17356. type: integer
  17357. createtime:
  17358. description: 创建时间
  17359. type: string
  17360. districtid:
  17361. description: 区
  17362. type: integer
  17363. hasvideo:
  17364. description: 是否有视频 - 0:无 1:有
  17365. type: integer
  17366. provinceid:
  17367. description: 省
  17368. type: integer
  17369. remark:
  17370. description: 审核备注
  17371. type: string
  17372. videourl:
  17373. description: 视频地址
  17374. type: string
  17375. warehousecode:
  17376. description: 仓库代码
  17377. type: string
  17378. warehousename:
  17379. description: 仓库名称
  17380. type: string
  17381. warehousestatus:
  17382. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17383. type: integer
  17384. warehousetype:
  17385. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17386. type: integer
  17387. required:
  17388. - autoid
  17389. - warehousecode
  17390. type: object
  17391. models.WrAverageTradePrice:
  17392. properties:
  17393. averageprice:
  17394. description: 期初均价
  17395. type: number
  17396. tradedate:
  17397. description: 交易日yyyymm
  17398. type: string
  17399. type: object
  17400. models.WrBrandAndYears:
  17401. properties:
  17402. brandlst:
  17403. description: 品牌列表
  17404. items:
  17405. $ref: '#/definitions/models.DgFactoryItem'
  17406. type: array
  17407. yearslst:
  17408. description: 年份列表
  17409. items:
  17410. $ref: '#/definitions/models.DgFactoryItem'
  17411. type: array
  17412. type: object
  17413. models.WrBsGoodsInfo:
  17414. properties:
  17415. buyorsell:
  17416. description: 买卖方向 0-买 1-卖
  17417. type: integer
  17418. goodsid:
  17419. description: 交易合约ID
  17420. type: integer
  17421. lstitem:
  17422. description: 商品信息项
  17423. items:
  17424. $ref: '#/definitions/models.WrTypeItem'
  17425. type: array
  17426. lststep:
  17427. description: 履约规则
  17428. items:
  17429. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17430. type: array
  17431. type: object
  17432. models.WrBuybackDetail:
  17433. properties:
  17434. buybackamount:
  17435. description: 回购金额
  17436. type: number
  17437. buybackqty:
  17438. description: 回购数量
  17439. type: number
  17440. buybackreleasemargin:
  17441. description: 回购释放保证金
  17442. type: number
  17443. buybacktime:
  17444. description: 回购时间
  17445. type: string
  17446. errordesc:
  17447. description: 错误描述
  17448. type: string
  17449. handlestatus:
  17450. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17451. type: integer
  17452. relatedwrid:
  17453. description: 关联仓单ID
  17454. type: integer
  17455. scfcontractid:
  17456. description: SCF合同ID
  17457. type: string
  17458. scfwrbuybackid:
  17459. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17460. type: integer
  17461. tradedate:
  17462. description: 交易日(yyyyMMdd)
  17463. type: string
  17464. type: object
  17465. models.WrClientAdSpaceConfig:
  17466. properties:
  17467. adspaceid:
  17468. description: 广告位ID
  17469. type: integer
  17470. adspacename:
  17471. description: 广告位名称
  17472. type: string
  17473. adspacetype:
  17474. description: 广告位类型 - 1:固定广告位
  17475. type: integer
  17476. areauserid:
  17477. description: 所属机构ID
  17478. type: integer
  17479. createdate:
  17480. description: 创建时间
  17481. type: string
  17482. imagepath:
  17483. description: 图片
  17484. type: string
  17485. modifierid:
  17486. description: 操作人
  17487. type: integer
  17488. recsize:
  17489. description: 推荐尺寸
  17490. type: string
  17491. title:
  17492. description: 标题
  17493. type: string
  17494. updatedate:
  17495. description: 更新时间
  17496. type: string
  17497. urlcontent:
  17498. description: 链接(地址\商品ID\功能菜单Key\appid)
  17499. type: string
  17500. urltype:
  17501. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17502. type: integer
  17503. type: object
  17504. models.WrDeliveryAvalidHoldLB:
  17505. properties:
  17506. accountid:
  17507. description: 资金账号
  17508. type: integer
  17509. avalidqty:
  17510. description: 数量(可点选数量)
  17511. type: number
  17512. deliverygoodsid:
  17513. description: 品种id
  17514. type: integer
  17515. enumdicname:
  17516. description: 单位名称
  17517. type: string
  17518. goodsid:
  17519. description: x合约商品id
  17520. type: integer
  17521. ladingbillid:
  17522. description: 提单id
  17523. type: string
  17524. pgoodscode:
  17525. description: p商品代码(点价合约)
  17526. type: string
  17527. pgoodsid:
  17528. description: p商品id(点价合约)
  17529. type: integer
  17530. pgoodsname:
  17531. description: p商品名称(点价合约)
  17532. type: string
  17533. pricemove:
  17534. description: 升贴水
  17535. type: number
  17536. subnum:
  17537. description: 提单子id
  17538. type: integer
  17539. userid:
  17540. description: 用户id
  17541. type: integer
  17542. username:
  17543. description: 仓单持有人
  17544. type: string
  17545. warehousecode:
  17546. description: 仓库代码
  17547. type: string
  17548. warehouseid:
  17549. description: 仓库id
  17550. type: integer
  17551. warehousename:
  17552. description: 仓库名称
  17553. type: string
  17554. wrfactortypeid:
  17555. description: 仓单要素id
  17556. type: string
  17557. wrstandardcode:
  17558. description: 品代码
  17559. type: string
  17560. wrstandardid:
  17561. description: 品类d
  17562. type: integer
  17563. wrstandardname:
  17564. description: 品类名称
  17565. type: string
  17566. wrtypename:
  17567. description: 商品
  17568. type: string
  17569. xgoodscode:
  17570. description: x合约代码
  17571. type: string
  17572. xgoodsname:
  17573. description: x合约名称
  17574. type: string
  17575. type: object
  17576. models.WrDeliveryDetail:
  17577. properties:
  17578. accountid:
  17579. description: 账号ID
  17580. type: integer
  17581. averageprice:
  17582. description: 期初均价
  17583. type: number
  17584. begindate:
  17585. description: 开始交易日(yyyymmdd)
  17586. type: string
  17587. buyorsell:
  17588. description: 方向 - 0:买 1:卖
  17589. type: integer
  17590. deliveryamount:
  17591. description: 货款金额(X总货款+P总货款)
  17592. type: number
  17593. deliveryid:
  17594. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17595. type: string
  17596. deliveryorderid:
  17597. description: 申报单号
  17598. type: string
  17599. deliverypricemove:
  17600. description: 升贴水(升贴水总额)
  17601. type: number
  17602. deliveryqty:
  17603. description: 交收数量(点选数量)
  17604. type: number
  17605. deliverystatus:
  17606. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17607. type: integer
  17608. deliverytime:
  17609. description: 交割时间
  17610. type: string
  17611. deliverytotalamount:
  17612. description: 交收金额
  17613. type: number
  17614. enddate:
  17615. description: 结束交易日(yyyymmdd)
  17616. type: string
  17617. enumdicname:
  17618. description: 单位名称
  17619. type: string
  17620. matchaccountid:
  17621. description: 对手账号ID
  17622. type: integer
  17623. matchusername:
  17624. description: 对手方名称(仓单持有人)
  17625. type: string
  17626. p1goodsremainamount:
  17627. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17628. type: number
  17629. pdeliverycloseqty:
  17630. description: p合约平仓数量
  17631. type: number
  17632. pdeliveryprice:
  17633. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  17634. type: number
  17635. pgoodscode:
  17636. description: 商品代码
  17637. type: string
  17638. pgoodsid:
  17639. description: p点选合约id
  17640. type: integer
  17641. pgoodsname:
  17642. description: 商品名称
  17643. type: string
  17644. ppricemode:
  17645. description: 点价价格方式 - 1:商品价 2:固定值
  17646. type: integer
  17647. tradedate:
  17648. description: 交易日(yyyymmdd)
  17649. type: string
  17650. userid:
  17651. description: 用户id
  17652. type: integer
  17653. username:
  17654. description: 用户名称
  17655. type: string
  17656. warehousename:
  17657. description: 仓库名称
  17658. type: string
  17659. wrfactortypeid:
  17660. description: 仓单要素类型ID
  17661. type: string
  17662. wrtypename:
  17663. description: 商品
  17664. type: string
  17665. xdeliverycloseqty:
  17666. description: 合约数量
  17667. type: number
  17668. xgoodsamount:
  17669. description: 期初均价
  17670. type: number
  17671. xgoodscode:
  17672. description: 商品代码
  17673. type: string
  17674. xgoodsid:
  17675. description: x交易合约ID
  17676. type: integer
  17677. xgoodsname:
  17678. description: 商品名称
  17679. type: string
  17680. type: object
  17681. models.WrDeliveryGoodsSection:
  17682. properties:
  17683. dglst:
  17684. description: 板块商品列表
  17685. items:
  17686. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17687. type: array
  17688. imagepath:
  17689. description: 图片地址
  17690. type: string
  17691. orderindex:
  17692. description: 排序
  17693. type: integer
  17694. sectionid:
  17695. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17696. = 1的版块1 - 云融指数
  17697. type: integer
  17698. sectionname:
  17699. description: 版块名称
  17700. type: string
  17701. sectiontype:
  17702. description: 版块类型 - 1:指数版块 2:普通版块
  17703. type: integer
  17704. type: object
  17705. models.WrDeliveryGoodsSectionConfig:
  17706. properties:
  17707. deliverygoodscode:
  17708. description: 现货商品代码
  17709. type: string
  17710. deliverygoodsid:
  17711. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17712. type: integer
  17713. deliverygoodsname:
  17714. description: 现货商品名称
  17715. type: string
  17716. orderindex:
  17717. description: 排序
  17718. type: integer
  17719. type: object
  17720. models.WrDraftUserInfo:
  17721. properties:
  17722. address:
  17723. description: 地址
  17724. type: string
  17725. attachment1:
  17726. description: 附件1
  17727. type: string
  17728. attachment2:
  17729. description: 附件2
  17730. type: string
  17731. attachment3:
  17732. description: 附件3
  17733. type: string
  17734. attachment4:
  17735. description: 附件4
  17736. type: string
  17737. attachment5:
  17738. description: 附件5
  17739. type: string
  17740. bankaccount:
  17741. description: 银行帐号 (加密存储)
  17742. type: string
  17743. bankaccountname:
  17744. description: 收款人名称
  17745. type: string
  17746. bankcardfrontphotourl:
  17747. description: 银行卡正面照地址
  17748. type: string
  17749. bankid:
  17750. description: 银行编码
  17751. type: string
  17752. bankname:
  17753. description: 银行名称
  17754. type: string
  17755. birthday:
  17756. description: 生日(个人:年月日)
  17757. type: string
  17758. biznature:
  17759. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17760. type: integer
  17761. bizscope:
  17762. description: 企业经营范围(企业)
  17763. type: string
  17764. biztype:
  17765. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17766. type: integer
  17767. cardbackphotourl:
  17768. description: 证件背面图片地址
  17769. type: string
  17770. cardfrontphotourl:
  17771. description: 证件正面图片地址
  17772. type: string
  17773. cardnum:
  17774. description: 证件号码(加密存储)
  17775. type: string
  17776. cardtypeid:
  17777. description: 证件类型ID
  17778. type: integer
  17779. cityid:
  17780. description: 市
  17781. type: integer
  17782. company:
  17783. description: 公司(个人)
  17784. type: string
  17785. contactcardbackphotourl:
  17786. description: 联系人证件背面图片地址
  17787. type: string
  17788. contactcardfrontphotourl:
  17789. description: 联系人证件正面图片地址
  17790. type: string
  17791. contactname:
  17792. description: 联系人
  17793. type: string
  17794. countryid:
  17795. description: 国家
  17796. type: integer
  17797. createtime:
  17798. description: 创建时间
  17799. type: string
  17800. creatorid:
  17801. description: 创建人
  17802. type: integer
  17803. creditquota:
  17804. description: 授信额度(金瑞)
  17805. type: number
  17806. customername:
  17807. description: 客户名称(企业名称)
  17808. type: string
  17809. districtid:
  17810. description: 地区
  17811. type: integer
  17812. email:
  17813. description: 邮件(加密存储)
  17814. type: string
  17815. fax:
  17816. description: 传真(加密存储)
  17817. type: string
  17818. halfbodyphotourl:
  17819. description: 半身照地址
  17820. type: string
  17821. hasencrypt:
  17822. description: 数据是否已加密 - 0:未加密 1:已加密
  17823. type: integer
  17824. headurl:
  17825. description: 头像地址
  17826. type: string
  17827. legalcardbackphotourl:
  17828. description: 法人身份证背面照地址
  17829. type: string
  17830. legalcardfrontphotourl:
  17831. description: 法人身份证正面照地址
  17832. type: string
  17833. legalpersonname:
  17834. description: 法人姓名(企业)
  17835. type: string
  17836. mobile:
  17837. description: 手机号码(加密存储)
  17838. type: string
  17839. mobile2:
  17840. description: 手机号码[明文-尚志]
  17841. type: string
  17842. modifierid:
  17843. description: 修改人
  17844. type: integer
  17845. modifiertime:
  17846. description: 修改时间
  17847. type: string
  17848. needinvoice:
  17849. description: 是否需要发票 - 0:不需要 1:需要
  17850. type: integer
  17851. nickname:
  17852. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17853. type: string
  17854. openmode:
  17855. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17856. 6:苹果手机端注册 7:PC交易端注册"
  17857. type: integer
  17858. otherurl:
  17859. description: 其它图片地址[使用分号分隔]
  17860. type: string
  17861. postalcode:
  17862. description: 邮政编码
  17863. type: string
  17864. provinceid:
  17865. description: 省
  17866. type: integer
  17867. proxystatementurl:
  17868. description: 授权委托书
  17869. type: string
  17870. qq:
  17871. description: QQ(加密存储
  17872. type: string
  17873. remark:
  17874. description: 备注
  17875. type: string
  17876. sex:
  17877. description: '用户性别 0: 女 1: 男'
  17878. type: integer
  17879. signpdfurl:
  17880. description: 签约pdf文件
  17881. type: string
  17882. taxpayernum:
  17883. description: 纳税人识别号
  17884. type: string
  17885. telphone:
  17886. description: 联系电话(加密存储)
  17887. type: string
  17888. userid:
  17889. description: 用户ID
  17890. type: integer
  17891. userinfotype:
  17892. description: 用户信息类型 - 1:个人 2:企业
  17893. type: integer
  17894. userstatus:
  17895. description: 用户状态 - 1:正常 2:注销
  17896. type: integer
  17897. usertype:
  17898. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17899. type: integer
  17900. wechat:
  17901. description: 微信(加密存储)
  17902. type: string
  17903. wskhinfo:
  17904. description: 开户申请信息(JSON)
  17905. type: string
  17906. type: object
  17907. models.WrFAProductDetail:
  17908. properties:
  17909. accountid:
  17910. description: 资金账号
  17911. type: integer
  17912. areauserid:
  17913. description: 金融机构ID
  17914. type: integer
  17915. financingdays:
  17916. description: 天数(天)
  17917. type: integer
  17918. interestminlen:
  17919. description: 最小起息天数
  17920. type: integer
  17921. interestrate:
  17922. description: 利率
  17923. type: number
  17924. interestratemode:
  17925. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17926. type: integer
  17927. interestsettlemode:
  17928. description: 结息方式 - 1:按日结息 3:按月结息
  17929. type: integer
  17930. interestsettlevalue:
  17931. description: 结息方式值
  17932. type: integer
  17933. isautoloan:
  17934. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17935. type: integer
  17936. loantag:
  17937. description: '放款标识: "放款快" 或者为空'
  17938. type: string
  17939. marginratio:
  17940. description: 保证金比率质押率 - [仓单质押]
  17941. type: number
  17942. productdetailid:
  17943. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17944. type: integer
  17945. productid:
  17946. description: 金融产品ID
  17947. type: integer
  17948. productname:
  17949. description: 产品名称
  17950. type: string
  17951. updatetime:
  17952. description: 更新时间
  17953. type: string
  17954. username:
  17955. description: 融出方
  17956. type: string
  17957. type: object
  17958. models.WrFactorTypeInfo:
  17959. properties:
  17960. deliverygoodscode:
  17961. description: 品种代码
  17962. type: string
  17963. deliverygoodsname:
  17964. description: 品种名称
  17965. type: string
  17966. dgfactoryitemid:
  17967. description: 选择项id
  17968. type: integer
  17969. dgfactoryitemtypeid:
  17970. description: 要素选择项ID (1-仓库 2-品牌)
  17971. type: integer
  17972. dgfactoryitemvalue:
  17973. description: 要素项值
  17974. type: string
  17975. itemtypename:
  17976. description: 要素项名称
  17977. type: string
  17978. optioncompare:
  17979. description: 选择比较串
  17980. type: string
  17981. warehouseid:
  17982. description: 仓库id
  17983. type: integer
  17984. wrfactortypeid:
  17985. description: 仓单要素ID
  17986. type: string
  17987. wrfactortypename:
  17988. description: 要素名称
  17989. type: string
  17990. wrfactortypename2:
  17991. description: 要素名称(不含仓库)
  17992. type: string
  17993. wrstandardcode:
  17994. description: 品类代码
  17995. type: string
  17996. wrstandardid:
  17997. description: 品类id
  17998. type: integer
  17999. wrstandardname:
  18000. description: 品类名称
  18001. type: string
  18002. type: object
  18003. models.WrFilterItem:
  18004. properties:
  18005. itemcode:
  18006. description: 代码
  18007. type: string
  18008. itemid:
  18009. description: 项id
  18010. type: integer
  18011. itemname:
  18012. description: 名称
  18013. type: string
  18014. itemtype:
  18015. description: 类型 1-品种 2-品类(商品) 3-仓库
  18016. type: integer
  18017. type: object
  18018. models.WrFinanceBuyApply:
  18019. properties:
  18020. applydate:
  18021. description: 申请时间
  18022. type: string
  18023. applystatus:
  18024. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18025. type: integer
  18026. applyuserid:
  18027. description: 申请人
  18028. type: integer
  18029. auditdate:
  18030. description: 审核时间
  18031. type: string
  18032. auditremark:
  18033. description: 审核备注
  18034. type: string
  18035. audituserid:
  18036. description: 审核人
  18037. type: integer
  18038. buyaccountid:
  18039. description: 买方资金账号
  18040. type: integer
  18041. buyorsell:
  18042. description: 买卖 - 0:买 1:卖
  18043. type: integer
  18044. buyuserid:
  18045. description: 买方用户ID
  18046. type: integer
  18047. buyusername:
  18048. description: 买方名称
  18049. type: string
  18050. buywrtradeorderid:
  18051. description: 融资方买委托单ID
  18052. type: string
  18053. deliverygoodscode:
  18054. description: 品种代码
  18055. type: string
  18056. deliverygoodsid:
  18057. description: 品种ID
  18058. type: integer
  18059. deliverygoodsname:
  18060. description: 品种名称
  18061. type: string
  18062. deliverymonth:
  18063. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18064. type: string
  18065. enumdicname:
  18066. description: 单位名称
  18067. type: string
  18068. financeaccountid:
  18069. description: 融资方资金帐户ID
  18070. type: integer
  18071. financeapplyid:
  18072. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18073. type: string
  18074. financeareauserid:
  18075. description: 融资方用户ID
  18076. type: string
  18077. financename:
  18078. description: 融出方名称
  18079. type: string
  18080. financetype:
  18081. description: 融资类型 1-融资回购
  18082. type: integer
  18083. financingdays:
  18084. description: 天数(天)
  18085. type: integer
  18086. freezebuymargin:
  18087. description: 冻结融资保证金(买方)
  18088. type: number
  18089. handleremark:
  18090. description: 处理备注
  18091. type: string
  18092. handlestatus:
  18093. description: 处理状态
  18094. type: integer
  18095. interestminlen:
  18096. description: 最小起息天数
  18097. type: integer
  18098. interestrate:
  18099. description: 利率
  18100. type: number
  18101. interestratemode:
  18102. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18103. type: integer
  18104. interestsettlemode:
  18105. description: 结息方式 - 1:按日结息 3:按月结息
  18106. type: integer
  18107. interestsettlevalue:
  18108. description: 结息方式值
  18109. type: integer
  18110. isautoloan:
  18111. description: 是否自动放款 - 0:手动 1:自动
  18112. type: integer
  18113. marginratio:
  18114. description: 保证金比率质押率 - [仓单质押]
  18115. type: number
  18116. marketid:
  18117. description: 市场ID
  18118. type: integer
  18119. minivalue:
  18120. description: 现货商品最小变动值
  18121. type: integer
  18122. optioncompare:
  18123. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18124. type: string
  18125. orderqty:
  18126. description: 委托数量(商品数量)
  18127. type: number
  18128. productdetailid:
  18129. description: 产品组合ID
  18130. type: integer
  18131. productid:
  18132. description: 金融产品ID
  18133. type: integer
  18134. productname:
  18135. description: 产品名称
  18136. type: string
  18137. remark:
  18138. description: 备注
  18139. type: string
  18140. scfcontractid:
  18141. description: 仓单回购合同ID
  18142. type: string
  18143. sellaccountid:
  18144. description: 卖方资金账号
  18145. type: integer
  18146. selluserid:
  18147. description: 卖方用户ID
  18148. type: integer
  18149. sellwrtradeorderid:
  18150. description: 卖方委托单ID
  18151. type: string
  18152. tradeamount:
  18153. description: 成交金额(借款金额)
  18154. type: number
  18155. tradedate:
  18156. description: 交易日(yyyyMMdd)
  18157. type: string
  18158. tradeprice:
  18159. description: 成交价格
  18160. type: number
  18161. warehouseid:
  18162. description: 仓库ID
  18163. type: integer
  18164. warehousename:
  18165. description: 仓库名称
  18166. type: string
  18167. wrfactortypeid:
  18168. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18169. type: string
  18170. wrfactortypename:
  18171. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18172. type: string
  18173. wrpricetype:
  18174. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18175. type: integer
  18176. wrstandardcode:
  18177. description: 现货商品代码
  18178. type: string
  18179. wrstandardid:
  18180. description: 现货商品ID
  18181. type: integer
  18182. wrstandardname:
  18183. description: 商品名称
  18184. type: string
  18185. wrtypename:
  18186. description: 商品
  18187. type: string
  18188. type: object
  18189. models.WrFriendApply:
  18190. properties:
  18191. applicantid:
  18192. description: 申请人
  18193. type: integer
  18194. applyname:
  18195. description: 申请人名称
  18196. type: string
  18197. applysrc:
  18198. description: 申请来源 - 1:管理端 2:终端
  18199. type: integer
  18200. applystatus:
  18201. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18202. type: integer
  18203. applytime:
  18204. description: 申请时间
  18205. type: string
  18206. auditname:
  18207. description: 审核人名称
  18208. type: string
  18209. auditorid:
  18210. description: 审核人
  18211. type: integer
  18212. auditremark:
  18213. description: 审核备注
  18214. type: string
  18215. auditsrc:
  18216. description: 审核来源 - 1:管理端 2:终端
  18217. type: integer
  18218. audittime:
  18219. description: 审核时间
  18220. type: string
  18221. friendapplyid:
  18222. description: 申请ID(SEQ_FRIENDAPPLY)
  18223. type: string
  18224. friendname:
  18225. description: 好友名字(已脱敏)
  18226. type: string
  18227. frienduserid:
  18228. description: 好友用户ID
  18229. type: string
  18230. remark:
  18231. description: 备注
  18232. type: string
  18233. userid:
  18234. description: 申请人用户ID
  18235. type: integer
  18236. type: object
  18237. models.WrFtDeliveryGoods:
  18238. properties:
  18239. deliverygoodscode:
  18240. description: 品种代码
  18241. type: string
  18242. deliverygoodsid:
  18243. description: 品种ID
  18244. type: integer
  18245. deliverygoodsname:
  18246. description: 品种名称
  18247. type: string
  18248. wdlst:
  18249. description: 商品列表
  18250. items:
  18251. $ref: '#/definitions/models.WrFtWrstandard'
  18252. type: array
  18253. type: object
  18254. models.WrFtWrstandard:
  18255. properties:
  18256. enumdicname:
  18257. description: 单位名称
  18258. type: string
  18259. minivalue:
  18260. description: 最小变动值
  18261. type: integer
  18262. wrstandardcode:
  18263. description: 现货商品代码
  18264. type: string
  18265. wrstandardid:
  18266. description: 现货商品ID
  18267. type: integer
  18268. wrstandardname:
  18269. description: 商品名称
  18270. type: string
  18271. type: object
  18272. models.WrGoodsInfo:
  18273. properties:
  18274. haswr:
  18275. description: 0:仓单预售 1:仓单贸易
  18276. type: integer
  18277. lstitem:
  18278. description: 商品信息项
  18279. items:
  18280. $ref: '#/definitions/models.WrTypeItem'
  18281. type: array
  18282. lststep:
  18283. description: 履约规则
  18284. items:
  18285. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18286. type: array
  18287. marketid:
  18288. description: 市场id
  18289. type: integer
  18290. type: object
  18291. models.WrGoodsPerformanceStep:
  18292. properties:
  18293. autoid:
  18294. description: AutoID
  18295. type: integer
  18296. isauto:
  18297. description: 是否自动 - 0:不自动 1:自动
  18298. type: integer
  18299. remark:
  18300. description: 备注
  18301. type: string
  18302. stepdate:
  18303. description: 天数信息(T+N)
  18304. type: string
  18305. stepdays:
  18306. description: 距离上一步天数
  18307. type: integer
  18308. stepindex:
  18309. description: 步骤序号
  18310. type: integer
  18311. stepinfo:
  18312. description: 步骤信息(步骤名称+步骤值)
  18313. type: string
  18314. steptypeid:
  18315. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18316. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18317. type: integer
  18318. steptypename:
  18319. description: 步骤名称
  18320. type: string
  18321. stepvalue:
  18322. description: 期初均价
  18323. type: number
  18324. templateid:
  18325. description: 履约计划模板ID
  18326. type: integer
  18327. type: object
  18328. models.WrHoldLB:
  18329. properties:
  18330. accountid:
  18331. description: 持有人帐户ID
  18332. type: integer
  18333. bannerpicurl:
  18334. description: Banner图
  18335. type: string
  18336. createtime:
  18337. description: 创建时间(过户时间)
  18338. type: string
  18339. deliverygoodscode:
  18340. description: 品种代码
  18341. type: string
  18342. deliverygoodsid:
  18343. description: 品种ID
  18344. type: integer
  18345. deliverygoodsname:
  18346. description: 品种名称
  18347. type: string
  18348. enableqty:
  18349. description: 可用数量
  18350. type: number
  18351. enumdicname:
  18352. description: 单位名称
  18353. type: string
  18354. freezerqty:
  18355. description: 冻结数量
  18356. type: number
  18357. ladingbillid:
  18358. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18359. type: string
  18360. minivalue:
  18361. description: 现货商品最小变动值
  18362. type: integer
  18363. optioncompare:
  18364. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18365. type: string
  18366. parentsubnum:
  18367. description: 拆分父子单号
  18368. type: integer
  18369. pledgeqty:
  18370. description: 质押数量
  18371. type: number
  18372. qty:
  18373. description: 数量
  18374. type: number
  18375. subnum:
  18376. description: 提单子单号
  18377. type: integer
  18378. thumurls:
  18379. description: 缩略图
  18380. type: string
  18381. tradedate:
  18382. description: 交易日(yyyyMMdd)
  18383. type: string
  18384. userid:
  18385. description: 持有人ID
  18386. type: integer
  18387. warehouseid:
  18388. description: 仓库ID
  18389. type: integer
  18390. warehousename:
  18391. description: 仓库名称
  18392. type: string
  18393. wrfactortypeid:
  18394. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18395. type: string
  18396. wrfactortypename:
  18397. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18398. type: string
  18399. wrholdeno:
  18400. description: 仓单编号
  18401. type: string
  18402. wrid:
  18403. description: 仓单变更ID
  18404. type: string
  18405. wrstandardcode:
  18406. description: 现货商品代码
  18407. type: string
  18408. wrstandardid:
  18409. description: 现货商品ID
  18410. type: integer
  18411. wrstandardname:
  18412. description: 商品名称
  18413. type: string
  18414. wrtypename:
  18415. description: 商品
  18416. type: string
  18417. type: object
  18418. models.WrMarketTradeConfig:
  18419. properties:
  18420. basisdownratio:
  18421. description: 浮动价基差下限比例(仓单贸易)
  18422. type: number
  18423. basisupratio:
  18424. description: 浮动价基差上限比例(仓单贸易)
  18425. type: number
  18426. buychargealgorithm:
  18427. description: 买方手续费收取方式 1:比率 2:固定
  18428. type: integer
  18429. buychargealgorithm2:
  18430. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18431. type: integer
  18432. buychargealgorithmvalue:
  18433. description: 买方手续费设置值(交易所部分)
  18434. type: number
  18435. buychargealgorithmvalue2:
  18436. description: 买方手续费设置值(会员部分)
  18437. type: number
  18438. buychargealgorithmvalue3:
  18439. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18440. type: number
  18441. buychargealgorithmvalue4:
  18442. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18443. type: number
  18444. buyfirstmarginalgorithm:
  18445. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18446. type: integer
  18447. buyfirstmarginvalue:
  18448. description: 买方出价保证金设置值 - [竞拍]
  18449. type: number
  18450. buymarginalgorithm:
  18451. description: 买方保证金方式 - 1:比率 2:固定
  18452. type: integer
  18453. buymarginvalue:
  18454. description: 买方保证金设置值
  18455. type: number
  18456. buyreleaseratio:
  18457. description: 买方释放比率[2:分步履约]
  18458. type: number
  18459. executemode:
  18460. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18461. type: integer
  18462. executeside:
  18463. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18464. type: integer
  18465. failedchargealgorithm:
  18466. description: 流拍手续费收取方式 1:比率 2:固定
  18467. type: integer
  18468. failedchargevalue:
  18469. description: 流拍手续费设置值
  18470. type: number
  18471. failedchargevalue2:
  18472. description: 流拍卖方手续费设置值
  18473. type: number
  18474. holddays:
  18475. description: 合同期限[2:分步履约]
  18476. type: integer
  18477. listingmode:
  18478. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18479. type: integer
  18480. marketid:
  18481. description: 市场ID-仓单贸易、竞拍、预售
  18482. type: integer
  18483. minqty:
  18484. description: 最小执行量[2:分步履约]
  18485. type: number
  18486. modifierid:
  18487. description: 修改人
  18488. type: integer
  18489. nowrquotaflag:
  18490. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18491. type: integer
  18492. performancetempid:
  18493. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18494. 立即执行(-1)
  18495. type: integer
  18496. performancetempid2:
  18497. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18498. 立即执行
  18499. type: integer
  18500. performancetempid2s:
  18501. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18502. - 履约方式: 立即执行
  18503. type: string
  18504. performancetempids:
  18505. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18506. - 履约方式: 立即执行(-1)
  18507. type: string
  18508. performanceway:
  18509. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18510. type: integer
  18511. sellchargealgorithm:
  18512. description: 卖方手续费收取方式 1:比率 2:固定
  18513. type: integer
  18514. sellchargealgorithm2:
  18515. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18516. type: integer
  18517. sellchargealgorithmvalue:
  18518. description: 卖方手续费设置值(交易所部分)
  18519. type: number
  18520. sellchargealgorithmvalue2:
  18521. description: 卖方手续费设置值(会员部分)
  18522. type: number
  18523. sellchargealgorithmvalue3:
  18524. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18525. type: number
  18526. sellchargealgorithmvalue4:
  18527. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18528. type: number
  18529. sellmarginalgorithm:
  18530. description: 卖方保证金方式 - 1:比率 2:固定
  18531. type: integer
  18532. sellmarginvalue:
  18533. description: 卖方保证金设置值
  18534. type: number
  18535. sellmarginvalue2:
  18536. description: 卖方保证金设置值(无仓单)
  18537. type: number
  18538. sellreleaseratio:
  18539. description: 卖方释放比率[2:分步履约]
  18540. type: number
  18541. updatetime:
  18542. description: 更新时间
  18543. type: string
  18544. type: object
  18545. models.WrOrderDetail:
  18546. properties:
  18547. accountid:
  18548. description: 交易账号(资金账号)
  18549. type: integer
  18550. allfriendsflag:
  18551. description: 是否全好友可见 - 0:否 1:是
  18552. type: integer
  18553. amount:
  18554. description: 期初均价
  18555. type: number
  18556. bannerpicurl:
  18557. description: Banner图
  18558. type: string
  18559. begindate:
  18560. description: 开始交易日(yyyymmdd)
  18561. type: string
  18562. buyorsell:
  18563. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18564. type: integer
  18565. canbargain:
  18566. description: 是否可议价 - 0:不可 1:可
  18567. type: integer
  18568. cancelqty:
  18569. description: 撤销数量
  18570. type: number
  18571. canpart:
  18572. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18573. type: integer
  18574. delistminqty:
  18575. description: 起摘数量
  18576. type: integer
  18577. deliverygoodscode:
  18578. description: 品种代码
  18579. type: string
  18580. deliverygoodsid:
  18581. description: 品种ID
  18582. type: integer
  18583. deliverygoodsname:
  18584. description: 品种名称
  18585. type: string
  18586. deliverymonth:
  18587. description: 交收月
  18588. type: string
  18589. enddate:
  18590. description: 结束交易日(yyyymmdd)
  18591. type: string
  18592. enumdicname:
  18593. description: 单位名称
  18594. type: string
  18595. fixedprice:
  18596. description: 固定价格 - [挂牌]
  18597. type: number
  18598. freezecharge:
  18599. description: 期初均价
  18600. type: number
  18601. freezemargin:
  18602. description: 期初均价
  18603. type: number
  18604. futupricemove:
  18605. description: 期货升贴水
  18606. type: number
  18607. futushow:
  18608. description: 期货合约/升贴水
  18609. type: string
  18610. goodscode:
  18611. description: 期货合约
  18612. type: string
  18613. goodsid:
  18614. description: 期货商品id
  18615. type: integer
  18616. goodsname:
  18617. description: 商品名称
  18618. type: string
  18619. haswr:
  18620. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18621. type: integer
  18622. isspecified:
  18623. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18624. type: integer
  18625. ladingbillid:
  18626. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18627. type: string
  18628. marginvalue:
  18629. description: 期初均价
  18630. type: number
  18631. marketid:
  18632. description: 市场ID
  18633. type: integer
  18634. matchusername:
  18635. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  18636. type: string
  18637. minivalue:
  18638. description: 现货商品最小变动值
  18639. type: integer
  18640. optioncompare:
  18641. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18642. type: string
  18643. orderqty:
  18644. description: 委托数量
  18645. type: number
  18646. ordertime:
  18647. description: 委托时间(挂牌时间)
  18648. type: string
  18649. performancetemplateid:
  18650. description: 履约模板id
  18651. type: integer
  18652. pricemove:
  18653. description: 升贴水(浮动价时填写) - [挂牌]
  18654. type: number
  18655. taname:
  18656. description: 交易用户名称(资金账号名称)
  18657. type: string
  18658. thumurls:
  18659. description: 缩略图
  18660. type: string
  18661. tradedate:
  18662. description: 交易日(yyyyMMdd)
  18663. type: string
  18664. tradeprice:
  18665. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18666. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18667. type: number
  18668. tradeqty:
  18669. description: 成交数量
  18670. type: number
  18671. userid:
  18672. description: 用户ID
  18673. type: integer
  18674. validtime:
  18675. description: 挂牌有效期
  18676. type: string
  18677. validtype:
  18678. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18679. type: integer
  18680. warehouseid:
  18681. description: 仓库ID
  18682. type: integer
  18683. warehousename:
  18684. description: 仓库名称
  18685. type: string
  18686. wrfactortypeid:
  18687. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18688. type: string
  18689. wrfactortypename:
  18690. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18691. type: string
  18692. wrpricetype:
  18693. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18694. type: integer
  18695. wrstandardcode:
  18696. description: 现货商品代码
  18697. type: string
  18698. wrstandardid:
  18699. description: 现货商品ID
  18700. type: integer
  18701. wrstandardname:
  18702. description: 商品名称
  18703. type: string
  18704. wrtradeorderid:
  18705. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18706. type: string
  18707. wrtradeorderstatus:
  18708. 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:撤单解冻贷款失败
  18709. type: integer
  18710. wrtradetype:
  18711. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18712. type: integer
  18713. wrtypename:
  18714. description: 商品
  18715. type: string
  18716. type: object
  18717. models.WrOrderQuote:
  18718. properties:
  18719. bannerpicurl:
  18720. description: Banner图
  18721. type: string
  18722. buyprice:
  18723. description: 买价
  18724. type: number
  18725. buypricemove:
  18726. description: 买升贴水(基差)
  18727. type: number
  18728. buyqty:
  18729. description: 买量
  18730. type: number
  18731. deliverygoodscode:
  18732. description: 品种代码
  18733. type: string
  18734. deliverygoodsid:
  18735. description: 品种id
  18736. type: integer
  18737. deliverygoodsname:
  18738. description: 品种名称
  18739. type: string
  18740. deliverymonth:
  18741. description: 交收月
  18742. type: string
  18743. enumdicname:
  18744. description: 单位名称
  18745. type: string
  18746. goodscode:
  18747. description: 商品合约(浮动价列表才有)
  18748. type: string
  18749. goodsid:
  18750. description: 商品id(浮动价列表才有)
  18751. type: integer
  18752. minivalue:
  18753. description: 现货商品最小变动值
  18754. type: integer
  18755. pictureurls:
  18756. description: 详情图片(逗号分隔)
  18757. type: string
  18758. sellprice:
  18759. description: 卖价
  18760. type: number
  18761. sellpricemove:
  18762. description: 卖升贴水(基差)
  18763. type: number
  18764. sellqty:
  18765. description: 卖量
  18766. type: number
  18767. thumurls:
  18768. description: 缩略图片(1:1)(逗号分隔)
  18769. type: string
  18770. warehousecode:
  18771. description: 仓库代码
  18772. type: string
  18773. warehouseid:
  18774. description: 仓库id
  18775. type: integer
  18776. warehousename:
  18777. description: 仓库名称
  18778. type: string
  18779. wrfactortypeid:
  18780. description: 仓单要素id
  18781. type: string
  18782. wrfactortypename:
  18783. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18784. type: string
  18785. wrgoodsname:
  18786. description: 商品(商品名称+仓库要素名称 拼接)
  18787. type: string
  18788. wrstandardcode:
  18789. description: 商品代码
  18790. type: string
  18791. wrstandardid:
  18792. description: 商品id
  18793. type: integer
  18794. wrstandardname:
  18795. description: 商品名称
  18796. type: string
  18797. type: object
  18798. models.WrOrderQuoteDetail:
  18799. properties:
  18800. buyorsell:
  18801. description: 买卖 - 0:买 1:卖
  18802. type: integer
  18803. delistminqty:
  18804. description: 期初均价
  18805. type: number
  18806. deliverymonth:
  18807. description: 交收月
  18808. type: string
  18809. enumdicname:
  18810. description: 单位名称
  18811. type: string
  18812. fixedprice:
  18813. description: 买(卖)价
  18814. type: number
  18815. marketid:
  18816. description: 市场id
  18817. type: integer
  18818. minivalue:
  18819. description: 现货商品最小变动值
  18820. type: integer
  18821. orderqty:
  18822. description: 买(卖)量(=委托量-成交量)
  18823. type: number
  18824. ordertime:
  18825. description: 委托时间
  18826. type: string
  18827. pricemove:
  18828. description: 买(卖)升贴水- 基差
  18829. type: number
  18830. userid:
  18831. description: 购买方(销售方)用户ID
  18832. type: integer
  18833. username:
  18834. description: 购买方(销售方)
  18835. type: string
  18836. wrtradeorderid:
  18837. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18838. type: string
  18839. type: object
  18840. models.WrOutInApply:
  18841. properties:
  18842. applyid:
  18843. description: 申请单id
  18844. type: string
  18845. applystatus:
  18846. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18847. 8:已撤销
  18848. type: integer
  18849. applytime:
  18850. description: 申请时间
  18851. type: string
  18852. applytype:
  18853. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18854. type: integer
  18855. bannerpicurl:
  18856. description: Banner图
  18857. type: string
  18858. begindate:
  18859. description: 开始交易日(yyyymmdd)
  18860. type: string
  18861. deliverygoodscode:
  18862. description: 品种代码
  18863. type: string
  18864. deliverygoodsid:
  18865. description: 品种ID
  18866. type: integer
  18867. deliverygoodsname:
  18868. description: 品种名称
  18869. type: string
  18870. enddate:
  18871. description: 结束交易日(yyyymmdd)
  18872. type: string
  18873. enumdicname:
  18874. description: 单位名称
  18875. type: string
  18876. expresscompany:
  18877. description: 物流公司
  18878. type: string
  18879. expressnum:
  18880. description: 物流单号
  18881. type: string
  18882. minivalue:
  18883. description: 现货商品最小变动值
  18884. type: integer
  18885. optioncompare:
  18886. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18887. type: string
  18888. qty:
  18889. description: 数量
  18890. type: integer
  18891. userid:
  18892. description: 用户id
  18893. type: integer
  18894. warehouseid:
  18895. description: 仓库ID
  18896. type: integer
  18897. warehousename:
  18898. description: 仓库名称
  18899. type: string
  18900. wrfactortypeid:
  18901. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18902. type: string
  18903. wrfactortypename:
  18904. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18905. type: string
  18906. wrstandardcode:
  18907. description: 现货商品代码
  18908. type: string
  18909. wrstandardid:
  18910. description: 现货商品ID
  18911. type: integer
  18912. wrstandardname:
  18913. description: 商品名称
  18914. type: string
  18915. wrtypename:
  18916. description: 商品
  18917. type: string
  18918. type: object
  18919. models.WrPerformancePlan:
  18920. properties:
  18921. activatemonth:
  18922. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18923. type: string
  18924. amount:
  18925. description: 履约金额(总金额)
  18926. type: number
  18927. begindate:
  18928. description: 开始交易日(yyyymmdd)
  18929. type: string
  18930. buyaccountid:
  18931. description: 买方账号
  18932. type: integer
  18933. buyerfreezeamount:
  18934. description: 履约冻结(买履约)
  18935. type: number
  18936. buyerfreezeamountremain:
  18937. description: 履约冻结剩余(买履约)
  18938. type: number
  18939. buyorsell:
  18940. description: 买卖方向 0-买 1-卖
  18941. type: integer
  18942. buypaidamount:
  18943. description: 买方已冻/已扣金额 (已付金额)
  18944. type: number
  18945. buyusername:
  18946. description: 买方名字
  18947. type: string
  18948. contractid:
  18949. description: 合同ID
  18950. type: integer
  18951. createtime:
  18952. description: 创建时间
  18953. type: string
  18954. creatorid:
  18955. description: 创建人
  18956. type: integer
  18957. curstepdeadline:
  18958. description: 当前步骤到期时间
  18959. type: string
  18960. curstepid:
  18961. description: 当前步骤ID
  18962. type: string
  18963. curstepname:
  18964. description: 当前步骤名称
  18965. type: string
  18966. deliverygoodscode:
  18967. description: 品种代码
  18968. type: string
  18969. deliverygoodsid:
  18970. description: 品种ID
  18971. type: integer
  18972. deliverygoodsname:
  18973. description: 品种名称
  18974. type: string
  18975. enddate:
  18976. description: 结束交易日(yyyymmdd)
  18977. type: string
  18978. enumdicname:
  18979. description: 单位名称
  18980. type: string
  18981. expressfee:
  18982. description: 运费
  18983. type: number
  18984. expressfeeconfirmed:
  18985. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18986. type: integer
  18987. hasovershort:
  18988. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18989. type: integer
  18990. haswr:
  18991. description: 类型 0-仓单预售 1-仓单贸易
  18992. type: integer
  18993. marketid:
  18994. description: 市场ID
  18995. type: integer
  18996. middleaccountid:
  18997. description: 中间商资金账号ID
  18998. type: integer
  18999. middleuserid:
  19000. description: 中间商用户ID
  19001. type: integer
  19002. minivalue:
  19003. description: 现货商品最小变动值
  19004. type: integer
  19005. optioncompare:
  19006. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19007. type: string
  19008. overshortamount:
  19009. description: 溢短金额
  19010. type: number
  19011. overshortqty:
  19012. description: 溢短数量
  19013. type: number
  19014. paymenttype:
  19015. description: 付款方式 - 1:冻结 2:扣款
  19016. type: integer
  19017. performanceplanid:
  19018. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19019. type: string
  19020. performancestatus:
  19021. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19022. 9:超时待处理 10:超时关闭
  19023. type: integer
  19024. performancetype:
  19025. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19026. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19027. type: integer
  19028. qty:
  19029. description: 履约数量
  19030. type: number
  19031. relatedorderid:
  19032. description: 关联单号(履约类型的关联单号)
  19033. type: string
  19034. remark:
  19035. description: 备注
  19036. type: string
  19037. sellaccountid:
  19038. description: 卖方账号
  19039. type: integer
  19040. sellerfreezeamount:
  19041. description: 履约冻结(卖履约)
  19042. type: number
  19043. sellerfreezeamountremain:
  19044. description: 履约冻结剩余(卖履约)
  19045. type: number
  19046. sellreceivedamount:
  19047. description: 卖方已收金额
  19048. type: number
  19049. sellusername:
  19050. description: 卖方名字
  19051. type: string
  19052. shipremark:
  19053. description: 发货备注[物流单号]
  19054. type: string
  19055. starttime:
  19056. description: 开始时间
  19057. type: string
  19058. steptypeid:
  19059. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19060. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19061. type: integer
  19062. typename:
  19063. description: 履约类型 名称
  19064. type: string
  19065. unpaidamount:
  19066. description: 期初均价
  19067. type: number
  19068. userid:
  19069. description: 用户id
  19070. type: integer
  19071. warehouseid:
  19072. description: 仓库ID
  19073. type: integer
  19074. warehousename:
  19075. description: 仓库名称
  19076. type: string
  19077. wrfactortypeid:
  19078. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19079. type: string
  19080. wrfactortypename:
  19081. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19082. type: string
  19083. wrstandardcode:
  19084. description: 现货商品代码
  19085. type: string
  19086. wrstandardid:
  19087. description: 现货商品ID
  19088. type: integer
  19089. wrstandardname:
  19090. description: 商品名称
  19091. type: string
  19092. wrtransferuserid:
  19093. description: 仓单受让用户
  19094. type: integer
  19095. wrtypename:
  19096. description: 商品
  19097. type: string
  19098. required:
  19099. - userid
  19100. type: object
  19101. models.WrPerformancePlanStep:
  19102. properties:
  19103. delaydays:
  19104. description: 延期申请天数
  19105. type: integer
  19106. deliverygoodscode:
  19107. description: 品种代码
  19108. type: string
  19109. deliverygoodsid:
  19110. description: 品种ID
  19111. type: integer
  19112. deliverygoodsname:
  19113. description: 品种名称
  19114. type: string
  19115. endtime:
  19116. description: 结束日期
  19117. type: string
  19118. enumdicname:
  19119. description: 单位名称
  19120. type: string
  19121. executeside:
  19122. description: 步骤执行方 - 1:买方 2:卖方
  19123. type: integer
  19124. handlestatus:
  19125. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  19126. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  19127. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  19128. type: integer
  19129. isauto:
  19130. description: 是否自动 - 0:不自动 1:自动
  19131. type: integer
  19132. islastreceivestep:
  19133. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  19134. type: integer
  19135. minivalue:
  19136. description: 现货商品最小变动值
  19137. type: integer
  19138. optioncompare:
  19139. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19140. type: string
  19141. overdays:
  19142. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19143. type: integer
  19144. performancestepid:
  19145. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19146. type: string
  19147. planid:
  19148. description: 所属履约计划ID
  19149. type: string
  19150. realamount:
  19151. description: 实际完成金额
  19152. type: number
  19153. relatedorderid:
  19154. description: 关联单号
  19155. type: string
  19156. remaindays:
  19157. description: 剩余天数
  19158. type: integer
  19159. remark:
  19160. description: 错误备注
  19161. type: string
  19162. starttime:
  19163. description: 开始日期
  19164. type: string
  19165. stepamount:
  19166. description: 步骤金额
  19167. type: number
  19168. stepdays:
  19169. description: 距离上一步天数(分钟)
  19170. type: integer
  19171. stepindex:
  19172. description: 步骤序号
  19173. type: integer
  19174. steplanchtype:
  19175. description: 步骤启动类型 - 1:系统自动 2:手动
  19176. type: integer
  19177. stepremark:
  19178. description: 步骤备注
  19179. type: string
  19180. stepstatus:
  19181. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19182. type: integer
  19183. steptypeid:
  19184. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19185. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19186. type: integer
  19187. steptypename:
  19188. description: 步骤名称
  19189. type: string
  19190. stepvalue:
  19191. description: 步骤值
  19192. type: number
  19193. warehouseid:
  19194. description: 仓库ID
  19195. type: integer
  19196. warehousename:
  19197. description: 仓库名称
  19198. type: string
  19199. wrfactortypeid:
  19200. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19201. type: string
  19202. wrfactortypename:
  19203. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19204. type: string
  19205. wrstandardcode:
  19206. description: 现货商品代码
  19207. type: string
  19208. wrstandardid:
  19209. description: 现货商品ID
  19210. type: integer
  19211. wrstandardname:
  19212. description: 商品名称
  19213. type: string
  19214. wrtypename:
  19215. description: 商品
  19216. type: string
  19217. type: object
  19218. models.WrPerformanceStepType:
  19219. properties:
  19220. canauto:
  19221. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19222. type: integer
  19223. steptypeid:
  19224. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19225. type: integer
  19226. steptypename:
  19227. description: 步骤类型名称
  19228. type: string
  19229. type: object
  19230. models.WrPerformanceTemplateEx:
  19231. properties:
  19232. autoid:
  19233. description: AutoID 模板id
  19234. type: integer
  19235. createtime:
  19236. description: 创建时间
  19237. type: string
  19238. creatorid:
  19239. description: 创建人
  19240. type: integer
  19241. lstStep:
  19242. description: 步骤信息列表
  19243. items:
  19244. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19245. type: array
  19246. paymenttype:
  19247. description: 支付方式 - 1:冻结 2:扣款
  19248. type: integer
  19249. takemode:
  19250. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19251. type: integer
  19252. templatename:
  19253. description: 模板名称
  19254. type: string
  19255. templatetype:
  19256. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19257. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19258. type: integer
  19259. userid:
  19260. description: 所属用户
  19261. type: integer
  19262. type: object
  19263. models.WrPosition:
  19264. properties:
  19265. accountid:
  19266. description: 帐户ID
  19267. type: integer
  19268. buyexcuteqty:
  19269. description: 采购履约中数量
  19270. type: number
  19271. creditcurqty:
  19272. description: 授信当前数量(预售仓单:预售当前量)
  19273. type: number
  19274. creditenableqty:
  19275. description: '授信可用数量(预售仓单: 可用数量)'
  19276. type: number
  19277. creditfreezeqty:
  19278. description: '授信冻结数量(预售仓单: 当前数量)'
  19279. type: number
  19280. credittotalqty:
  19281. description: 授信总数量(预售仓单:预售总量)
  19282. type: number
  19283. credittradeqty:
  19284. description: 授信成交数量(预售仓单:成交总量)
  19285. type: number
  19286. deliverygoodscode:
  19287. description: 品种代码
  19288. type: string
  19289. deliverygoodsid:
  19290. description: 品种ID
  19291. type: integer
  19292. deliverygoodsname:
  19293. description: 品种名称
  19294. type: string
  19295. enalbeqty:
  19296. description: 可用数量
  19297. type: number
  19298. enumdicname:
  19299. description: 单位名称
  19300. type: string
  19301. freezeqty:
  19302. description: 总冻结数量
  19303. type: number
  19304. haswr:
  19305. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19306. type: integer
  19307. minivalue:
  19308. description: 现货商品最小变动值
  19309. type: integer
  19310. modifytime:
  19311. description: 修改时间(过户时间)
  19312. type: string
  19313. optioncompare:
  19314. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19315. type: string
  19316. pledgeqty:
  19317. description: 质押数量
  19318. type: number
  19319. querytype:
  19320. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19321. type: integer
  19322. sellexcuteqty:
  19323. description: 销售履约中数量
  19324. type: number
  19325. totalqty:
  19326. description: 总数量(库存数量)
  19327. type: number
  19328. warehouseid:
  19329. description: 仓库ID
  19330. type: integer
  19331. warehousename:
  19332. description: 仓库名称
  19333. type: string
  19334. wrfactortypeid:
  19335. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19336. type: string
  19337. wrfactortypename:
  19338. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19339. type: string
  19340. wrpositionid:
  19341. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19342. type: string
  19343. wrpositionno:
  19344. description: 仓单编号
  19345. type: string
  19346. wrstandardcode:
  19347. description: 现货商品代码
  19348. type: string
  19349. wrstandardid:
  19350. description: 现货商品ID
  19351. type: integer
  19352. wrstandardname:
  19353. description: 商品名称
  19354. type: string
  19355. wrtypename:
  19356. description: 商品
  19357. type: string
  19358. wruserid:
  19359. description: 持有人ID
  19360. type: integer
  19361. type: object
  19362. models.WrPreSaleInfo:
  19363. properties:
  19364. bannerpicurl:
  19365. description: Banner图
  19366. type: string
  19367. baseqty:
  19368. description: 中签基数
  19369. type: number
  19370. createtime:
  19371. description: 创建时间
  19372. type: string
  19373. deliverygoodsid:
  19374. description: 现货品种ID
  19375. type: integer
  19376. enddate:
  19377. description: 预售结束日期
  19378. type: string
  19379. enumdicname:
  19380. description: 单位名称
  19381. type: string
  19382. lotteryflag:
  19383. description: 摇号标识 - 0:未摇号 1:已摇号
  19384. type: integer
  19385. lotteryqty:
  19386. description: 摇号总量
  19387. type: number
  19388. luckyqty:
  19389. description: 已中签量
  19390. type: number
  19391. marketid:
  19392. description: 市场ID
  19393. type: integer
  19394. maxbuyqty:
  19395. description: 单人最大申购量
  19396. type: number
  19397. maxluckyqty:
  19398. description: 单人最大中签量
  19399. type: number
  19400. pictureurls:
  19401. description: 详情图片(逗号分隔)
  19402. type: string
  19403. placeqty:
  19404. description: 已配售量
  19405. type: number
  19406. presaleapplyid:
  19407. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19408. example: "0"
  19409. type: string
  19410. presaleqty:
  19411. description: 预售总量
  19412. type: number
  19413. presalestatus:
  19414. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19415. type: integer
  19416. sellaccountid:
  19417. description: 发行方资金账户ID
  19418. type: integer
  19419. selluserid:
  19420. description: 发行方用户ID
  19421. type: integer
  19422. sellwrtradeorderid:
  19423. description: 发行方卖委托单ID
  19424. type: string
  19425. startdate:
  19426. description: 预售开始日期
  19427. type: string
  19428. takestartdate:
  19429. description: 提货开始日期
  19430. type: string
  19431. thumurls:
  19432. description: 缩略图片(1:1)(逗号分隔)
  19433. type: string
  19434. tradedate:
  19435. description: 交易日
  19436. type: string
  19437. unitid:
  19438. description: 单位ID
  19439. type: integer
  19440. unitprice:
  19441. description: 商品单价
  19442. type: number
  19443. username:
  19444. description: 发行方用户名称
  19445. type: string
  19446. warehousecode:
  19447. description: 仓库代码(仓库简称)
  19448. type: string
  19449. warehouseid:
  19450. description: 仓库ID
  19451. type: integer
  19452. warehousename:
  19453. description: 仓库名称
  19454. type: string
  19455. wrfactortypeid:
  19456. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19457. example: "0"
  19458. type: string
  19459. wrstandardid:
  19460. description: 现货商品ID
  19461. type: integer
  19462. wrstandardname:
  19463. description: 现货商品名称
  19464. type: string
  19465. type: object
  19466. models.WrQuoteOrderMyq:
  19467. properties:
  19468. buyorsell:
  19469. description: 买卖 - 0:买 1:卖
  19470. type: integer
  19471. canbargain:
  19472. description: 是否可议价 - 0:不可 1:可
  19473. type: integer
  19474. canpart:
  19475. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19476. type: integer
  19477. delistminqty:
  19478. description: 期初均价
  19479. type: number
  19480. deliverygoodscode:
  19481. description: 品种代码
  19482. type: string
  19483. deliverygoodsid:
  19484. description: 品种ID
  19485. type: integer
  19486. deliverygoodsname:
  19487. description: 品种名称
  19488. type: string
  19489. deliverymonth:
  19490. description: 交收月
  19491. type: string
  19492. enumdicname:
  19493. description: 单位名称
  19494. type: string
  19495. fixedprice:
  19496. description: 买(卖)价
  19497. type: number
  19498. goodscode:
  19499. description: 商品合约代码
  19500. type: string
  19501. marginflag:
  19502. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19503. type: integer
  19504. marginvalue:
  19505. description: 保证金设置值
  19506. type: number
  19507. minivalue:
  19508. description: 现货商品最小变动值
  19509. type: integer
  19510. orderqty:
  19511. description: 买(卖)量(=委托量-成交量)
  19512. type: number
  19513. ordertime:
  19514. description: 委托时间
  19515. type: string
  19516. performancetemplateid:
  19517. description: 履约模板id
  19518. type: integer
  19519. pricemove:
  19520. description: 买(卖)升贴水- 基差
  19521. type: number
  19522. templatename:
  19523. description: 履约模板名称
  19524. type: string
  19525. userid:
  19526. description: 购买方(销售方)用户ID
  19527. type: integer
  19528. username:
  19529. description: 购买方(销售方)
  19530. type: string
  19531. validtime:
  19532. description: 有效期限
  19533. type: string
  19534. validtype:
  19535. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19536. type: integer
  19537. warehousename:
  19538. description: 仓库名称
  19539. type: string
  19540. wrfactortypeid:
  19541. description: 仓单要素id
  19542. type: string
  19543. wrstandardcode:
  19544. description: 现货商品代码
  19545. type: string
  19546. wrstandardid:
  19547. description: 现货商品ID
  19548. type: integer
  19549. wrstandardname:
  19550. description: 商品名称
  19551. type: string
  19552. wrtradeorderid:
  19553. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19554. type: string
  19555. wrtypename:
  19556. description: 商品
  19557. type: string
  19558. type: object
  19559. models.WrReckonSpotGoodsTradeSum:
  19560. properties:
  19561. begindate:
  19562. description: 开始日期(结果含开始日期) yyyymmdd
  19563. type: string
  19564. enddate:
  19565. description: 结束日期(结果含结束日期) yyyymmdd
  19566. type: string
  19567. istoday:
  19568. description: 是否当日
  19569. type: boolean
  19570. marketid:
  19571. description: 市场ID
  19572. type: integer
  19573. price:
  19574. description: 价格 = 日成交金额 / 日成交数量
  19575. type: string
  19576. reckondate:
  19577. description: 日期 格式 yyyymmdd
  19578. type: string
  19579. tradeamount:
  19580. description: 期初均价
  19581. type: number
  19582. tradeqty:
  19583. description: 期初均价
  19584. type: number
  19585. wrstandardid:
  19586. description: 现货商品ID
  19587. type: integer
  19588. type: object
  19589. models.WrScfContract:
  19590. properties:
  19591. borroweruserid:
  19592. description: 借款用户ID
  19593. type: integer
  19594. buybackwrpositionqty:
  19595. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19596. type: number
  19597. closeinterest:
  19598. description: 已结利息 -> 已结费用
  19599. type: number
  19600. currisklevel:
  19601. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19602. type: integer
  19603. deadline:
  19604. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19605. type: string
  19606. deliverygoodscode:
  19607. description: 品种代码
  19608. type: string
  19609. deliverygoodsid:
  19610. description: 品种ID
  19611. type: integer
  19612. deliverygoodsname:
  19613. description: 品种名称
  19614. type: string
  19615. enumdicname:
  19616. description: 单位名称
  19617. type: string
  19618. financingdays:
  19619. description: 天数(天)
  19620. type: integer
  19621. initmargin:
  19622. description: 保证金 - [仓单回购]
  19623. type: number
  19624. interestamount:
  19625. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19626. type: number
  19627. interestdebt:
  19628. description: 利息欠款(记录负数) -> 费用欠款
  19629. type: number
  19630. interestminlen:
  19631. description: 最小起息天数
  19632. type: integer
  19633. interestrate:
  19634. description: 利率
  19635. type: number
  19636. interestratemode:
  19637. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19638. type: integer
  19639. interestsettlemode:
  19640. description: 结息方式 - 1:按日结息 3:按月结息
  19641. type: integer
  19642. interestsettlevalue:
  19643. description: 结息方式值
  19644. type: integer
  19645. isautoloan:
  19646. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  19647. type: integer
  19648. lastcloseinterestday:
  19649. description: 最近结息日(yyyyMMdd)
  19650. type: string
  19651. lenderamount:
  19652. description: 贷款金额 -> 借款金额
  19653. type: number
  19654. lenderuserid:
  19655. description: 贷款方用户ID -> 融出方用户ID
  19656. type: integer
  19657. lenderusername:
  19658. description: 融出方
  19659. type: string
  19660. marginratio:
  19661. description: 保证金比率质押率 - [仓单质押]
  19662. type: number
  19663. marketid:
  19664. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19665. type: integer
  19666. minivalue:
  19667. description: 现货商品最小变动值
  19668. type: integer
  19669. optioncompare:
  19670. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19671. type: string
  19672. pricemove:
  19673. description: 估值升贴水值
  19674. type: number
  19675. productdetailid:
  19676. description: 产品组合ID
  19677. type: integer
  19678. productid:
  19679. description: 金融产品ID
  19680. type: integer
  19681. productname:
  19682. description: 产品名称
  19683. type: string
  19684. remainamount:
  19685. description: 合同剩余金额 -> 剩余金额
  19686. type: number
  19687. remainwrpositionqty:
  19688. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19689. type: number
  19690. remark:
  19691. description: 备注
  19692. type: string
  19693. scfcontractid:
  19694. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19695. type: string
  19696. scfcontractstatus:
  19697. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19698. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19699. type: integer
  19700. scfcontracttype:
  19701. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19702. type: integer
  19703. startinterestday:
  19704. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19705. type: string
  19706. totalinterest:
  19707. description: 已计利息 -> 已计费用
  19708. type: number
  19709. unpaidinterest:
  19710. description: 期初均价
  19711. type: number
  19712. updatetime:
  19713. description: 更新时间
  19714. type: string
  19715. warehouseid:
  19716. description: 仓库ID
  19717. type: integer
  19718. warehousename:
  19719. description: 仓库名称
  19720. type: string
  19721. wrfactortypeid:
  19722. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19723. type: string
  19724. wrfactortypename:
  19725. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19726. type: string
  19727. wrqty:
  19728. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19729. type: number
  19730. wrstandardcode:
  19731. description: 现货商品代码
  19732. type: string
  19733. wrstandardid:
  19734. description: 现货商品ID
  19735. type: integer
  19736. wrstandardname:
  19737. description: 商品名称
  19738. type: string
  19739. wrtypename:
  19740. description: 商品
  19741. type: string
  19742. type: object
  19743. models.WrScfContractInterest:
  19744. properties:
  19745. closeinterest:
  19746. description: 已结利息
  19747. type: number
  19748. closeintereststatus:
  19749. description: 结息状态 - 1:未结 2:已结
  19750. type: integer
  19751. closetime:
  19752. description: 结息时间
  19753. type: string
  19754. closetradedate:
  19755. description: 结息交易日
  19756. type: string
  19757. creatorid:
  19758. description: 操作人ID
  19759. type: integer
  19760. dayrate:
  19761. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19762. type: number
  19763. interest:
  19764. description: 利息
  19765. type: number
  19766. interestamount:
  19767. description: 计息金额
  19768. type: number
  19769. interestday:
  19770. description: 计息日(yyyyMMdd)
  19771. type: string
  19772. scfcontractid:
  19773. description: SCF合同ID
  19774. type: string
  19775. scfcontractinterestid:
  19776. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19777. type: integer
  19778. updatetime:
  19779. description: 更新时间
  19780. type: string
  19781. type: object
  19782. models.WrSearchUser:
  19783. properties:
  19784. userid:
  19785. description: 用户ID
  19786. type: integer
  19787. username:
  19788. description: 用户名称(已脱敏)
  19789. type: string
  19790. username2:
  19791. description: 用户名称(未脱敏)
  19792. type: string
  19793. usertype:
  19794. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19795. type: integer
  19796. required:
  19797. - username
  19798. type: object
  19799. models.WrSiteColumnDetail:
  19800. properties:
  19801. brief:
  19802. description: 简介
  19803. type: string
  19804. context:
  19805. description: 内容
  19806. type: string
  19807. coverimage:
  19808. description: 封面图片
  19809. type: string
  19810. creaedate:
  19811. description: 创建时间
  19812. type: string
  19813. id:
  19814. description: ID(SEQ_SITE_COLUMNDETAIL)
  19815. type: integer
  19816. istop:
  19817. description: 是否置顶 - 0:不置 1:置顶
  19818. type: integer
  19819. publishdate:
  19820. description: 发布日期
  19821. type: string
  19822. title:
  19823. description: 标题
  19824. type: string
  19825. updatedate:
  19826. description: 修改时间
  19827. type: string
  19828. type: object
  19829. models.WrSpecialMatchOrder:
  19830. properties:
  19831. amount:
  19832. description: 金额 = 数量 * 价格
  19833. type: number
  19834. buyorsell:
  19835. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19836. type: integer
  19837. cancelqty:
  19838. description: 撤销数量
  19839. type: number
  19840. deliverygoodscode:
  19841. description: 品种代码
  19842. type: string
  19843. deliverygoodsid:
  19844. description: 品种ID
  19845. type: integer
  19846. deliverygoodsname:
  19847. description: 品种名称
  19848. type: string
  19849. enumdicname:
  19850. description: 单位名称
  19851. type: string
  19852. fixedprice:
  19853. description: 固定价格(价格)
  19854. type: number
  19855. haswr:
  19856. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19857. type: integer
  19858. isspecified:
  19859. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19860. type: integer
  19861. marketid:
  19862. description: 市场ID
  19863. type: integer
  19864. matchuserid:
  19865. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19866. type: integer
  19867. matchusername:
  19868. description: 指定方
  19869. type: string
  19870. minivalue:
  19871. description: 现货商品最小变动值
  19872. type: integer
  19873. optioncompare:
  19874. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19875. type: string
  19876. orderqty:
  19877. description: 委托数量
  19878. type: number
  19879. ordertime:
  19880. description: 委托时间
  19881. type: string
  19882. pricemove:
  19883. description: 升贴水(浮动价时填写) - [挂牌]
  19884. type: number
  19885. tradedate:
  19886. description: 交易日(yyyyMMdd)
  19887. type: string
  19888. tradeprice:
  19889. description: 成交价格
  19890. type: number
  19891. tradeqty:
  19892. description: 成交数量
  19893. type: number
  19894. userid:
  19895. description: 用户ID
  19896. type: integer
  19897. username:
  19898. description: 发起方
  19899. type: string
  19900. warehouseid:
  19901. description: 仓库ID
  19902. type: integer
  19903. warehousename:
  19904. description: 仓库名称
  19905. type: string
  19906. wrfactortypeid:
  19907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19908. type: string
  19909. wrfactortypename:
  19910. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19911. type: string
  19912. wrpricetype:
  19913. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19914. type: integer
  19915. wrstandardcode:
  19916. description: 现货商品代码
  19917. type: string
  19918. wrstandardid:
  19919. description: 现货商品ID
  19920. type: integer
  19921. wrstandardname:
  19922. description: 商品名称
  19923. type: string
  19924. wrtradeorderid:
  19925. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19926. type: string
  19927. wrtradeorderstatus:
  19928. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19929. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19930. type: integer
  19931. wrtradetype:
  19932. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19933. type: integer
  19934. wrtypename:
  19935. description: 商品
  19936. type: string
  19937. type: object
  19938. models.WrSpotGroupTradeSum:
  19939. properties:
  19940. deliverygoodscode:
  19941. description: 现货品种代码
  19942. type: string
  19943. deliverygoodsid:
  19944. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19945. type: integer
  19946. deliverygoodsname:
  19947. description: 现货品种名称
  19948. type: string
  19949. lastavgprice:
  19950. description: 上上个交易日价格(前2天价格)
  19951. type: string
  19952. lastreckondate:
  19953. description: 上上个交易日(前2天交易日)
  19954. type: string
  19955. reckondate:
  19956. description: 上个交易日(前1天交易日)
  19957. type: string
  19958. todayavgprice:
  19959. description: 上个交易日价格(前1天价格)
  19960. type: string
  19961. updown:
  19962. description: 涨跌
  19963. type: string
  19964. updownratio:
  19965. description: 涨幅(已格式化, 直接显示即可)
  19966. type: string
  19967. type: object
  19968. models.WrSpotGroupTradeSumDetail:
  19969. properties:
  19970. deliverygoodsid:
  19971. description: 现货商品id
  19972. type: integer
  19973. price:
  19974. description: 价格
  19975. type: number
  19976. reckondate:
  19977. description: 日期(yyymmdd, 如:20211031)
  19978. type: string
  19979. type: object
  19980. models.WrSpotGroupTradeSumEx:
  19981. properties:
  19982. lst:
  19983. description: 指数列表
  19984. items:
  19985. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19986. type: array
  19987. prereckondate:
  19988. description: 上上个交易日(yyymmdd)
  19989. type: string
  19990. reckondate:
  19991. description: 上个交易日(yyyymmdd)
  19992. type: string
  19993. type: object
  19994. models.WrStandardFactoryItem:
  19995. properties:
  19996. dgfactoryitemid:
  19997. description: 选择项id
  19998. type: integer
  19999. dgfactoryitemvalue:
  20000. description: 要素项值
  20001. type: string
  20002. warehouseid:
  20003. description: 仓库id
  20004. type: integer
  20005. type: object
  20006. models.WrStandardFactoryItemEx:
  20007. properties:
  20008. dgfactoryitemtypeid:
  20009. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20010. type: integer
  20011. itemlst:
  20012. description: 要素项列表
  20013. items:
  20014. $ref: '#/definitions/models.WrStandardFactoryItem'
  20015. type: array
  20016. itemtypename:
  20017. description: 要素项类型名称
  20018. type: string
  20019. wrstandardid:
  20020. description: 品类
  20021. type: integer
  20022. type: object
  20023. models.WrTradeDetail:
  20024. properties:
  20025. accountid:
  20026. description: 资金账号
  20027. type: integer
  20028. bannerpicurl:
  20029. description: Banner图
  20030. type: string
  20031. begindate:
  20032. description: 开始交易日(yyyymmdd)
  20033. type: string
  20034. buyorsell:
  20035. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20036. type: integer
  20037. chargevalue:
  20038. description: 手续费
  20039. type: number
  20040. deliverygoodscode:
  20041. description: 品种代码
  20042. type: string
  20043. deliverygoodsid:
  20044. description: 品种ID
  20045. type: integer
  20046. deliverygoodsname:
  20047. description: 品种名称
  20048. type: string
  20049. deliverymonth:
  20050. description: 交收月
  20051. type: string
  20052. enddate:
  20053. description: 结束交易日(yyyymmdd)
  20054. type: string
  20055. enumdicname:
  20056. description: 单位名称
  20057. type: string
  20058. haswr:
  20059. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20060. type: integer
  20061. marketid:
  20062. description: 市场ID
  20063. type: integer
  20064. matchaccountid:
  20065. description: 对手账号
  20066. type: integer
  20067. matchusername:
  20068. description: 对手方
  20069. type: string
  20070. minivalue:
  20071. description: 现货商品最小变动值
  20072. type: integer
  20073. optioncompare:
  20074. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20075. type: string
  20076. thumurls:
  20077. description: 缩略图
  20078. type: string
  20079. tradedate:
  20080. description: 交易日(yyyyMMdd)
  20081. type: string
  20082. tradeprice:
  20083. description: 成交价格
  20084. type: number
  20085. tradeqty:
  20086. description: 成交数量
  20087. type: number
  20088. tradetime:
  20089. description: 成交时间
  20090. type: string
  20091. userid:
  20092. description: 用户ID
  20093. type: integer
  20094. warehouseid:
  20095. description: 仓库ID
  20096. type: integer
  20097. warehousename:
  20098. description: 仓库名称
  20099. type: string
  20100. wrfactortypeid:
  20101. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20102. type: string
  20103. wrfactortypename:
  20104. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20105. type: string
  20106. wrstandardcode:
  20107. description: 现货商品代码
  20108. type: string
  20109. wrstandardid:
  20110. description: 现货商品ID
  20111. type: integer
  20112. wrstandardname:
  20113. description: 商品名称
  20114. type: string
  20115. wrtradedetailid:
  20116. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20117. type: string
  20118. wrtradetype:
  20119. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20120. type: integer
  20121. wrtypename:
  20122. description: 商品
  20123. type: string
  20124. type: object
  20125. models.WrTradeOrderDetail:
  20126. properties:
  20127. buyorsell:
  20128. description: 买卖方向 0-买 1-卖
  20129. type: integer
  20130. goodsid:
  20131. description: 商品id
  20132. type: integer
  20133. orderid:
  20134. description: 委托单号
  20135. type: string
  20136. orderprice:
  20137. description: 期初均价
  20138. type: number
  20139. orderqty:
  20140. description: 委托数量
  20141. type: integer
  20142. userid:
  20143. description: 用户id
  20144. type: integer
  20145. username:
  20146. description: 用户名称(已脱敏)
  20147. type: string
  20148. type: object
  20149. models.WrTypeItem:
  20150. properties:
  20151. name:
  20152. description: 名称
  20153. type: string
  20154. value:
  20155. description: 值
  20156. type: string
  20157. type: object
  20158. models.WrUserFriend:
  20159. properties:
  20160. friendname:
  20161. description: 朋友名称(已脱敏)
  20162. type: string
  20163. frienduserid:
  20164. description: 朋友id
  20165. type: integer
  20166. isfriend:
  20167. description: 是否好友 0-不是 1-是
  20168. type: integer
  20169. userid:
  20170. description: 用户id
  20171. type: integer
  20172. type: object
  20173. models.WrUserReceiptInfo:
  20174. properties:
  20175. address:
  20176. description: 地址[发票类型:企业]
  20177. type: string
  20178. autoid:
  20179. description: AutoID
  20180. type: integer
  20181. contactinfo:
  20182. description: 联系方式
  20183. type: string
  20184. idnum:
  20185. description: 身份证号码[发票类型:个人]
  20186. type: string
  20187. isdefault:
  20188. description: 是否默认地址 - 0:否 1:是
  20189. type: integer
  20190. receiptaccount:
  20191. description: 发票帐号[发票类型:企业]
  20192. type: string
  20193. receiptbank:
  20194. description: 发票开户行[发票类型:企业]
  20195. type: string
  20196. receipttype:
  20197. description: 发票类型 - 1:个人 2:企业
  20198. type: integer
  20199. taxpayerid:
  20200. description: 纳税人识别号
  20201. type: string
  20202. userid:
  20203. description: 用户ID
  20204. type: integer
  20205. username:
  20206. description: 户名(个人姓名或企业名称)
  20207. type: string
  20208. type: object
  20209. models.Wrtradetradequote:
  20210. properties:
  20211. begindate:
  20212. description: 开始日期(结果含开始日期) yyyymmdd
  20213. type: string
  20214. buyaccountid:
  20215. description: 买方账号ID
  20216. type: integer
  20217. buyuserid:
  20218. description: 买方用户ID
  20219. type: integer
  20220. deliverygoodsid:
  20221. description: 现货品种ID
  20222. type: integer
  20223. enddate:
  20224. description: 结束日期(结果含结束日期) yyyymmdd
  20225. type: string
  20226. marketid:
  20227. description: 市场ID
  20228. type: integer
  20229. sellaccountid:
  20230. description: 卖方账号ID
  20231. type: integer
  20232. selluserid:
  20233. description: 卖方用户ID
  20234. type: integer
  20235. tradeamount:
  20236. description: 成交金额
  20237. type: number
  20238. tradedate:
  20239. description: 交易日(yyyyMMdd)
  20240. type: string
  20241. tradeprice:
  20242. description: 成交价格
  20243. type: number
  20244. tradeqty:
  20245. description: 成交数量
  20246. type: integer
  20247. tradetime:
  20248. description: 成交时间
  20249. type: string
  20250. wrfactortypeid:
  20251. description: 仓单要素类型ID
  20252. type: integer
  20253. wrstandardid:
  20254. description: 现货商品ID
  20255. type: integer
  20256. wrtradedetailid:
  20257. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20258. type: string
  20259. type: object
  20260. models.XHBRAND:
  20261. properties:
  20262. brandid:
  20263. description: 品牌id
  20264. type: integer
  20265. brandname:
  20266. description: 品牌名称
  20267. type: string
  20268. isvalid:
  20269. description: 是否有效 0-无效 1-有效
  20270. type: integer
  20271. type: object
  20272. models.XHDeliveryGoods:
  20273. properties:
  20274. areauserid:
  20275. description: 所属机构
  20276. type: integer
  20277. bdlst:
  20278. description: 品牌列表
  20279. items:
  20280. $ref: '#/definitions/models.XHBRAND'
  20281. type: array
  20282. deliverygoodscode:
  20283. description: 现货品种代码
  20284. type: string
  20285. deliverygoodsid:
  20286. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20287. type: integer
  20288. deliverygoodsname:
  20289. description: 现货品种名称
  20290. type: string
  20291. dgstatus:
  20292. description: 品种状态 - 作废 - 0:未激活 1:正常
  20293. type: integer
  20294. filterSubEmpty:
  20295. description: 过滤下级为空的
  20296. type: integer
  20297. isvalid:
  20298. description: 是否有效 - 0:无效 1:有效
  20299. type: integer
  20300. remark:
  20301. description: 备注
  20302. type: string
  20303. unitid:
  20304. description: 单位id(目前看,数据库中是空值)
  20305. type: integer
  20306. wdlst:
  20307. description: 品类(现货商品)列表
  20308. items:
  20309. $ref: '#/definitions/models.XHWrstandard'
  20310. type: array
  20311. type: object
  20312. models.XHMiddleGoods:
  20313. properties:
  20314. GPLST:
  20315. description: 期货品种列表
  20316. items:
  20317. $ref: '#/definitions/models.TBGoodsGroup'
  20318. type: array
  20319. convertratio:
  20320. description: 拆算系数
  20321. type: number
  20322. costratio:
  20323. description: 成本权重
  20324. type: number
  20325. deliverygoodsid:
  20326. description: 现货商品id
  20327. type: integer
  20328. enumdicname:
  20329. description: 单位名称
  20330. type: string
  20331. middlegoodscode:
  20332. description: 套保品种代码
  20333. type: string
  20334. middlegoodsid:
  20335. description: 套保品种id
  20336. type: integer
  20337. middlegoodsname:
  20338. description: 套保品种名称
  20339. type: string
  20340. unitid:
  20341. description: 单位id
  20342. type: integer
  20343. type: object
  20344. models.XHWrstandard:
  20345. properties:
  20346. bannerpicurl:
  20347. description: banner图
  20348. type: string
  20349. deliverygoodsid:
  20350. description: 品种ID
  20351. type: integer
  20352. enumdicname:
  20353. description: 单位名称
  20354. type: string
  20355. mglst:
  20356. description: 套保品列表
  20357. items:
  20358. $ref: '#/definitions/models.XHMiddleGoods'
  20359. type: array
  20360. pictureurls:
  20361. description: 详情图片(逗号分隔)
  20362. type: string
  20363. thumurls:
  20364. description: 缩略图片(1:1)(逗号分隔)
  20365. type: string
  20366. unitid:
  20367. description: 单位id
  20368. type: integer
  20369. vatrate:
  20370. description: 增值税率
  20371. type: number
  20372. wrstandardcode:
  20373. description: 现货商品代码
  20374. type: string
  20375. wrstandardid:
  20376. description: 现货商品ID(SEQ_WRSTANDARD)
  20377. type: integer
  20378. wrstandardname:
  20379. description: 现货商品名称
  20380. type: string
  20381. type: object
  20382. models.XhcpSellBackApplyEx:
  20383. properties:
  20384. applyremark:
  20385. description: 申请备注
  20386. type: string
  20387. expirytype:
  20388. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20389. type: integer
  20390. goodsspec:
  20391. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20392. type: integer
  20393. holeflag:
  20394. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20395. type: integer
  20396. isunopened:
  20397. description: 是否原封 - 1:否 2:是
  20398. type: integer
  20399. mpflag:
  20400. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20401. type: integer
  20402. openflag:
  20403. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20404. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20405. type: integer
  20406. phonenum:
  20407. description: 联系电话
  20408. type: string
  20409. userid:
  20410. description: 所属用户ID
  20411. type: integer
  20412. zpflag:
  20413. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20414. type: integer
  20415. required:
  20416. - userid
  20417. type: object
  20418. models.Xhcpsellbackapply:
  20419. properties:
  20420. applyid:
  20421. description: 申请人
  20422. type: integer
  20423. applyremark:
  20424. description: 申请备注
  20425. type: string
  20426. applysrc:
  20427. description: 申请来源 - 1:管理端 2:终端
  20428. type: integer
  20429. applystatus:
  20430. description: 申请状态 - 1:待确认 2:已处理
  20431. type: integer
  20432. applytime:
  20433. description: 申请时间
  20434. type: string
  20435. auditremark:
  20436. description: 审核备注
  20437. type: string
  20438. auditsrc:
  20439. description: 审核来源 - 1:管理端 2:终端
  20440. type: integer
  20441. expirytype:
  20442. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20443. type: integer
  20444. goodsspec:
  20445. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20446. type: integer
  20447. holeflag:
  20448. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20449. type: integer
  20450. isunopened:
  20451. description: 是否原封 - 1:否 2:是
  20452. type: integer
  20453. mpflag:
  20454. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20455. type: integer
  20456. openflag:
  20457. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20458. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20459. type: integer
  20460. phonenum:
  20461. description: 联系电话
  20462. type: string
  20463. sellbackapplyid:
  20464. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20465. type: string
  20466. userid:
  20467. description: 所属用户ID
  20468. type: integer
  20469. zpflag:
  20470. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20471. type: integer
  20472. required:
  20473. - userid
  20474. type: object
  20475. order.QueryHisTradeDetailRsp:
  20476. properties:
  20477. accountid:
  20478. description: 账户ID[报价币种]
  20479. type: integer
  20480. advanceratio:
  20481. description: 首付比率
  20482. type: number
  20483. buildtype:
  20484. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20485. type: integer
  20486. buyorsell:
  20487. description: 方向 - 0:买 1:卖
  20488. type: integer
  20489. charge:
  20490. description: 手续费
  20491. type: number
  20492. closecharge:
  20493. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20494. type: number
  20495. closeexchagechargevalue:
  20496. description: 平仓交易所手续费设置值
  20497. type: number
  20498. closefeealgorithm:
  20499. description: 平仓手续费收取方式 1:比率 2:固定
  20500. type: integer
  20501. closememberchargevalue:
  20502. description: 平仓会员手续费设置值
  20503. type: number
  20504. closepl:
  20505. description: 平仓盈亏
  20506. type: number
  20507. closepl2:
  20508. description: 平仓盈亏[逐笔]
  20509. type: number
  20510. closeqty:
  20511. description: 平仓数量(先建后平操作 需要记录)
  20512. type: number
  20513. creditamount:
  20514. description: 授信金额
  20515. type: number
  20516. decimalplace:
  20517. description: 商品报价小数位
  20518. type: integer
  20519. enumdicname:
  20520. description: 单位名称
  20521. type: string
  20522. gcaccountid:
  20523. description: 账户ID[合约币种]
  20524. type: integer
  20525. goodscode:
  20526. description: 商品代码
  20527. type: string
  20528. goodsid:
  20529. description: 商品ID
  20530. type: integer
  20531. goodsname:
  20532. description: 商品名称
  20533. type: string
  20534. goodunitid:
  20535. description: 商品单位id
  20536. type: integer
  20537. histradedate:
  20538. description: 历史交易日
  20539. type: string
  20540. intclosepl:
  20541. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20542. type: integer
  20543. isconfirmexercise:
  20544. description: 是否确认行权- 0:否 1:是
  20545. type: integer
  20546. ismain:
  20547. description: 是否主单 - 0:不是 1:是
  20548. type: integer
  20549. ispreexercise:
  20550. description: 是否预申报- 0:否 1:是
  20551. type: integer
  20552. isreckoned:
  20553. description: 是否结算 - 0:未结算 1:已结算
  20554. type: integer
  20555. isvaliddata:
  20556. description: 是否有效 - 0:无效 1:有效
  20557. type: integer
  20558. listingselecttype:
  20559. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20560. type: integer
  20561. marketid:
  20562. description: 市场ID
  20563. type: integer
  20564. marketname:
  20565. description: 市场名称
  20566. type: string
  20567. matchaccountid:
  20568. description: 对手账号id
  20569. type: integer
  20570. memberuserid:
  20571. description: 会员id 个人投资者 需要填写
  20572. type: integer
  20573. opencharge:
  20574. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20575. type: number
  20576. openexchagechargevalue:
  20577. description: 建仓交易所手续费设置值
  20578. type: number
  20579. openfeealgorithm:
  20580. description: 建仓手续费收取方式 1:比率 2:固定
  20581. type: integer
  20582. openmemberchargevalue:
  20583. description: 建仓会员手续费设置值
  20584. type: number
  20585. openqty:
  20586. description: 开仓数量(先建后平操作 需要记录)
  20587. type: number
  20588. optiontype:
  20589. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20590. type: integer
  20591. orderid:
  20592. description: 委托单号
  20593. type: string
  20594. payamount:
  20595. description: 支付金额(付款金额)
  20596. type: number
  20597. performanceplanid:
  20598. description: 履约计划ID[期权]
  20599. type: integer
  20600. performancestatus:
  20601. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20602. type: integer
  20603. preexerciseprice:
  20604. description: 预申报价格
  20605. type: number
  20606. premium:
  20607. description: 权利金 - [持仓单的权利金]
  20608. type: number
  20609. qtydecimalplace:
  20610. description: 商品报价小数位
  20611. type: integer
  20612. recvamount:
  20613. description: 到账金额 = 成交金额 - 手续费
  20614. type: number
  20615. relatedouttradeid:
  20616. description: 关联外部成交单ID
  20617. type: integer
  20618. status:
  20619. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20620. type: integer
  20621. totalamount:
  20622. description: 订单总额 = 成交金额 + 手续费
  20623. type: number
  20624. tradeamount:
  20625. description: 成交金额[账户币种,用于所有权]
  20626. type: number
  20627. tradedate:
  20628. description: 交易日(yyyyMMdd)
  20629. type: string
  20630. tradeid:
  20631. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20632. type: string
  20633. trademode:
  20634. description: 交易模式
  20635. type: integer
  20636. tradeprice:
  20637. description: 成交价格
  20638. type: number
  20639. tradeproperty:
  20640. description: 交易属性
  20641. type: integer
  20642. tradeqty:
  20643. description: 成交数量
  20644. type: number
  20645. tradetime:
  20646. description: 成交时间
  20647. type: string
  20648. tradetype:
  20649. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20650. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20651. type: integer
  20652. required:
  20653. - accountid
  20654. - buyorsell
  20655. - goodsid
  20656. - histradedate
  20657. - marketid
  20658. - memberuserid
  20659. - orderid
  20660. - tradeamount
  20661. - tradedate
  20662. - tradeid
  20663. - tradeprice
  20664. - tradeqty
  20665. - tradetime
  20666. type: object
  20667. order.QueryHisTradeOrderDetailRsp:
  20668. properties:
  20669. accountid:
  20670. description: 账户ID[报价币种]
  20671. type: integer
  20672. buildtype:
  20673. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20674. type: integer
  20675. buyorsell:
  20676. description: 买卖 - 0:买 1:卖
  20677. type: integer
  20678. cancelorderid:
  20679. description: 撤单单号(撤单时填写)
  20680. type: string
  20681. cancelqty:
  20682. description: 撤单数量
  20683. type: number
  20684. clientordertime:
  20685. description: 客户端委托时间
  20686. type: string
  20687. clientticket:
  20688. description: 客户端流水号
  20689. type: string
  20690. clienttype:
  20691. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20692. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20693. type: integer
  20694. closeexchagechargevalue:
  20695. description: 平仓交易所手续费设置值
  20696. type: number
  20697. closefeealgorithm:
  20698. description: 平仓手续费收取方式 1:比率 2:固定
  20699. type: integer
  20700. closefreezecharge:
  20701. description: 平仓冻结手续费(先建后平操作,需要记录)
  20702. type: number
  20703. closememberchargevalue:
  20704. description: 平仓会员手续费设置值
  20705. type: number
  20706. closeqty:
  20707. description: 平仓数量(先建后平操作 需要记录)
  20708. type: number
  20709. closetradeqty:
  20710. description: 平仓成交数量(先建后平操作,需要记录)
  20711. type: number
  20712. closeunfreezecharge:
  20713. description: 平仓解冻手续费(先建后平操作,需要记录)
  20714. type: number
  20715. decimalplace:
  20716. description: 商品报价小数位
  20717. type: integer
  20718. delistingtype:
  20719. description: 摘牌类型 - 1:价格最优 2:点选成交
  20720. type: integer
  20721. enumdicname:
  20722. description: 单位名称
  20723. type: string
  20724. freezecharge:
  20725. description: 冻结手续费
  20726. type: number
  20727. freezemargin:
  20728. description: 冻结保证金(冻结交易金额)
  20729. type: number
  20730. gcaccountid:
  20731. description: 账户ID[合约币种]
  20732. type: integer
  20733. goodscode:
  20734. description: 商品代码
  20735. type: string
  20736. goodsid:
  20737. description: 商品ID
  20738. type: integer
  20739. goodsname:
  20740. description: 商品名称
  20741. type: string
  20742. goodunitid:
  20743. description: 商品单位id
  20744. type: integer
  20745. histradedate:
  20746. description: 历史交易日
  20747. type: string
  20748. isconfirmexercise:
  20749. description: 是否确认行权- 0:否 1:是
  20750. type: integer
  20751. ispreexercise:
  20752. description: 是否预申报- 0:否 1:是
  20753. type: integer
  20754. isvaliddata:
  20755. description: 是否有效 - 0:无效 1:有效
  20756. type: integer
  20757. listingselecttype:
  20758. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20759. type: integer
  20760. marginalgorithm:
  20761. description: 保证金收取方式 1:比率 2:固定
  20762. type: integer
  20763. marginvalue:
  20764. description: 即市保证金设置值
  20765. type: number
  20766. marketid:
  20767. description: 市场ID
  20768. type: integer
  20769. marketmaxsub:
  20770. description: 市价最大偏移范围
  20771. type: number
  20772. marketname:
  20773. description: 市场名称
  20774. type: string
  20775. memberuserid:
  20776. description: 所属会员UserID
  20777. type: integer
  20778. openexchagechargevalue:
  20779. description: 建仓交易所手续费设置值
  20780. type: number
  20781. openfeealgorithm:
  20782. description: 建仓手续费收取方式 1:比率 2:固定
  20783. type: integer
  20784. openfreezecharge:
  20785. description: 开仓冻结手续费(先建后平操作,需要记录)
  20786. type: number
  20787. openmemberchargevalue:
  20788. description: 建仓会员手续费设置值
  20789. type: number
  20790. openqty:
  20791. description: 开仓数量(先建后平操作,需要记录)
  20792. type: number
  20793. opentradeqty:
  20794. description: 开仓成交数量(先建后平操作,需要记录)
  20795. type: number
  20796. openunfreezecharge:
  20797. description: 开仓解冻手续费(先建后平操作,需要记录)
  20798. type: number
  20799. operatetype:
  20800. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20801. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20802. 15:管理端协议转让
  20803. type: integer
  20804. operatorid:
  20805. description: 登录账号(LoginID)
  20806. type: integer
  20807. optiontype:
  20808. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20809. type: integer
  20810. orderid:
  20811. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20812. type: string
  20813. orderprice:
  20814. description: 委托价格
  20815. type: number
  20816. orderqty:
  20817. description: 委托数量
  20818. type: number
  20819. ordersrc:
  20820. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20821. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20822. type: integer
  20823. orderstatus:
  20824. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20825. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20826. 16:成交失败违约(荷兰式竞拍专用)
  20827. type: integer
  20828. ordertime:
  20829. description: 委托时间
  20830. type: string
  20831. preexerciseprice:
  20832. description: 预申报价格
  20833. type: number
  20834. premium:
  20835. description: 权利金
  20836. type: number
  20837. preorderid:
  20838. description: 关联预埋单号(止盈止损单时填写)
  20839. type: string
  20840. pricemode:
  20841. description: '取价方式 - 1:市价 2: 限价'
  20842. type: integer
  20843. qtydecimalplace:
  20844. description: 成交量小数位
  20845. type: integer
  20846. quoteid:
  20847. description: 报价单ID
  20848. type: integer
  20849. relatedid:
  20850. description: 关联单号(交割单)
  20851. type: string
  20852. retcode:
  20853. description: 错误代码
  20854. type: integer
  20855. sessionid:
  20856. description: 会话ID
  20857. type: integer
  20858. tradedate:
  20859. description: 交易日(yyyyMMdd)
  20860. type: string
  20861. trademode:
  20862. description: 交易模式
  20863. type: integer
  20864. tradeproperty:
  20865. description: 交易属性
  20866. type: integer
  20867. tradeqty:
  20868. description: 成交数量
  20869. type: number
  20870. unfreezecharge:
  20871. description: 解冻手续费
  20872. type: number
  20873. unfreezemargin:
  20874. description: 解冻保证金
  20875. type: number
  20876. updatetime:
  20877. description: 更新时间
  20878. type: string
  20879. uuid:
  20880. description: 发起端唯一id
  20881. type: string
  20882. validtime:
  20883. description: 有效期限
  20884. type: string
  20885. validtype:
  20886. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20887. type: integer
  20888. volumetype:
  20889. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20890. type: integer
  20891. required:
  20892. - accountid
  20893. - buildtype
  20894. - buyorsell
  20895. - goodsid
  20896. - histradedate
  20897. - marketid
  20898. - memberuserid
  20899. - operatetype
  20900. - orderid
  20901. - orderqty
  20902. - ordertime
  20903. - pricemode
  20904. - tradedate
  20905. - validtype
  20906. type: object
  20907. order.QueryTradeDetailRsp:
  20908. properties:
  20909. accountid:
  20910. description: 账户ID[报价币种]
  20911. type: integer
  20912. advanceratio:
  20913. description: 首付比率
  20914. type: number
  20915. buildtype:
  20916. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20917. type: integer
  20918. buyorsell:
  20919. description: 方向 - 0:买 1:卖
  20920. type: integer
  20921. charge:
  20922. description: 手续费
  20923. type: number
  20924. closecharge:
  20925. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20926. type: number
  20927. closeexchagechargevalue:
  20928. description: 平仓交易所手续费设置值
  20929. type: number
  20930. closefeealgorithm:
  20931. description: 平仓手续费收取方式 1:比率 2:固定
  20932. type: integer
  20933. closememberchargevalue:
  20934. description: 平仓会员手续费设置值
  20935. type: number
  20936. closepl:
  20937. description: 平仓盈亏
  20938. type: number
  20939. closepl2:
  20940. description: 平仓盈亏[逐笔]
  20941. type: number
  20942. closeqty:
  20943. description: 平仓数量(先建后平操作 需要记录)
  20944. type: number
  20945. creditamount:
  20946. description: 授信金额
  20947. type: number
  20948. decimalplace:
  20949. description: 商品报价小数位
  20950. type: integer
  20951. enumdicname:
  20952. description: 单位名称
  20953. type: string
  20954. gcaccountid:
  20955. description: 账户ID[合约币种]
  20956. type: integer
  20957. goodscode:
  20958. description: 商品代码
  20959. type: string
  20960. goodsid:
  20961. description: 商品ID
  20962. type: integer
  20963. goodsname:
  20964. description: 商品名称
  20965. type: string
  20966. goodunitid:
  20967. description: 商品单位id
  20968. type: integer
  20969. intclosepl:
  20970. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20971. type: integer
  20972. isconfirmexercise:
  20973. description: 是否确认行权- 0:否 1:是
  20974. type: integer
  20975. ismain:
  20976. description: 是否主单 - 0:不是 1:是
  20977. type: integer
  20978. ispreexercise:
  20979. description: 是否预申报- 0:否 1:是
  20980. type: integer
  20981. isreckoned:
  20982. description: 是否结算 - 0:未结算 1:已结算
  20983. type: integer
  20984. listingselecttype:
  20985. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20986. type: integer
  20987. marketid:
  20988. description: 市场ID
  20989. type: integer
  20990. marketname:
  20991. description: 市场名称
  20992. type: string
  20993. matchaccountid:
  20994. description: 对手账号id
  20995. type: integer
  20996. memberuserid:
  20997. description: 会员id 个人投资者 需要填写
  20998. type: integer
  20999. opencharge:
  21000. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21001. type: number
  21002. openexchagechargevalue:
  21003. description: 建仓交易所手续费设置值
  21004. type: number
  21005. openfeealgorithm:
  21006. description: 建仓手续费收取方式 1:比率 2:固定
  21007. type: integer
  21008. openmemberchargevalue:
  21009. description: 建仓会员手续费设置值
  21010. type: number
  21011. openqty:
  21012. description: 开仓数量(先建后平操作 需要记录)
  21013. type: number
  21014. optiontype:
  21015. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21016. type: integer
  21017. orderid:
  21018. description: 委托单号
  21019. type: string
  21020. payamount:
  21021. description: 支付金额(付款金额)
  21022. type: number
  21023. performanceplanid:
  21024. description: 履约计划ID[期权]
  21025. type: integer
  21026. performancestatus:
  21027. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21028. type: integer
  21029. preexerciseprice:
  21030. description: 预申报价格
  21031. type: number
  21032. premium:
  21033. description: 权利金 - [持仓单的权利金]
  21034. type: number
  21035. qtydecimalplace:
  21036. description: 商品报价小数位
  21037. type: integer
  21038. recvamount:
  21039. description: 到账金额 = 成交金额 - 手续费
  21040. type: number
  21041. relatedouttradeid:
  21042. description: 关联外部成交单ID
  21043. type: integer
  21044. status:
  21045. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21046. type: integer
  21047. totalamount:
  21048. description: 订单总额 = 成交金额 + 手续费
  21049. type: number
  21050. tradeamount:
  21051. description: 成交金额[账户币种,用于所有权]
  21052. type: number
  21053. tradedate:
  21054. description: 交易日(yyyyMMdd)
  21055. type: string
  21056. tradeid:
  21057. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21058. type: string
  21059. trademode:
  21060. description: 交易模式
  21061. type: integer
  21062. tradeprice:
  21063. description: 成交价格
  21064. type: number
  21065. tradeproperty:
  21066. description: 交易属性
  21067. type: integer
  21068. tradeqty:
  21069. description: 成交数量
  21070. type: number
  21071. tradetime:
  21072. description: 成交时间
  21073. type: string
  21074. tradetype:
  21075. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21076. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21077. type: integer
  21078. required:
  21079. - accountid
  21080. - buyorsell
  21081. - goodsid
  21082. - marketid
  21083. - memberuserid
  21084. - orderid
  21085. - tradeamount
  21086. - tradedate
  21087. - tradeid
  21088. - tradeprice
  21089. - tradeqty
  21090. - tradetime
  21091. type: object
  21092. order.QueryTradeOrderDetailRsp:
  21093. properties:
  21094. accountid:
  21095. description: 账户ID[报价币种]
  21096. type: integer
  21097. buildtype:
  21098. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21099. type: integer
  21100. buyorsell:
  21101. description: 买卖 - 0:买 1:卖
  21102. type: integer
  21103. cancelorderid:
  21104. description: 撤单单号(撤单时填写)
  21105. type: string
  21106. cancelqty:
  21107. description: 撤单数量
  21108. type: number
  21109. clienttype:
  21110. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21111. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21112. type: integer
  21113. closefreezecharge:
  21114. description: 平仓冻结手续费(先建后平操作,需要记录)
  21115. type: number
  21116. closeqty:
  21117. description: 平仓数量(先建后平操作 需要记录)
  21118. type: number
  21119. closetradeqty:
  21120. description: 平仓成交数量(先建后平操作,需要记录)
  21121. type: number
  21122. closeunfreezecharge:
  21123. description: 平仓解冻手续费(先建后平操作,需要记录)
  21124. type: number
  21125. decimalplace:
  21126. description: 商品报价小数位
  21127. type: integer
  21128. delistingtype:
  21129. description: 摘牌类型 - 1:价格最优 2:点选成交
  21130. type: integer
  21131. enableqty:
  21132. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  21133. type: number
  21134. enumdicname:
  21135. description: 单位名称
  21136. type: string
  21137. freezecharge:
  21138. description: 冻结手续费
  21139. type: number
  21140. freezemargin:
  21141. description: 冻结保证金(冻结交易金额)
  21142. type: number
  21143. goodscode:
  21144. description: 商品代码
  21145. type: string
  21146. goodsid:
  21147. description: 商品ID
  21148. type: integer
  21149. goodsname:
  21150. description: 商品名称
  21151. type: string
  21152. goodunitid:
  21153. description: 商品单位id
  21154. type: integer
  21155. listingselecttype:
  21156. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21157. type: integer
  21158. marketid:
  21159. description: 市场ID
  21160. type: integer
  21161. marketname:
  21162. description: 市场名称
  21163. type: string
  21164. openfreezecharge:
  21165. description: 开仓冻结手续费(先建后平操作,需要记录)
  21166. type: number
  21167. openqty:
  21168. description: 开仓数量(先建后平操作,需要记录)
  21169. type: number
  21170. opentradeqty:
  21171. description: 开仓成交数量(先建后平操作,需要记录)
  21172. type: number
  21173. openunfreezecharge:
  21174. description: 开仓解冻手续费(先建后平操作,需要记录)
  21175. type: number
  21176. operatetype:
  21177. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21178. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21179. 15:管理端协议转让
  21180. type: integer
  21181. operatorid:
  21182. description: 登录账号(LoginID)
  21183. type: integer
  21184. orderid:
  21185. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21186. type: string
  21187. orderprice:
  21188. description: 委托价格
  21189. type: number
  21190. orderqty:
  21191. description: 委托数量
  21192. type: number
  21193. ordersrc:
  21194. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21195. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21196. type: integer
  21197. orderstatus:
  21198. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21199. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21200. 16:成交失败违约(荷兰式竞拍专用)
  21201. type: integer
  21202. ordertime:
  21203. description: 委托时间
  21204. type: string
  21205. preorderid:
  21206. description: 关联预埋单号(止盈止损单时填写)
  21207. type: string
  21208. pricemode:
  21209. description: '取价方式 - 1:市价 2: 限价'
  21210. type: integer
  21211. qtydecimalplace:
  21212. description: 商品报价小数位
  21213. type: integer
  21214. relatedid:
  21215. description: 关联单号(交割单)
  21216. type: string
  21217. tradedate:
  21218. description: 交易日(yyyyMMdd)
  21219. type: string
  21220. trademode:
  21221. description: 交易模式
  21222. type: integer
  21223. tradeqty:
  21224. description: 成交数量
  21225. type: number
  21226. unfreezecharge:
  21227. description: 解冻手续费
  21228. type: number
  21229. unfreezemargin:
  21230. description: 解冻保证金
  21231. type: number
  21232. validtime:
  21233. description: 有效期限
  21234. type: string
  21235. validtype:
  21236. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21237. type: integer
  21238. volumetype:
  21239. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21240. type: integer
  21241. required:
  21242. - accountid
  21243. - buildtype
  21244. - buyorsell
  21245. - goodsid
  21246. - marketid
  21247. - operatetype
  21248. - orderqty
  21249. - ordertime
  21250. - pricemode
  21251. - tradedate
  21252. - validtype
  21253. type: object
  21254. order.QueryTradePositionRsp:
  21255. properties:
  21256. accountid:
  21257. description: 资金账户
  21258. type: integer
  21259. agreeunit:
  21260. description: 合约单位
  21261. type: number
  21262. averageprice:
  21263. description: 持仓均价
  21264. type: number
  21265. buyorsell:
  21266. description: 方向 - 0:买 1:卖
  21267. type: integer
  21268. closetotalqty:
  21269. description: 平仓总数量
  21270. type: number
  21271. curholderamount:
  21272. description: 当前持仓总金额[商品币种]
  21273. type: number
  21274. curpositionqty:
  21275. description: 当前持仓总数量
  21276. type: number
  21277. currencyid:
  21278. description: 报价货币ID
  21279. type: integer
  21280. curtdposition:
  21281. description: 期末今日头寸
  21282. type: number
  21283. decimalplace:
  21284. description: 报价小数位
  21285. type: integer
  21286. enableqty:
  21287. description: 可用量
  21288. type: number
  21289. fretdposition:
  21290. description: 冻结今日头寸
  21291. type: number
  21292. frozenqty:
  21293. description: 持仓冻结数量
  21294. type: number
  21295. goodscode:
  21296. description: 商品代码
  21297. type: string
  21298. goodsid:
  21299. description: 商品Id
  21300. type: integer
  21301. goodsname:
  21302. description: 商品名称
  21303. type: string
  21304. goodunit:
  21305. description: 报价单位
  21306. type: string
  21307. goodunitid:
  21308. description: 报价单位ID
  21309. type: integer
  21310. holderamount:
  21311. description: 期初持仓总金额[商品币种]
  21312. type: number
  21313. lastprice:
  21314. description: 最新价
  21315. type: number
  21316. marketamount:
  21317. description: 市值
  21318. type: number
  21319. marketid:
  21320. description: 所属市场ID
  21321. type: integer
  21322. openreqqty:
  21323. description: 开仓申请数量(用于比较最大持仓数量)
  21324. type: number
  21325. opentotalqty:
  21326. description: 开仓总数量
  21327. type: number
  21328. otherfrozenqty:
  21329. description: 持仓其他冻结数量(交割冻结)
  21330. type: number
  21331. positionpl:
  21332. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21333. * 合约单位
  21334. type: number
  21335. positionplrate:
  21336. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21337. type: number
  21338. positionqty:
  21339. description: 期初持仓数量
  21340. type: number
  21341. qtydecimalplace:
  21342. description: 成交量小数位
  21343. type: integer
  21344. refgoodscode:
  21345. description: 参考商品代码
  21346. type: string
  21347. refgoodsid:
  21348. description: 参考商品ID
  21349. type: integer
  21350. tnqty:
  21351. description: T+N冻结总量
  21352. type: number
  21353. tnusedqty:
  21354. description: T+N使用量(可以使用T+N的冻结数量)
  21355. type: number
  21356. trademode:
  21357. description: 交易模式
  21358. type: integer
  21359. tradeproperty:
  21360. description: 交易属性
  21361. type: integer
  21362. usedmargin:
  21363. description: 占用保证金[商品币种]
  21364. type: number
  21365. required:
  21366. - goodsid
  21367. type: object
  21368. pb.GoodsMarginCfgStruct:
  21369. properties:
  21370. CustomerTypeID:
  21371. description: 投资者客户类型
  21372. type: integer
  21373. GoodsID:
  21374. description: 商品ID
  21375. type: integer
  21376. IsDefault:
  21377. description: 是否默认标志位
  21378. type: integer
  21379. LockMarginValue:
  21380. description: 锁仓保证金
  21381. type: number
  21382. MarginAlgorithm:
  21383. description: 保证金计算方式
  21384. type: integer
  21385. MarketMarginValue:
  21386. description: 即市保证金值
  21387. type: number
  21388. RealMarginAlgorithm:
  21389. description: 实付保证金计算方式
  21390. type: integer
  21391. RealMarginValue:
  21392. description: 实付比例
  21393. type: number
  21394. ReckonMarginValue:
  21395. description: 结算保证金值
  21396. type: number
  21397. type: object
  21398. quote.HistoryData:
  21399. properties:
  21400. c:
  21401. description: 收盘价
  21402. type: number
  21403. f:
  21404. description: 是否补充数据
  21405. type: boolean
  21406. h:
  21407. description: 最高价
  21408. type: number
  21409. hv:
  21410. description: 持仓量
  21411. type: integer
  21412. l:
  21413. description: 最低价
  21414. type: number
  21415. o:
  21416. description: 开盘价
  21417. type: number
  21418. s:
  21419. description: 结算价,日线周期(包括)以上才有
  21420. type: number
  21421. ts:
  21422. description: 时间
  21423. type: string
  21424. tt:
  21425. description: 总金额
  21426. type: number
  21427. tv:
  21428. description: 总量(成交量)
  21429. type: integer
  21430. type: object
  21431. quote.HistoryTikData:
  21432. properties:
  21433. AV:
  21434. description: 卖量
  21435. type: integer
  21436. Ask:
  21437. description: 卖价
  21438. type: number
  21439. BV:
  21440. description: 买量
  21441. type: integer
  21442. Bid:
  21443. description: 买价
  21444. type: number
  21445. HI:
  21446. description: 单笔持仓
  21447. type: integer
  21448. HV:
  21449. description: 持仓量
  21450. type: integer
  21451. PE:
  21452. description: 现价
  21453. type: number
  21454. TDR:
  21455. description: 交易方向,0:买 1:卖
  21456. type: integer
  21457. TK:
  21458. description: 交易类型
  21459. type: integer
  21460. TS:
  21461. description: 行情时间文本
  21462. type: string
  21463. TT:
  21464. description: 现金额
  21465. type: number
  21466. Vol:
  21467. description: 现量
  21468. type: integer
  21469. type: object
  21470. quote.QueryQuoteDayRsp:
  21471. properties:
  21472. ask:
  21473. description: 卖1
  21474. type: number
  21475. ask2:
  21476. description: 卖2
  21477. type: number
  21478. ask3:
  21479. description: 卖3
  21480. type: number
  21481. ask4:
  21482. description: 卖4
  21483. type: number
  21484. ask5:
  21485. description: 卖5
  21486. type: number
  21487. ask6:
  21488. description: 卖6
  21489. type: number
  21490. ask7:
  21491. description: 卖7
  21492. type: number
  21493. ask8:
  21494. description: 卖8
  21495. type: number
  21496. ask9:
  21497. description: 卖9
  21498. type: number
  21499. ask10:
  21500. description: 卖10
  21501. type: number
  21502. askorderid:
  21503. description: 卖单号1
  21504. type: integer
  21505. askorderid2:
  21506. description: 卖单号2
  21507. type: integer
  21508. askorderid3:
  21509. description: 卖单号3
  21510. type: integer
  21511. askorderid4:
  21512. description: 卖单号4
  21513. type: integer
  21514. askorderid5:
  21515. description: 卖单号5
  21516. type: integer
  21517. askordervolume:
  21518. description: 卖单量1
  21519. type: integer
  21520. askordervolume2:
  21521. description: 卖单量2
  21522. type: integer
  21523. askordervolume3:
  21524. description: 卖单量3
  21525. type: integer
  21526. askordervolume4:
  21527. description: 卖单量4
  21528. type: integer
  21529. askordervolume5:
  21530. description: 卖单量5
  21531. type: integer
  21532. askordervolume6:
  21533. description: 卖单量6
  21534. type: integer
  21535. askordervolume7:
  21536. description: 卖单量7
  21537. type: integer
  21538. askordervolume8:
  21539. description: 卖单量8
  21540. type: integer
  21541. askordervolume9:
  21542. description: 卖单量9
  21543. type: integer
  21544. askordervolume10:
  21545. description: 卖单量10
  21546. type: integer
  21547. askqueueinfo:
  21548. description: 大利市卖港股用
  21549. type: string
  21550. askvolume:
  21551. description: 卖量1
  21552. type: integer
  21553. askvolume2:
  21554. description: 卖量2
  21555. type: integer
  21556. askvolume3:
  21557. description: 卖量3
  21558. type: integer
  21559. askvolume4:
  21560. description: 卖量4
  21561. type: integer
  21562. askvolume5:
  21563. description: 卖量5
  21564. type: integer
  21565. askvolume6:
  21566. description: 卖量6
  21567. type: integer
  21568. askvolume7:
  21569. description: 卖量7
  21570. type: integer
  21571. askvolume8:
  21572. description: 卖量8
  21573. type: integer
  21574. askvolume9:
  21575. description: 卖量9
  21576. type: integer
  21577. askvolume10:
  21578. description: 卖量10
  21579. type: integer
  21580. averageprice:
  21581. description: 均价
  21582. type: number
  21583. bid:
  21584. description: 买1
  21585. type: number
  21586. bid2:
  21587. description: 买2
  21588. type: number
  21589. bid3:
  21590. description: 买3
  21591. type: number
  21592. bid4:
  21593. description: 买4
  21594. type: number
  21595. bid5:
  21596. description: 买5
  21597. type: number
  21598. bid6:
  21599. description: 买6
  21600. type: number
  21601. bid7:
  21602. description: 买7
  21603. type: number
  21604. bid8:
  21605. description: 买8
  21606. type: number
  21607. bid9:
  21608. description: 买9
  21609. type: number
  21610. bid10:
  21611. description: 买10
  21612. type: number
  21613. bidorderid:
  21614. description: 买单号1
  21615. type: integer
  21616. bidorderid2:
  21617. description: 买单号2
  21618. type: integer
  21619. bidorderid3:
  21620. description: 买单号3
  21621. type: integer
  21622. bidorderid4:
  21623. description: 买单号4
  21624. type: integer
  21625. bidorderid5:
  21626. description: 买单号5
  21627. type: integer
  21628. bidordervolume:
  21629. description: 买单量1
  21630. type: integer
  21631. bidordervolume2:
  21632. description: 买单量2
  21633. type: integer
  21634. bidordervolume3:
  21635. description: 买单量3
  21636. type: integer
  21637. bidordervolume4:
  21638. description: 买单量4
  21639. type: integer
  21640. bidordervolume5:
  21641. description: 买单量5
  21642. type: integer
  21643. bidordervolume6:
  21644. description: 买单量6
  21645. type: integer
  21646. bidordervolume7:
  21647. description: 买单量7
  21648. type: integer
  21649. bidordervolume8:
  21650. description: 买单量8
  21651. type: integer
  21652. bidordervolume9:
  21653. description: 买单量9
  21654. type: integer
  21655. bidordervolume10:
  21656. description: 买单量10
  21657. type: integer
  21658. bidqueueinfo:
  21659. description: 大利市买港股用
  21660. type: string
  21661. bidvolume:
  21662. description: 买量1
  21663. type: integer
  21664. bidvolume2:
  21665. description: 买量2
  21666. type: integer
  21667. bidvolume3:
  21668. description: 买量3
  21669. type: integer
  21670. bidvolume4:
  21671. description: 买量4
  21672. type: integer
  21673. bidvolume5:
  21674. description: 买量5
  21675. type: integer
  21676. bidvolume6:
  21677. description: 买量6
  21678. type: integer
  21679. bidvolume7:
  21680. description: 买量7
  21681. type: integer
  21682. bidvolume8:
  21683. description: 买量8
  21684. type: integer
  21685. bidvolume9:
  21686. description: 买量9
  21687. type: integer
  21688. bidvolume10:
  21689. description: 买量10
  21690. type: integer
  21691. calloptionpremiums:
  21692. description: 认购期权1
  21693. type: integer
  21694. calloptionpremiums2:
  21695. description: 认购期权2
  21696. type: integer
  21697. calloptionpremiums3:
  21698. description: 认购期权3
  21699. type: integer
  21700. calloptionpremiums4:
  21701. description: 认购期权4
  21702. type: integer
  21703. calloptionpremiums5:
  21704. description: 认购期权5
  21705. type: integer
  21706. cleartime:
  21707. description: 清盘时间
  21708. type: integer
  21709. exchangecode:
  21710. description: 交易所代码
  21711. type: integer
  21712. exchangedate:
  21713. description: 交易日
  21714. type: integer
  21715. goodscode:
  21716. description: 商品代码
  21717. type: string
  21718. grepmarketprice:
  21719. description: 暗盘价 港股专用
  21720. type: number
  21721. highest:
  21722. description: 最高价
  21723. type: number
  21724. holdincrement:
  21725. description: 单笔持仓
  21726. type: integer
  21727. holdvolume:
  21728. description: 持仓
  21729. type: integer
  21730. iep:
  21731. description: 平衡价 港股专用
  21732. type: number
  21733. iev:
  21734. description: 平衡量 港股专用
  21735. type: number
  21736. inventory:
  21737. description: 库存
  21738. type: integer
  21739. iscleared:
  21740. description: 是否清盘标志
  21741. type: integer
  21742. issettled:
  21743. description: 是否结算标志
  21744. type: integer
  21745. last:
  21746. description: 最新价
  21747. type: number
  21748. lastlot:
  21749. description: 最新成交手数
  21750. type: integer
  21751. lasttime:
  21752. description: 行情时间(只有现价变化行情时间才变化)
  21753. type: string
  21754. lastturnover:
  21755. description: 最新成交金额
  21756. type: number
  21757. lastvolume:
  21758. description: 最新成交量
  21759. type: integer
  21760. limitdown:
  21761. description: 跌停价
  21762. type: number
  21763. limitup:
  21764. description: 涨停价
  21765. type: number
  21766. lowest:
  21767. description: 最低价
  21768. type: number
  21769. nontotalholdervolume:
  21770. description: 非交易持仓量
  21771. type: integer
  21772. nontotallot:
  21773. description: 非交易总手数
  21774. type: integer
  21775. nontotalturnover:
  21776. description: 非交易总金额
  21777. type: integer
  21778. nontotalvolume:
  21779. description: 非交易总量
  21780. type: integer
  21781. opened:
  21782. description: 开盘价
  21783. type: number
  21784. opentime:
  21785. description: 开盘时间
  21786. type: string
  21787. orderid:
  21788. description: 序号
  21789. type: integer
  21790. preclose:
  21791. description: 昨收
  21792. type: number
  21793. preholdvolume:
  21794. description: 昨持仓
  21795. type: integer
  21796. presettle:
  21797. description: 昨结价
  21798. type: number
  21799. publictradetype:
  21800. description: 公共交易标志类型 港股专用
  21801. type: string
  21802. putoptionpremiums:
  21803. description: 认沽期权1
  21804. type: integer
  21805. putoptionpremiums2:
  21806. description: 认沽期权2
  21807. type: integer
  21808. putoptionpremiums3:
  21809. description: 认沽期权3
  21810. type: integer
  21811. putoptionpremiums4:
  21812. description: 认沽期权4
  21813. type: integer
  21814. putoptionpremiums5:
  21815. description: 认沽期权5
  21816. type: integer
  21817. settle:
  21818. description: 结算价
  21819. type: number
  21820. strikeprice:
  21821. description: 发行价
  21822. type: number
  21823. totalaskvolume:
  21824. description: 内盘
  21825. type: integer
  21826. totalbidvolume:
  21827. description: 外盘
  21828. type: integer
  21829. totallot:
  21830. description: 总手数
  21831. type: integer
  21832. totalturnover:
  21833. description: 总金额
  21834. type: number
  21835. totalvolume:
  21836. description: 总量
  21837. type: integer
  21838. utclasttime:
  21839. description: utc的行情时间
  21840. type: string
  21841. type: object
  21842. quote.QueryTSDataRsp:
  21843. properties:
  21844. Count:
  21845. description: 交易日应有数据个数
  21846. type: integer
  21847. decimalPlace:
  21848. description: 小数位
  21849. type: integer
  21850. endTime:
  21851. description: 结束时间
  21852. type: string
  21853. goodsCode:
  21854. description: 商品代码
  21855. type: string
  21856. historyDatas:
  21857. description: 历史数据
  21858. items:
  21859. $ref: '#/definitions/quote.HistoryData'
  21860. type: array
  21861. outGoodsCode:
  21862. description: 外部商品代码
  21863. type: string
  21864. preSettle:
  21865. description: 昨结价
  21866. type: number
  21867. runSteps:
  21868. description: 交易日开休市计划
  21869. items:
  21870. $ref: '#/definitions/quote.TSDataRunStep'
  21871. type: array
  21872. startTime:
  21873. description: 开始时间
  21874. type: string
  21875. tradeDate:
  21876. description: 交易日
  21877. type: string
  21878. type: object
  21879. quote.TSDataRunStep:
  21880. properties:
  21881. end:
  21882. description: 真实结束时间
  21883. type: string
  21884. endflag:
  21885. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21886. type: integer
  21887. endtime:
  21888. description: 结束时间(HH:mm)
  21889. type: string
  21890. endweekday:
  21891. description: 结束周几
  21892. type: integer
  21893. groupid:
  21894. description: 分组ID
  21895. type: integer
  21896. runstep:
  21897. description: 运行阶段 - 2:连续交易
  21898. type: integer
  21899. sectionid:
  21900. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21901. 结束时间=结算时间 结束周几=结算周几
  21902. type: integer
  21903. start:
  21904. description: 真实开始时间
  21905. type: string
  21906. startflag:
  21907. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21908. type: integer
  21909. starttime:
  21910. description: 起始时间(HH:mm)
  21911. type: string
  21912. startweekday:
  21913. description: 起始周几
  21914. type: integer
  21915. tradeweekday:
  21916. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21917. type: integer
  21918. type: object
  21919. szdz.QueryConvertLogRsp:
  21920. properties:
  21921. accountid:
  21922. description: 资金账户ID
  21923. type: integer
  21924. clientticket:
  21925. description: 客户端流水号
  21926. type: string
  21927. converttype:
  21928. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21929. type: integer
  21930. createtime:
  21931. description: 记账时间
  21932. type: string
  21933. daymaxvalue:
  21934. description: 配置当日最大转入限制
  21935. type: number
  21936. daymaxvalue2:
  21937. description: 配置当日最大转入限制(转入)
  21938. type: number
  21939. goodscode:
  21940. description: 商品代码
  21941. type: string
  21942. goodsname:
  21943. description: 商品名称
  21944. type: string
  21945. handlestatus:
  21946. description: 处理状态
  21947. type: integer
  21948. innergoodsid:
  21949. description: 内部商品ID
  21950. type: integer
  21951. inratio:
  21952. description: 配置转入比值
  21953. type: integer
  21954. invalue:
  21955. description: 目标值
  21956. type: number
  21957. logid:
  21958. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21959. type: integer
  21960. mobile:
  21961. description: 手机号码(加密存储)
  21962. type: string
  21963. outergoodscode:
  21964. description: 外部商品代码[JD\PD]
  21965. type: string
  21966. outratio:
  21967. description: 配置转出比值
  21968. type: integer
  21969. outvalue:
  21970. description: 源值
  21971. type: number
  21972. pddecimalplace:
  21973. description: PD小数位
  21974. type: integer
  21975. qty:
  21976. description: 数量
  21977. type: string
  21978. remark:
  21979. description: 备注
  21980. type: string
  21981. sessionid:
  21982. description: 会话ID
  21983. type: integer
  21984. timemaxvalue:
  21985. description: 配置单次最大转入限制
  21986. type: number
  21987. timemaxvalue2:
  21988. description: 配置单次最大转入限制(转入)
  21989. type: number
  21990. timeminvalue:
  21991. description: 配置单次最小数量限制
  21992. type: number
  21993. timeminvalue2:
  21994. description: 配置单次最小数量限制(转入)
  21995. type: number
  21996. tradedate:
  21997. description: 交易日(yyyyMMdd)
  21998. type: string
  21999. userid:
  22000. description: 用户ID
  22001. type: integer
  22002. required:
  22003. - logid
  22004. type: object
  22005. szdz.QueryGoodsPickupRsp:
  22006. properties:
  22007. accountid:
  22008. description: 账户ID
  22009. type: integer
  22010. address:
  22011. description: 提货人详细地址
  22012. type: string
  22013. auditer:
  22014. description: 审核人
  22015. type: integer
  22016. audittime:
  22017. description: 审核时间
  22018. type: string
  22019. cardnum:
  22020. description: 提货人证件号码
  22021. type: string
  22022. cardtypeid:
  22023. description: 提货人证件类型
  22024. type: integer
  22025. checkremark:
  22026. description: 审核备注
  22027. type: string
  22028. goodscode:
  22029. description: 商品代码
  22030. type: string
  22031. goodsid:
  22032. description: 商品ID
  22033. type: integer
  22034. goodsname:
  22035. description: 商品名称
  22036. type: string
  22037. handlestatus:
  22038. description: 处理状态
  22039. type: integer
  22040. marketid:
  22041. description: 市场ID
  22042. type: integer
  22043. phonenum:
  22044. description: 提货人联系方式
  22045. type: string
  22046. qty:
  22047. description: 提货数量
  22048. type: number
  22049. recivername:
  22050. description: 提货人姓名
  22051. type: string
  22052. reqtime:
  22053. description: 更新时间
  22054. type: string
  22055. takemode:
  22056. description: 提货方式 - 2:自提 3:配送
  22057. type: integer
  22058. takeorderid:
  22059. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22060. type: string
  22061. takeorderstatus:
  22062. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22063. type: integer
  22064. takeremark:
  22065. description: 提货备注
  22066. type: string
  22067. tradedate:
  22068. description: 交易日(yyyyMMdd)
  22069. type: string
  22070. userid:
  22071. description: 用户ID
  22072. type: integer
  22073. required:
  22074. - takeorderid
  22075. type: object
  22076. szdz.QueryRecieptOrderRsp:
  22077. properties:
  22078. accountName:
  22079. description: 所属账号名称(已脱敏)
  22080. type: string
  22081. accountid:
  22082. description: 资金账号
  22083. type: integer
  22084. buyorsell:
  22085. description: 方向 - 0:买 1:卖
  22086. type: integer
  22087. enableqty:
  22088. description: 可摘数量
  22089. type: integer
  22090. goodscode:
  22091. description: 商品代码
  22092. type: string
  22093. goodsid:
  22094. description: 商品ID
  22095. type: integer
  22096. goodsname:
  22097. description: 商品名称
  22098. type: string
  22099. orderid:
  22100. description: 委托单号
  22101. type: string
  22102. orderprice:
  22103. description: 委托价格
  22104. type: number
  22105. ordertime:
  22106. description: 委托时间
  22107. type: string
  22108. tradedate:
  22109. description: 交易日(yyyyMMdd)
  22110. type: string
  22111. required:
  22112. - ordertime
  22113. type: object
  22114. szdz.QuerySZDZTradePositionRsp:
  22115. properties:
  22116. accountid:
  22117. description: 账号Id
  22118. type: integer
  22119. agreeunit:
  22120. description: 合约单位
  22121. type: number
  22122. averageprice:
  22123. description: 持仓均价
  22124. type: number
  22125. buyorsell:
  22126. description: 方向 - 0:买 1:卖
  22127. type: integer
  22128. closetotalqty:
  22129. description: 平仓总数量
  22130. type: integer
  22131. curholderamount:
  22132. description: 当前持仓总金额
  22133. type: number
  22134. curpositionqty:
  22135. description: 当前持仓总数量
  22136. type: integer
  22137. currencyid:
  22138. description: 报价货币ID
  22139. type: integer
  22140. curtdposition:
  22141. description: 期末今日头寸
  22142. type: integer
  22143. decimalplace:
  22144. description: 报价小数位
  22145. type: integer
  22146. enableqty:
  22147. description: 可用量
  22148. type: integer
  22149. fretdposition:
  22150. description: 冻结今日头寸
  22151. type: integer
  22152. frozenqty:
  22153. description: 持仓冻结数量
  22154. type: integer
  22155. goodscode:
  22156. description: 商品代码(内部)
  22157. type: string
  22158. goodsid:
  22159. description: 商品Id
  22160. type: integer
  22161. goodsname:
  22162. description: 商品名称
  22163. type: string
  22164. goodunit:
  22165. description: 报价单位
  22166. type: string
  22167. goodunitid:
  22168. description: 报价单位ID
  22169. type: integer
  22170. holderamount:
  22171. description: 期初持仓总金额
  22172. type: number
  22173. marketid:
  22174. description: 市场ID
  22175. type: integer
  22176. openreqqty:
  22177. description: 开仓申请数量
  22178. type: integer
  22179. opentotalqty:
  22180. description: 开仓总数量
  22181. type: integer
  22182. otherfrozenqty:
  22183. description: 持仓其他冻结数量(交割冻结)
  22184. type: integer
  22185. positionqty:
  22186. description: 期初持仓数量
  22187. type: integer
  22188. szdz3freezqty:
  22189. description: 尚志大宗转换冻结总数量
  22190. type: integer
  22191. tnqty:
  22192. description: T+N冻结总量
  22193. type: integer
  22194. tnusedqty:
  22195. description: T+N使用量
  22196. type: integer
  22197. trademode:
  22198. description: 交易模式
  22199. type: integer
  22200. usedmargin:
  22201. description: 占用保证金
  22202. type: number
  22203. type: object
  22204. taaccount.QueryAmountLogRsp:
  22205. properties:
  22206. OPERATETYPENAME:
  22207. description: 资金操作类型名称
  22208. type: string
  22209. accountid:
  22210. description: 资金账户ID
  22211. type: integer
  22212. agoodscode:
  22213. description: 竞拍商品代码
  22214. type: string
  22215. agoodsname:
  22216. description: 竞拍商品名称
  22217. type: string
  22218. amount:
  22219. description: 资金金额
  22220. type: number
  22221. amountadjusttype:
  22222. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22223. type: integer
  22224. autoid:
  22225. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22226. type: integer
  22227. balance:
  22228. description: 期初余额
  22229. type: number
  22230. businesscode:
  22231. description: 业务编号
  22232. type: integer
  22233. createtime:
  22234. description: 发生时间
  22235. type: string
  22236. currencyid:
  22237. description: 币种ID
  22238. type: integer
  22239. currentbalance:
  22240. description: 期末余额(变动后金额)
  22241. type: number
  22242. dgoodscode:
  22243. description: 交割商品代码
  22244. type: string
  22245. dgoodsname:
  22246. description: 交割商品名称
  22247. type: string
  22248. goodscode:
  22249. description: 商品代码
  22250. type: string
  22251. goodsid:
  22252. description: 商品ID
  22253. type: integer
  22254. goodsname:
  22255. description: 商品名称
  22256. type: string
  22257. marketid:
  22258. description: 市场ID
  22259. type: integer
  22260. marketname:
  22261. description: 市场名称
  22262. type: string
  22263. moneyticket:
  22264. description: 资金流水号:银行端流水号
  22265. type: integer
  22266. operatetype:
  22267. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22268. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22269. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22270. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22271. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22272. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22273. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22274. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22275. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22276. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22277. type: integer
  22278. relationorderid:
  22279. description: 关联单号
  22280. type: string
  22281. remark:
  22282. description: 备注
  22283. type: string
  22284. trademode:
  22285. description: 交易模式
  22286. type: integer
  22287. required:
  22288. - accountid
  22289. - amount
  22290. - amountadjusttype
  22291. - autoid
  22292. - balance
  22293. - createtime
  22294. - currentbalance
  22295. - operatetype
  22296. type: object
  22297. taaccount.QueryHisAmountLogRsp:
  22298. properties:
  22299. OPERATETYPENAME:
  22300. description: 资金操作类型名称
  22301. type: string
  22302. accountid:
  22303. description: 资金账户ID
  22304. type: integer
  22305. agoodscode:
  22306. description: 竞拍商品代码
  22307. type: string
  22308. agoodsname:
  22309. description: 竞拍商品名称
  22310. type: string
  22311. amount:
  22312. description: 资金金额
  22313. type: number
  22314. amountadjusttype:
  22315. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22316. type: integer
  22317. autoid:
  22318. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22319. type: integer
  22320. balance:
  22321. description: 期初余额
  22322. type: number
  22323. businesscode:
  22324. description: 业务编号
  22325. type: integer
  22326. createtime:
  22327. description: 发生时间
  22328. type: string
  22329. currencyid:
  22330. description: 币种ID
  22331. type: integer
  22332. currentbalance:
  22333. description: 期末余额(变动后金额)
  22334. type: number
  22335. dgoodscode:
  22336. description: 交割商品代码
  22337. type: string
  22338. dgoodsname:
  22339. description: 交割商品名称
  22340. type: string
  22341. goodscode:
  22342. description: 商品代码
  22343. type: string
  22344. goodsid:
  22345. description: 商品ID
  22346. type: integer
  22347. goodsname:
  22348. description: 商品名称
  22349. type: string
  22350. histradedate:
  22351. description: 历史交易日
  22352. type: string
  22353. isvaliddata:
  22354. description: 是否有效 - 0:无效 1:有效
  22355. type: integer
  22356. marketid:
  22357. description: 市场ID
  22358. type: integer
  22359. marketname:
  22360. description: 市场名称
  22361. type: string
  22362. moneyticket:
  22363. description: 资金流水号:银行端流水号
  22364. type: integer
  22365. operatetype:
  22366. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22367. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22368. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22369. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22370. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22371. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22372. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22373. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22374. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22375. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22376. type: integer
  22377. relationorderid:
  22378. description: 关联单号
  22379. type: string
  22380. remark:
  22381. description: 备注
  22382. type: string
  22383. trademode:
  22384. description: 交易模式
  22385. type: integer
  22386. required:
  22387. - accountid
  22388. - amount
  22389. - amountadjusttype
  22390. - autoid
  22391. - balance
  22392. - createtime
  22393. - currentbalance
  22394. - histradedate
  22395. - operatetype
  22396. type: object
  22397. trade.QueryRecieptOrderRsp:
  22398. properties:
  22399. accountName:
  22400. description: 所属账号名称(已脱敏)
  22401. type: string
  22402. accountid:
  22403. description: 资金账号
  22404. type: integer
  22405. buyorsell:
  22406. description: 方向 - 0:买 1:卖
  22407. type: integer
  22408. enableqty:
  22409. description: 可摘数量
  22410. type: integer
  22411. goodscode:
  22412. description: 商品代码
  22413. type: string
  22414. goodsid:
  22415. description: 商品ID
  22416. type: integer
  22417. goodsname:
  22418. description: 商品名称
  22419. type: string
  22420. orderid:
  22421. description: 委托单号
  22422. type: string
  22423. orderprice:
  22424. description: 委托价格
  22425. type: number
  22426. ordertime:
  22427. description: 委托时间
  22428. type: string
  22429. tradedate:
  22430. description: 交易日(yyyyMMdd)
  22431. type: string
  22432. required:
  22433. - ordertime
  22434. type: object
  22435. user.LoginQueryRsp:
  22436. properties:
  22437. areaRoles:
  22438. description: 所属角色信息
  22439. items:
  22440. $ref: '#/definitions/models.Arearole'
  22441. type: array
  22442. externalExchanges:
  22443. description: 外部交易所
  22444. items:
  22445. $ref: '#/definitions/models.Externalexchange'
  22446. type: array
  22447. goodsgroups:
  22448. description: 商品组
  22449. items:
  22450. $ref: '#/definitions/models.Goodsgroup'
  22451. type: array
  22452. loginAccount:
  22453. $ref: '#/definitions/models.Loginaccount'
  22454. description: 登录账号
  22455. markets:
  22456. description: 市场
  22457. items:
  22458. $ref: '#/definitions/models.Market'
  22459. type: array
  22460. systemParams:
  22461. description: 系统参数
  22462. items:
  22463. $ref: '#/definitions/models.Systemparam'
  22464. type: array
  22465. userAccount:
  22466. $ref: '#/definitions/models.Useraccount'
  22467. description: 用户账号
  22468. userInfo:
  22469. $ref: '#/definitions/models.Userinfo'
  22470. description: 用户信息
  22471. username:
  22472. description: 用户姓名
  22473. type: string
  22474. type: object
  22475. info:
  22476. contact: {}
  22477. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22478. termsOfService: http://www.muchinfo.cn
  22479. title: MTP2.0 查询服务 API
  22480. version: "1.0"
  22481. paths:
  22482. /CPTrade/QueryCPTradeMyBidInfos:
  22483. get:
  22484. parameters:
  22485. - description: 资金账户
  22486. in: query
  22487. name: accountid
  22488. required: true
  22489. type: integer
  22490. - description: 预售市场ID
  22491. in: query
  22492. name: marketid
  22493. type: integer
  22494. - description: 预售商品ID
  22495. in: query
  22496. name: goodsid
  22497. type: integer
  22498. produces:
  22499. - application/json
  22500. responses:
  22501. "200":
  22502. description: OK
  22503. schema:
  22504. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22505. "500":
  22506. description: Internal Server Error
  22507. schema:
  22508. $ref: '#/definitions/app.Response'
  22509. security:
  22510. - ApiKeyAuth: []
  22511. summary: 查询产能预售我的出价信息
  22512. tags:
  22513. - 产能预售
  22514. /CPTrade/QueryCPTradeOrderDetail:
  22515. get:
  22516. parameters:
  22517. - description: 预售商品ID
  22518. in: query
  22519. name: goodsid
  22520. type: integer
  22521. - description: 预售市场ID
  22522. in: query
  22523. name: marketid
  22524. type: integer
  22525. - description: 预售商品ID列表 - 格式:1,2,3
  22526. in: query
  22527. name: goodsids
  22528. type: string
  22529. produces:
  22530. - application/json
  22531. responses:
  22532. "200":
  22533. description: OK
  22534. schema:
  22535. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22536. "500":
  22537. description: Internal Server Error
  22538. schema:
  22539. $ref: '#/definitions/app.Response'
  22540. security:
  22541. - ApiKeyAuth: []
  22542. summary: 查询产能预售委托单信息
  22543. tags:
  22544. - 产能预售
  22545. /CPTrade/QueryMyCPTradeGoods:
  22546. get:
  22547. parameters:
  22548. - description: 资金账户
  22549. in: query
  22550. name: accountid
  22551. required: true
  22552. type: integer
  22553. produces:
  22554. - application/json
  22555. responses:
  22556. "200":
  22557. description: OK
  22558. schema:
  22559. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22560. "500":
  22561. description: Internal Server Error
  22562. schema:
  22563. $ref: '#/definitions/app.Response'
  22564. security:
  22565. - ApiKeyAuth: []
  22566. summary: 查询我的预售信息
  22567. tags:
  22568. - 产能预售
  22569. /CPTrade/QueryPositionCancel:
  22570. get:
  22571. parameters:
  22572. - description: 账户ID
  22573. in: query
  22574. name: userid
  22575. required: true
  22576. type: integer
  22577. - description: 注销ID
  22578. in: query
  22579. name: cancelid
  22580. type: integer
  22581. - description: 资金账户ID
  22582. in: query
  22583. name: accountid
  22584. type: integer
  22585. produces:
  22586. - application/json
  22587. responses:
  22588. "200":
  22589. description: OK
  22590. schema:
  22591. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22592. "500":
  22593. description: Internal Server Error
  22594. schema:
  22595. $ref: '#/definitions/app.Response'
  22596. security:
  22597. - ApiKeyAuth: []
  22598. summary: 查询远期订单注销申请信息
  22599. tags:
  22600. - 产能预售
  22601. /CPTrade/QueryPreasleApply:
  22602. get:
  22603. parameters:
  22604. - description: 账户ID
  22605. in: query
  22606. name: userid
  22607. required: true
  22608. type: integer
  22609. - description: 申请ID
  22610. in: query
  22611. name: applyid
  22612. type: integer
  22613. - description: 资金账户ID
  22614. in: query
  22615. name: accountid
  22616. type: integer
  22617. produces:
  22618. - application/json
  22619. responses:
  22620. "200":
  22621. description: OK
  22622. schema:
  22623. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  22624. "500":
  22625. description: Internal Server Error
  22626. schema:
  22627. $ref: '#/definitions/app.Response'
  22628. security:
  22629. - ApiKeyAuth: []
  22630. summary: 查询产能预售申请信息
  22631. tags:
  22632. - 产能预售
  22633. /CPTrade/QueryPresaleGoodsEx:
  22634. get:
  22635. parameters:
  22636. - description: 预售商品ID
  22637. in: query
  22638. name: goodsid
  22639. type: integer
  22640. - description: 预售市场ID
  22641. in: query
  22642. name: marketid
  22643. type: integer
  22644. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  22645. in: query
  22646. name: presalemode
  22647. type: integer
  22648. - description: 预售商品ID列表 - 格式:1,2,3
  22649. in: query
  22650. name: goodsids
  22651. type: string
  22652. - description: 预售商品代码
  22653. in: query
  22654. name: goodscode
  22655. type: string
  22656. produces:
  22657. - application/json
  22658. responses:
  22659. "200":
  22660. description: OK
  22661. schema:
  22662. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  22663. "500":
  22664. description: Internal Server Error
  22665. schema:
  22666. $ref: '#/definitions/app.Response'
  22667. security:
  22668. - ApiKeyAuth: []
  22669. summary: 查询产能预售商品扩展信息
  22670. tags:
  22671. - 产能预售
  22672. /CPTrade/QueryUserGoodsData:
  22673. get:
  22674. parameters:
  22675. - description: 资金账户ID
  22676. in: query
  22677. name: accountid
  22678. required: true
  22679. type: integer
  22680. produces:
  22681. - application/json
  22682. responses:
  22683. "200":
  22684. description: OK
  22685. schema:
  22686. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22687. "500":
  22688. description: Internal Server Error
  22689. schema:
  22690. $ref: '#/definitions/app.Response'
  22691. security:
  22692. - ApiKeyAuth: []
  22693. summary: 查询远期订单信息
  22694. tags:
  22695. - 产能预售
  22696. /Common/DeleteNewFuncmenu:
  22697. delete:
  22698. consumes:
  22699. - application/json
  22700. parameters:
  22701. - description: 菜单表数据,只需要resourcecode字段即可
  22702. in: body
  22703. name: data
  22704. required: true
  22705. schema:
  22706. $ref: '#/definitions/models.NewFuncmenulist'
  22707. produces:
  22708. - application/json
  22709. responses:
  22710. "200":
  22711. description: OK
  22712. schema:
  22713. $ref: '#/definitions/app.Response'
  22714. "500":
  22715. description: Internal Server Error
  22716. schema:
  22717. $ref: '#/definitions/app.Response'
  22718. security:
  22719. - ApiKeyAuth: []
  22720. summary: 删除菜单表数据
  22721. tags:
  22722. - 通用服务
  22723. /Common/FindNewFuncmenu:
  22724. get:
  22725. parameters:
  22726. - description: 资源代码
  22727. in: query
  22728. name: resourcecode
  22729. type: string
  22730. - description: 上级资源代码
  22731. in: query
  22732. name: parentcode
  22733. type: string
  22734. - description: 资源名(Title), 模糊查询
  22735. in: query
  22736. name: resourcename
  22737. type: string
  22738. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22739. in: query
  22740. name: menutype
  22741. type: string
  22742. produces:
  22743. - application/json
  22744. responses:
  22745. "200":
  22746. description: OK
  22747. schema:
  22748. items:
  22749. $ref: '#/definitions/models.NewFuncmenulist'
  22750. type: array
  22751. "500":
  22752. description: Internal Server Error
  22753. schema:
  22754. $ref: '#/definitions/app.Response'
  22755. security:
  22756. - ApiKeyAuth: []
  22757. summary: 获取菜单表数据
  22758. tags:
  22759. - 通用服务
  22760. /Common/GetAllEnums:
  22761. get:
  22762. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22763. parameters:
  22764. - description: 起始自增ID
  22765. in: query
  22766. name: autoid
  22767. type: integer
  22768. produces:
  22769. - application/json
  22770. responses:
  22771. "200":
  22772. description: OK
  22773. schema:
  22774. $ref: '#/definitions/models.Enumdicitem'
  22775. "500":
  22776. description: Internal Server Error
  22777. schema:
  22778. $ref: '#/definitions/app.Response'
  22779. summary: 获取所有枚举信息
  22780. tags:
  22781. - 通用服务
  22782. /Common/GetClientMenus:
  22783. get:
  22784. parameters:
  22785. - description: 登录账号
  22786. in: query
  22787. name: loginID
  22788. required: true
  22789. type: integer
  22790. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22791. in: query
  22792. name: clientType
  22793. type: integer
  22794. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22795. in: query
  22796. name: name
  22797. type: string
  22798. produces:
  22799. - application/json
  22800. responses:
  22801. "200":
  22802. description: OK
  22803. schema:
  22804. items:
  22805. $ref: '#/definitions/common.ClientMenu'
  22806. type: array
  22807. "500":
  22808. description: Internal Server Error
  22809. schema:
  22810. $ref: '#/definitions/app.Response'
  22811. security:
  22812. - ApiKeyAuth: []
  22813. summary: 获取交易端菜单
  22814. tags:
  22815. - 通用服务
  22816. /Common/GetClientNewFuncmenu:
  22817. get:
  22818. parameters:
  22819. - description: 登录账号
  22820. in: query
  22821. name: loginid
  22822. required: true
  22823. type: integer
  22824. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  22825. in: query
  22826. name: menutype
  22827. required: true
  22828. type: integer
  22829. produces:
  22830. - application/json
  22831. responses:
  22832. "200":
  22833. description: OK
  22834. schema:
  22835. items:
  22836. $ref: '#/definitions/models.NewFuncmenulist'
  22837. type: array
  22838. "500":
  22839. description: Internal Server Error
  22840. schema:
  22841. $ref: '#/definitions/app.Response'
  22842. security:
  22843. - ApiKeyAuth: []
  22844. summary: 获取终端菜单
  22845. tags:
  22846. - 通用服务
  22847. /Common/GetDivisions:
  22848. get:
  22849. produces:
  22850. - application/json
  22851. responses:
  22852. "200":
  22853. description: OK
  22854. schema:
  22855. $ref: '#/definitions/models.Division'
  22856. "500":
  22857. description: Internal Server Error
  22858. schema:
  22859. $ref: '#/definitions/app.Response'
  22860. summary: 查询区域信息
  22861. tags:
  22862. - 通用服务
  22863. /Common/GetPCWebMenus:
  22864. get:
  22865. parameters:
  22866. - description: 登录账号
  22867. in: query
  22868. name: loginID
  22869. required: true
  22870. type: integer
  22871. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22872. in: query
  22873. name: name
  22874. type: string
  22875. produces:
  22876. - application/json
  22877. responses:
  22878. "200":
  22879. description: OK
  22880. schema:
  22881. items:
  22882. $ref: '#/definitions/common.PCWebMenu'
  22883. type: array
  22884. "500":
  22885. description: Internal Server Error
  22886. schema:
  22887. $ref: '#/definitions/app.Response'
  22888. security:
  22889. - ApiKeyAuth: []
  22890. summary: 获取PCWeb交易端菜单
  22891. tags:
  22892. - 通用服务
  22893. /Common/GetServerTime:
  22894. get:
  22895. produces:
  22896. - application/json
  22897. responses:
  22898. "200":
  22899. description: OK
  22900. schema:
  22901. $ref: '#/definitions/app.Response'
  22902. "500":
  22903. description: Internal Server Error
  22904. schema:
  22905. $ref: '#/definitions/app.Response'
  22906. summary: 获取服务器时间
  22907. tags:
  22908. - 通用服务
  22909. /Common/InsertNewFuncmenu:
  22910. post:
  22911. consumes:
  22912. - application/json
  22913. parameters:
  22914. - description: 菜单表数据
  22915. in: body
  22916. name: data
  22917. required: true
  22918. schema:
  22919. $ref: '#/definitions/models.NewFuncmenulist'
  22920. produces:
  22921. - application/json
  22922. responses:
  22923. "200":
  22924. description: OK
  22925. schema:
  22926. $ref: '#/definitions/app.Response'
  22927. "500":
  22928. description: Internal Server Error
  22929. schema:
  22930. $ref: '#/definitions/app.Response'
  22931. security:
  22932. - ApiKeyAuth: []
  22933. summary: 插入菜单表数据
  22934. tags:
  22935. - 通用服务
  22936. /Common/NoticeReaded:
  22937. post:
  22938. parameters:
  22939. - description: 登录账号
  22940. in: query
  22941. name: loginID
  22942. required: true
  22943. type: integer
  22944. - description: 通知公告ID
  22945. in: query
  22946. name: noticeID
  22947. required: true
  22948. type: integer
  22949. produces:
  22950. - application/json
  22951. responses:
  22952. "200":
  22953. description: OK
  22954. schema:
  22955. $ref: '#/definitions/app.Response'
  22956. "500":
  22957. description: Internal Server Error
  22958. schema:
  22959. $ref: '#/definitions/app.Response'
  22960. security:
  22961. - ApiKeyAuth: []
  22962. summary: 通知公告设置已读请求
  22963. tags:
  22964. - 通用服务
  22965. /Common/QueryErrorInfos:
  22966. get:
  22967. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22968. parameters:
  22969. - description: 起始行号前索引
  22970. in: query
  22971. name: rowNumber
  22972. type: string
  22973. produces:
  22974. - application/json
  22975. responses:
  22976. "200":
  22977. description: OK
  22978. schema:
  22979. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22980. "500":
  22981. description: Internal Server Error
  22982. schema:
  22983. $ref: '#/definitions/app.Response'
  22984. summary: 获取数据库错误信息
  22985. tags:
  22986. - 通用服务
  22987. /Common/QueryImageConfigs:
  22988. get:
  22989. parameters:
  22990. - description: 用户id
  22991. in: query
  22992. name: userId
  22993. type: integer
  22994. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22995. in: query
  22996. name: imageType
  22997. type: integer
  22998. produces:
  22999. - application/json
  23000. responses:
  23001. "200":
  23002. description: OK
  23003. schema:
  23004. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23005. "500":
  23006. description: Internal Server Error
  23007. schema:
  23008. $ref: '#/definitions/app.Response'
  23009. summary: 查询轮播图配置信息
  23010. tags:
  23011. - 通用服务
  23012. /Common/QueryNotice:
  23013. get:
  23014. parameters:
  23015. - description: 页码
  23016. in: query
  23017. name: page
  23018. type: integer
  23019. - description: 每页条数
  23020. in: query
  23021. name: pagesize
  23022. type: integer
  23023. - description: 登录账号
  23024. in: query
  23025. name: loginID
  23026. required: true
  23027. type: integer
  23028. - description: 消息类型 - 1:公告通知 2:系统消息
  23029. in: query
  23030. name: msgType
  23031. type: integer
  23032. - description: 是否只获取未读信息
  23033. in: query
  23034. name: onlyUnRead
  23035. type: boolean
  23036. - description: 自增ID,传入后会返回这个ID后面的记录
  23037. in: query
  23038. name: lastID
  23039. type: integer
  23040. produces:
  23041. - application/json
  23042. responses:
  23043. "200":
  23044. description: OK
  23045. schema:
  23046. $ref: '#/definitions/common.QueryNoticeRsp'
  23047. "500":
  23048. description: Internal Server Error
  23049. schema:
  23050. $ref: '#/definitions/app.Response'
  23051. security:
  23052. - ApiKeyAuth: []
  23053. summary: 通知公告系统消息查询
  23054. tags:
  23055. - 通用服务
  23056. /Common/QueryProvincesAndCities:
  23057. get:
  23058. parameters:
  23059. - description: 省ID
  23060. in: query
  23061. name: provinceID
  23062. type: integer
  23063. produces:
  23064. - application/json
  23065. responses:
  23066. "200":
  23067. description: OK
  23068. schema:
  23069. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23070. "500":
  23071. description: Internal Server Error
  23072. schema:
  23073. $ref: '#/definitions/app.Response'
  23074. summary: 查询省市信息(不包括区)
  23075. tags:
  23076. - 通用服务
  23077. /Common/QueryTableDefine:
  23078. get:
  23079. parameters:
  23080. - description: 表key
  23081. in: query
  23082. name: tableKey
  23083. type: string
  23084. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  23085. in: query
  23086. name: tableType
  23087. type: integer
  23088. produces:
  23089. - application/json
  23090. responses:
  23091. "200":
  23092. description: OK
  23093. schema:
  23094. $ref: '#/definitions/common.QueryTableDefineRsp'
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. summary: 查询交易端列表头信息
  23100. tags:
  23101. - 通用服务
  23102. /Common/QueryTraderMenu:
  23103. get:
  23104. parameters:
  23105. - description: 登录账号
  23106. in: query
  23107. name: loginid
  23108. required: true
  23109. type: integer
  23110. produces:
  23111. - application/json
  23112. responses:
  23113. "200":
  23114. description: OK
  23115. schema:
  23116. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23117. "500":
  23118. description: Internal Server Error
  23119. schema:
  23120. $ref: '#/definitions/app.Response'
  23121. summary: 查询交易端菜单
  23122. tags:
  23123. - 通用服务
  23124. /Common/UpdateNewFuncmenu:
  23125. put:
  23126. consumes:
  23127. - application/json
  23128. parameters:
  23129. - description: 菜单表数据
  23130. in: body
  23131. name: data
  23132. required: true
  23133. schema:
  23134. $ref: '#/definitions/models.NewFuncmenulist'
  23135. produces:
  23136. - application/json
  23137. responses:
  23138. "200":
  23139. description: OK
  23140. schema:
  23141. $ref: '#/definitions/app.Response'
  23142. "500":
  23143. description: Internal Server Error
  23144. schema:
  23145. $ref: '#/definitions/app.Response'
  23146. security:
  23147. - ApiKeyAuth: []
  23148. summary: 更新菜单表数据
  23149. tags:
  23150. - 通用服务
  23151. /Delivery/QueryDeliveryRelation:
  23152. get:
  23153. parameters:
  23154. - description: 商品ID
  23155. in: query
  23156. name: goodsid
  23157. type: integer
  23158. - description: 品种ID
  23159. in: query
  23160. name: deliverygoodsid
  23161. type: integer
  23162. - description: 市场ID
  23163. in: query
  23164. name: marketid
  23165. type: integer
  23166. produces:
  23167. - application/json
  23168. responses:
  23169. "200":
  23170. description: OK
  23171. schema:
  23172. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23173. "500":
  23174. description: Internal Server Error
  23175. schema:
  23176. $ref: '#/definitions/app.Response'
  23177. security:
  23178. - ApiKeyAuth: []
  23179. summary: 查询商品交割关系表
  23180. tags:
  23181. - 交割服务
  23182. /Ermcp/GetErmcpGoods:
  23183. get:
  23184. parameters:
  23185. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23186. in: query
  23187. name: userid
  23188. type: integer
  23189. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23190. in: query
  23191. name: lastUpdateTime
  23192. type: string
  23193. produces:
  23194. - application/json
  23195. responses:
  23196. "200":
  23197. description: OK
  23198. schema:
  23199. $ref: '#/definitions/models.ErmcpGoods'
  23200. "500":
  23201. description: Internal Server Error
  23202. schema:
  23203. $ref: '#/definitions/app.Response'
  23204. security:
  23205. - ApiKeyAuth: []
  23206. summary: 查询企业风管期货商品信息
  23207. tags:
  23208. - 企业风险管理(app)
  23209. /Ermcp/GetErmcpGoodsSortByPosition:
  23210. get:
  23211. parameters:
  23212. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23213. in: query
  23214. name: sortIndex
  23215. type: string
  23216. produces:
  23217. - application/json
  23218. responses:
  23219. "200":
  23220. description: OK
  23221. schema:
  23222. $ref: '#/definitions/models.Goodssortbypreposition'
  23223. "500":
  23224. description: Internal Server Error
  23225. schema:
  23226. $ref: '#/definitions/app.Response'
  23227. security:
  23228. - ApiKeyAuth: []
  23229. summary: 查询企业风管期货主力、次主力商品信息
  23230. tags:
  23231. - 企业风险管理(app)
  23232. /Ermcp/GetErmcpOutAccountStatus:
  23233. get:
  23234. parameters:
  23235. - description: 登录账号
  23236. in: query
  23237. name: loginID
  23238. required: true
  23239. type: integer
  23240. produces:
  23241. - application/json
  23242. responses:
  23243. "200":
  23244. description: OK
  23245. schema:
  23246. $ref: '#/definitions/models.Hedgemarketopenlog'
  23247. "500":
  23248. description: Internal Server Error
  23249. schema:
  23250. $ref: '#/definitions/app.Response'
  23251. security:
  23252. - ApiKeyAuth: []
  23253. summary: 获取目标登录账号当前对冲账号在线状态
  23254. tags:
  23255. - 企业风险管理(app)
  23256. /Ermcp/GetErmcpRoleFuncMenuLists:
  23257. get:
  23258. parameters:
  23259. - description: 登录账号
  23260. in: query
  23261. name: loginID
  23262. required: true
  23263. type: integer
  23264. produces:
  23265. - application/json
  23266. responses:
  23267. "200":
  23268. description: OK
  23269. schema:
  23270. $ref: '#/definitions/models.Funcmenulist'
  23271. "500":
  23272. description: Internal Server Error
  23273. schema:
  23274. $ref: '#/definitions/app.Response'
  23275. security:
  23276. - ApiKeyAuth: []
  23277. summary: 获取企业风管终端权限
  23278. tags:
  23279. - 企业风险管理(app)
  23280. /Ermcp/QueryAccMgrBizGroupSet:
  23281. get:
  23282. parameters:
  23283. - description: 用户ID
  23284. in: query
  23285. name: userid
  23286. required: true
  23287. type: integer
  23288. - description: 现货商品id
  23289. in: query
  23290. name: deliverygoodsid
  23291. type: integer
  23292. produces:
  23293. - application/json
  23294. responses:
  23295. "200":
  23296. description: OK
  23297. schema:
  23298. items:
  23299. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23300. type: array
  23301. "500":
  23302. description: Internal Server Error
  23303. schema:
  23304. $ref: '#/definitions/app.Response'
  23305. security:
  23306. - ApiKeyAuth: []
  23307. summary: 查询业务类型分组(账户管理/账户设置)
  23308. tags:
  23309. - 企业风险管理(app)
  23310. /Ermcp/QueryAccMgrLoginUser:
  23311. get:
  23312. parameters:
  23313. - description: 用户ID
  23314. in: query
  23315. name: userid
  23316. required: true
  23317. type: integer
  23318. - description: 用户类型 2-机构 7-企业成员
  23319. in: query
  23320. name: usertype
  23321. type: integer
  23322. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23323. in: query
  23324. name: querytype
  23325. required: true
  23326. type: integer
  23327. produces:
  23328. - application/json
  23329. responses:
  23330. "200":
  23331. description: OK
  23332. schema:
  23333. items:
  23334. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23335. type: array
  23336. "500":
  23337. description: Internal Server Error
  23338. schema:
  23339. $ref: '#/definitions/app.Response'
  23340. security:
  23341. - ApiKeyAuth: []
  23342. summary: 查询账户管理登录账号(账户管理/登录账号)
  23343. tags:
  23344. - 企业风险管理(app)
  23345. /Ermcp/QueryAccMgrMainAccountInfo:
  23346. get:
  23347. parameters:
  23348. - description: 用户ID
  23349. in: query
  23350. name: userid
  23351. type: integer
  23352. - description: 主账号id
  23353. in: query
  23354. name: accountid
  23355. type: integer
  23356. produces:
  23357. - application/json
  23358. responses:
  23359. "200":
  23360. description: OK
  23361. schema:
  23362. items:
  23363. $ref: '#/definitions/models.MainAccountInfo'
  23364. type: array
  23365. "500":
  23366. description: Internal Server Error
  23367. schema:
  23368. $ref: '#/definitions/app.Response'
  23369. security:
  23370. - ApiKeyAuth: []
  23371. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23372. tags:
  23373. - 企业风险管理(app)
  23374. /Ermcp/QueryAccMgrRole:
  23375. get:
  23376. parameters:
  23377. - description: 用户ID
  23378. in: query
  23379. name: userid
  23380. required: true
  23381. type: integer
  23382. produces:
  23383. - application/json
  23384. responses:
  23385. "200":
  23386. description: OK
  23387. schema:
  23388. items:
  23389. $ref: '#/definitions/models.ErmcpRole'
  23390. type: array
  23391. "500":
  23392. description: Internal Server Error
  23393. schema:
  23394. $ref: '#/definitions/app.Response'
  23395. security:
  23396. - ApiKeyAuth: []
  23397. summary: 查询账户管理角色设置(账户管理/角色设置)
  23398. tags:
  23399. - 企业风险管理(app)
  23400. /Ermcp/QueryAccMgrRoleMenu:
  23401. get:
  23402. parameters:
  23403. - description: 用户ID
  23404. in: query
  23405. name: userid
  23406. required: true
  23407. type: integer
  23408. - description: 角色id(可多个,逗号隔开)
  23409. in: query
  23410. name: roleid
  23411. type: string
  23412. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23413. in: query
  23414. name: menutype
  23415. type: integer
  23416. produces:
  23417. - application/json
  23418. responses:
  23419. "200":
  23420. description: OK
  23421. schema:
  23422. items:
  23423. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23424. type: array
  23425. "500":
  23426. description: Internal Server Error
  23427. schema:
  23428. $ref: '#/definitions/app.Response'
  23429. security:
  23430. - ApiKeyAuth: []
  23431. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23432. tags:
  23433. - 企业风险管理(app)
  23434. /Ermcp/QueryAccMgrTaAccountInfo:
  23435. get:
  23436. parameters:
  23437. - description: 用户ID
  23438. in: query
  23439. name: userid
  23440. required: true
  23441. type: integer
  23442. - description: 账号id
  23443. in: query
  23444. name: accountid
  23445. type: integer
  23446. produces:
  23447. - application/json
  23448. responses:
  23449. "200":
  23450. description: OK
  23451. schema:
  23452. items:
  23453. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23454. type: array
  23455. "500":
  23456. description: Internal Server Error
  23457. schema:
  23458. $ref: '#/definitions/app.Response'
  23459. security:
  23460. - ApiKeyAuth: []
  23461. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23462. tags:
  23463. - 企业风险管理(app)
  23464. /Ermcp/QueryAccMgrTaaccount:
  23465. get:
  23466. parameters:
  23467. - description: 用户ID
  23468. in: query
  23469. name: userid
  23470. required: true
  23471. type: integer
  23472. produces:
  23473. - application/json
  23474. responses:
  23475. "200":
  23476. description: OK
  23477. schema:
  23478. items:
  23479. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23480. type: array
  23481. "500":
  23482. description: Internal Server Error
  23483. schema:
  23484. $ref: '#/definitions/app.Response'
  23485. security:
  23486. - ApiKeyAuth: []
  23487. summary: 查询账户管理期货账号(账户管理/期货账号)
  23488. tags:
  23489. - 企业风险管理(app)
  23490. /Ermcp/QueryAvaildGoodsGroup:
  23491. get:
  23492. parameters:
  23493. - description: 所属机构ID
  23494. in: query
  23495. name: userid
  23496. required: true
  23497. type: integer
  23498. produces:
  23499. - application/json
  23500. responses:
  23501. "200":
  23502. description: OK
  23503. schema:
  23504. items:
  23505. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23506. type: array
  23507. "500":
  23508. description: Internal Server Error
  23509. schema:
  23510. $ref: '#/definitions/app.Response'
  23511. security:
  23512. - ApiKeyAuth: []
  23513. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23514. tags:
  23515. - 企业风险管理(app)
  23516. /Ermcp/QueryBusinessDj:
  23517. get:
  23518. parameters:
  23519. - description: 用户ID
  23520. in: query
  23521. name: UserId
  23522. required: true
  23523. type: integer
  23524. - description: 用户类型 2-机构 7-企业成员
  23525. in: query
  23526. name: usertype
  23527. type: integer
  23528. - description: 现货合同ID, 不填则查所有
  23529. in: query
  23530. name: relatedid
  23531. type: string
  23532. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23533. in: query
  23534. name: applystatus
  23535. type: string
  23536. produces:
  23537. - application/json
  23538. responses:
  23539. "200":
  23540. description: OK
  23541. schema:
  23542. items:
  23543. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23544. type: array
  23545. "500":
  23546. description: Internal Server Error
  23547. schema:
  23548. $ref: '#/definitions/app.Response'
  23549. security:
  23550. - ApiKeyAuth: []
  23551. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23552. tags:
  23553. - 企业风险管理(app)
  23554. /Ermcp/QueryBusinessFp:
  23555. get:
  23556. parameters:
  23557. - description: 用户ID
  23558. in: query
  23559. name: UserId
  23560. required: true
  23561. type: integer
  23562. - description: 用户类型 2-机构 7-企业成员
  23563. in: query
  23564. name: usertype
  23565. type: integer
  23566. - description: 现货合同ID, 不填则查所有
  23567. in: query
  23568. name: relatedid
  23569. type: string
  23570. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23571. in: query
  23572. name: applystatus
  23573. type: string
  23574. produces:
  23575. - application/json
  23576. responses:
  23577. "200":
  23578. description: OK
  23579. schema:
  23580. items:
  23581. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  23582. type: array
  23583. "500":
  23584. description: Internal Server Error
  23585. schema:
  23586. $ref: '#/definitions/app.Response'
  23587. security:
  23588. - ApiKeyAuth: []
  23589. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  23590. tags:
  23591. - 企业风险管理(app)
  23592. /Ermcp/QueryBusinessJs:
  23593. get:
  23594. parameters:
  23595. - description: 用户ID
  23596. in: query
  23597. name: UserId
  23598. required: true
  23599. type: integer
  23600. - description: 用户类型 2-机构 7-企业成员
  23601. in: query
  23602. name: usertype
  23603. type: integer
  23604. - description: 现货合同ID, 不填则查所有
  23605. in: query
  23606. name: relatedid
  23607. type: string
  23608. - description: 操作申请id
  23609. in: query
  23610. name: operateapplyid
  23611. type: string
  23612. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23613. in: query
  23614. name: applystatus
  23615. type: string
  23616. produces:
  23617. - application/json
  23618. responses:
  23619. "200":
  23620. description: OK
  23621. schema:
  23622. items:
  23623. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  23624. type: array
  23625. "500":
  23626. description: Internal Server Error
  23627. schema:
  23628. $ref: '#/definitions/app.Response'
  23629. security:
  23630. - ApiKeyAuth: []
  23631. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  23632. tags:
  23633. - 企业风险管理(app)
  23634. /Ermcp/QueryBusinessJsEx:
  23635. get:
  23636. parameters:
  23637. - description: 用户ID
  23638. in: query
  23639. name: UserId
  23640. required: true
  23641. type: integer
  23642. - description: 用户类型 2-机构 7-企业成员
  23643. in: query
  23644. name: usertype
  23645. type: integer
  23646. - description: 现货合同ID, 不填则查所有
  23647. in: query
  23648. name: relatedid
  23649. type: string
  23650. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23651. in: query
  23652. name: applystatus
  23653. type: string
  23654. produces:
  23655. - application/json
  23656. responses:
  23657. "200":
  23658. description: OK
  23659. schema:
  23660. items:
  23661. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  23662. type: array
  23663. "500":
  23664. description: Internal Server Error
  23665. schema:
  23666. $ref: '#/definitions/app.Response'
  23667. security:
  23668. - ApiKeyAuth: []
  23669. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  23670. tags:
  23671. - 企业风险管理(app)
  23672. /Ermcp/QueryBusinessKx:
  23673. get:
  23674. parameters:
  23675. - description: 用户ID
  23676. in: query
  23677. name: UserId
  23678. required: true
  23679. type: integer
  23680. - description: 用户类型 2-机构 7-企业成员
  23681. in: query
  23682. name: usertype
  23683. type: integer
  23684. - description: 现货合同ID, 不填则查所有
  23685. in: query
  23686. name: relatedid
  23687. type: string
  23688. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23689. in: query
  23690. name: applystatus
  23691. type: string
  23692. produces:
  23693. - application/json
  23694. responses:
  23695. "200":
  23696. description: OK
  23697. schema:
  23698. items:
  23699. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  23700. type: array
  23701. "500":
  23702. description: Internal Server Error
  23703. schema:
  23704. $ref: '#/definitions/app.Response'
  23705. security:
  23706. - ApiKeyAuth: []
  23707. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  23708. tags:
  23709. - 企业风险管理(app)
  23710. /Ermcp/QueryChangeLog:
  23711. get:
  23712. parameters:
  23713. - description: 合同ID
  23714. in: query
  23715. name: RelatedId
  23716. required: true
  23717. type: string
  23718. produces:
  23719. - application/json
  23720. responses:
  23721. "200":
  23722. description: OK
  23723. schema:
  23724. items:
  23725. $ref: '#/definitions/ermcp.QryOPLogRsp'
  23726. type: array
  23727. "500":
  23728. description: Internal Server Error
  23729. schema:
  23730. $ref: '#/definitions/app.Response'
  23731. security:
  23732. - ApiKeyAuth: []
  23733. summary: 查询变更记录
  23734. tags:
  23735. - 企业风险管理(app)
  23736. /Ermcp/QueryErmcpHisOrderDetails:
  23737. get:
  23738. parameters:
  23739. - description: 资金账户ID
  23740. in: query
  23741. name: accountID
  23742. required: true
  23743. type: integer
  23744. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23745. in: query
  23746. name: startDate
  23747. type: string
  23748. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23749. in: query
  23750. name: endDate
  23751. type: string
  23752. produces:
  23753. - application/json
  23754. responses:
  23755. "200":
  23756. description: OK
  23757. schema:
  23758. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23759. "500":
  23760. description: Internal Server Error
  23761. schema:
  23762. $ref: '#/definitions/app.Response'
  23763. security:
  23764. - ApiKeyAuth: []
  23765. summary: 获取企业风管期货历史委托单信息
  23766. tags:
  23767. - 企业风险管理(app)
  23768. /Ermcp/QueryErmcpHisTradeDetails:
  23769. get:
  23770. parameters:
  23771. - description: 资金账户ID
  23772. in: query
  23773. name: accountID
  23774. required: true
  23775. type: integer
  23776. - description: 商品ID
  23777. in: query
  23778. name: goodsID
  23779. type: integer
  23780. - description: 买卖方向,0:买 1:卖
  23781. in: query
  23782. name: buyOrSell
  23783. type: integer
  23784. - description: 关联委托单号
  23785. in: query
  23786. name: orderID
  23787. type: integer
  23788. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23789. in: query
  23790. name: startDate
  23791. type: string
  23792. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23793. in: query
  23794. name: endDate
  23795. type: string
  23796. produces:
  23797. - application/json
  23798. responses:
  23799. "200":
  23800. description: OK
  23801. schema:
  23802. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23803. "500":
  23804. description: Internal Server Error
  23805. schema:
  23806. $ref: '#/definitions/app.Response'
  23807. security:
  23808. - ApiKeyAuth: []
  23809. summary: 获取企业风管期货历史成交单信息
  23810. tags:
  23811. - 企业风险管理(app)
  23812. /Ermcp/QueryErmcpInnerHolderDetails:
  23813. get:
  23814. parameters:
  23815. - description: 资金账户ID
  23816. in: query
  23817. name: accountID
  23818. required: true
  23819. type: integer
  23820. - description: 商品ID
  23821. in: query
  23822. name: goodsID
  23823. type: integer
  23824. - description: 买卖方向,0:买 1:卖
  23825. in: query
  23826. name: buyOrSell
  23827. type: integer
  23828. produces:
  23829. - application/json
  23830. responses:
  23831. "200":
  23832. description: OK
  23833. schema:
  23834. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23835. "500":
  23836. description: Internal Server Error
  23837. schema:
  23838. $ref: '#/definitions/app.Response'
  23839. security:
  23840. - ApiKeyAuth: []
  23841. summary: 获取企业风管期货内部持仓单信息
  23842. tags:
  23843. - 企业风险管理(app)
  23844. /Ermcp/QueryErmcpOrderDetails:
  23845. get:
  23846. parameters:
  23847. - description: 资金账户ID
  23848. in: query
  23849. name: accountID
  23850. required: true
  23851. type: integer
  23852. produces:
  23853. - application/json
  23854. responses:
  23855. "200":
  23856. description: OK
  23857. schema:
  23858. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23859. "500":
  23860. description: Internal Server Error
  23861. schema:
  23862. $ref: '#/definitions/app.Response'
  23863. security:
  23864. - ApiKeyAuth: []
  23865. summary: 获取企业风管期货委托单信息
  23866. tags:
  23867. - 企业风险管理(app)
  23868. /Ermcp/QueryErmcpTradeDetails:
  23869. get:
  23870. parameters:
  23871. - description: 资金账户ID
  23872. in: query
  23873. name: accountID
  23874. required: true
  23875. type: integer
  23876. - description: 商品ID
  23877. in: query
  23878. name: goodsID
  23879. type: integer
  23880. - description: 买卖方向,0:买 1:卖
  23881. in: query
  23882. name: buyOrSell
  23883. type: integer
  23884. - description: 关联委托单号
  23885. in: query
  23886. name: orderID
  23887. type: integer
  23888. produces:
  23889. - application/json
  23890. responses:
  23891. "200":
  23892. description: OK
  23893. schema:
  23894. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23895. "500":
  23896. description: Internal Server Error
  23897. schema:
  23898. $ref: '#/definitions/app.Response'
  23899. security:
  23900. - ApiKeyAuth: []
  23901. summary: 获取企业风管期货成交单信息
  23902. tags:
  23903. - 企业风险管理(app)
  23904. /Ermcp/QueryErmcpTradePosition:
  23905. get:
  23906. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23907. parameters:
  23908. - description: 资金账户ID
  23909. in: query
  23910. name: accountID
  23911. required: true
  23912. type: integer
  23913. - description: 所属市场ID
  23914. in: query
  23915. name: marketID
  23916. type: integer
  23917. produces:
  23918. - application/json
  23919. responses:
  23920. "200":
  23921. description: OK
  23922. schema:
  23923. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23924. "500":
  23925. description: Internal Server Error
  23926. schema:
  23927. $ref: '#/definitions/app.Response'
  23928. security:
  23929. - ApiKeyAuth: []
  23930. summary: 获取企业风管期货持仓头寸信息
  23931. tags:
  23932. - 企业风险管理(app)
  23933. /Ermcp/QueryExposureDetail:
  23934. get:
  23935. parameters:
  23936. - description: 所属机构ID
  23937. in: query
  23938. name: areaUserId
  23939. required: true
  23940. type: integer
  23941. - description: 套保商品
  23942. in: query
  23943. name: middleGoodsId
  23944. required: true
  23945. type: integer
  23946. produces:
  23947. - application/json
  23948. responses:
  23949. "200":
  23950. description: OK
  23951. schema:
  23952. items:
  23953. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23954. type: array
  23955. "500":
  23956. description: Internal Server Error
  23957. schema:
  23958. $ref: '#/definitions/app.Response'
  23959. security:
  23960. - ApiKeyAuth: []
  23961. summary: 查询敞口现货明细
  23962. tags:
  23963. - 企业风险管理(app)
  23964. /Ermcp/QueryExposureGoods:
  23965. get:
  23966. parameters:
  23967. - description: 套保商品id
  23968. in: query
  23969. name: middlegoodsid
  23970. required: true
  23971. type: integer
  23972. produces:
  23973. - application/json
  23974. responses:
  23975. "200":
  23976. description: OK
  23977. schema:
  23978. items:
  23979. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23980. type: array
  23981. "500":
  23982. description: Internal Server Error
  23983. schema:
  23984. $ref: '#/definitions/app.Response'
  23985. security:
  23986. - ApiKeyAuth: []
  23987. summary: 查询敞口主力合约
  23988. tags:
  23989. - 企业风险管理(app)
  23990. /Ermcp/QueryExposureHedgePosition:
  23991. get:
  23992. parameters:
  23993. - description: 用户id
  23994. in: query
  23995. name: userid
  23996. required: true
  23997. type: integer
  23998. produces:
  23999. - application/json
  24000. responses:
  24001. "200":
  24002. description: OK
  24003. schema:
  24004. items:
  24005. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24006. type: array
  24007. "500":
  24008. description: Internal Server Error
  24009. schema:
  24010. $ref: '#/definitions/app.Response'
  24011. security:
  24012. - ApiKeyAuth: []
  24013. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24014. tags:
  24015. - 企业风险管理(app)
  24016. /Ermcp/QueryExposureHedgePositionDetail:
  24017. get:
  24018. parameters:
  24019. - description: 所属机构ID
  24020. in: query
  24021. name: userid
  24022. required: true
  24023. type: integer
  24024. - description: 商品id
  24025. in: query
  24026. name: goodsId
  24027. required: true
  24028. type: integer
  24029. produces:
  24030. - application/json
  24031. responses:
  24032. "200":
  24033. description: OK
  24034. schema:
  24035. items:
  24036. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24037. type: array
  24038. "500":
  24039. description: Internal Server Error
  24040. schema:
  24041. $ref: '#/definitions/app.Response'
  24042. security:
  24043. - ApiKeyAuth: []
  24044. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  24045. tags:
  24046. - 企业风险管理(app)
  24047. /Ermcp/QueryExposureSpot:
  24048. get:
  24049. parameters:
  24050. - description: 所属机构ID
  24051. in: query
  24052. name: areaUserId
  24053. required: true
  24054. type: integer
  24055. produces:
  24056. - application/json
  24057. responses:
  24058. "200":
  24059. description: OK
  24060. schema:
  24061. items:
  24062. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  24063. type: array
  24064. "500":
  24065. description: Internal Server Error
  24066. schema:
  24067. $ref: '#/definitions/app.Response'
  24068. security:
  24069. - ApiKeyAuth: []
  24070. summary: 查询敞口现货头寸(敞口/现货头寸)
  24071. tags:
  24072. - 企业风险管理(app)
  24073. /Ermcp/QueryExposureSpotDetail:
  24074. get:
  24075. parameters:
  24076. - description: 所属机构ID
  24077. in: query
  24078. name: areaUserId
  24079. required: true
  24080. type: integer
  24081. - description: 现货品种ID
  24082. in: query
  24083. name: wrstandardId
  24084. required: true
  24085. type: integer
  24086. produces:
  24087. - application/json
  24088. responses:
  24089. "200":
  24090. description: OK
  24091. schema:
  24092. items:
  24093. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  24094. type: array
  24095. "500":
  24096. description: Internal Server Error
  24097. schema:
  24098. $ref: '#/definitions/app.Response'
  24099. security:
  24100. - ApiKeyAuth: []
  24101. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24102. tags:
  24103. - 企业风险管理(app)
  24104. /Ermcp/QueryFuturesCompany:
  24105. get:
  24106. produces:
  24107. - application/json
  24108. responses:
  24109. "200":
  24110. description: OK
  24111. schema:
  24112. items:
  24113. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24114. type: array
  24115. "500":
  24116. description: Internal Server Error
  24117. schema:
  24118. $ref: '#/definitions/app.Response'
  24119. security:
  24120. - ApiKeyAuth: []
  24121. summary: 查询期货公司
  24122. tags:
  24123. - 企业风险管理(app)
  24124. /Ermcp/QueryGGConvertConfig:
  24125. get:
  24126. parameters:
  24127. - description: 品种id(不填则查所有)
  24128. in: query
  24129. name: goodsgroupid
  24130. type: integer
  24131. produces:
  24132. - application/json
  24133. responses:
  24134. "200":
  24135. description: OK
  24136. schema:
  24137. items:
  24138. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24139. type: array
  24140. "500":
  24141. description: Internal Server Error
  24142. schema:
  24143. $ref: '#/definitions/app.Response'
  24144. security:
  24145. - ApiKeyAuth: []
  24146. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24147. tags:
  24148. - 企业风险管理(app)
  24149. /Ermcp/QueryGoodsBrand:
  24150. get:
  24151. parameters:
  24152. - description: 用户ID
  24153. in: query
  24154. name: userid
  24155. required: true
  24156. type: integer
  24157. - description: 现货商品ID
  24158. in: query
  24159. name: wrstandardid
  24160. type: integer
  24161. produces:
  24162. - application/json
  24163. responses:
  24164. "200":
  24165. description: OK
  24166. schema:
  24167. items:
  24168. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24169. type: array
  24170. "500":
  24171. description: Internal Server Error
  24172. schema:
  24173. $ref: '#/definitions/app.Response'
  24174. security:
  24175. - ApiKeyAuth: []
  24176. summary: 查询商品品牌
  24177. tags:
  24178. - 企业风险管理(app)
  24179. /Ermcp/QueryGoodsModel:
  24180. get:
  24181. parameters:
  24182. - description: 用户ID
  24183. in: query
  24184. name: userid
  24185. required: true
  24186. type: integer
  24187. produces:
  24188. - application/json
  24189. responses:
  24190. "200":
  24191. description: OK
  24192. schema:
  24193. items:
  24194. $ref: '#/definitions/models.ErmcpGoodsModel'
  24195. type: array
  24196. "500":
  24197. description: Internal Server Error
  24198. schema:
  24199. $ref: '#/definitions/app.Response'
  24200. security:
  24201. - ApiKeyAuth: []
  24202. summary: 查询商品型号
  24203. tags:
  24204. - 企业风险管理(app)
  24205. /Ermcp/QueryHisExposure:
  24206. get:
  24207. parameters:
  24208. - description: 用户id
  24209. in: query
  24210. name: userid
  24211. required: true
  24212. type: integer
  24213. - description: 每个品种记录数
  24214. in: query
  24215. name: lastNum
  24216. required: true
  24217. type: integer
  24218. produces:
  24219. - application/json
  24220. responses:
  24221. "200":
  24222. description: OK
  24223. schema:
  24224. items:
  24225. $ref: '#/definitions/ermcp.HisExposureRsp'
  24226. type: array
  24227. "500":
  24228. description: Internal Server Error
  24229. schema:
  24230. $ref: '#/definitions/app.Response'
  24231. security:
  24232. - ApiKeyAuth: []
  24233. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24234. tags:
  24235. - 企业风险管理(app)
  24236. /Ermcp/QueryMiddleGoods:
  24237. get:
  24238. parameters:
  24239. - description: 所属机构ID
  24240. in: query
  24241. name: userid
  24242. required: true
  24243. type: integer
  24244. - description: 状态 0-停用 1-正常
  24245. in: query
  24246. name: status
  24247. required: true
  24248. type: integer
  24249. produces:
  24250. - application/json
  24251. responses:
  24252. "200":
  24253. description: OK
  24254. schema:
  24255. items:
  24256. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24257. type: array
  24258. "500":
  24259. description: Internal Server Error
  24260. schema:
  24261. $ref: '#/definitions/app.Response'
  24262. security:
  24263. - ApiKeyAuth: []
  24264. summary: 查询套保品种(菜单:套保品种)
  24265. tags:
  24266. - 企业风险管理(app)
  24267. /Ermcp/QueryMiddleGoodsChangeLog:
  24268. get:
  24269. parameters:
  24270. - description: 所属机构ID
  24271. in: query
  24272. name: userid
  24273. required: true
  24274. type: integer
  24275. - description: 套保品种id
  24276. in: query
  24277. name: middlegoodsid
  24278. required: true
  24279. type: integer
  24280. produces:
  24281. - application/json
  24282. responses:
  24283. "200":
  24284. description: OK
  24285. schema:
  24286. items:
  24287. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24288. type: array
  24289. "500":
  24290. description: Internal Server Error
  24291. schema:
  24292. $ref: '#/definitions/app.Response'
  24293. security:
  24294. - ApiKeyAuth: []
  24295. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24296. tags:
  24297. - 企业风险管理(app)
  24298. /Ermcp/QueryMiddleGoodsDetail:
  24299. get:
  24300. parameters:
  24301. - description: 所属机构ID
  24302. in: query
  24303. name: userid
  24304. required: true
  24305. type: integer
  24306. - description: 套保品种id
  24307. in: query
  24308. name: middlegoodsid
  24309. type: integer
  24310. produces:
  24311. - application/json
  24312. responses:
  24313. "200":
  24314. description: OK
  24315. schema:
  24316. items:
  24317. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24318. type: array
  24319. "500":
  24320. description: Internal Server Error
  24321. schema:
  24322. $ref: '#/definitions/app.Response'
  24323. security:
  24324. - ApiKeyAuth: []
  24325. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24326. tags:
  24327. - 企业风险管理(app)
  24328. /Ermcp/QueryPendingAuditInfo:
  24329. get:
  24330. parameters:
  24331. - description: 用户ID
  24332. in: query
  24333. name: UserId
  24334. required: true
  24335. type: integer
  24336. produces:
  24337. - application/json
  24338. responses:
  24339. "200":
  24340. description: OK
  24341. schema:
  24342. items:
  24343. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24344. type: array
  24345. "500":
  24346. description: Internal Server Error
  24347. schema:
  24348. $ref: '#/definitions/app.Response'
  24349. security:
  24350. - ApiKeyAuth: []
  24351. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24352. tags:
  24353. - 企业风险管理(app)
  24354. /Ermcp/QueryRealtimeExposure:
  24355. get:
  24356. parameters:
  24357. - description: 所属机构ID
  24358. in: query
  24359. name: userid
  24360. required: true
  24361. type: integer
  24362. produces:
  24363. - application/json
  24364. responses:
  24365. "200":
  24366. description: OK
  24367. schema:
  24368. items:
  24369. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24370. type: array
  24371. "500":
  24372. description: Internal Server Error
  24373. schema:
  24374. $ref: '#/definitions/app.Response'
  24375. security:
  24376. - ApiKeyAuth: []
  24377. summary: 查询实时敞口
  24378. tags:
  24379. - 企业风险管理(app)
  24380. /Ermcp/QueryRealtimeExposurePosition:
  24381. get:
  24382. parameters:
  24383. - description: 用户id
  24384. in: query
  24385. name: userid
  24386. required: true
  24387. type: integer
  24388. - description: 套保商品ID
  24389. in: query
  24390. name: middleGoodsId
  24391. required: true
  24392. type: integer
  24393. produces:
  24394. - application/json
  24395. responses:
  24396. "200":
  24397. description: OK
  24398. schema:
  24399. items:
  24400. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24401. type: array
  24402. "500":
  24403. description: Internal Server Error
  24404. schema:
  24405. $ref: '#/definitions/app.Response'
  24406. security:
  24407. - ApiKeyAuth: []
  24408. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24409. tags:
  24410. - 企业风险管理(app)
  24411. /Ermcp/QueryRoleMenu:
  24412. get:
  24413. parameters:
  24414. - description: 登录ID
  24415. in: query
  24416. name: loginid
  24417. required: true
  24418. type: integer
  24419. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24420. in: query
  24421. name: menutype
  24422. type: integer
  24423. produces:
  24424. - application/json
  24425. responses:
  24426. "200":
  24427. description: OK
  24428. schema:
  24429. items:
  24430. $ref: '#/definitions/models.RoleMenu'
  24431. type: array
  24432. "500":
  24433. description: Internal Server Error
  24434. schema:
  24435. $ref: '#/definitions/app.Response'
  24436. security:
  24437. - ApiKeyAuth: []
  24438. summary: 查询角色菜单和权限
  24439. tags:
  24440. - 企业风险管理(app)
  24441. /Ermcp/QueryTradeConfigTMP:
  24442. get:
  24443. parameters:
  24444. - description: 所属机构id
  24445. in: query
  24446. name: areauserid
  24447. type: integer
  24448. produces:
  24449. - application/json
  24450. responses:
  24451. "200":
  24452. description: OK
  24453. schema:
  24454. items:
  24455. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24456. type: array
  24457. "500":
  24458. description: Internal Server Error
  24459. schema:
  24460. $ref: '#/definitions/app.Response'
  24461. security:
  24462. - ApiKeyAuth: []
  24463. summary: 查询交易模板配置
  24464. tags:
  24465. - 企业风险管理(app)
  24466. /Ermcp/QueryUserInfo:
  24467. get:
  24468. parameters:
  24469. - description: 所属机构用户ID
  24470. in: query
  24471. name: MemberUserID
  24472. required: true
  24473. type: integer
  24474. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24475. in: query
  24476. name: queryType
  24477. required: true
  24478. type: integer
  24479. produces:
  24480. - application/json
  24481. responses:
  24482. "200":
  24483. description: OK
  24484. schema:
  24485. items:
  24486. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24487. type: array
  24488. "500":
  24489. description: Internal Server Error
  24490. schema:
  24491. $ref: '#/definitions/app.Response'
  24492. security:
  24493. - ApiKeyAuth: []
  24494. summary: 查询客户资料
  24495. tags:
  24496. - 企业风险管理(app)
  24497. /Ermcp/QueryWarehouseInfo:
  24498. get:
  24499. parameters:
  24500. - description: 用户ID
  24501. in: query
  24502. name: userid
  24503. required: true
  24504. type: integer
  24505. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24506. in: query
  24507. name: status
  24508. type: string
  24509. produces:
  24510. - application/json
  24511. responses:
  24512. "200":
  24513. description: OK
  24514. schema:
  24515. items:
  24516. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24517. type: array
  24518. "500":
  24519. description: Internal Server Error
  24520. schema:
  24521. $ref: '#/definitions/app.Response'
  24522. security:
  24523. - ApiKeyAuth: []
  24524. summary: 查询仓库信息
  24525. tags:
  24526. - 企业风险管理(app)
  24527. /Ermcp3/QryAreaExpourseContractDetail:
  24528. get:
  24529. parameters:
  24530. - description: 用户ID
  24531. in: query
  24532. name: userid
  24533. required: true
  24534. type: integer
  24535. - description: 套保商品id
  24536. in: query
  24537. name: middlegoodsid
  24538. required: true
  24539. type: integer
  24540. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24541. in: query
  24542. name: cycletype
  24543. required: true
  24544. type: integer
  24545. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24546. 全(0)【原值】
  24547. in: query
  24548. name: cycletime
  24549. required: true
  24550. type: string
  24551. produces:
  24552. - application/json
  24553. responses:
  24554. "200":
  24555. description: OK
  24556. schema:
  24557. items:
  24558. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24559. type: array
  24560. "500":
  24561. description: Internal Server Error
  24562. schema:
  24563. $ref: '#/definitions/app.Response'
  24564. security:
  24565. - ApiKeyAuth: []
  24566. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24567. tags:
  24568. - 企业风险管理v3(app)
  24569. /Ermcp3/QryAreaExpourseFutuDetail:
  24570. get:
  24571. parameters:
  24572. - description: 用户ID
  24573. in: query
  24574. name: userid
  24575. required: true
  24576. type: integer
  24577. - description: 套保商品id
  24578. in: query
  24579. name: middlegoodsid
  24580. required: true
  24581. type: integer
  24582. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24583. in: query
  24584. name: cycletype
  24585. required: true
  24586. type: integer
  24587. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24588. 全(0)【原值】
  24589. in: query
  24590. name: cycletime
  24591. required: true
  24592. type: string
  24593. produces:
  24594. - application/json
  24595. responses:
  24596. "200":
  24597. description: OK
  24598. schema:
  24599. items:
  24600. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  24601. type: array
  24602. "500":
  24603. description: Internal Server Error
  24604. schema:
  24605. $ref: '#/definitions/app.Response'
  24606. security:
  24607. - ApiKeyAuth: []
  24608. summary: 查询敞口期货明细(敞口报表/期货明细)
  24609. tags:
  24610. - 企业风险管理v3(app)
  24611. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  24612. get:
  24613. parameters:
  24614. - description: 用户ID
  24615. in: query
  24616. name: userid
  24617. required: true
  24618. type: integer
  24619. - description: 套保商品id
  24620. in: query
  24621. name: middlegoodsid
  24622. required: true
  24623. type: integer
  24624. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24625. in: query
  24626. name: cycletype
  24627. required: true
  24628. type: integer
  24629. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24630. 全(0)【原值】
  24631. in: query
  24632. name: cycletime
  24633. required: true
  24634. type: string
  24635. produces:
  24636. - application/json
  24637. responses:
  24638. "200":
  24639. description: OK
  24640. schema:
  24641. items:
  24642. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  24643. type: array
  24644. "500":
  24645. description: Internal Server Error
  24646. schema:
  24647. $ref: '#/definitions/app.Response'
  24648. security:
  24649. - ApiKeyAuth: []
  24650. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  24651. tags:
  24652. - 企业风险管理v3(app)
  24653. /Ermcp3/QryAreaExpourseParamChLogDetail:
  24654. get:
  24655. parameters:
  24656. - description: 用户ID
  24657. in: query
  24658. name: userid
  24659. required: true
  24660. type: integer
  24661. - description: 套保商品id
  24662. in: query
  24663. name: middlegoodsid
  24664. required: true
  24665. type: integer
  24666. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24667. in: query
  24668. name: cycletype
  24669. required: true
  24670. type: integer
  24671. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24672. 全(0)【原值】
  24673. in: query
  24674. name: cycletime
  24675. required: true
  24676. type: string
  24677. produces:
  24678. - application/json
  24679. responses:
  24680. "200":
  24681. description: OK
  24682. schema:
  24683. items:
  24684. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  24685. type: array
  24686. "500":
  24687. description: Internal Server Error
  24688. schema:
  24689. $ref: '#/definitions/app.Response'
  24690. security:
  24691. - ApiKeyAuth: []
  24692. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  24693. tags:
  24694. - 企业风险管理v3(app)
  24695. /Ermcp3/QryAreaExpourseReport:
  24696. get:
  24697. parameters:
  24698. - description: 用户ID
  24699. in: query
  24700. name: userid
  24701. required: true
  24702. type: integer
  24703. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  24704. in: query
  24705. name: querytype
  24706. required: true
  24707. type: integer
  24708. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24709. in: query
  24710. name: cycletype
  24711. required: true
  24712. type: integer
  24713. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24714. 全(0)【原值】
  24715. in: query
  24716. name: cycletime
  24717. required: true
  24718. type: string
  24719. produces:
  24720. - application/json
  24721. responses:
  24722. "200":
  24723. description: OK
  24724. schema:
  24725. items:
  24726. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  24727. type: array
  24728. "500":
  24729. description: Internal Server Error
  24730. schema:
  24731. $ref: '#/definitions/app.Response'
  24732. security:
  24733. - ApiKeyAuth: []
  24734. summary: 查询敞口报表
  24735. tags:
  24736. - 企业风险管理v3(app)
  24737. /Ermcp3/QryAreaSpotplReport:
  24738. get:
  24739. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  24740. parameters:
  24741. - description: 用户ID
  24742. in: query
  24743. name: userid
  24744. required: true
  24745. type: integer
  24746. - description: 查询类型 1-报表 2-报表明细
  24747. in: query
  24748. name: querytype
  24749. required: true
  24750. type: integer
  24751. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24752. in: query
  24753. name: cycletype
  24754. required: true
  24755. type: integer
  24756. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24757. 全(0)【原值】
  24758. in: query
  24759. name: cycletime
  24760. required: true
  24761. type: string
  24762. - description: 现货品种id(明细必填)
  24763. in: query
  24764. name: deliverygoodsid
  24765. type: integer
  24766. - description: 币种id(明细必填)
  24767. in: query
  24768. name: currencyid
  24769. type: integer
  24770. - description: 日/周/月报表汇总维度 1:品种+品类
  24771. in: query
  24772. name: sumflag
  24773. type: integer
  24774. produces:
  24775. - application/json
  24776. responses:
  24777. "200":
  24778. description: OK
  24779. schema:
  24780. items:
  24781. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  24782. type: array
  24783. "500":
  24784. description: Internal Server Error
  24785. schema:
  24786. $ref: '#/definitions/app.Response'
  24787. security:
  24788. - ApiKeyAuth: []
  24789. summary: 查询现货报表
  24790. tags:
  24791. - 企业风险管理v3(app)
  24792. /Ermcp3/QryAreaStockReport:
  24793. get:
  24794. parameters:
  24795. - description: 用户ID
  24796. in: query
  24797. name: userid
  24798. required: true
  24799. type: integer
  24800. - description: 查询类型 1-报表 2-报表明细
  24801. in: query
  24802. name: querytype
  24803. required: true
  24804. type: integer
  24805. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24806. in: query
  24807. name: cycletype
  24808. required: true
  24809. type: integer
  24810. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24811. 全(0)【原值】
  24812. in: query
  24813. name: cycletime
  24814. required: true
  24815. type: string
  24816. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24817. in: query
  24818. name: sumfields
  24819. type: string
  24820. - description: 品种ID
  24821. in: query
  24822. name: deliverygoodsid
  24823. type: integer
  24824. - description: 品类ID
  24825. in: query
  24826. name: wrstandardid
  24827. type: integer
  24828. - description: 品牌ID
  24829. in: query
  24830. name: spotgoodsbrandid
  24831. type: integer
  24832. - description: 仓库ID
  24833. in: query
  24834. name: warehouseinfoid
  24835. type: integer
  24836. produces:
  24837. - application/json
  24838. responses:
  24839. "200":
  24840. description: OK
  24841. schema:
  24842. items:
  24843. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24844. type: array
  24845. "500":
  24846. description: Internal Server Error
  24847. schema:
  24848. $ref: '#/definitions/app.Response'
  24849. security:
  24850. - ApiKeyAuth: []
  24851. summary: 查询库存报表
  24852. tags:
  24853. - 企业风险管理v3(app)
  24854. /Ermcp3/QryAreaSumPL:
  24855. get:
  24856. parameters:
  24857. - description: 用户ID
  24858. in: query
  24859. name: userid
  24860. required: true
  24861. type: integer
  24862. - description: 查询类型 1-报表 2-报表明细
  24863. in: query
  24864. name: querytype
  24865. required: true
  24866. type: integer
  24867. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24868. in: query
  24869. name: cycletype
  24870. required: true
  24871. type: integer
  24872. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24873. 全(0)【原值】
  24874. in: query
  24875. name: cycletime
  24876. required: true
  24877. type: string
  24878. - description: 币种id(明细必填)
  24879. in: query
  24880. name: currencyid
  24881. type: integer
  24882. - description: 套保品种ID, 查询类型为2时起效
  24883. in: query
  24884. name: middlegoodsid
  24885. type: integer
  24886. produces:
  24887. - application/json
  24888. responses:
  24889. "200":
  24890. description: OK
  24891. schema:
  24892. items:
  24893. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24894. type: array
  24895. "500":
  24896. description: Internal Server Error
  24897. schema:
  24898. $ref: '#/definitions/app.Response'
  24899. security:
  24900. - ApiKeyAuth: []
  24901. summary: 查询汇总损益表
  24902. tags:
  24903. - 企业风险管理v3(app)
  24904. /Ermcp3/QryFinanceReport:
  24905. get:
  24906. parameters:
  24907. - description: 用户ID
  24908. in: query
  24909. name: userid
  24910. required: true
  24911. type: integer
  24912. - description: 查询类型 1-报表 2-报表明细
  24913. in: query
  24914. name: querytype
  24915. required: true
  24916. type: integer
  24917. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24918. in: query
  24919. name: cycletype
  24920. required: true
  24921. type: integer
  24922. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24923. 全(0)【原值】
  24924. in: query
  24925. name: cycletime
  24926. required: true
  24927. type: string
  24928. - description: 币种id(报表明细必填)
  24929. in: query
  24930. name: currencyid
  24931. type: integer
  24932. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24933. in: query
  24934. name: sumfields
  24935. type: string
  24936. produces:
  24937. - application/json
  24938. responses:
  24939. "200":
  24940. description: OK
  24941. schema:
  24942. items:
  24943. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24944. type: array
  24945. "500":
  24946. description: Internal Server Error
  24947. schema:
  24948. $ref: '#/definitions/app.Response'
  24949. security:
  24950. - ApiKeyAuth: []
  24951. summary: 查询财务报表
  24952. tags:
  24953. - 企业风险管理v3(app)
  24954. /Ermcp3/QrySCMiddleGoodsReport:
  24955. get:
  24956. parameters:
  24957. - description: 用户ID
  24958. in: query
  24959. name: userid
  24960. required: true
  24961. type: integer
  24962. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24963. in: query
  24964. name: cycletype
  24965. required: true
  24966. type: integer
  24967. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24968. 全(0)【原值】
  24969. in: query
  24970. name: cycletime
  24971. required: true
  24972. type: string
  24973. - description: 合同id
  24974. in: query
  24975. name: spotcontractid
  24976. type: integer
  24977. - description: 套保品种id
  24978. in: query
  24979. name: middlegoodsid
  24980. type: integer
  24981. - description: 现货品种id
  24982. in: query
  24983. name: deliverygoodsid
  24984. type: integer
  24985. - description: 现货商品id
  24986. in: query
  24987. name: wrstandardid
  24988. type: integer
  24989. - description: 合同编号(模糊匹配)
  24990. in: query
  24991. name: contractno
  24992. type: string
  24993. produces:
  24994. - application/json
  24995. responses:
  24996. "200":
  24997. description: OK
  24998. schema:
  24999. items:
  25000. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25001. type: array
  25002. "500":
  25003. description: Internal Server Error
  25004. schema:
  25005. $ref: '#/definitions/app.Response'
  25006. security:
  25007. - ApiKeyAuth: []
  25008. summary: 查询定价报表
  25009. tags:
  25010. - 企业风险管理v3(app)
  25011. /Ermcp3/QryTaFutureDataReport:
  25012. get:
  25013. parameters:
  25014. - description: 用户ID
  25015. in: query
  25016. name: userid
  25017. required: true
  25018. type: integer
  25019. - description: 查询类型 1-报表 2-报表明细
  25020. in: query
  25021. name: querytype
  25022. required: true
  25023. type: integer
  25024. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25025. in: query
  25026. name: cycletype
  25027. required: true
  25028. type: integer
  25029. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25030. 全(0)【原值】
  25031. in: query
  25032. name: cycletime
  25033. required: true
  25034. type: string
  25035. - description: 币种id(查明细必填)
  25036. in: query
  25037. name: currencyid
  25038. type: integer
  25039. - description: 品种id(查明细必填)
  25040. in: query
  25041. name: goodsgroupid
  25042. type: integer
  25043. - description: 商品id(查明细必填)
  25044. in: query
  25045. name: goodsid
  25046. type: integer
  25047. - description: 买卖方向(查明细必填)
  25048. in: query
  25049. name: buyorsell
  25050. type: integer
  25051. produces:
  25052. - application/json
  25053. responses:
  25054. "200":
  25055. description: OK
  25056. schema:
  25057. items:
  25058. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  25059. type: array
  25060. "500":
  25061. description: Internal Server Error
  25062. schema:
  25063. $ref: '#/definitions/app.Response'
  25064. security:
  25065. - ApiKeyAuth: []
  25066. summary: 查询期货报表
  25067. tags:
  25068. - 企业风险管理v3(app)
  25069. /Ermcp3/QueryAreaStock:
  25070. get:
  25071. parameters:
  25072. - description: 用户ID
  25073. in: query
  25074. name: userid
  25075. required: true
  25076. type: integer
  25077. produces:
  25078. - application/json
  25079. responses:
  25080. "200":
  25081. description: OK
  25082. schema:
  25083. items:
  25084. $ref: '#/definitions/models.Ermcp3AreaStock'
  25085. type: array
  25086. "500":
  25087. description: Internal Server Error
  25088. schema:
  25089. $ref: '#/definitions/app.Response'
  25090. security:
  25091. - ApiKeyAuth: []
  25092. summary: 查询机构库存(库存管理/当前库存)
  25093. tags:
  25094. - 企业风险管理v3(app)
  25095. /Ermcp3/QueryAreaStockApply:
  25096. get:
  25097. parameters:
  25098. - description: 用户ID
  25099. in: query
  25100. name: userid
  25101. required: true
  25102. type: integer
  25103. - description: 用户类型 2-机构 7-企业成员
  25104. in: query
  25105. name: usertype
  25106. type: integer
  25107. - description: 现货商品ID
  25108. in: query
  25109. name: deliverygoodsid
  25110. type: integer
  25111. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25112. in: query
  25113. name: inouttype
  25114. type: string
  25115. - description: 合同ID
  25116. in: query
  25117. name: spotcontractid
  25118. type: integer
  25119. - description: 品类ID
  25120. in: query
  25121. name: wrstandardid
  25122. type: integer
  25123. - description: 品牌ID
  25124. in: query
  25125. name: spotgoodsbrandid
  25126. type: integer
  25127. - description: 仓库ID
  25128. in: query
  25129. name: warehouseinfoid
  25130. type: integer
  25131. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25132. in: query
  25133. name: applystatus
  25134. type: string
  25135. produces:
  25136. - application/json
  25137. responses:
  25138. "200":
  25139. description: OK
  25140. schema:
  25141. items:
  25142. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25143. type: array
  25144. "500":
  25145. description: Internal Server Error
  25146. schema:
  25147. $ref: '#/definitions/app.Response'
  25148. security:
  25149. - ApiKeyAuth: []
  25150. summary: 查询库存申请(出入库记录|库存审核)
  25151. tags:
  25152. - 企业风险管理v3(app)
  25153. /Ermcp3/QueryAreaStockApplySum:
  25154. get:
  25155. parameters:
  25156. - description: 合同ID
  25157. in: query
  25158. name: spotcontractid
  25159. required: true
  25160. type: integer
  25161. produces:
  25162. - application/json
  25163. responses:
  25164. "200":
  25165. description: OK
  25166. schema:
  25167. items:
  25168. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25169. type: array
  25170. "500":
  25171. description: Internal Server Error
  25172. schema:
  25173. $ref: '#/definitions/app.Response'
  25174. security:
  25175. - ApiKeyAuth: []
  25176. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25177. tags:
  25178. - 企业风险管理v3(app)
  25179. /Ermcp3/QueryDGFactoryItem:
  25180. get:
  25181. parameters:
  25182. - description: 用户id
  25183. in: query
  25184. name: userid
  25185. type: integer
  25186. - description: 用户类型 2-机构 7-企业成员
  25187. in: query
  25188. name: usertype
  25189. type: integer
  25190. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25191. in: query
  25192. name: dgfactoryitemid
  25193. type: integer
  25194. - description: 现货品种ID
  25195. in: query
  25196. name: deliverygoodsid
  25197. type: integer
  25198. - description: 要素项类型
  25199. in: query
  25200. name: dgfactoryitemtypeid
  25201. type: integer
  25202. - description: 顺序
  25203. in: query
  25204. name: orderindex
  25205. type: integer
  25206. produces:
  25207. - application/json
  25208. responses:
  25209. "200":
  25210. description: OK
  25211. schema:
  25212. items:
  25213. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25214. type: array
  25215. "500":
  25216. description: Internal Server Error
  25217. schema:
  25218. $ref: '#/definitions/app.Response'
  25219. security:
  25220. - ApiKeyAuth: []
  25221. summary: 查询品种要素定义项
  25222. tags:
  25223. - 企业风险管理v3(app)
  25224. /Ermcp3/QueryDeliveryGoods:
  25225. get:
  25226. parameters:
  25227. - description: 用户id
  25228. in: query
  25229. name: userid
  25230. required: true
  25231. type: integer
  25232. - description: 用户类型 2-机构 7-企业成员
  25233. in: query
  25234. name: usertype
  25235. type: integer
  25236. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25237. in: query
  25238. name: excludecfg
  25239. type: integer
  25240. produces:
  25241. - application/json
  25242. responses:
  25243. "200":
  25244. description: OK
  25245. schema:
  25246. items:
  25247. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25248. type: array
  25249. "500":
  25250. description: Internal Server Error
  25251. schema:
  25252. $ref: '#/definitions/app.Response'
  25253. security:
  25254. - ApiKeyAuth: []
  25255. summary: 查询现货商品
  25256. tags:
  25257. - 企业风险管理v3(app)
  25258. /Ermcp3/QueryDeliveryGoodsDetail:
  25259. get:
  25260. parameters:
  25261. - description: 用户id
  25262. in: query
  25263. name: userid
  25264. required: true
  25265. type: integer
  25266. - description: 用户类型 2-机构 7-企业成员
  25267. in: query
  25268. name: usertype
  25269. type: integer
  25270. - description: 现货商品id
  25271. in: query
  25272. name: deliverygoodsid
  25273. type: integer
  25274. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25275. in: query
  25276. name: filtersubempty
  25277. type: integer
  25278. produces:
  25279. - application/json
  25280. responses:
  25281. "200":
  25282. description: OK
  25283. schema:
  25284. items:
  25285. $ref: '#/definitions/models.XHDeliveryGoods'
  25286. type: array
  25287. "500":
  25288. description: Internal Server Error
  25289. schema:
  25290. $ref: '#/definitions/app.Response'
  25291. security:
  25292. - ApiKeyAuth: []
  25293. summary: 查询现货商品详情
  25294. tags:
  25295. - 企业风险管理v3(app)
  25296. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25297. get:
  25298. parameters:
  25299. - description: 合同id
  25300. in: query
  25301. name: spotcontractid
  25302. required: true
  25303. type: string
  25304. produces:
  25305. - application/json
  25306. responses:
  25307. "200":
  25308. description: OK
  25309. schema:
  25310. items:
  25311. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25312. type: array
  25313. "500":
  25314. description: Internal Server Error
  25315. schema:
  25316. $ref: '#/definitions/app.Response'
  25317. security:
  25318. - ApiKeyAuth: []
  25319. summary: 查询现货合同期现配置信息
  25320. tags:
  25321. - 企业风险管理v3(app)
  25322. /Ermcp3/QueryExposureDetail:
  25323. get:
  25324. parameters:
  25325. - description: 用户id
  25326. in: query
  25327. name: userid
  25328. required: true
  25329. type: integer
  25330. - description: 用户类型 2-机构 7-企业成员
  25331. in: query
  25332. name: usertype
  25333. type: integer
  25334. - description: 套保商品
  25335. in: query
  25336. name: middlegoodsid
  25337. required: true
  25338. type: integer
  25339. produces:
  25340. - application/json
  25341. responses:
  25342. "200":
  25343. description: OK
  25344. schema:
  25345. items:
  25346. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25347. type: array
  25348. "500":
  25349. description: Internal Server Error
  25350. schema:
  25351. $ref: '#/definitions/app.Response'
  25352. security:
  25353. - ApiKeyAuth: []
  25354. summary: 查询敞口现货明细
  25355. tags:
  25356. - 企业风险管理v3(app)
  25357. /Ermcp3/QueryExposureSpot:
  25358. get:
  25359. parameters:
  25360. - description: 用户id
  25361. in: query
  25362. name: userid
  25363. required: true
  25364. type: integer
  25365. - description: 用户类型 2-机构 7-企业成员
  25366. in: query
  25367. name: usertype
  25368. type: integer
  25369. produces:
  25370. - application/json
  25371. responses:
  25372. "200":
  25373. description: OK
  25374. schema:
  25375. items:
  25376. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25377. type: array
  25378. "500":
  25379. description: Internal Server Error
  25380. schema:
  25381. $ref: '#/definitions/app.Response'
  25382. security:
  25383. - ApiKeyAuth: []
  25384. summary: 查询敞口现货头寸(敞口/现货头寸)
  25385. tags:
  25386. - 企业风险管理v3(app)
  25387. /Ermcp3/QueryExposureSpotDetail:
  25388. get:
  25389. parameters:
  25390. - description: 用户id
  25391. in: query
  25392. name: userid
  25393. required: true
  25394. type: integer
  25395. - description: 用户类型 2-机构 7-企业成员
  25396. in: query
  25397. name: usertype
  25398. type: integer
  25399. - description: 现货商品ID
  25400. in: query
  25401. name: wrstandardid
  25402. required: true
  25403. type: integer
  25404. produces:
  25405. - application/json
  25406. responses:
  25407. "200":
  25408. description: OK
  25409. schema:
  25410. items:
  25411. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25412. type: array
  25413. "500":
  25414. description: Internal Server Error
  25415. schema:
  25416. $ref: '#/definitions/app.Response'
  25417. security:
  25418. - ApiKeyAuth: []
  25419. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25420. tags:
  25421. - 企业风险管理v3(app)
  25422. /Ermcp3/QueryGoodsGroup:
  25423. get:
  25424. parameters:
  25425. - description: 用户id
  25426. in: query
  25427. name: userid
  25428. required: true
  25429. type: integer
  25430. - description: 用户类型 2-机构 7-企业成员
  25431. in: query
  25432. name: usertype
  25433. type: integer
  25434. - description: 排除套保品中已关联的商品组 1-排除
  25435. in: query
  25436. name: excludecfg
  25437. type: integer
  25438. produces:
  25439. - application/json
  25440. responses:
  25441. "200":
  25442. description: OK
  25443. schema:
  25444. items:
  25445. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25446. type: array
  25447. "500":
  25448. description: Internal Server Error
  25449. schema:
  25450. $ref: '#/definitions/app.Response'
  25451. security:
  25452. - ApiKeyAuth: []
  25453. summary: 查询期货商品组
  25454. tags:
  25455. - 企业风险管理v3(app)
  25456. /Ermcp3/QueryGoodsWrstandard:
  25457. get:
  25458. parameters:
  25459. - description: 用户id
  25460. in: query
  25461. name: userid
  25462. required: true
  25463. type: integer
  25464. - description: 用户类型 2-机构 7-企业成员
  25465. in: query
  25466. name: usertype
  25467. type: integer
  25468. - description: 现货商品id
  25469. in: query
  25470. name: deliverygoodsid
  25471. type: integer
  25472. produces:
  25473. - application/json
  25474. responses:
  25475. "200":
  25476. description: OK
  25477. schema:
  25478. items:
  25479. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25480. type: array
  25481. "500":
  25482. description: Internal Server Error
  25483. schema:
  25484. $ref: '#/definitions/app.Response'
  25485. security:
  25486. - ApiKeyAuth: []
  25487. summary: 查询商品品类
  25488. tags:
  25489. - 企业风险管理v3(app)
  25490. /Ermcp3/QueryGoodsbrand:
  25491. get:
  25492. parameters:
  25493. - description: 用户id
  25494. in: query
  25495. name: userid
  25496. required: true
  25497. type: integer
  25498. - description: 用户类型 2-机构 7-企业成员
  25499. in: query
  25500. name: usertype
  25501. type: integer
  25502. produces:
  25503. - application/json
  25504. responses:
  25505. "200":
  25506. description: OK
  25507. schema:
  25508. items:
  25509. $ref: '#/definitions/models.Ermcp3Brand'
  25510. type: array
  25511. "500":
  25512. description: Internal Server Error
  25513. schema:
  25514. $ref: '#/definitions/app.Response'
  25515. security:
  25516. - ApiKeyAuth: []
  25517. summary: 查询商品品牌
  25518. tags:
  25519. - 企业风险管理v3(app)
  25520. /Ermcp3/QueryHPMiddleGoods:
  25521. get:
  25522. parameters:
  25523. - description: 用户ID(填登录用户的userid)
  25524. in: query
  25525. name: userid
  25526. required: true
  25527. type: integer
  25528. - description: 买卖方向 0-买 1-卖
  25529. in: query
  25530. name: buyorsell
  25531. required: true
  25532. type: integer
  25533. - description: 商品组id
  25534. in: query
  25535. name: goodsgroupid
  25536. required: true
  25537. type: integer
  25538. - description: 套保计划编号(模糊匹配)
  25539. in: query
  25540. name: hedgeplanno
  25541. type: string
  25542. - description: 现货商品名称(模糊匹配)
  25543. in: query
  25544. name: wrstandardname
  25545. type: string
  25546. produces:
  25547. - application/json
  25548. responses:
  25549. "200":
  25550. description: OK
  25551. schema:
  25552. items:
  25553. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25554. type: array
  25555. "500":
  25556. description: Internal Server Error
  25557. schema:
  25558. $ref: '#/definitions/app.Response'
  25559. security:
  25560. - ApiKeyAuth: []
  25561. summary: 查询可关联套保计划
  25562. tags:
  25563. - 企业风险管理v3(app)
  25564. /Ermcp3/QueryHedgePlan:
  25565. get:
  25566. parameters:
  25567. - description: 用户ID
  25568. in: query
  25569. name: userid
  25570. required: true
  25571. type: integer
  25572. - description: 用户类型 2-机构 7-企业成员
  25573. in: query
  25574. name: usertype
  25575. type: integer
  25576. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25577. in: query
  25578. name: hedgeplanstatus
  25579. required: true
  25580. type: string
  25581. produces:
  25582. - application/json
  25583. responses:
  25584. "200":
  25585. description: OK
  25586. schema:
  25587. items:
  25588. $ref: '#/definitions/models.Ermcp3HedgePlan'
  25589. type: array
  25590. "500":
  25591. description: Internal Server Error
  25592. schema:
  25593. $ref: '#/definitions/app.Response'
  25594. security:
  25595. - ApiKeyAuth: []
  25596. summary: 查询套保计划
  25597. tags:
  25598. - 企业风险管理v3(app)
  25599. /Ermcp3/QueryInnerTradeLink:
  25600. get:
  25601. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  25602. parameters:
  25603. - description: 外部成交单号
  25604. in: query
  25605. name: outtradeid
  25606. required: true
  25607. type: integer
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. items:
  25615. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  25616. type: array
  25617. "500":
  25618. description: Internal Server Error
  25619. schema:
  25620. $ref: '#/definitions/app.Response'
  25621. security:
  25622. - ApiKeyAuth: []
  25623. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  25624. tags:
  25625. - 企业风险管理v3(app)
  25626. /Ermcp3/QueryMiddleGoodsDetail:
  25627. get:
  25628. parameters:
  25629. - description: 用户id
  25630. in: query
  25631. name: userid
  25632. required: true
  25633. type: integer
  25634. - description: 用户类型 2-机构 7-企业成员
  25635. in: query
  25636. name: usertype
  25637. type: integer
  25638. - description: 套保品种id
  25639. in: query
  25640. name: middlegoodsid
  25641. type: integer
  25642. produces:
  25643. - application/json
  25644. responses:
  25645. "200":
  25646. description: OK
  25647. schema:
  25648. items:
  25649. $ref: '#/definitions/models.TBMiddleGoods'
  25650. type: array
  25651. "500":
  25652. description: Internal Server Error
  25653. schema:
  25654. $ref: '#/definitions/app.Response'
  25655. security:
  25656. - ApiKeyAuth: []
  25657. summary: 查询套保品种详情(套保品种/商品详情)
  25658. tags:
  25659. - 企业风险管理v3(app)
  25660. /Ermcp3/QueryOutTradeLink:
  25661. get:
  25662. description: 页面 app 现货->期现关联->外部成交单关联
  25663. parameters:
  25664. - description: 用户ID(填登录用户的userid)
  25665. in: query
  25666. name: userid
  25667. required: true
  25668. type: integer
  25669. - description: 外部订单号(模糊匹配)
  25670. in: query
  25671. name: outtradeid
  25672. type: string
  25673. - description: 合约名称/代码(模糊匹配)
  25674. in: query
  25675. name: goodsname
  25676. type: string
  25677. - description: 关联状态 0-未关联 1-已关联
  25678. in: query
  25679. name: hasinnerorder
  25680. type: integer
  25681. produces:
  25682. - application/json
  25683. responses:
  25684. "200":
  25685. description: OK
  25686. schema:
  25687. items:
  25688. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  25689. type: array
  25690. "500":
  25691. description: Internal Server Error
  25692. schema:
  25693. $ref: '#/definitions/app.Response'
  25694. security:
  25695. - ApiKeyAuth: []
  25696. summary: 查询外部成交单关联
  25697. tags:
  25698. - 企业风险管理v3(app)
  25699. /Ermcp3/QueryPaAreaAuditCfg:
  25700. get:
  25701. parameters:
  25702. - description: 用户id
  25703. in: query
  25704. name: userid
  25705. required: true
  25706. type: integer
  25707. produces:
  25708. - application/json
  25709. responses:
  25710. "200":
  25711. description: OK
  25712. schema:
  25713. items:
  25714. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  25715. type: array
  25716. "500":
  25717. description: Internal Server Error
  25718. schema:
  25719. $ref: '#/definitions/app.Response'
  25720. security:
  25721. - ApiKeyAuth: []
  25722. summary: 查询审核设置
  25723. tags:
  25724. - 企业风险管理v3(app)
  25725. /Ermcp3/QueryPaAreaSubject:
  25726. get:
  25727. parameters:
  25728. - description: 用户id
  25729. in: query
  25730. name: userid
  25731. required: true
  25732. type: integer
  25733. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  25734. in: query
  25735. name: subjectid
  25736. type: integer
  25737. - description: 主体类型 - 1:交易主体 2:业务部门
  25738. in: query
  25739. name: subjecttype
  25740. type: integer
  25741. - description: '主体状态 - 1:正常 2: 停用'
  25742. in: query
  25743. name: subjectstatus
  25744. type: integer
  25745. produces:
  25746. - application/json
  25747. responses:
  25748. "200":
  25749. description: OK
  25750. schema:
  25751. items:
  25752. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  25753. type: array
  25754. "500":
  25755. description: Internal Server Error
  25756. schema:
  25757. $ref: '#/definitions/app.Response'
  25758. security:
  25759. - ApiKeyAuth: []
  25760. summary: 查询交易主体
  25761. tags:
  25762. - 企业风险管理v3(app)
  25763. /Ermcp3/QueryPaTradeLink:
  25764. get:
  25765. description: 页面 app 现货->期现关联->期现单据关联
  25766. parameters:
  25767. - description: 用户ID
  25768. in: query
  25769. name: userid
  25770. required: true
  25771. type: integer
  25772. produces:
  25773. - application/json
  25774. responses:
  25775. "200":
  25776. description: OK
  25777. schema:
  25778. items:
  25779. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  25780. type: array
  25781. "500":
  25782. description: Internal Server Error
  25783. schema:
  25784. $ref: '#/definitions/app.Response'
  25785. security:
  25786. - ApiKeyAuth: []
  25787. summary: 查询期现单据关联
  25788. tags:
  25789. - 企业风险管理v3(app)
  25790. /Ermcp3/QueryPaTradeLinkDetail:
  25791. get:
  25792. description: 页面 app 现货->期现关联->关联记录
  25793. parameters:
  25794. - description: 用户ID(填登录用户的userid)
  25795. in: query
  25796. name: userid
  25797. required: true
  25798. type: integer
  25799. - description: 关联状态 1:成功 2:失败 3:解绑
  25800. in: query
  25801. name: linkstatus
  25802. type: integer
  25803. - description: 期货订单号(模糊匹配)
  25804. in: query
  25805. name: tradeid
  25806. type: string
  25807. - description: 现货编号(模糊匹配)
  25808. in: query
  25809. name: contractno
  25810. type: string
  25811. - description: 期货账户(模糊匹配)
  25812. in: query
  25813. name: taname
  25814. type: string
  25815. produces:
  25816. - application/json
  25817. responses:
  25818. "200":
  25819. description: OK
  25820. schema:
  25821. items:
  25822. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25823. type: array
  25824. "500":
  25825. description: Internal Server Error
  25826. schema:
  25827. $ref: '#/definitions/app.Response'
  25828. security:
  25829. - ApiKeyAuth: []
  25830. summary: 查询期现关联记录
  25831. tags:
  25832. - 企业风险管理v3(app)
  25833. /Ermcp3/QueryParamChangeApp:
  25834. get:
  25835. description: |-
  25836. 原型页面:
  25837. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25838. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25839. parameters:
  25840. - description: 用户ID
  25841. in: query
  25842. name: userid
  25843. required: true
  25844. type: integer
  25845. - description: 现货品种id
  25846. in: query
  25847. name: deliverygoodsid
  25848. type: integer
  25849. - description: 现货商品id
  25850. in: query
  25851. name: wrstandardid
  25852. type: integer
  25853. - description: 套保商品id
  25854. in: query
  25855. name: middlegoodsid
  25856. type: integer
  25857. - description: 操作类型 1:新增 2:修改
  25858. in: query
  25859. name: operatetype
  25860. type: integer
  25861. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25862. in: query
  25863. name: paramchangetype
  25864. type: integer
  25865. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25866. in: query
  25867. name: ftstatus
  25868. type: string
  25869. produces:
  25870. - application/json
  25871. responses:
  25872. "200":
  25873. description: OK
  25874. schema:
  25875. items:
  25876. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25877. type: array
  25878. "500":
  25879. description: Internal Server Error
  25880. schema:
  25881. $ref: '#/definitions/app.Response'
  25882. security:
  25883. - ApiKeyAuth: []
  25884. summary: 查询现货商品参数变更申请(流水)
  25885. tags:
  25886. - 企业风险管理v3(app)
  25887. /Ermcp3/QueryRootUserAccount:
  25888. get:
  25889. parameters:
  25890. - description: 用户ID
  25891. in: query
  25892. name: userid
  25893. required: true
  25894. type: integer
  25895. produces:
  25896. - application/json
  25897. responses:
  25898. "200":
  25899. description: OK
  25900. schema:
  25901. items:
  25902. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25903. type: array
  25904. "500":
  25905. description: Internal Server Error
  25906. schema:
  25907. $ref: '#/definitions/app.Response'
  25908. security:
  25909. - ApiKeyAuth: []
  25910. summary: 查询顶级用户信息
  25911. tags:
  25912. - 企业风险管理v3(app)
  25913. /Ermcp3/QuerySCMiddleGoods:
  25914. get:
  25915. description: |-
  25916. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25917. 现货编号 即 合同编号
  25918. parameters:
  25919. - description: 用户ID(填登录用户的userid)
  25920. in: query
  25921. name: userid
  25922. required: true
  25923. type: integer
  25924. - description: 买卖方向 0-买 1-卖
  25925. in: query
  25926. name: buyorsell
  25927. required: true
  25928. type: integer
  25929. - description: 商品组id
  25930. in: query
  25931. name: goodsgroupid
  25932. required: true
  25933. type: integer
  25934. - description: 业务类型 1:套保 2:套利
  25935. in: query
  25936. name: biztype
  25937. type: integer
  25938. - description: 现货编号(模糊匹配)
  25939. in: query
  25940. name: contractno
  25941. type: string
  25942. - description: 对手方(模糊匹配)
  25943. in: query
  25944. name: customername
  25945. type: string
  25946. - description: 现货商品名称(模糊匹配)
  25947. in: query
  25948. name: wrstandardname
  25949. type: string
  25950. produces:
  25951. - application/json
  25952. responses:
  25953. "200":
  25954. description: OK
  25955. schema:
  25956. items:
  25957. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25958. type: array
  25959. "500":
  25960. description: Internal Server Error
  25961. schema:
  25962. $ref: '#/definitions/app.Response'
  25963. security:
  25964. - ApiKeyAuth: []
  25965. summary: 查询现货订单
  25966. tags:
  25967. - 企业风险管理v3(app)
  25968. /Ermcp3/QuerySpotContract:
  25969. get:
  25970. parameters:
  25971. - description: 用户id(当指定contractid, userid可不填)
  25972. in: query
  25973. name: userid
  25974. required: true
  25975. type: integer
  25976. - description: 用户类型 2-机构 7-企业成员
  25977. in: query
  25978. name: usertype
  25979. type: integer
  25980. - description: 合同类型 1-采购, -1-销售
  25981. in: query
  25982. name: contracttype
  25983. type: integer
  25984. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25985. in: query
  25986. name: querytype
  25987. type: string
  25988. - description: 合同ID(SpotContractId)
  25989. in: query
  25990. name: contractid
  25991. type: string
  25992. - description: 合同编号(模糊匹配)
  25993. in: query
  25994. name: contractno
  25995. type: string
  25996. - description: 商品名称(模糊匹配)
  25997. in: query
  25998. name: wrstandardname
  25999. type: string
  26000. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26001. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26002. in: query
  26003. name: status
  26004. type: string
  26005. - description: 是否只查今日的合同 1-查今日合同
  26006. in: query
  26007. name: istoday
  26008. type: integer
  26009. produces:
  26010. - application/json
  26011. responses:
  26012. "200":
  26013. description: OK
  26014. schema:
  26015. items:
  26016. $ref: '#/definitions/models.Ermcp3Contract'
  26017. type: array
  26018. "500":
  26019. description: Internal Server Error
  26020. schema:
  26021. $ref: '#/definitions/app.Response'
  26022. security:
  26023. - ApiKeyAuth: []
  26024. summary: 查询现货合同
  26025. tags:
  26026. - 企业风险管理v3(app)
  26027. /Ermcp3/QuerySpotContractBS:
  26028. get:
  26029. parameters:
  26030. - description: 用户id
  26031. in: query
  26032. name: userid
  26033. required: true
  26034. type: integer
  26035. - description: 用户类型 2-机构 7-企业成员
  26036. in: query
  26037. name: usertype
  26038. type: integer
  26039. - description: 合同类型 1-采购, -1-销售
  26040. in: query
  26041. name: contracttype
  26042. required: true
  26043. type: integer
  26044. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  26045. in: query
  26046. name: querytype
  26047. type: integer
  26048. - description: 合同ID(SpotContractId)
  26049. in: query
  26050. name: contractid
  26051. type: string
  26052. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26053. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26054. in: query
  26055. name: status
  26056. type: string
  26057. - description: 是否只查今日的合同 1-查今日合同
  26058. in: query
  26059. name: istoday
  26060. type: integer
  26061. produces:
  26062. - application/json
  26063. responses:
  26064. "200":
  26065. description: OK
  26066. schema:
  26067. items:
  26068. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  26069. type: array
  26070. "500":
  26071. description: Internal Server Error
  26072. schema:
  26073. $ref: '#/definitions/app.Response'
  26074. security:
  26075. - ApiKeyAuth: []
  26076. summary: 查询合同(采购/销售)
  26077. tags:
  26078. - 企业风险管理v3(app)
  26079. /Ermcp3/QuerySpotGoodsPrice:
  26080. get:
  26081. parameters:
  26082. - description: 用户ID
  26083. in: query
  26084. name: userid
  26085. required: true
  26086. type: integer
  26087. produces:
  26088. - application/json
  26089. responses:
  26090. "200":
  26091. description: OK
  26092. schema:
  26093. items:
  26094. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  26095. type: array
  26096. "500":
  26097. description: Internal Server Error
  26098. schema:
  26099. $ref: '#/definitions/app.Response'
  26100. security:
  26101. - ApiKeyAuth: []
  26102. summary: 查询现货市价(现货市价)
  26103. tags:
  26104. - 企业风险管理v3(app)
  26105. /Ermcp3/QuerySpotGoodsPriceLog:
  26106. get:
  26107. parameters:
  26108. - description: 用户ID
  26109. in: query
  26110. name: userid
  26111. required: true
  26112. type: integer
  26113. - description: 现货商品ID
  26114. in: query
  26115. name: deliverygoodsid
  26116. required: true
  26117. type: integer
  26118. - description: 品牌ID
  26119. in: query
  26120. name: brandid
  26121. type: integer
  26122. - description: 品类ID
  26123. in: query
  26124. name: wrstandardid
  26125. type: integer
  26126. produces:
  26127. - application/json
  26128. responses:
  26129. "200":
  26130. description: OK
  26131. schema:
  26132. items:
  26133. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26134. type: array
  26135. "500":
  26136. description: Internal Server Error
  26137. schema:
  26138. $ref: '#/definitions/app.Response'
  26139. security:
  26140. - ApiKeyAuth: []
  26141. summary: 查询现货市价详情(现货市价/详情)
  26142. tags:
  26143. - 企业风险管理v3(app)
  26144. /Ermcp3/QuerySubTaaccount:
  26145. get:
  26146. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26147. parameters:
  26148. - description: 母账号id
  26149. in: query
  26150. name: parentaccountid
  26151. type: integer
  26152. - description: 母账号代码
  26153. in: query
  26154. name: parentaccountcode
  26155. type: string
  26156. produces:
  26157. - application/json
  26158. responses:
  26159. "200":
  26160. description: OK
  26161. schema:
  26162. items:
  26163. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26164. type: array
  26165. "500":
  26166. description: Internal Server Error
  26167. schema:
  26168. $ref: '#/definitions/app.Response'
  26169. security:
  26170. - ApiKeyAuth: []
  26171. summary: 查询期货子账户
  26172. tags:
  26173. - 企业风险管理v3(app)
  26174. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26175. get:
  26176. parameters:
  26177. - description: 套期项目ID
  26178. in: query
  26179. name: hedgeditemid
  26180. required: true
  26181. type: integer
  26182. produces:
  26183. - application/json
  26184. responses:
  26185. "200":
  26186. description: OK
  26187. schema:
  26188. items:
  26189. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26190. type: array
  26191. "500":
  26192. description: Internal Server Error
  26193. schema:
  26194. $ref: '#/definitions/app.Response'
  26195. security:
  26196. - ApiKeyAuth: []
  26197. summary: 现货成交明细查询
  26198. tags:
  26199. - 企业风险管理v8
  26200. /Ermcp8/QueryERMCP2HedgedItemspot:
  26201. get:
  26202. parameters:
  26203. - description: 套期项目ID
  26204. in: query
  26205. name: hedgeditemid
  26206. required: true
  26207. type: integer
  26208. produces:
  26209. - application/json
  26210. responses:
  26211. "200":
  26212. description: OK
  26213. schema:
  26214. items:
  26215. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  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. - 企业风险管理v8
  26226. /Ermcp8/QueryERMCPJRLinkPos:
  26227. get:
  26228. parameters:
  26229. - description: 套期项目ID
  26230. in: query
  26231. name: hedgeditemid
  26232. required: true
  26233. type: integer
  26234. produces:
  26235. - application/json
  26236. responses:
  26237. "200":
  26238. description: OK
  26239. schema:
  26240. items:
  26241. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26242. type: array
  26243. "500":
  26244. description: Internal Server Error
  26245. schema:
  26246. $ref: '#/definitions/app.Response'
  26247. security:
  26248. - ApiKeyAuth: []
  26249. summary: 期货持仓明细查询
  26250. tags:
  26251. - 企业风险管理v8
  26252. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26253. get:
  26254. parameters:
  26255. - description: 套期项目ID
  26256. in: query
  26257. name: hedgeditemid
  26258. required: true
  26259. type: integer
  26260. produces:
  26261. - application/json
  26262. responses:
  26263. "200":
  26264. description: OK
  26265. schema:
  26266. items:
  26267. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26268. type: array
  26269. "500":
  26270. description: Internal Server Error
  26271. schema:
  26272. $ref: '#/definitions/app.Response'
  26273. security:
  26274. - ApiKeyAuth: []
  26275. summary: 期货成交单明细查询
  26276. tags:
  26277. - 企业风险管理v8
  26278. /Ermcp8/QueryErmcp2AreaExposure:
  26279. get:
  26280. parameters:
  26281. - description: 用户ID
  26282. in: query
  26283. name: userid
  26284. required: true
  26285. type: string
  26286. produces:
  26287. - application/json
  26288. responses:
  26289. "200":
  26290. description: OK
  26291. schema:
  26292. items:
  26293. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26294. type: array
  26295. "500":
  26296. description: Internal Server Error
  26297. schema:
  26298. $ref: '#/definitions/app.Response'
  26299. security:
  26300. - ApiKeyAuth: []
  26301. summary: 企业敞口查询
  26302. tags:
  26303. - 企业风险管理v8
  26304. /Ermcp8/QueryErmcp2HedgedItem:
  26305. get:
  26306. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26307. parameters:
  26308. - description: 用户ID
  26309. in: query
  26310. name: userid
  26311. required: true
  26312. type: string
  26313. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26314. in: query
  26315. name: hedgedtype
  26316. type: integer
  26317. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26318. in: query
  26319. name: hedgeditemstatus
  26320. type: integer
  26321. produces:
  26322. - application/json
  26323. responses:
  26324. "200":
  26325. description: OK
  26326. schema:
  26327. items:
  26328. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26329. type: array
  26330. "500":
  26331. description: Internal Server Error
  26332. schema:
  26333. $ref: '#/definitions/app.Response'
  26334. security:
  26335. - ApiKeyAuth: []
  26336. summary: 查询被套期项目信息
  26337. tags:
  26338. - 企业风险管理v8
  26339. /Ermcp8/QueryErmcp2HedgedItemLink:
  26340. get:
  26341. parameters:
  26342. - description: 现货合同ID
  26343. in: query
  26344. name: spotcontractid
  26345. required: true
  26346. type: integer
  26347. produces:
  26348. - application/json
  26349. responses:
  26350. "200":
  26351. description: OK
  26352. schema:
  26353. items:
  26354. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26355. type: array
  26356. "500":
  26357. description: Internal Server Error
  26358. schema:
  26359. $ref: '#/definitions/app.Response'
  26360. security:
  26361. - ApiKeyAuth: []
  26362. summary: 现货合同关联被套期项目查询
  26363. tags:
  26364. - 企业风险管理v8
  26365. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26366. get:
  26367. parameters:
  26368. - description: 用户ID
  26369. in: query
  26370. name: userid
  26371. required: true
  26372. type: integer
  26373. - description: 套保品种ID
  26374. in: query
  26375. name: middlegoodsid
  26376. required: true
  26377. type: integer
  26378. produces:
  26379. - application/json
  26380. responses:
  26381. "200":
  26382. description: OK
  26383. schema:
  26384. items:
  26385. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26386. type: array
  26387. "500":
  26388. description: Internal Server Error
  26389. schema:
  26390. $ref: '#/definitions/app.Response'
  26391. security:
  26392. - ApiKeyAuth: []
  26393. summary: 敞口明细 - 计划变动明细
  26394. tags:
  26395. - 企业风险管理v8
  26396. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26397. get:
  26398. parameters:
  26399. - description: 用户ID
  26400. in: query
  26401. name: userid
  26402. required: true
  26403. type: integer
  26404. - description: 套保品种ID
  26405. in: query
  26406. name: middlegoodsid
  26407. required: true
  26408. type: integer
  26409. produces:
  26410. - application/json
  26411. responses:
  26412. "200":
  26413. description: OK
  26414. schema:
  26415. items:
  26416. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26417. type: array
  26418. "500":
  26419. description: Internal Server Error
  26420. schema:
  26421. $ref: '#/definitions/app.Response'
  26422. security:
  26423. - ApiKeyAuth: []
  26424. summary: 敞口明细 - 现货变动明细查询
  26425. tags:
  26426. - 企业风险管理v8
  26427. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26428. get:
  26429. parameters:
  26430. - description: 用户ID
  26431. in: query
  26432. name: userid
  26433. required: true
  26434. type: integer
  26435. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26436. in: query
  26437. name: spottype
  26438. required: true
  26439. type: integer
  26440. - description: 现货商品ID
  26441. in: query
  26442. name: wrstandardid
  26443. type: integer
  26444. produces:
  26445. - application/json
  26446. responses:
  26447. "200":
  26448. description: OK
  26449. schema:
  26450. items:
  26451. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26452. type: array
  26453. "500":
  26454. description: Internal Server Error
  26455. schema:
  26456. $ref: '#/definitions/app.Response'
  26457. security:
  26458. - ApiKeyAuth: []
  26459. summary: 可关联项目查询
  26460. tags:
  26461. - 企业风险管理v8
  26462. /Ermcp8/QueryErmcp8HedgeditemReport:
  26463. get:
  26464. parameters:
  26465. - description: 用户ID
  26466. in: query
  26467. name: userid
  26468. required: true
  26469. type: integer
  26470. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26471. in: query
  26472. name: cycletype
  26473. type: integer
  26474. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26475. 全(0)【原值】
  26476. in: query
  26477. name: cycletime
  26478. required: true
  26479. type: string
  26480. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26481. in: query
  26482. name: hedgedtype
  26483. type: integer
  26484. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26485. in: query
  26486. name: hedgeditemstatus
  26487. type: integer
  26488. - description: 项目编号,模糊查询
  26489. in: query
  26490. name: hedgeditemnum
  26491. type: string
  26492. - description: 现货商品ID
  26493. in: query
  26494. name: wrstandardid
  26495. type: integer
  26496. produces:
  26497. - application/json
  26498. responses:
  26499. "200":
  26500. description: OK
  26501. schema:
  26502. items:
  26503. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26504. type: array
  26505. "500":
  26506. description: Internal Server Error
  26507. schema:
  26508. $ref: '#/definitions/app.Response'
  26509. security:
  26510. - ApiKeyAuth: []
  26511. summary: 套期项目报表查询
  26512. tags:
  26513. - 企业风险管理v8
  26514. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26515. get:
  26516. parameters:
  26517. - description: 用户ID
  26518. in: query
  26519. name: userid
  26520. required: true
  26521. type: string
  26522. produces:
  26523. - application/json
  26524. responses:
  26525. "200":
  26526. description: OK
  26527. schema:
  26528. items:
  26529. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26530. type: array
  26531. "500":
  26532. description: Internal Server Error
  26533. schema:
  26534. $ref: '#/definitions/app.Response'
  26535. security:
  26536. - ApiKeyAuth: []
  26537. summary: 查询执行中项目查询信息
  26538. tags:
  26539. - 企业风险管理v8
  26540. /Ermcp8/QueryInternalEnableTradeDetail:
  26541. get:
  26542. parameters:
  26543. - description: 企业ID
  26544. in: query
  26545. name: areauserid
  26546. required: true
  26547. type: integer
  26548. - description: 期货合约ID
  26549. in: query
  26550. name: goodsid
  26551. required: true
  26552. type: integer
  26553. - description: 交易用户ID
  26554. in: query
  26555. name: tradeuserid
  26556. required: true
  26557. type: integer
  26558. produces:
  26559. - application/json
  26560. responses:
  26561. "200":
  26562. description: OK
  26563. schema:
  26564. items:
  26565. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26566. type: array
  26567. "500":
  26568. description: Internal Server Error
  26569. schema:
  26570. $ref: '#/definitions/app.Response'
  26571. security:
  26572. - ApiKeyAuth: []
  26573. summary: 内部成交单可关联项目查询
  26574. tags:
  26575. - 企业风险管理v8
  26576. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26577. get:
  26578. parameters:
  26579. - description: 用户编号
  26580. in: query
  26581. name: userid
  26582. required: true
  26583. type: integer
  26584. - description: 起始日期(格式yyyymmdd)
  26585. in: query
  26586. name: begindate
  26587. type: string
  26588. - description: 终止日期(格式yyyymmdd)
  26589. in: query
  26590. name: enddate
  26591. type: string
  26592. - description: 合约代码
  26593. in: query
  26594. name: goodscode
  26595. type: string
  26596. - description: 合约名称
  26597. in: query
  26598. name: goodsname
  26599. type: string
  26600. - description: 成交单号
  26601. in: query
  26602. name: tradeid
  26603. type: integer
  26604. - description: 方向 - 0:买 1:卖
  26605. in: query
  26606. name: buyorsell
  26607. type: integer
  26608. - description: 套期主体
  26609. in: query
  26610. name: accountname
  26611. type: string
  26612. produces:
  26613. - application/json
  26614. responses:
  26615. "200":
  26616. description: OK
  26617. schema:
  26618. items:
  26619. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  26620. type: array
  26621. "500":
  26622. description: Internal Server Error
  26623. schema:
  26624. $ref: '#/definitions/app.Response'
  26625. security:
  26626. - ApiKeyAuth: []
  26627. summary: 内部未关联成交单查询
  26628. tags:
  26629. - 企业风险管理v8
  26630. /Ermcp8/QueryMarketCalendar:
  26631. get:
  26632. parameters:
  26633. - description: 市场ID
  26634. in: query
  26635. name: marketid
  26636. type: integer
  26637. produces:
  26638. - application/json
  26639. responses:
  26640. "200":
  26641. description: OK
  26642. schema:
  26643. items:
  26644. $ref: '#/definitions/models.Marketcalendar'
  26645. type: array
  26646. "500":
  26647. description: Internal Server Error
  26648. schema:
  26649. $ref: '#/definitions/app.Response'
  26650. security:
  26651. - ApiKeyAuth: []
  26652. summary: 市场节假日查询
  26653. tags:
  26654. - 企业风险管理v8
  26655. /Ermcp8/QueryPatradeLinkDetail:
  26656. get:
  26657. parameters:
  26658. - description: 用户ID
  26659. in: query
  26660. name: userid
  26661. required: true
  26662. type: integer
  26663. - description: 套保品种ID
  26664. in: query
  26665. name: middlegoodsid
  26666. required: true
  26667. type: integer
  26668. produces:
  26669. - application/json
  26670. responses:
  26671. "200":
  26672. description: OK
  26673. schema:
  26674. items:
  26675. $ref: '#/definitions/models.Patradelinkdetail'
  26676. type: array
  26677. "500":
  26678. description: Internal Server Error
  26679. schema:
  26680. $ref: '#/definitions/app.Response'
  26681. security:
  26682. - ApiKeyAuth: []
  26683. summary: 敞口明细 - 期货变动明细
  26684. tags:
  26685. - 企业风险管理v8
  26686. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  26687. get:
  26688. parameters:
  26689. - description: 企业ID
  26690. in: query
  26691. name: areauserid
  26692. required: true
  26693. type: integer
  26694. - description: 计划类型 - 1:采购 -1:销售
  26695. in: query
  26696. name: contracttype
  26697. type: integer
  26698. - description: 计划编号,模糊查询
  26699. in: query
  26700. name: hedgeplanno
  26701. type: string
  26702. - description: 现货商品,模糊查询
  26703. in: query
  26704. name: wrstandardname
  26705. type: string
  26706. produces:
  26707. - application/json
  26708. responses:
  26709. "200":
  26710. description: OK
  26711. schema:
  26712. items:
  26713. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  26714. type: array
  26715. "500":
  26716. description: Internal Server Error
  26717. schema:
  26718. $ref: '#/definitions/app.Response'
  26719. security:
  26720. - ApiKeyAuth: []
  26721. summary: 未关联购销计划
  26722. tags:
  26723. - 企业风险管理v8
  26724. /Ermcp8/QueryUnLinkSpotContract:
  26725. get:
  26726. parameters:
  26727. - description: 用户ID
  26728. in: query
  26729. name: userid
  26730. required: true
  26731. type: integer
  26732. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  26733. in: query
  26734. name: pricetype
  26735. type: integer
  26736. - description: 合同编号, 模拟查询
  26737. in: query
  26738. name: contractno
  26739. type: string
  26740. - description: 对手方, 模拟查询
  26741. in: query
  26742. name: customername
  26743. type: string
  26744. - description: 项合同类型 - 1:采购 -1:销售
  26745. in: query
  26746. name: contracttype
  26747. type: integer
  26748. produces:
  26749. - application/json
  26750. responses:
  26751. "200":
  26752. description: OK
  26753. schema:
  26754. items:
  26755. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  26756. type: array
  26757. "500":
  26758. description: Internal Server Error
  26759. schema:
  26760. $ref: '#/definitions/app.Response'
  26761. security:
  26762. - ApiKeyAuth: []
  26763. summary: 未关联合同查询
  26764. tags:
  26765. - 企业风险管理v8
  26766. /Erms2/QueryArbitrageStrategy:
  26767. get:
  26768. parameters:
  26769. - description: 账户ID
  26770. in: query
  26771. name: userid
  26772. required: true
  26773. type: integer
  26774. - description: 商品组ID(品种ID)
  26775. in: query
  26776. name: goodsgroupid
  26777. type: string
  26778. produces:
  26779. - application/json
  26780. responses:
  26781. "200":
  26782. description: OK
  26783. schema:
  26784. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  26785. "500":
  26786. description: Internal Server Error
  26787. schema:
  26788. $ref: '#/definitions/app.Response'
  26789. security:
  26790. - ApiKeyAuth: []
  26791. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  26792. tags:
  26793. - 风险管理
  26794. /Erms2/QueryInnerTradeDetail:
  26795. get:
  26796. parameters:
  26797. - description: 资金账户
  26798. in: query
  26799. name: accountid
  26800. required: true
  26801. type: integer
  26802. produces:
  26803. - application/json
  26804. responses:
  26805. "200":
  26806. description: OK
  26807. schema:
  26808. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  26809. "500":
  26810. description: Internal Server Error
  26811. schema:
  26812. $ref: '#/definitions/app.Response'
  26813. security:
  26814. - ApiKeyAuth: []
  26815. summary: 查询内部成交单信息
  26816. tags:
  26817. - 风险管理
  26818. /Erms2/QuerySpotContract:
  26819. get:
  26820. parameters:
  26821. - description: 策略申请ID
  26822. in: query
  26823. name: asapplyid
  26824. required: true
  26825. type: integer
  26826. - description: 现货合同ID
  26827. in: query
  26828. name: spotcontractid
  26829. type: integer
  26830. produces:
  26831. - application/json
  26832. responses:
  26833. "200":
  26834. description: OK
  26835. schema:
  26836. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26837. "500":
  26838. description: Internal Server Error
  26839. schema:
  26840. $ref: '#/definitions/app.Response'
  26841. security:
  26842. - ApiKeyAuth: []
  26843. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26844. tags:
  26845. - 风险管理
  26846. /Erms3/AddErms2ASApply:
  26847. post:
  26848. parameters:
  26849. - description: 申请参数
  26850. in: body
  26851. name: jsonBody
  26852. required: true
  26853. schema:
  26854. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26855. produces:
  26856. - application/json
  26857. responses:
  26858. "200":
  26859. description: OK
  26860. schema:
  26861. $ref: '#/definitions/app.Response'
  26862. "500":
  26863. description: Internal Server Error
  26864. schema:
  26865. $ref: '#/definitions/app.Response'
  26866. security:
  26867. - ApiKeyAuth: []
  26868. summary: 新增期现套利业务申请
  26869. tags:
  26870. - 风险管理v3
  26871. /Erms3/AddErms2SpotTradeApply:
  26872. post:
  26873. parameters:
  26874. - description: 申请参数
  26875. in: body
  26876. name: jsonBody
  26877. required: true
  26878. schema:
  26879. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26880. produces:
  26881. - application/json
  26882. responses:
  26883. "200":
  26884. description: OK
  26885. schema:
  26886. $ref: '#/definitions/app.Response'
  26887. "500":
  26888. description: Internal Server Error
  26889. schema:
  26890. $ref: '#/definitions/app.Response'
  26891. security:
  26892. - ApiKeyAuth: []
  26893. summary: 新增现货贸易业务申请
  26894. tags:
  26895. - 风险管理v3
  26896. /Erms3/AddSpotContractApply:
  26897. post:
  26898. parameters:
  26899. - description: 申请参数
  26900. in: body
  26901. name: jsonBody
  26902. required: true
  26903. schema:
  26904. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26905. produces:
  26906. - application/json
  26907. responses:
  26908. "200":
  26909. description: OK
  26910. schema:
  26911. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26912. "500":
  26913. description: Internal Server Error
  26914. schema:
  26915. $ref: '#/definitions/app.Response'
  26916. security:
  26917. - ApiKeyAuth: []
  26918. summary: 新增现货合同申请
  26919. tags:
  26920. - 风险管理v3
  26921. /Erms3/AddUserInfoApply:
  26922. post:
  26923. parameters:
  26924. - description: 用户信息
  26925. in: body
  26926. name: jsonBody
  26927. required: true
  26928. schema:
  26929. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26930. produces:
  26931. - application/json
  26932. responses:
  26933. "200":
  26934. description: OK
  26935. schema:
  26936. $ref: '#/definitions/app.Response'
  26937. "500":
  26938. description: Internal Server Error
  26939. schema:
  26940. $ref: '#/definitions/app.Response'
  26941. security:
  26942. - ApiKeyAuth: []
  26943. summary: 新增客户申请
  26944. tags:
  26945. - 风险管理v3
  26946. /Erms3/DeleteUserInfoApply:
  26947. get:
  26948. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26949. parameters:
  26950. - description: 用户ID
  26951. in: query
  26952. name: userID
  26953. required: true
  26954. type: integer
  26955. produces:
  26956. - application/json
  26957. responses:
  26958. "200":
  26959. description: OK
  26960. schema:
  26961. $ref: '#/definitions/app.Response'
  26962. "500":
  26963. description: Internal Server Error
  26964. schema:
  26965. $ref: '#/definitions/app.Response'
  26966. security:
  26967. - ApiKeyAuth: []
  26968. summary: 删除客户申请
  26969. tags:
  26970. - 风险管理v3
  26971. /Erms3/ModifyUserInfoApply:
  26972. post:
  26973. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26974. int, "userstate": 2 }'
  26975. parameters:
  26976. - description: 用户信息
  26977. in: body
  26978. name: jsonBody
  26979. required: true
  26980. schema:
  26981. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26982. produces:
  26983. - application/json
  26984. responses:
  26985. "200":
  26986. description: OK
  26987. schema:
  26988. $ref: '#/definitions/app.Response'
  26989. "500":
  26990. description: Internal Server Error
  26991. schema:
  26992. $ref: '#/definitions/app.Response'
  26993. security:
  26994. - ApiKeyAuth: []
  26995. summary: 修改客户申请
  26996. tags:
  26997. - 风险管理v3
  26998. /Erms3/QueryBusinessInfo:
  26999. get:
  27000. parameters:
  27001. - description: 资金账号ID列表,用逗号分隔
  27002. in: query
  27003. name: accountids
  27004. required: true
  27005. type: string
  27006. - description: 状态,0为未结束 1为已结束
  27007. in: query
  27008. name: status
  27009. required: true
  27010. type: integer
  27011. produces:
  27012. - application/json
  27013. responses:
  27014. "200":
  27015. description: OK
  27016. schema:
  27017. items:
  27018. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27019. type: array
  27020. "500":
  27021. description: Internal Server Error
  27022. schema:
  27023. $ref: '#/definitions/app.Response'
  27024. security:
  27025. - ApiKeyAuth: []
  27026. summary: 查询业务表单数据
  27027. tags:
  27028. - 风险管理v3
  27029. /Erms3/QueryPendingAuditContract:
  27030. get:
  27031. parameters:
  27032. - description: 资金账号ID列表,逗号隔开
  27033. in: query
  27034. name: accountids
  27035. required: true
  27036. type: string
  27037. - description: 合同类型 1-采购 -1-销售
  27038. in: query
  27039. name: contracttype
  27040. required: true
  27041. type: integer
  27042. - description: 合同模式 1-普通 2-回购
  27043. in: query
  27044. name: contractmode
  27045. required: true
  27046. type: integer
  27047. produces:
  27048. - application/json
  27049. responses:
  27050. "200":
  27051. description: OK
  27052. schema:
  27053. items:
  27054. $ref: '#/definitions/erms3.QryAuditContractRsp'
  27055. type: array
  27056. "500":
  27057. description: Internal Server Error
  27058. schema:
  27059. $ref: '#/definitions/app.Response'
  27060. security:
  27061. - ApiKeyAuth: []
  27062. summary: 查询待审核合同
  27063. tags:
  27064. - 风险管理v3
  27065. /Erms3/QueryPendingBusiness:
  27066. get:
  27067. parameters:
  27068. - description: 资金账号ID列表,逗号隔开
  27069. in: query
  27070. name: accountids
  27071. required: true
  27072. type: string
  27073. produces:
  27074. - application/json
  27075. responses:
  27076. "200":
  27077. description: OK
  27078. schema:
  27079. items:
  27080. $ref: '#/definitions/erms3.QryPendingBizRsp'
  27081. type: array
  27082. "500":
  27083. description: Internal Server Error
  27084. schema:
  27085. $ref: '#/definitions/app.Response'
  27086. security:
  27087. - ApiKeyAuth: []
  27088. summary: 查询待审核基差贸易业务
  27089. tags:
  27090. - 风险管理v3
  27091. /Erms3/QuerySpotContractAppleForm:
  27092. get:
  27093. parameters:
  27094. - description: 登录账号
  27095. in: query
  27096. name: loginID
  27097. required: true
  27098. type: integer
  27099. produces:
  27100. - application/json
  27101. responses:
  27102. "200":
  27103. description: OK
  27104. schema:
  27105. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27106. "500":
  27107. description: Internal Server Error
  27108. schema:
  27109. $ref: '#/definitions/app.Response'
  27110. security:
  27111. - ApiKeyAuth: []
  27112. summary: 查询合同申请表单数据
  27113. tags:
  27114. - 风险管理v3
  27115. /Erms3/QuerySpotContractDetail:
  27116. get:
  27117. parameters:
  27118. - description: 资金账号ID列表,用逗号分隔
  27119. in: query
  27120. name: accountids
  27121. required: true
  27122. type: string
  27123. - description: 合同类型,1为采购合同 -1为销售合同
  27124. in: query
  27125. name: contracttype
  27126. required: true
  27127. type: integer
  27128. - description: 合同模式,1为普通合同 2为回购销售合同
  27129. in: query
  27130. name: contractmode
  27131. required: true
  27132. type: integer
  27133. - description: 状态,0为履约中 1为已完成
  27134. in: query
  27135. name: status
  27136. required: true
  27137. type: integer
  27138. produces:
  27139. - application/json
  27140. responses:
  27141. "200":
  27142. description: OK
  27143. schema:
  27144. items:
  27145. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27146. type: array
  27147. "500":
  27148. description: Internal Server Error
  27149. schema:
  27150. $ref: '#/definitions/app.Response'
  27151. security:
  27152. - ApiKeyAuth: []
  27153. summary: 查询合同详细信息
  27154. tags:
  27155. - 风险管理v3
  27156. /Erms3/QueryUserInfoApplies:
  27157. get:
  27158. parameters:
  27159. - description: 页码
  27160. in: query
  27161. name: page
  27162. type: integer
  27163. - description: 每页条数
  27164. in: query
  27165. name: pagesize
  27166. type: integer
  27167. - description: 客户名称,支持模糊查询
  27168. in: query
  27169. name: userName
  27170. type: string
  27171. produces:
  27172. - application/json
  27173. responses:
  27174. "200":
  27175. description: OK
  27176. schema:
  27177. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27178. "500":
  27179. description: Internal Server Error
  27180. schema:
  27181. $ref: '#/definitions/app.Response'
  27182. security:
  27183. - ApiKeyAuth: []
  27184. summary: 客户申请信息查询
  27185. tags:
  27186. - 风险管理v3
  27187. /Erms3/QueryUserInfos:
  27188. get:
  27189. parameters:
  27190. - description: 页码
  27191. in: query
  27192. name: page
  27193. type: integer
  27194. - description: 每页条数
  27195. in: query
  27196. name: pagesize
  27197. type: integer
  27198. - description: 客户名称,支持模糊查询
  27199. in: query
  27200. name: userName
  27201. type: string
  27202. produces:
  27203. - application/json
  27204. responses:
  27205. "200":
  27206. description: OK
  27207. schema:
  27208. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27209. "500":
  27210. description: Internal Server Error
  27211. schema:
  27212. $ref: '#/definitions/app.Response'
  27213. security:
  27214. - ApiKeyAuth: []
  27215. summary: 客户信息查询
  27216. tags:
  27217. - 风险管理v3
  27218. /Guangzuan/QueryBuyOrder:
  27219. get:
  27220. parameters:
  27221. - description: 页码
  27222. in: query
  27223. name: page
  27224. type: integer
  27225. - description: 每页条数
  27226. in: query
  27227. name: pagesize
  27228. type: integer
  27229. - description: 商品(查询字段-模糊查询)
  27230. in: query
  27231. name: zsallproperties
  27232. type: string
  27233. - description: 钻石分类枚举ID
  27234. in: query
  27235. name: zscategory
  27236. type: integer
  27237. - description: 委托单号
  27238. in: query
  27239. name: wrtradeorderid
  27240. type: integer
  27241. - description: 买方(查询字段-模糊查询)
  27242. in: query
  27243. name: buyusername
  27244. type: string
  27245. produces:
  27246. - application/json
  27247. responses:
  27248. "200":
  27249. description: OK
  27250. schema:
  27251. items:
  27252. $ref: '#/definitions/models.BuyOrder'
  27253. type: array
  27254. "500":
  27255. description: Internal Server Error
  27256. schema:
  27257. $ref: '#/definitions/app.Response'
  27258. security:
  27259. - ApiKeyAuth: []
  27260. - LoginID: []
  27261. - Group: []
  27262. summary: 查询求购大厅委托单
  27263. tags:
  27264. - 广钻
  27265. /Guangzuan/QueryDiamond:
  27266. post:
  27267. parameters:
  27268. - description: 钻石搜索入参
  27269. in: body
  27270. name: data
  27271. required: true
  27272. schema:
  27273. $ref: '#/definitions/models.SellOrderQueryReq'
  27274. produces:
  27275. - application/json
  27276. responses:
  27277. "200":
  27278. description: OK
  27279. schema:
  27280. items:
  27281. $ref: '#/definitions/models.SellOrder'
  27282. type: array
  27283. "500":
  27284. description: Internal Server Error
  27285. schema:
  27286. $ref: '#/definitions/app.Response'
  27287. security:
  27288. - ApiKeyAuth: []
  27289. - LoginID: []
  27290. - Group: []
  27291. summary: 钻石搜索
  27292. tags:
  27293. - 广钻
  27294. /Guangzuan/QueryMyWRPosition:
  27295. get:
  27296. parameters:
  27297. - description: 页码
  27298. in: query
  27299. name: page
  27300. type: integer
  27301. - description: 每页条数
  27302. in: query
  27303. name: pagesize
  27304. type: integer
  27305. - description: 登录用户ID
  27306. in: query
  27307. name: wruserid
  27308. required: true
  27309. type: integer
  27310. - description: 商品(查询字段-模糊查询)
  27311. in: query
  27312. name: zsallproperties
  27313. type: string
  27314. - description: 钻石分类枚举ID
  27315. in: query
  27316. name: zscategory
  27317. type: integer
  27318. - description: 仓库ID
  27319. in: query
  27320. name: warehouseid
  27321. type: integer
  27322. produces:
  27323. - application/json
  27324. responses:
  27325. "200":
  27326. description: OK
  27327. schema:
  27328. items:
  27329. $ref: '#/definitions/models.MyWRPosition'
  27330. type: array
  27331. "500":
  27332. description: Internal Server Error
  27333. schema:
  27334. $ref: '#/definitions/app.Response'
  27335. security:
  27336. - ApiKeyAuth: []
  27337. - LoginID: []
  27338. - Group: []
  27339. summary: 查询我的库存
  27340. tags:
  27341. - 广钻
  27342. /Guangzuan/QuerySellOrder:
  27343. get:
  27344. parameters:
  27345. - description: 页码
  27346. in: query
  27347. name: page
  27348. type: integer
  27349. - description: 每页条数
  27350. in: query
  27351. name: pagesize
  27352. type: integer
  27353. - description: 商品(查询字段-模糊查询)
  27354. in: query
  27355. name: zsallproperties
  27356. type: string
  27357. - description: 钻石分类枚举ID
  27358. in: query
  27359. name: zscategory
  27360. type: integer
  27361. - description: 委托单号
  27362. in: query
  27363. name: wrtradeorderid
  27364. type: integer
  27365. - description: 卖方(查询字段-模糊查询)
  27366. in: query
  27367. name: buyusername
  27368. type: string
  27369. produces:
  27370. - application/json
  27371. responses:
  27372. "200":
  27373. description: OK
  27374. schema:
  27375. items:
  27376. $ref: '#/definitions/models.SellOrder'
  27377. type: array
  27378. "500":
  27379. description: Internal Server Error
  27380. schema:
  27381. $ref: '#/definitions/app.Response'
  27382. security:
  27383. - ApiKeyAuth: []
  27384. - LoginID: []
  27385. - Group: []
  27386. summary: 查询出售大厅委托单
  27387. tags:
  27388. - 广钻
  27389. /Guangzuan/QueryWarehouseInfo:
  27390. get:
  27391. parameters:
  27392. - description: 页码
  27393. in: query
  27394. name: page
  27395. type: integer
  27396. - description: 每页条数
  27397. in: query
  27398. name: pagesize
  27399. type: integer
  27400. - description: 用户ID
  27401. in: query
  27402. name: userid
  27403. required: true
  27404. type: integer
  27405. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27406. in: query
  27407. name: status
  27408. type: string
  27409. - description: 是返回交易所仓库
  27410. in: query
  27411. name: isincludeexchange
  27412. type: boolean
  27413. produces:
  27414. - application/json
  27415. responses:
  27416. "200":
  27417. description: OK
  27418. schema:
  27419. items:
  27420. $ref: '#/definitions/models.GZWarehouseinfo'
  27421. type: array
  27422. "500":
  27423. description: Internal Server Error
  27424. schema:
  27425. $ref: '#/definitions/app.Response'
  27426. security:
  27427. - ApiKeyAuth: []
  27428. - LoginID: []
  27429. - Group: []
  27430. summary: 查询仓库信息
  27431. tags:
  27432. - 广钻
  27433. /HSBY/GetHsbyMyCount:
  27434. get:
  27435. description: 说明: 不包括已完成的数量。
  27436. parameters:
  27437. - description: 资金账户列表,格式:1,2,3
  27438. in: query
  27439. name: accountIDs
  27440. required: true
  27441. type: string
  27442. produces:
  27443. - application/json
  27444. responses:
  27445. "200":
  27446. description: OK
  27447. schema:
  27448. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  27449. "500":
  27450. description: Internal Server Error
  27451. schema:
  27452. $ref: '#/definitions/app.Response'
  27453. security:
  27454. - ApiKeyAuth: []
  27455. summary: 获取我的订单与包裹数量
  27456. tags:
  27457. - 定制【海商报业】
  27458. /HSBY/QueryClientFixedADConfigs:
  27459. get:
  27460. produces:
  27461. - application/json
  27462. responses:
  27463. "200":
  27464. description: OK
  27465. schema:
  27466. $ref: '#/definitions/models.Clientfixedadconfig'
  27467. "500":
  27468. description: Internal Server Error
  27469. schema:
  27470. $ref: '#/definitions/app.Response'
  27471. security:
  27472. - ApiKeyAuth: []
  27473. summary: 获取终端固定广告配置
  27474. tags:
  27475. - 定制【海商报业】
  27476. /HSBY/QueryHsbyBuyMyTradeDetail:
  27477. get:
  27478. parameters:
  27479. - description: 页码
  27480. in: query
  27481. name: page
  27482. type: integer
  27483. - description: 每页条数
  27484. in: query
  27485. name: pagesize
  27486. type: integer
  27487. - description: 资金账户列表,格式:1,2,3
  27488. in: query
  27489. name: accountIDs
  27490. required: true
  27491. type: string
  27492. produces:
  27493. - application/json
  27494. responses:
  27495. "200":
  27496. description: OK
  27497. schema:
  27498. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  27499. "500":
  27500. description: Internal Server Error
  27501. schema:
  27502. $ref: '#/definitions/app.Response'
  27503. security:
  27504. - ApiKeyAuth: []
  27505. summary: 查询"我的订单 - 已完成"单据信息
  27506. tags:
  27507. - 定制【海商报业】
  27508. /HSBY/QueryHsbyGoodsOrderDetails:
  27509. get:
  27510. description: 说明:查询结果已按委托价格和委托时间排序
  27511. parameters:
  27512. - description: 商品ID
  27513. in: query
  27514. name: goodsID
  27515. required: true
  27516. type: integer
  27517. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  27518. in: query
  27519. name: accountIDs
  27520. type: string
  27521. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  27522. in: query
  27523. name: buyOrSell
  27524. type: integer
  27525. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  27526. in: query
  27527. name: price
  27528. type: number
  27529. - description: 档位,不传则默认为3档
  27530. in: query
  27531. name: speed
  27532. type: integer
  27533. produces:
  27534. - application/json
  27535. responses:
  27536. "200":
  27537. description: OK
  27538. schema:
  27539. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  27540. "500":
  27541. description: Internal Server Error
  27542. schema:
  27543. $ref: '#/definitions/app.Response'
  27544. security:
  27545. - ApiKeyAuth: []
  27546. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  27547. tags:
  27548. - 定制【海商报业】
  27549. /HSBY/QueryHsbyListingGoodsDetail:
  27550. get:
  27551. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  27552. parameters:
  27553. - description: 商品ID
  27554. in: query
  27555. name: goodsID
  27556. required: true
  27557. type: integer
  27558. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  27559. in: query
  27560. name: accountID
  27561. type: integer
  27562. produces:
  27563. - application/json
  27564. responses:
  27565. "200":
  27566. description: OK
  27567. schema:
  27568. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  27569. "500":
  27570. description: Internal Server Error
  27571. schema:
  27572. $ref: '#/definitions/app.Response'
  27573. security:
  27574. - ApiKeyAuth: []
  27575. summary: 查询二级市场(挂牌点选)商品信息详情
  27576. tags:
  27577. - 定制【海商报业】
  27578. /HSBY/QueryHsbyMarketGoodsDetail:
  27579. get:
  27580. parameters:
  27581. - description: 委托单号
  27582. in: query
  27583. name: orderID
  27584. required: true
  27585. type: integer
  27586. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  27587. in: query
  27588. name: accountID
  27589. type: integer
  27590. produces:
  27591. - application/json
  27592. responses:
  27593. "200":
  27594. description: OK
  27595. schema:
  27596. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  27597. "500":
  27598. description: Internal Server Error
  27599. schema:
  27600. $ref: '#/definitions/app.Response'
  27601. security:
  27602. - ApiKeyAuth: []
  27603. summary: 查询三级市场(商城)商品信息详情
  27604. tags:
  27605. - 定制【海商报业】
  27606. /HSBY/QueryHsbyMarketGoodses:
  27607. get:
  27608. parameters:
  27609. - description: 页码
  27610. in: query
  27611. name: page
  27612. type: integer
  27613. - description: 每页条数
  27614. in: query
  27615. name: pagesize
  27616. type: integer
  27617. - description: 市场ID列表,格式:1,2,3
  27618. in: query
  27619. name: marketIDs
  27620. required: true
  27621. type: string
  27622. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  27623. in: query
  27624. name: accountID
  27625. required: true
  27626. type: integer
  27627. - description: 类别ID
  27628. in: query
  27629. name: categoryID
  27630. type: integer
  27631. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  27632. in: query
  27633. name: goodsIDs
  27634. type: string
  27635. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  27636. in: query
  27637. name: couponTypeID
  27638. type: integer
  27639. produces:
  27640. - application/json
  27641. responses:
  27642. "200":
  27643. description: OK
  27644. schema:
  27645. $ref: '#/definitions/models.HsbyMarketGoods'
  27646. "500":
  27647. description: Internal Server Error
  27648. schema:
  27649. $ref: '#/definitions/app.Response'
  27650. security:
  27651. - ApiKeyAuth: []
  27652. summary: 查询特卖商品列表(三级商城)
  27653. tags:
  27654. - 定制【海商报业】
  27655. /HSBY/QueryHsbyMarkets:
  27656. get:
  27657. produces:
  27658. - application/json
  27659. responses:
  27660. "200":
  27661. description: OK
  27662. schema:
  27663. $ref: '#/definitions/models.HsbyMarketInfo'
  27664. "500":
  27665. description: Internal Server Error
  27666. schema:
  27667. $ref: '#/definitions/app.Response'
  27668. security:
  27669. - ApiKeyAuth: []
  27670. summary: 查询海商报业相关市场信息
  27671. tags:
  27672. - 定制【海商报业】
  27673. /HSBY/QueryHsbyMyBuyOrderDetails:
  27674. get:
  27675. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  27676. parameters:
  27677. - description: 资金账户列表,格式:1,2,3
  27678. in: query
  27679. name: accountIDs
  27680. required: true
  27681. type: string
  27682. produces:
  27683. - application/json
  27684. responses:
  27685. "200":
  27686. description: OK
  27687. schema:
  27688. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  27689. "500":
  27690. description: Internal Server Error
  27691. schema:
  27692. $ref: '#/definitions/app.Response'
  27693. security:
  27694. - ApiKeyAuth: []
  27695. summary: 查询“我的订单”信息
  27696. tags:
  27697. - 定制【海商报业】
  27698. /HSBY/QueryHsbyMyGoods:
  27699. get:
  27700. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  27701. parameters:
  27702. - description: 资金账户列表,格式:1,2,3
  27703. in: query
  27704. name: accountIDs
  27705. required: true
  27706. type: string
  27707. produces:
  27708. - application/json
  27709. responses:
  27710. "200":
  27711. description: OK
  27712. schema:
  27713. $ref: '#/definitions/models.HsbyMyGoods'
  27714. "500":
  27715. description: Internal Server Error
  27716. schema:
  27717. $ref: '#/definitions/app.Response'
  27718. security:
  27719. - ApiKeyAuth: []
  27720. summary: 查询“我的商品”信息
  27721. tags:
  27722. - 定制【海商报业】
  27723. /HSBY/QueryHsbyMyPackages:
  27724. get:
  27725. parameters:
  27726. - description: 资金账户列表,格式:1,2,3
  27727. in: query
  27728. name: accountIDs
  27729. required: true
  27730. type: string
  27731. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27732. in: query
  27733. name: takeOrderStatus
  27734. type: integer
  27735. produces:
  27736. - application/json
  27737. responses:
  27738. "200":
  27739. description: OK
  27740. schema:
  27741. $ref: '#/definitions/models.HsbyMyPackage'
  27742. "500":
  27743. description: Internal Server Error
  27744. schema:
  27745. $ref: '#/definitions/app.Response'
  27746. security:
  27747. - ApiKeyAuth: []
  27748. summary: 查询我的包裹信息
  27749. tags:
  27750. - 定制【海商报业】
  27751. /HSBY/QueryHsbyPreGoodsDetail:
  27752. get:
  27753. parameters:
  27754. - description: 商品ID
  27755. in: query
  27756. name: goodsID
  27757. required: true
  27758. type: integer
  27759. - description: 资金账户,主要用于获取预售商品购买上限
  27760. in: query
  27761. name: accountID
  27762. type: integer
  27763. produces:
  27764. - application/json
  27765. responses:
  27766. "200":
  27767. description: OK
  27768. schema:
  27769. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  27770. "500":
  27771. description: Internal Server Error
  27772. schema:
  27773. $ref: '#/definitions/app.Response'
  27774. security:
  27775. - ApiKeyAuth: []
  27776. summary: 查询一级市场(预售)商品信息详情
  27777. tags:
  27778. - 定制【海商报业】
  27779. /HSBY/QueryHsbyPreGoodses:
  27780. get:
  27781. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  27782. parameters:
  27783. - description: 页码
  27784. in: query
  27785. name: page
  27786. type: integer
  27787. - description: 每页条数
  27788. in: query
  27789. name: pagesize
  27790. type: integer
  27791. - description: 市场ID列表,格式:1,2,3
  27792. in: query
  27793. name: marketIDs
  27794. required: true
  27795. type: string
  27796. - description: 目的地(省)ID
  27797. in: query
  27798. name: descProvinceID
  27799. type: integer
  27800. - description: 目的地(市)ID
  27801. in: query
  27802. name: descCityID
  27803. type: integer
  27804. produces:
  27805. - application/json
  27806. responses:
  27807. "200":
  27808. description: OK
  27809. schema:
  27810. $ref: '#/definitions/models.HsbyPreGoods'
  27811. "500":
  27812. description: Internal Server Error
  27813. schema:
  27814. $ref: '#/definitions/app.Response'
  27815. security:
  27816. - ApiKeyAuth: []
  27817. summary: 查询新品上市商品列表(一级市场预售)
  27818. tags:
  27819. - 定制【海商报业】
  27820. /HSBY/QueryHsbySellMyDetails:
  27821. get:
  27822. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  27823. parameters:
  27824. - description: 页码
  27825. in: query
  27826. name: page
  27827. type: integer
  27828. - description: 每页条数
  27829. in: query
  27830. name: pagesize
  27831. type: integer
  27832. - description: 资金账户列表,格式:1,2,3
  27833. in: query
  27834. name: accountIDs
  27835. required: true
  27836. type: string
  27837. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  27838. in: query
  27839. name: orderType
  27840. type: integer
  27841. produces:
  27842. - application/json
  27843. responses:
  27844. "200":
  27845. description: OK
  27846. schema:
  27847. $ref: '#/definitions/models.HsbySellMyDetail'
  27848. "500":
  27849. description: Internal Server Error
  27850. schema:
  27851. $ref: '#/definitions/app.Response'
  27852. security:
  27853. - ApiKeyAuth: []
  27854. summary: 查询"我的闲置"单据信息
  27855. tags:
  27856. - 定制【海商报业】
  27857. /HSBY/QueryHsbyTopGoodses:
  27858. get:
  27859. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  27860. parameters:
  27861. - description: 页码
  27862. in: query
  27863. name: page
  27864. type: integer
  27865. - description: 每页条数
  27866. in: query
  27867. name: pagesize
  27868. type: integer
  27869. - description: 市场ID列表,格式:1,2,3
  27870. in: query
  27871. name: marketIDs
  27872. required: true
  27873. type: string
  27874. - description: 目的地(省)ID
  27875. in: query
  27876. name: descProvinceID
  27877. type: integer
  27878. - description: 目的地(市)ID
  27879. in: query
  27880. name: descCityID
  27881. type: integer
  27882. produces:
  27883. - application/json
  27884. responses:
  27885. "200":
  27886. description: OK
  27887. schema:
  27888. $ref: '#/definitions/models.HsbyTopGoods'
  27889. "500":
  27890. description: Internal Server Error
  27891. schema:
  27892. $ref: '#/definitions/app.Response'
  27893. security:
  27894. - ApiKeyAuth: []
  27895. summary: 查询热卖商品列表(二级市场挂牌点选)
  27896. tags:
  27897. - 定制【海商报业】
  27898. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  27899. get:
  27900. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  27901. parameters:
  27902. - description: 商品ID
  27903. in: query
  27904. name: goodsID
  27905. required: true
  27906. type: integer
  27907. produces:
  27908. - application/json
  27909. responses:
  27910. "200":
  27911. description: OK
  27912. schema:
  27913. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  27914. "500":
  27915. description: Internal Server Error
  27916. schema:
  27917. $ref: '#/definitions/app.Response'
  27918. security:
  27919. - ApiKeyAuth: []
  27920. summary: 查询游客三级市场(商城)商品信息详情
  27921. tags:
  27922. - 定制【海商报业】
  27923. /HSBY/QueryHsbyVisitorMarketGoodses:
  27924. get:
  27925. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  27926. parameters:
  27927. - description: 页码
  27928. in: query
  27929. name: page
  27930. type: integer
  27931. - description: 每页条数
  27932. in: query
  27933. name: pagesize
  27934. type: integer
  27935. - description: 市场ID列表,格式:1,2,3
  27936. in: query
  27937. name: marketIDs
  27938. required: true
  27939. type: string
  27940. - description: 类别ID
  27941. in: query
  27942. name: categoryID
  27943. type: integer
  27944. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  27945. in: query
  27946. name: goodsIDs
  27947. type: string
  27948. produces:
  27949. - application/json
  27950. responses:
  27951. "200":
  27952. description: OK
  27953. schema:
  27954. $ref: '#/definitions/models.HsbyMarketGoods'
  27955. "500":
  27956. description: Internal Server Error
  27957. schema:
  27958. $ref: '#/definitions/app.Response'
  27959. security:
  27960. - ApiKeyAuth: []
  27961. summary: 查询游客特卖商品列表(三级商城)
  27962. tags:
  27963. - 定制【海商报业】
  27964. /HSBY/QueryMyCollectionOrders:
  27965. get:
  27966. parameters:
  27967. - description: 页码
  27968. in: query
  27969. name: page
  27970. type: integer
  27971. - description: 每页条数
  27972. in: query
  27973. name: pagesize
  27974. type: integer
  27975. - description: 资金账户,格式:1,2,3
  27976. in: query
  27977. name: accountIDs
  27978. required: true
  27979. type: string
  27980. produces:
  27981. - application/json
  27982. responses:
  27983. "200":
  27984. description: OK
  27985. schema:
  27986. $ref: '#/definitions/models.HsbySellCollectionOrder'
  27987. "500":
  27988. description: Internal Server Error
  27989. schema:
  27990. $ref: '#/definitions/app.Response'
  27991. security:
  27992. - ApiKeyAuth: []
  27993. summary: 我的闲置中收款信息查询
  27994. tags:
  27995. - 定制【海商报业】
  27996. /HSBY/QueryMyCouponHolds:
  27997. get:
  27998. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  27999. parameters:
  28000. - description: 资金账户列表,格式:1,2,3
  28001. in: query
  28002. name: accountIDs
  28003. required: true
  28004. type: string
  28005. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  28006. in: query
  28007. name: holdStatus
  28008. type: string
  28009. produces:
  28010. - application/json
  28011. responses:
  28012. "200":
  28013. description: OK
  28014. schema:
  28015. $ref: '#/definitions/models.MyCouponHold'
  28016. "500":
  28017. description: Internal Server Error
  28018. schema:
  28019. $ref: '#/definitions/app.Response'
  28020. security:
  28021. - ApiKeyAuth: []
  28022. summary: 我的优惠卷持仓查询
  28023. tags:
  28024. - 定制【海商报业】
  28025. /HSBY/QueryMyCoupons:
  28026. get:
  28027. parameters:
  28028. - description: 资金账户列表,格式:1,2,3
  28029. in: query
  28030. name: accountIDs
  28031. required: true
  28032. type: string
  28033. - description: 商品ID, 一般与sellUserID配套传入
  28034. in: query
  28035. name: goodsID
  28036. type: integer
  28037. - description: 卖方UserID
  28038. in: query
  28039. name: sellUserID
  28040. type: integer
  28041. produces:
  28042. - application/json
  28043. responses:
  28044. "200":
  28045. description: OK
  28046. schema:
  28047. $ref: '#/definitions/models.MyCoupon'
  28048. "500":
  28049. description: Internal Server Error
  28050. schema:
  28051. $ref: '#/definitions/app.Response'
  28052. security:
  28053. - ApiKeyAuth: []
  28054. summary: 我的优惠卷查询
  28055. tags:
  28056. - 定制【海商报业】
  28057. /HSBY/QueryMyPayOrders:
  28058. get:
  28059. parameters:
  28060. - description: 页码
  28061. in: query
  28062. name: page
  28063. type: integer
  28064. - description: 每页条数
  28065. in: query
  28066. name: pagesize
  28067. type: integer
  28068. - description: 资金账户列表,格式:1,2,3
  28069. in: query
  28070. name: accountIDs
  28071. required: true
  28072. type: string
  28073. - description: 买方委托单号
  28074. in: query
  28075. name: buyOrderID
  28076. type: integer
  28077. - description: 卖方委托单号
  28078. in: query
  28079. name: sellOrderID
  28080. type: integer
  28081. produces:
  28082. - application/json
  28083. responses:
  28084. "200":
  28085. description: OK
  28086. schema:
  28087. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  28088. "500":
  28089. description: Internal Server Error
  28090. schema:
  28091. $ref: '#/definitions/app.Response'
  28092. security:
  28093. - ApiKeyAuth: []
  28094. summary: 获取我的订单中待付款信息
  28095. tags:
  28096. - 定制【海商报业】
  28097. /HSBY/QueryMyUsedCoupon:
  28098. get:
  28099. parameters:
  28100. - description: 资金账户列表,格式:1,2,3
  28101. in: query
  28102. name: accountIDs
  28103. required: true
  28104. type: string
  28105. produces:
  28106. - application/json
  28107. responses:
  28108. "200":
  28109. description: OK
  28110. schema:
  28111. $ref: '#/definitions/models.MyUsedCoupon'
  28112. "500":
  28113. description: Internal Server Error
  28114. schema:
  28115. $ref: '#/definitions/app.Response'
  28116. security:
  28117. - ApiKeyAuth: []
  28118. summary: 已使用优惠卷查询
  28119. tags:
  28120. - 定制【海商报业】
  28121. /HSBY/QueryProvincesAndCities:
  28122. get:
  28123. description: 查询结果只包括二级市场商品已关连的省市信息。
  28124. parameters:
  28125. - description: 省ID
  28126. in: query
  28127. name: provinceID
  28128. type: integer
  28129. produces:
  28130. - application/json
  28131. responses:
  28132. "200":
  28133. description: OK
  28134. schema:
  28135. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  28136. "500":
  28137. description: Internal Server Error
  28138. schema:
  28139. $ref: '#/definitions/app.Response'
  28140. security:
  28141. - ApiKeyAuth: []
  28142. summary: 查询省市信息(不包括区)
  28143. tags:
  28144. - 定制【海商报业】
  28145. /HSBY/SetHsbyMyPackagesStatus:
  28146. post:
  28147. parameters:
  28148. - description: 提货单号
  28149. in: query
  28150. name: takeOrderID
  28151. required: true
  28152. type: string
  28153. - description: 资金账号
  28154. in: query
  28155. name: accountID
  28156. required: true
  28157. type: integer
  28158. produces:
  28159. - application/json
  28160. responses:
  28161. "200":
  28162. description: OK
  28163. schema:
  28164. $ref: '#/definitions/app.Response'
  28165. "500":
  28166. description: Internal Server Error
  28167. schema:
  28168. $ref: '#/definitions/app.Response'
  28169. security:
  28170. - ApiKeyAuth: []
  28171. summary: 设置我的包裹已收货状态
  28172. tags:
  28173. - 定制【海商报业】
  28174. /Market/GetAllExExchanges:
  28175. get:
  28176. produces:
  28177. - application/json
  28178. responses:
  28179. "200":
  28180. description: OK
  28181. schema:
  28182. $ref: '#/definitions/models.Goods'
  28183. "500":
  28184. description: Internal Server Error
  28185. schema:
  28186. $ref: '#/definitions/app.Response'
  28187. security:
  28188. - ApiKeyAuth: []
  28189. summary: 获取所有外部交易所信息
  28190. tags:
  28191. - 通用市场
  28192. /Market/QueryGoodsesByLoginID:
  28193. get:
  28194. parameters:
  28195. - description: 登录账号
  28196. in: query
  28197. name: loginID
  28198. required: true
  28199. type: integer
  28200. - description: 市场ID列表,格式:1,2,3
  28201. in: query
  28202. name: marketIDs
  28203. type: string
  28204. produces:
  28205. - application/json
  28206. responses:
  28207. "200":
  28208. description: OK
  28209. schema:
  28210. $ref: '#/definitions/models.Goods'
  28211. "500":
  28212. description: Internal Server Error
  28213. schema:
  28214. $ref: '#/definitions/app.Response'
  28215. security:
  28216. - ApiKeyAuth: []
  28217. summary: 获取登录账号有权限的商品信息
  28218. tags:
  28219. - 通用市场
  28220. /Market/QueryMarketRun:
  28221. get:
  28222. parameters:
  28223. - description: 市场ID,不传返回所有
  28224. in: query
  28225. name: marketID
  28226. type: integer
  28227. produces:
  28228. - application/json
  28229. responses:
  28230. "200":
  28231. description: OK
  28232. schema:
  28233. $ref: '#/definitions/models.Marketrun'
  28234. "500":
  28235. description: Internal Server Error
  28236. schema:
  28237. $ref: '#/definitions/app.Response'
  28238. security:
  28239. - ApiKeyAuth: []
  28240. summary: 查询市场运行信息
  28241. tags:
  28242. - 通用市场
  28243. /Market/QueryMarketsByLoginID:
  28244. get:
  28245. parameters:
  28246. - description: 登录账号
  28247. in: query
  28248. name: loginID
  28249. required: true
  28250. type: integer
  28251. produces:
  28252. - application/json
  28253. responses:
  28254. "200":
  28255. description: OK
  28256. schema:
  28257. $ref: '#/definitions/models.Market'
  28258. "500":
  28259. description: Internal Server Error
  28260. schema:
  28261. $ref: '#/definitions/app.Response'
  28262. security:
  28263. - ApiKeyAuth: []
  28264. summary: 获取登录账号有权限的市场信息
  28265. tags:
  28266. - 通用市场
  28267. /Order/QueryHisTradeDetail:
  28268. get:
  28269. parameters:
  28270. - description: 资金账户 - 格式:1,2,3
  28271. in: query
  28272. name: accountID
  28273. required: true
  28274. type: string
  28275. - description: 成交单号
  28276. in: query
  28277. name: tradeID
  28278. type: integer
  28279. - description: 委托单号
  28280. in: query
  28281. name: orderID
  28282. type: integer
  28283. - description: 商品ID
  28284. in: query
  28285. name: goodsID
  28286. type: integer
  28287. - description: 交易模式 - 格式:1,2,3
  28288. in: query
  28289. name: tradeMode
  28290. type: string
  28291. - description: 委托单据类型
  28292. in: query
  28293. name: buildType
  28294. type: integer
  28295. - description: 成交类别 - 格式:1,2,3
  28296. in: query
  28297. name: tradeType
  28298. type: string
  28299. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28300. in: query
  28301. name: startDate
  28302. type: string
  28303. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28304. in: query
  28305. name: endDate
  28306. type: string
  28307. produces:
  28308. - application/json
  28309. responses:
  28310. "200":
  28311. description: OK
  28312. schema:
  28313. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  28314. "500":
  28315. description: Internal Server Error
  28316. schema:
  28317. $ref: '#/definitions/app.Response'
  28318. security:
  28319. - ApiKeyAuth: []
  28320. summary: 历史成交单查询(合约市场)
  28321. tags:
  28322. - 通用单据
  28323. /Order/QueryHisTradeOrderDetail:
  28324. get:
  28325. parameters:
  28326. - description: 资金账户 - 格式:1,2,3
  28327. in: query
  28328. name: accountID
  28329. required: true
  28330. type: string
  28331. - description: 交易模式 - 格式:1,2,3
  28332. in: query
  28333. name: tradeMode
  28334. type: string
  28335. - description: 委托状态 - 格式:1,2,3
  28336. in: query
  28337. name: orderStatus
  28338. type: string
  28339. - description: 委托单号
  28340. in: query
  28341. name: orderID
  28342. type: integer
  28343. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28344. in: query
  28345. name: startDate
  28346. type: string
  28347. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28348. in: query
  28349. name: endDate
  28350. type: string
  28351. produces:
  28352. - application/json
  28353. responses:
  28354. "200":
  28355. description: OK
  28356. schema:
  28357. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  28358. "500":
  28359. description: Internal Server Error
  28360. schema:
  28361. $ref: '#/definitions/app.Response'
  28362. security:
  28363. - ApiKeyAuth: []
  28364. summary: 历史委托单查询请求(合约市场)
  28365. tags:
  28366. - 通用单据
  28367. /Order/QueryTradeDetail:
  28368. get:
  28369. parameters:
  28370. - description: 资金账户 - 格式:1,2,3
  28371. in: query
  28372. name: accountID
  28373. required: true
  28374. type: string
  28375. - description: 成交单号
  28376. in: query
  28377. name: tradeID
  28378. type: integer
  28379. - description: 委托单号
  28380. in: query
  28381. name: orderID
  28382. type: integer
  28383. - description: 交易模式 - 格式:1,2,3
  28384. in: query
  28385. name: tradeMode
  28386. type: string
  28387. - description: 委托单据类型
  28388. in: query
  28389. name: buildType
  28390. type: integer
  28391. - description: 成交类别 - 格式:1,2,3
  28392. in: query
  28393. name: tradeType
  28394. type: string
  28395. - description: 商品ID
  28396. in: query
  28397. name: goodsID
  28398. type: integer
  28399. produces:
  28400. - application/json
  28401. responses:
  28402. "200":
  28403. description: OK
  28404. schema:
  28405. $ref: '#/definitions/order.QueryTradeDetailRsp'
  28406. "500":
  28407. description: Internal Server Error
  28408. schema:
  28409. $ref: '#/definitions/app.Response'
  28410. security:
  28411. - ApiKeyAuth: []
  28412. summary: 成交单查询(合约市场)
  28413. tags:
  28414. - 通用单据
  28415. /Order/QueryTradeHolderDetail:
  28416. get:
  28417. parameters:
  28418. - description: 用户id
  28419. in: query
  28420. name: userid
  28421. type: integer
  28422. - description: 资金账号, 格式 1,2,3
  28423. in: query
  28424. name: accids
  28425. type: string
  28426. - description: 交易模式, 格式 1,2,3
  28427. in: query
  28428. name: trademodes
  28429. type: string
  28430. - description: 市场id, 格式 1,2,3
  28431. in: query
  28432. name: marketids
  28433. type: string
  28434. - description: 商品id
  28435. in: query
  28436. name: goodsid
  28437. type: integer
  28438. - description: 买卖方向 0-买 1-卖
  28439. in: query
  28440. name: buyorsell
  28441. type: integer
  28442. produces:
  28443. - application/json
  28444. responses:
  28445. "200":
  28446. description: OK
  28447. schema:
  28448. items:
  28449. $ref: '#/definitions/models.TradeHolderDetail'
  28450. type: array
  28451. "500":
  28452. description: Internal Server Error
  28453. schema:
  28454. $ref: '#/definitions/app.Response'
  28455. security:
  28456. - ApiKeyAuth: []
  28457. summary: 查询持仓明细
  28458. tags:
  28459. - 通用单据
  28460. /Order/QueryTradeOrderDetail:
  28461. get:
  28462. parameters:
  28463. - description: 资金账户 - 格式:1,2,3
  28464. in: query
  28465. name: accountID
  28466. required: true
  28467. type: string
  28468. - description: 交易模式 - 格式:1,2,3
  28469. in: query
  28470. name: tradeMode
  28471. type: string
  28472. - description: 委托状态 - 格式:1,2,3
  28473. in: query
  28474. name: orderStatus
  28475. type: string
  28476. - description: 委托单号
  28477. in: query
  28478. name: orderID
  28479. type: integer
  28480. produces:
  28481. - application/json
  28482. responses:
  28483. "200":
  28484. description: OK
  28485. schema:
  28486. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28487. "500":
  28488. description: Internal Server Error
  28489. schema:
  28490. $ref: '#/definitions/app.Response'
  28491. security:
  28492. - ApiKeyAuth: []
  28493. summary: 委托单查询请求(合约市场)
  28494. tags:
  28495. - 通用单据
  28496. /Order/QueryTradePosition:
  28497. get:
  28498. parameters:
  28499. - description: 资金账户 - 格式:1,2,3
  28500. in: query
  28501. name: accountID
  28502. required: true
  28503. type: string
  28504. - description: 交易模式 - 格式:1,2,3
  28505. in: query
  28506. name: tradeMode
  28507. type: string
  28508. produces:
  28509. - application/json
  28510. responses:
  28511. "200":
  28512. description: OK
  28513. schema:
  28514. $ref: '#/definitions/order.QueryTradePositionRsp'
  28515. "500":
  28516. description: Internal Server Error
  28517. schema:
  28518. $ref: '#/definitions/app.Response'
  28519. security:
  28520. - ApiKeyAuth: []
  28521. summary: 持仓汇总查询(合约市场)
  28522. tags:
  28523. - 通用单据
  28524. /Qhj/QueryAccountInOutApply:
  28525. get:
  28526. parameters:
  28527. - description: 用户ID
  28528. in: query
  28529. name: userid
  28530. required: true
  28531. type: integer
  28532. - description: 申请起始日期(格式yyyymmdd)
  28533. in: query
  28534. name: begindate
  28535. type: string
  28536. - description: 申请截止日期(格式yyyymmdd)
  28537. in: query
  28538. name: enddate
  28539. type: string
  28540. - description: 模糊搜索名称
  28541. in: query
  28542. name: likename
  28543. type: string
  28544. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28545. in: query
  28546. name: applystatus
  28547. type: integer
  28548. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28549. in: query
  28550. name: querytype
  28551. type: integer
  28552. produces:
  28553. - application/json
  28554. responses:
  28555. "200":
  28556. description: OK
  28557. schema:
  28558. items:
  28559. $ref: '#/definitions/models.QhjAccountOutInApply'
  28560. type: array
  28561. "500":
  28562. description: Internal Server Error
  28563. schema:
  28564. $ref: '#/definitions/app.Response'
  28565. security:
  28566. - ApiKeyAuth: []
  28567. summary: 查询充值提现
  28568. tags:
  28569. - 大连千海金
  28570. /Qhj/QueryAreaFinanceConfig:
  28571. get:
  28572. parameters:
  28573. - description: 机构用户ID 其他做市关系,都设置为 1
  28574. in: query
  28575. name: userid
  28576. type: integer
  28577. produces:
  28578. - application/json
  28579. responses:
  28580. "200":
  28581. description: OK
  28582. schema:
  28583. items:
  28584. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  28585. type: array
  28586. "500":
  28587. description: Internal Server Error
  28588. schema:
  28589. $ref: '#/definitions/app.Response'
  28590. security:
  28591. - ApiKeyAuth: []
  28592. summary: 查询企业配置表
  28593. tags:
  28594. - 大连千海金
  28595. /Qhj/QueryBankAccountSign:
  28596. get:
  28597. parameters:
  28598. - description: 用户ID
  28599. in: query
  28600. name: userid
  28601. required: true
  28602. type: integer
  28603. produces:
  28604. - application/json
  28605. responses:
  28606. "200":
  28607. description: OK
  28608. schema:
  28609. items:
  28610. $ref: '#/definitions/models.QhjBankAccountSign'
  28611. type: array
  28612. "500":
  28613. description: Internal Server Error
  28614. schema:
  28615. $ref: '#/definitions/app.Response'
  28616. security:
  28617. - ApiKeyAuth: []
  28618. summary: 查询签约银行信息(提现账户管理)
  28619. tags:
  28620. - 大连千海金
  28621. /Qhj/QueryBankInfo:
  28622. get:
  28623. produces:
  28624. - application/json
  28625. responses:
  28626. "200":
  28627. description: OK
  28628. schema:
  28629. items:
  28630. $ref: '#/definitions/models.QhjBankInfo'
  28631. type: array
  28632. "500":
  28633. description: Internal Server Error
  28634. schema:
  28635. $ref: '#/definitions/app.Response'
  28636. security:
  28637. - ApiKeyAuth: []
  28638. summary: 查询开户行
  28639. tags:
  28640. - 大连千海金
  28641. /Qhj/QueryBrokerApply:
  28642. get:
  28643. parameters:
  28644. - description: 所属机构ID
  28645. in: query
  28646. name: userid
  28647. type: integer
  28648. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28649. in: query
  28650. name: filterstatus
  28651. type: string
  28652. produces:
  28653. - application/json
  28654. responses:
  28655. "200":
  28656. description: OK
  28657. schema:
  28658. items:
  28659. $ref: '#/definitions/models.QhjBrokerApply'
  28660. type: array
  28661. "500":
  28662. description: Internal Server Error
  28663. schema:
  28664. $ref: '#/definitions/app.Response'
  28665. security:
  28666. - ApiKeyAuth: []
  28667. summary: 查询经纪人申请
  28668. tags:
  28669. - 大连千海金
  28670. /Qhj/QueryBrokerApplyEx:
  28671. get:
  28672. parameters:
  28673. - description: 所属机构ID
  28674. in: query
  28675. name: userid
  28676. type: integer
  28677. produces:
  28678. - application/json
  28679. responses:
  28680. "200":
  28681. description: OK
  28682. schema:
  28683. items:
  28684. $ref: '#/definitions/models.QhjBrokerApplyEx'
  28685. type: array
  28686. "500":
  28687. description: Internal Server Error
  28688. schema:
  28689. $ref: '#/definitions/app.Response'
  28690. security:
  28691. - ApiKeyAuth: []
  28692. summary: 查询经纪人信息和申请记录
  28693. tags:
  28694. - 大连千海金
  28695. /Qhj/QueryBrokerRewardLog:
  28696. get:
  28697. parameters:
  28698. - description: 用户ID
  28699. in: query
  28700. name: userid
  28701. required: true
  28702. type: integer
  28703. - description: 开始交易日(yyyymmdd)
  28704. in: query
  28705. name: begindate
  28706. type: string
  28707. - description: 结束交易日(yyyymmdd)
  28708. in: query
  28709. name: enddate
  28710. type: string
  28711. produces:
  28712. - application/json
  28713. responses:
  28714. "200":
  28715. description: OK
  28716. schema:
  28717. items:
  28718. $ref: '#/definitions/models.QhjBrokerRewardLog'
  28719. type: array
  28720. "500":
  28721. description: Internal Server Error
  28722. schema:
  28723. $ref: '#/definitions/app.Response'
  28724. security:
  28725. - ApiKeyAuth: []
  28726. summary: 查询奖励流水(我的奖励)
  28727. tags:
  28728. - 大连千海金
  28729. /Qhj/QueryContract:
  28730. get:
  28731. parameters:
  28732. - description: 用户ID
  28733. in: query
  28734. name: userid
  28735. type: integer
  28736. - description: scf合同id
  28737. in: query
  28738. name: scfcontractid
  28739. type: integer
  28740. produces:
  28741. - application/json
  28742. responses:
  28743. "200":
  28744. description: OK
  28745. schema:
  28746. items:
  28747. $ref: '#/definitions/models.QhjContract'
  28748. type: array
  28749. "500":
  28750. description: Internal Server Error
  28751. schema:
  28752. $ref: '#/definitions/app.Response'
  28753. security:
  28754. - ApiKeyAuth: []
  28755. summary: 查询融资明细(合同)
  28756. tags:
  28757. - 大连千海金
  28758. /Qhj/QueryContractLog:
  28759. get:
  28760. parameters:
  28761. - description: scf合同id
  28762. in: query
  28763. name: scfcontractid
  28764. required: true
  28765. type: integer
  28766. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  28767. in: query
  28768. name: amounttype
  28769. type: string
  28770. produces:
  28771. - application/json
  28772. responses:
  28773. "200":
  28774. description: OK
  28775. schema:
  28776. items:
  28777. $ref: '#/definitions/models.QhjContractLog'
  28778. type: array
  28779. "500":
  28780. description: Internal Server Error
  28781. schema:
  28782. $ref: '#/definitions/app.Response'
  28783. security:
  28784. - ApiKeyAuth: []
  28785. summary: 查询融资明细流水(融资明细详情页中的流水)
  28786. tags:
  28787. - 大连千海金
  28788. /Qhj/QueryCusBankSignBank:
  28789. get:
  28790. produces:
  28791. - application/json
  28792. responses:
  28793. "200":
  28794. description: OK
  28795. schema:
  28796. items:
  28797. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  28798. type: array
  28799. "500":
  28800. description: Internal Server Error
  28801. schema:
  28802. $ref: '#/definitions/app.Response'
  28803. security:
  28804. - ApiKeyAuth: []
  28805. summary: 查询托管银行
  28806. tags:
  28807. - 大连千海金
  28808. /Qhj/QueryCustomerInfo:
  28809. get:
  28810. parameters:
  28811. - description: 用户ID
  28812. in: query
  28813. name: userid
  28814. required: true
  28815. type: integer
  28816. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28817. in: query
  28818. name: querytype
  28819. required: true
  28820. type: integer
  28821. - description: 客户类型 1-个人 2-企业
  28822. in: query
  28823. name: userinfotype
  28824. type: integer
  28825. - description: 客户名称(模糊匹配)
  28826. in: query
  28827. name: customername
  28828. type: string
  28829. - description: 昵称(模糊匹配)
  28830. in: query
  28831. name: nickname
  28832. type: string
  28833. - description: 是否包含子级 1-包含
  28834. in: query
  28835. name: includesub
  28836. type: integer
  28837. produces:
  28838. - application/json
  28839. responses:
  28840. "200":
  28841. description: OK
  28842. schema:
  28843. items:
  28844. $ref: '#/definitions/models.QhjCustomer'
  28845. type: array
  28846. "500":
  28847. description: Internal Server Error
  28848. schema:
  28849. $ref: '#/definitions/app.Response'
  28850. security:
  28851. - ApiKeyAuth: []
  28852. summary: 查询客户资料
  28853. tags:
  28854. - 大连千海金
  28855. /Qhj/QueryGoodsEx:
  28856. get:
  28857. parameters:
  28858. - description: 商品id
  28859. in: query
  28860. name: goodsid
  28861. type: integer
  28862. produces:
  28863. - application/json
  28864. responses:
  28865. "200":
  28866. description: OK
  28867. schema:
  28868. items:
  28869. $ref: '#/definitions/models.Qhjgoodsex'
  28870. type: array
  28871. "500":
  28872. description: Internal Server Error
  28873. schema:
  28874. $ref: '#/definitions/app.Response'
  28875. security:
  28876. - ApiKeyAuth: []
  28877. summary: 交易商品扩展表
  28878. tags:
  28879. - 大连千海金
  28880. /Qhj/QueryMyTeam:
  28881. get:
  28882. parameters:
  28883. - description: 用户ID
  28884. in: query
  28885. name: userid
  28886. required: true
  28887. type: integer
  28888. produces:
  28889. - application/json
  28890. responses:
  28891. "200":
  28892. description: OK
  28893. schema:
  28894. items:
  28895. $ref: '#/definitions/models.QhjMyTeamEx'
  28896. type: array
  28897. "500":
  28898. description: Internal Server Error
  28899. schema:
  28900. $ref: '#/definitions/app.Response'
  28901. security:
  28902. - ApiKeyAuth: []
  28903. summary: 查询我的团队
  28904. tags:
  28905. - 大连千海金
  28906. /Qhj/QueryMyTeamOrder:
  28907. get:
  28908. parameters:
  28909. - description: 页码
  28910. in: query
  28911. name: page
  28912. type: integer
  28913. - description: 每页条数
  28914. in: query
  28915. name: pagesize
  28916. type: integer
  28917. - description: 用户ID
  28918. in: query
  28919. name: userid
  28920. required: true
  28921. type: integer
  28922. - description: 交易模式
  28923. in: query
  28924. name: trademode
  28925. type: integer
  28926. - description: 名称(模糊搜索账户)
  28927. in: query
  28928. name: filtername
  28929. type: string
  28930. produces:
  28931. - application/json
  28932. responses:
  28933. "200":
  28934. description: OK
  28935. schema:
  28936. items:
  28937. $ref: '#/definitions/models.QhjTeamOrder'
  28938. type: array
  28939. "500":
  28940. description: Internal Server Error
  28941. schema:
  28942. $ref: '#/definitions/app.Response'
  28943. security:
  28944. - ApiKeyAuth: []
  28945. summary: 查询团队订单(我的团队/团队订单)
  28946. tags:
  28947. - 大连千海金
  28948. /Qhj/QueryParentAreaList:
  28949. get:
  28950. parameters:
  28951. - description: 用户ID
  28952. in: query
  28953. name: userid
  28954. required: true
  28955. type: integer
  28956. produces:
  28957. - application/json
  28958. responses:
  28959. "200":
  28960. description: OK
  28961. schema:
  28962. items:
  28963. $ref: '#/definitions/models.QhjParentAreaList'
  28964. type: array
  28965. "500":
  28966. description: Internal Server Error
  28967. schema:
  28968. $ref: '#/definitions/app.Response'
  28969. security:
  28970. - ApiKeyAuth: []
  28971. summary: 查询所属机构列表
  28972. tags:
  28973. - 大连千海金
  28974. /Qhj/QueryPayOrder:
  28975. get:
  28976. parameters:
  28977. - description: 资金账号id
  28978. in: query
  28979. name: accountid
  28980. required: true
  28981. type: integer
  28982. - description: 成交单号
  28983. in: query
  28984. name: tradeid
  28985. type: integer
  28986. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28987. in: query
  28988. name: payflag
  28989. type: string
  28990. produces:
  28991. - application/json
  28992. responses:
  28993. "200":
  28994. description: OK
  28995. schema:
  28996. items:
  28997. $ref: '#/definitions/models.QhjPayOrder'
  28998. type: array
  28999. "500":
  29000. description: Internal Server Error
  29001. schema:
  29002. $ref: '#/definitions/app.Response'
  29003. security:
  29004. - ApiKeyAuth: []
  29005. summary: 查询待付款单据
  29006. tags:
  29007. - 大连千海金
  29008. /Qhj/QueryPickArea:
  29009. get:
  29010. parameters:
  29011. - description: 用户ID
  29012. in: query
  29013. name: userid
  29014. type: integer
  29015. produces:
  29016. - application/json
  29017. responses:
  29018. "200":
  29019. description: OK
  29020. schema:
  29021. items:
  29022. $ref: '#/definitions/models.QhjPickArea'
  29023. type: array
  29024. "500":
  29025. description: Internal Server Error
  29026. schema:
  29027. $ref: '#/definitions/app.Response'
  29028. security:
  29029. - ApiKeyAuth: []
  29030. summary: 查询提货门店
  29031. tags:
  29032. - 大连千海金
  29033. /Qhj/QueryPickGoods:
  29034. get:
  29035. parameters:
  29036. - description: 交易商品id
  29037. in: query
  29038. name: goodsid
  29039. required: true
  29040. type: integer
  29041. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29042. in: query
  29043. name: status
  29044. type: string
  29045. produces:
  29046. - application/json
  29047. responses:
  29048. "200":
  29049. description: OK
  29050. schema:
  29051. items:
  29052. $ref: '#/definitions/models.QhjPickGoods'
  29053. type: array
  29054. "500":
  29055. description: Internal Server Error
  29056. schema:
  29057. $ref: '#/definitions/app.Response'
  29058. security:
  29059. - ApiKeyAuth: []
  29060. summary: 查询提货商品
  29061. tags:
  29062. - 大连千海金
  29063. /Qhj/QueryRSTriggerLog:
  29064. get:
  29065. parameters:
  29066. - description: 用户ID
  29067. in: query
  29068. name: userid
  29069. type: integer
  29070. - description: 定投策略id
  29071. in: query
  29072. name: regularlystrategyid
  29073. type: integer
  29074. - description: 商品id
  29075. in: query
  29076. name: goodsid
  29077. type: integer
  29078. - description: 开始交易日(yyyymmdd)
  29079. in: query
  29080. name: begindate
  29081. type: string
  29082. - description: 结束交易日(yyyymmdd)
  29083. in: query
  29084. name: enddate
  29085. type: string
  29086. - description: 名称(模糊搜索账户)
  29087. in: query
  29088. name: filtername
  29089. type: string
  29090. produces:
  29091. - application/json
  29092. responses:
  29093. "200":
  29094. description: OK
  29095. schema:
  29096. items:
  29097. $ref: '#/definitions/models.QhjRSTriggerLog'
  29098. type: array
  29099. "500":
  29100. description: Internal Server Error
  29101. schema:
  29102. $ref: '#/definitions/app.Response'
  29103. security:
  29104. - ApiKeyAuth: []
  29105. summary: 查询定投记录(定投管理/详情/定投记录)
  29106. tags:
  29107. - 大连千海金
  29108. /Qhj/QueryRStrategy:
  29109. get:
  29110. parameters:
  29111. - description: 用户ID
  29112. in: query
  29113. name: userid
  29114. type: integer
  29115. - description: 商品id
  29116. in: query
  29117. name: goodsid
  29118. type: integer
  29119. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  29120. in: query
  29121. name: status
  29122. type: string
  29123. - description: 名称(模糊搜索账户)
  29124. in: query
  29125. name: filtername
  29126. type: string
  29127. produces:
  29128. - application/json
  29129. responses:
  29130. "200":
  29131. description: OK
  29132. schema:
  29133. items:
  29134. $ref: '#/definitions/models.QhjRStrategy'
  29135. type: array
  29136. "500":
  29137. description: Internal Server Error
  29138. schema:
  29139. $ref: '#/definitions/app.Response'
  29140. security:
  29141. - ApiKeyAuth: []
  29142. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  29143. tags:
  29144. - 大连千海金
  29145. /Qhj/QueryReckonPriceLog:
  29146. get:
  29147. parameters:
  29148. - description: 商品ID
  29149. in: query
  29150. name: goodsid
  29151. type: integer
  29152. - description: 交易日 格式(yyyymmdd)
  29153. in: query
  29154. name: tradedate
  29155. type: string
  29156. produces:
  29157. - application/json
  29158. responses:
  29159. "200":
  29160. description: OK
  29161. schema:
  29162. items:
  29163. $ref: '#/definitions/models.QhjReckonPriceLog'
  29164. type: array
  29165. "500":
  29166. description: Internal Server Error
  29167. schema:
  29168. $ref: '#/definitions/app.Response'
  29169. security:
  29170. - ApiKeyAuth: []
  29171. summary: 查询定投价(结算价)
  29172. tags:
  29173. - 大连千海金
  29174. /Qhj/QueryScoreLog:
  29175. get:
  29176. parameters:
  29177. - description: 用户ID
  29178. in: query
  29179. name: userid
  29180. required: true
  29181. type: integer
  29182. - description: 开始交易日(yyyymmdd)
  29183. in: query
  29184. name: begindate
  29185. type: string
  29186. - description: 结束交易日(yyyymmdd)
  29187. in: query
  29188. name: enddate
  29189. type: string
  29190. - description: 最近多少条
  29191. in: query
  29192. name: lastnum
  29193. type: integer
  29194. produces:
  29195. - application/json
  29196. responses:
  29197. "200":
  29198. description: OK
  29199. schema:
  29200. items:
  29201. $ref: '#/definitions/models.QhjScoreLog'
  29202. type: array
  29203. "500":
  29204. description: Internal Server Error
  29205. schema:
  29206. $ref: '#/definitions/app.Response'
  29207. security:
  29208. - ApiKeyAuth: []
  29209. summary: 查询积分流水(我的积分)
  29210. tags:
  29211. - 大连千海金
  29212. /Qhj/QuerySiteColumnDetail:
  29213. get:
  29214. parameters:
  29215. - description: 用户ID
  29216. in: query
  29217. name: userid
  29218. required: true
  29219. type: integer
  29220. produces:
  29221. - application/json
  29222. responses:
  29223. "200":
  29224. description: OK
  29225. schema:
  29226. items:
  29227. $ref: '#/definitions/models.QhjSiteColumnDetail'
  29228. type: array
  29229. "500":
  29230. description: Internal Server Error
  29231. schema:
  29232. $ref: '#/definitions/app.Response'
  29233. security:
  29234. - ApiKeyAuth: []
  29235. summary: 查询资讯
  29236. tags:
  29237. - 大连千海金
  29238. /Qhj/QueryTradeGoodsPickup:
  29239. get:
  29240. parameters:
  29241. - description: 用户ID
  29242. in: query
  29243. name: userid
  29244. required: true
  29245. type: integer
  29246. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  29247. 7:已拒绝 8:已撤销
  29248. in: query
  29249. name: takeorderstatus
  29250. type: integer
  29251. produces:
  29252. - application/json
  29253. responses:
  29254. "200":
  29255. description: OK
  29256. schema:
  29257. items:
  29258. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  29259. type: array
  29260. "500":
  29261. description: Internal Server Error
  29262. schema:
  29263. $ref: '#/definitions/app.Response'
  29264. security:
  29265. - ApiKeyAuth: []
  29266. summary: 查询提货
  29267. tags:
  29268. - 大连千海金
  29269. /Qhj/QueryUserCollectConfig:
  29270. get:
  29271. parameters:
  29272. - description: 用户ID
  29273. in: query
  29274. name: userid
  29275. required: true
  29276. type: integer
  29277. produces:
  29278. - application/json
  29279. responses:
  29280. "200":
  29281. description: OK
  29282. schema:
  29283. items:
  29284. $ref: '#/definitions/models.UserCollectConfig'
  29285. type: array
  29286. "500":
  29287. description: Internal Server Error
  29288. schema:
  29289. $ref: '#/definitions/app.Response'
  29290. security:
  29291. - ApiKeyAuth: []
  29292. summary: 查询提现账户设置
  29293. tags:
  29294. - 大连千海金
  29295. /Qhj/QueryUserReceiveInfo:
  29296. get:
  29297. parameters:
  29298. - description: 用户ID
  29299. in: query
  29300. name: userid
  29301. required: true
  29302. type: integer
  29303. produces:
  29304. - application/json
  29305. responses:
  29306. "200":
  29307. description: OK
  29308. schema:
  29309. items:
  29310. $ref: '#/definitions/models.UserReceiveInfo'
  29311. type: array
  29312. "500":
  29313. description: Internal Server Error
  29314. schema:
  29315. $ref: '#/definitions/app.Response'
  29316. security:
  29317. - ApiKeyAuth: []
  29318. summary: 查询收货地址信息
  29319. tags:
  29320. - 大连千海金
  29321. /QhjMgr/QueryAccountInOutApply:
  29322. get:
  29323. parameters:
  29324. - description: 查询类型 1-提现(出金) 2-充值(出金)
  29325. in: query
  29326. name: querytype
  29327. required: true
  29328. type: integer
  29329. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29330. in: query
  29331. name: applystatus
  29332. type: integer
  29333. - description: 申请起始日期(格式yyyymmdd)
  29334. in: query
  29335. name: begindate
  29336. type: string
  29337. - description: 申请截止日期(格式yyyymmdd)
  29338. in: query
  29339. name: enddate
  29340. type: string
  29341. - description: 模糊搜索名称
  29342. in: query
  29343. name: likename
  29344. type: string
  29345. produces:
  29346. - application/json
  29347. responses:
  29348. "200":
  29349. description: OK
  29350. schema:
  29351. items:
  29352. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  29353. type: array
  29354. "500":
  29355. description: Internal Server Error
  29356. schema:
  29357. $ref: '#/definitions/app.Response'
  29358. security:
  29359. - ApiKeyAuth: []
  29360. summary: 查询充值提现
  29361. tags:
  29362. - 大连千海金(PCWeb)
  29363. /QhjMgr/QueryBrokerApply:
  29364. get:
  29365. parameters:
  29366. - description: 所属机构ID
  29367. in: query
  29368. name: userid
  29369. type: integer
  29370. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29371. in: query
  29372. name: filterstatus
  29373. type: string
  29374. - description: 名称(模糊匹配)
  29375. in: query
  29376. name: filtername
  29377. type: string
  29378. - description: 是否包含子级 1-包含
  29379. in: query
  29380. name: includesub
  29381. type: integer
  29382. produces:
  29383. - application/json
  29384. responses:
  29385. "200":
  29386. description: OK
  29387. schema:
  29388. items:
  29389. $ref: '#/definitions/models.QhjMgrBrokerApply'
  29390. type: array
  29391. "500":
  29392. description: Internal Server Error
  29393. schema:
  29394. $ref: '#/definitions/app.Response'
  29395. security:
  29396. - ApiKeyAuth: []
  29397. summary: 查询经纪人申请
  29398. tags:
  29399. - 大连千海金(PCWeb)
  29400. /QhjMgr/QueryBrokerRewardReport:
  29401. get:
  29402. parameters:
  29403. - description: 所属机构ID
  29404. in: query
  29405. name: userid
  29406. required: true
  29407. type: integer
  29408. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29409. in: query
  29410. name: cycletype
  29411. required: true
  29412. type: integer
  29413. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  29414. in: query
  29415. name: cycletime
  29416. required: true
  29417. type: string
  29418. - description: 名称(模糊匹配)
  29419. in: query
  29420. name: filtername
  29421. type: string
  29422. - description: 是否包含子级 1-包含
  29423. in: query
  29424. name: includesub
  29425. type: integer
  29426. produces:
  29427. - application/json
  29428. responses:
  29429. "200":
  29430. description: OK
  29431. schema:
  29432. items:
  29433. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29434. type: array
  29435. "500":
  29436. description: Internal Server Error
  29437. schema:
  29438. $ref: '#/definitions/app.Response'
  29439. security:
  29440. - ApiKeyAuth: []
  29441. summary: 查询经纪人奖励报表(废弃)
  29442. tags:
  29443. - 大连千海金(PCWeb)
  29444. /QhjMgr/QueryContract:
  29445. get:
  29446. parameters:
  29447. - description: 用户ID
  29448. in: query
  29449. name: userid
  29450. type: integer
  29451. - description: 商品id
  29452. in: query
  29453. name: goodsid
  29454. type: integer
  29455. - description: 名称(模糊搜索账户)
  29456. in: query
  29457. name: filtername
  29458. type: string
  29459. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29460. in: query
  29461. name: risklevel
  29462. type: string
  29463. - description: 开始交易日(yyyymmdd)
  29464. in: query
  29465. name: begindate
  29466. type: string
  29467. - description: 结束交易日(yyyymmdd)
  29468. in: query
  29469. name: enddate
  29470. type: string
  29471. produces:
  29472. - application/json
  29473. responses:
  29474. "200":
  29475. description: OK
  29476. schema:
  29477. items:
  29478. $ref: '#/definitions/models.QhjMgrContract'
  29479. type: array
  29480. "500":
  29481. description: Internal Server Error
  29482. schema:
  29483. $ref: '#/definitions/app.Response'
  29484. security:
  29485. - ApiKeyAuth: []
  29486. summary: 查询融资信息(合同)
  29487. tags:
  29488. - 大连千海金(PCWeb)
  29489. /QhjMgr/QueryCustomerInfo:
  29490. get:
  29491. parameters:
  29492. - description: 用户ID
  29493. in: query
  29494. name: userid
  29495. required: true
  29496. type: integer
  29497. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29498. in: query
  29499. name: querytype
  29500. required: true
  29501. type: integer
  29502. - description: 客户类型 1-个人 2-企业
  29503. in: query
  29504. name: userinfotype
  29505. type: integer
  29506. - description: 客户名称(模糊匹配)
  29507. in: query
  29508. name: customername
  29509. type: string
  29510. - description: 昵称(模糊匹配)
  29511. in: query
  29512. name: nickname
  29513. type: string
  29514. - description: 所属客户经理(模糊匹配)
  29515. in: query
  29516. name: brokername
  29517. type: string
  29518. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29519. 如0503 -5月3日)
  29520. in: query
  29521. name: birthday
  29522. type: string
  29523. - description: 是否包含子级 1-包含
  29524. in: query
  29525. name: includesub
  29526. type: integer
  29527. produces:
  29528. - application/json
  29529. responses:
  29530. "200":
  29531. description: OK
  29532. schema:
  29533. items:
  29534. $ref: '#/definitions/models.QhjMgrCustomer'
  29535. type: array
  29536. "500":
  29537. description: Internal Server Error
  29538. schema:
  29539. $ref: '#/definitions/app.Response'
  29540. security:
  29541. - ApiKeyAuth: []
  29542. summary: 查询客户资料
  29543. tags:
  29544. - 大连千海金(PCWeb)
  29545. /QhjMgr/QueryPickGoods:
  29546. get:
  29547. parameters:
  29548. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29549. in: query
  29550. name: status
  29551. type: string
  29552. produces:
  29553. - application/json
  29554. responses:
  29555. "200":
  29556. description: OK
  29557. schema:
  29558. items:
  29559. $ref: '#/definitions/models.QhjMgrPickGoods'
  29560. type: array
  29561. "500":
  29562. description: Internal Server Error
  29563. schema:
  29564. $ref: '#/definitions/app.Response'
  29565. security:
  29566. - ApiKeyAuth: []
  29567. summary: 查询提货商品
  29568. tags:
  29569. - 大连千海金(PCWeb)
  29570. /QhjMgr/QuerySubArea:
  29571. get:
  29572. parameters:
  29573. - description: 用户ID
  29574. in: query
  29575. name: userid
  29576. required: true
  29577. type: integer
  29578. produces:
  29579. - application/json
  29580. responses:
  29581. "200":
  29582. description: OK
  29583. schema:
  29584. items:
  29585. $ref: '#/definitions/models.QhjMgrSubArea'
  29586. type: array
  29587. "500":
  29588. description: Internal Server Error
  29589. schema:
  29590. $ref: '#/definitions/app.Response'
  29591. security:
  29592. - ApiKeyAuth: []
  29593. summary: 查询子机构列表
  29594. tags:
  29595. - 大连千海金(PCWeb)
  29596. /QhjMgr/QueryTradeDetail:
  29597. get:
  29598. parameters:
  29599. - description: 用户ID
  29600. in: query
  29601. name: userid
  29602. required: true
  29603. type: integer
  29604. - description: 用户类型 1-个人 2-企业
  29605. in: query
  29606. name: userinfotype
  29607. type: integer
  29608. - description: 交易模式
  29609. in: query
  29610. name: trademode
  29611. type: integer
  29612. - description: 商品id
  29613. in: query
  29614. name: goodsid
  29615. type: integer
  29616. - description: 名称(模糊搜索账户)
  29617. in: query
  29618. name: filtername
  29619. type: string
  29620. - description: 开始交易日(yyyymmdd)
  29621. in: query
  29622. name: begindate
  29623. type: string
  29624. - description: 结束交易日(yyyymmdd)
  29625. in: query
  29626. name: enddate
  29627. type: string
  29628. - description: 是否包含子级 1-包含
  29629. in: query
  29630. name: includesub
  29631. type: integer
  29632. produces:
  29633. - application/json
  29634. responses:
  29635. "200":
  29636. description: OK
  29637. schema:
  29638. items:
  29639. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  29640. type: array
  29641. "500":
  29642. description: Internal Server Error
  29643. schema:
  29644. $ref: '#/definitions/app.Response'
  29645. security:
  29646. - ApiKeyAuth: []
  29647. summary: 查询成交明细
  29648. tags:
  29649. - 大连千海金(PCWeb)
  29650. /QhjMgr/QueryTradeOrderDetail:
  29651. get:
  29652. parameters:
  29653. - description: 用户ID
  29654. in: query
  29655. name: userid
  29656. required: true
  29657. type: integer
  29658. - description: 用户类型 1-个人 2-企业
  29659. in: query
  29660. name: userinfotype
  29661. type: integer
  29662. - description: 交易模式
  29663. in: query
  29664. name: trademode
  29665. type: integer
  29666. - description: 商品id
  29667. in: query
  29668. name: goodsid
  29669. type: integer
  29670. - description: 名称(模糊搜索账户)
  29671. in: query
  29672. name: filtername
  29673. type: string
  29674. - description: 开始交易日(yyyymmdd)
  29675. in: query
  29676. name: begindate
  29677. type: string
  29678. - description: 结束交易日(yyyymmdd)
  29679. in: query
  29680. name: enddate
  29681. type: string
  29682. - description: 是否包含子级 1-包含
  29683. in: query
  29684. name: includesub
  29685. type: integer
  29686. produces:
  29687. - application/json
  29688. responses:
  29689. "200":
  29690. description: OK
  29691. schema:
  29692. items:
  29693. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  29694. type: array
  29695. "500":
  29696. description: Internal Server Error
  29697. schema:
  29698. $ref: '#/definitions/app.Response'
  29699. security:
  29700. - ApiKeyAuth: []
  29701. summary: 查询委托明细
  29702. tags:
  29703. - 大连千海金(PCWeb)
  29704. /QhjMgr/QueryTradePayOrder:
  29705. get:
  29706. parameters:
  29707. - description: 用户ID
  29708. in: query
  29709. name: userid
  29710. required: true
  29711. type: integer
  29712. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29713. in: query
  29714. name: payflag
  29715. type: string
  29716. - description: 用户类型 1-个人 2-企业
  29717. in: query
  29718. name: userinfotype
  29719. type: integer
  29720. - description: 交易模式
  29721. in: query
  29722. name: trademode
  29723. type: integer
  29724. - description: 商品id
  29725. in: query
  29726. name: goodsid
  29727. type: integer
  29728. - description: 名称(模糊搜索账户)
  29729. in: query
  29730. name: filtername
  29731. type: string
  29732. - description: 开始交易日(yyyymmdd)
  29733. in: query
  29734. name: begindate
  29735. type: string
  29736. - description: 结束交易日(yyyymmdd)
  29737. in: query
  29738. name: enddate
  29739. type: string
  29740. - description: 是否包含子级 1-包含
  29741. in: query
  29742. name: includesub
  29743. type: integer
  29744. produces:
  29745. - application/json
  29746. responses:
  29747. "200":
  29748. description: OK
  29749. schema:
  29750. items:
  29751. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  29752. type: array
  29753. "500":
  29754. description: Internal Server Error
  29755. schema:
  29756. $ref: '#/definitions/app.Response'
  29757. security:
  29758. - ApiKeyAuth: []
  29759. summary: 查询待付款单
  29760. tags:
  29761. - 大连千海金(PCWeb)
  29762. /QhjMgr/QueryTradePosition:
  29763. get:
  29764. parameters:
  29765. - description: 用户ID
  29766. in: query
  29767. name: userid
  29768. required: true
  29769. type: integer
  29770. - description: 用户类型 1-个人 2-企业
  29771. in: query
  29772. name: userinfotype
  29773. type: integer
  29774. - description: 交易模式
  29775. in: query
  29776. name: trademode
  29777. type: integer
  29778. - description: 商品id
  29779. in: query
  29780. name: goodsid
  29781. type: integer
  29782. - description: 名称(模糊搜索账户)
  29783. in: query
  29784. name: filtername
  29785. type: string
  29786. - description: 是否包含子级 1-包含
  29787. in: query
  29788. name: includesub
  29789. type: integer
  29790. produces:
  29791. - application/json
  29792. responses:
  29793. "200":
  29794. description: OK
  29795. schema:
  29796. items:
  29797. $ref: '#/definitions/models.QhjMgrPositionRsp'
  29798. type: array
  29799. "500":
  29800. description: Internal Server Error
  29801. schema:
  29802. $ref: '#/definitions/app.Response'
  29803. security:
  29804. - ApiKeyAuth: []
  29805. summary: 查询持仓汇总
  29806. tags:
  29807. - 大连千海金(PCWeb)
  29808. /QhjSys/QueryAgreementChangeLog:
  29809. get:
  29810. parameters:
  29811. - description: 协议ID
  29812. in: query
  29813. name: agreementid
  29814. type: integer
  29815. - description: 协议版本号
  29816. in: query
  29817. name: agreementversion
  29818. type: integer
  29819. - description: 协议类型 - 1:注册 2:登录 3:交易
  29820. in: query
  29821. name: agreementtype
  29822. type: integer
  29823. - description: 协议编号(模糊匹配)
  29824. in: query
  29825. name: agreementno
  29826. type: string
  29827. - description: 协议名称(模糊匹配)
  29828. in: query
  29829. name: agreementname
  29830. type: string
  29831. produces:
  29832. - application/json
  29833. responses:
  29834. "200":
  29835. description: OK
  29836. schema:
  29837. items:
  29838. $ref: '#/definitions/models.QhjAgreementChangeLog'
  29839. type: array
  29840. "500":
  29841. description: Internal Server Error
  29842. schema:
  29843. $ref: '#/definitions/app.Response'
  29844. security:
  29845. - ApiKeyAuth: []
  29846. summary: 查询协议配置变更流水
  29847. tags:
  29848. - 大连千海金(协议和签约信息)
  29849. /QhjSys/QueryAgreementConfig:
  29850. get:
  29851. parameters:
  29852. - description: 协议ID
  29853. in: query
  29854. name: agreementid
  29855. type: integer
  29856. - description: 协议版本号
  29857. in: query
  29858. name: agreementversion
  29859. type: integer
  29860. - description: 协议类型 - 1:注册 2:登录 3:交易
  29861. in: query
  29862. name: agreementtype
  29863. type: integer
  29864. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  29865. in: query
  29866. name: isvalid
  29867. type: integer
  29868. - description: 协议编号(模糊匹配)
  29869. in: query
  29870. name: agreementno
  29871. type: string
  29872. - description: 协议名称(模糊匹配)
  29873. in: query
  29874. name: agreementname
  29875. type: string
  29876. produces:
  29877. - application/json
  29878. responses:
  29879. "200":
  29880. description: OK
  29881. schema:
  29882. items:
  29883. $ref: '#/definitions/models.QhjAgreementConfig'
  29884. type: array
  29885. "500":
  29886. description: Internal Server Error
  29887. schema:
  29888. $ref: '#/definitions/app.Response'
  29889. security:
  29890. - ApiKeyAuth: []
  29891. summary: 查询协议配置
  29892. tags:
  29893. - 大连千海金(协议和签约信息)
  29894. /QhjSys/QueryCustomerSignStatus:
  29895. get:
  29896. parameters:
  29897. - description: 客户ID
  29898. in: query
  29899. name: userid
  29900. type: integer
  29901. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  29902. in: query
  29903. name: nodetype
  29904. type: integer
  29905. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29906. in: query
  29907. name: goodsid
  29908. type: integer
  29909. - description: 创建交易日(yyyyMMdd)
  29910. in: query
  29911. name: tradedate
  29912. type: string
  29913. - description: 用户名称(模糊匹配)
  29914. in: query
  29915. name: username
  29916. type: string
  29917. produces:
  29918. - application/json
  29919. responses:
  29920. "200":
  29921. description: OK
  29922. schema:
  29923. items:
  29924. $ref: '#/definitions/models.QhjCustomerSignStatus'
  29925. type: array
  29926. "500":
  29927. description: Internal Server Error
  29928. schema:
  29929. $ref: '#/definitions/app.Response'
  29930. security:
  29931. - ApiKeyAuth: []
  29932. summary: 查询客户协议签约状态
  29933. tags:
  29934. - 大连千海金(协议和签约信息)
  29935. /QhjSys/QueryNodeAgreementConfig:
  29936. get:
  29937. parameters:
  29938. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29939. in: query
  29940. name: configid
  29941. type: integer
  29942. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29943. in: query
  29944. name: nodetype
  29945. type: integer
  29946. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29947. in: query
  29948. name: goodsid
  29949. type: integer
  29950. - description: 协议ID
  29951. in: query
  29952. name: agreementid
  29953. type: integer
  29954. - description: 协议类型 - 1:注册 2:登录 3:交易
  29955. in: query
  29956. name: agreementtype
  29957. type: integer
  29958. - description: 协议版本号
  29959. in: query
  29960. name: agreementversion
  29961. type: integer
  29962. - description: 协议编号(模糊匹配)
  29963. in: query
  29964. name: agreementno
  29965. type: string
  29966. - description: 协议名称(模糊匹配)
  29967. in: query
  29968. name: agreementname
  29969. type: string
  29970. produces:
  29971. - application/json
  29972. responses:
  29973. "200":
  29974. description: OK
  29975. schema:
  29976. items:
  29977. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  29978. type: array
  29979. "500":
  29980. description: Internal Server Error
  29981. schema:
  29982. $ref: '#/definitions/app.Response'
  29983. security:
  29984. - ApiKeyAuth: []
  29985. summary: 查询协议节点配置
  29986. tags:
  29987. - 大连千海金(协议和签约信息)
  29988. /QhjSys/QueryQhjCustomerSignLog:
  29989. get:
  29990. parameters:
  29991. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  29992. in: query
  29993. name: logid
  29994. type: integer
  29995. - description: 客户ID
  29996. in: query
  29997. name: userid
  29998. type: integer
  29999. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30000. in: query
  30001. name: nodetype
  30002. type: integer
  30003. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30004. in: query
  30005. name: goodsid
  30006. type: integer
  30007. - description: 协议ID
  30008. in: query
  30009. name: agreementid
  30010. type: integer
  30011. - description: 用户名称(模糊匹配)
  30012. in: query
  30013. name: username
  30014. type: string
  30015. - description: 协议编号(模糊匹配)
  30016. in: query
  30017. name: agreementno
  30018. type: string
  30019. - description: 协议名称(模糊匹配)
  30020. in: query
  30021. name: agreementname
  30022. type: string
  30023. produces:
  30024. - application/json
  30025. responses:
  30026. "200":
  30027. description: OK
  30028. schema:
  30029. items:
  30030. $ref: '#/definitions/models.QhjCustomerSignLog'
  30031. type: array
  30032. "500":
  30033. description: Internal Server Error
  30034. schema:
  30035. $ref: '#/definitions/app.Response'
  30036. security:
  30037. - ApiKeyAuth: []
  30038. summary: 查询客户协议签约流水
  30039. tags:
  30040. - 大连千海金(协议和签约信息)
  30041. /QhjSys/QueryUserNodeCfgAndStatus:
  30042. get:
  30043. parameters:
  30044. - description: 客户ID
  30045. in: query
  30046. name: userid
  30047. type: integer
  30048. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30049. in: query
  30050. name: configid
  30051. type: integer
  30052. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30053. in: query
  30054. name: nodetype
  30055. type: string
  30056. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30057. in: query
  30058. name: goodsid
  30059. type: integer
  30060. - description: 协议ID
  30061. in: query
  30062. name: agreementid
  30063. type: integer
  30064. - description: 协议类型 - 1:注册 2:登录 3:交易
  30065. in: query
  30066. name: agreementtype
  30067. type: integer
  30068. - description: 协议版本号
  30069. in: query
  30070. name: agreementversion
  30071. type: integer
  30072. - description: 协议编号(模糊匹配)
  30073. in: query
  30074. name: agreementno
  30075. type: string
  30076. - description: 协议名称(模糊匹配)
  30077. in: query
  30078. name: agreementname
  30079. type: string
  30080. produces:
  30081. - application/json
  30082. responses:
  30083. "200":
  30084. description: OK
  30085. schema:
  30086. items:
  30087. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  30088. type: array
  30089. "500":
  30090. description: Internal Server Error
  30091. schema:
  30092. $ref: '#/definitions/app.Response'
  30093. security:
  30094. - ApiKeyAuth: []
  30095. summary: 查询用户协议节点配置和状态
  30096. tags:
  30097. - 大连千海金(协议和签约信息)
  30098. /Quote/QueryHistoryDatas:
  30099. get:
  30100. parameters:
  30101. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  30102. 日线 12:周线 13:月线 14:年线'
  30103. in: query
  30104. name: cycleType
  30105. required: true
  30106. type: integer
  30107. - description: 商品代码
  30108. in: query
  30109. name: goodsCode
  30110. required: true
  30111. type: string
  30112. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30113. in: query
  30114. name: startTime
  30115. type: string
  30116. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30117. in: query
  30118. name: endTime
  30119. type: string
  30120. - description: 条数
  30121. in: query
  30122. name: count
  30123. type: integer
  30124. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30125. in: query
  30126. name: isAsc
  30127. type: boolean
  30128. produces:
  30129. - application/json
  30130. responses:
  30131. "200":
  30132. description: OK
  30133. schema:
  30134. $ref: '#/definitions/quote.HistoryData'
  30135. "500":
  30136. description: Internal Server Error
  30137. schema:
  30138. $ref: '#/definitions/app.Response'
  30139. security:
  30140. - ApiKeyAuth: []
  30141. summary: 查询行情历史数据
  30142. tags:
  30143. - 行情服务
  30144. /Quote/QueryHistoryTikDatas:
  30145. get:
  30146. parameters:
  30147. - description: 商品代码
  30148. in: query
  30149. name: goodsCode
  30150. required: true
  30151. type: string
  30152. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30153. in: query
  30154. name: startTime
  30155. type: string
  30156. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30157. in: query
  30158. name: endTime
  30159. type: string
  30160. - description: 条数
  30161. in: query
  30162. name: count
  30163. type: integer
  30164. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30165. in: query
  30166. name: isAsc
  30167. type: boolean
  30168. produces:
  30169. - application/json
  30170. responses:
  30171. "200":
  30172. description: OK
  30173. schema:
  30174. $ref: '#/definitions/quote.HistoryTikData'
  30175. "500":
  30176. description: Internal Server Error
  30177. schema:
  30178. $ref: '#/definitions/app.Response'
  30179. security:
  30180. - ApiKeyAuth: []
  30181. summary: 查询行情Tik数据
  30182. tags:
  30183. - 行情服务
  30184. /Quote/QueryQuoteDay:
  30185. get:
  30186. parameters:
  30187. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  30188. in: query
  30189. name: goodsCodes
  30190. type: string
  30191. produces:
  30192. - application/json
  30193. responses:
  30194. "200":
  30195. description: OK
  30196. schema:
  30197. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  30198. "500":
  30199. description: Internal Server Error
  30200. schema:
  30201. $ref: '#/definitions/app.Response'
  30202. security:
  30203. - ApiKeyAuth: []
  30204. summary: 获取商品盘面信息
  30205. tags:
  30206. - 行情服务
  30207. /Quote/QueryTSData:
  30208. get:
  30209. parameters:
  30210. - description: 商品代码
  30211. in: query
  30212. name: goodsCode
  30213. required: true
  30214. type: string
  30215. produces:
  30216. - application/json
  30217. responses:
  30218. "200":
  30219. description: OK
  30220. schema:
  30221. $ref: '#/definitions/quote.QueryTSDataRsp'
  30222. "500":
  30223. description: Internal Server Error
  30224. schema:
  30225. $ref: '#/definitions/app.Response'
  30226. security:
  30227. - ApiKeyAuth: []
  30228. summary: 分时图数据查询
  30229. tags:
  30230. - 行情服务
  30231. /SZDZ/QueryConvertConfig:
  30232. get:
  30233. parameters:
  30234. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  30235. 6:交易转花生米(不设置)
  30236. in: query
  30237. name: convertType
  30238. type: integer
  30239. - description: 外部商品代码[JD\PD]
  30240. in: query
  30241. name: outerGoodsCode
  30242. type: string
  30243. - description: 内部商品ID列表[交易],格式:1,2,3
  30244. in: query
  30245. name: innerGoodsIDs
  30246. type: string
  30247. produces:
  30248. - application/json
  30249. responses:
  30250. "200":
  30251. description: OK
  30252. schema:
  30253. $ref: '#/definitions/models.Szdz3convertconfig'
  30254. "500":
  30255. description: Internal Server Error
  30256. schema:
  30257. $ref: '#/definitions/app.Response'
  30258. security:
  30259. - ApiKeyAuth: []
  30260. summary: 查询交易系统转换设置
  30261. tags:
  30262. - 定制【尚志大宗】
  30263. /SZDZ/QueryConvertLog:
  30264. get:
  30265. parameters:
  30266. - description: 资金账户 - 格式:1,2,3
  30267. in: query
  30268. name: accountID
  30269. required: true
  30270. type: string
  30271. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30272. in: query
  30273. name: startDate
  30274. type: string
  30275. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30276. in: query
  30277. name: endDate
  30278. type: string
  30279. produces:
  30280. - application/json
  30281. responses:
  30282. "200":
  30283. description: OK
  30284. schema:
  30285. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  30286. "500":
  30287. description: Internal Server Error
  30288. schema:
  30289. $ref: '#/definitions/app.Response'
  30290. security:
  30291. - ApiKeyAuth: []
  30292. summary: 交易系统转换流水查询
  30293. tags:
  30294. - 定制【尚志大宗】
  30295. /SZDZ/QueryGoodsPickup:
  30296. get:
  30297. parameters:
  30298. - description: 资金账户 - 格式:1,2,3
  30299. in: query
  30300. name: accountID
  30301. required: true
  30302. type: string
  30303. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  30304. in: query
  30305. name: takeOrderStatus
  30306. type: integer
  30307. produces:
  30308. - application/json
  30309. responses:
  30310. "200":
  30311. description: OK
  30312. schema:
  30313. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  30314. "500":
  30315. description: Internal Server Error
  30316. schema:
  30317. $ref: '#/definitions/app.Response'
  30318. security:
  30319. - ApiKeyAuth: []
  30320. summary: 商品提货单查询
  30321. tags:
  30322. - 定制【尚志大宗】
  30323. /SZDZ/QueryRecieptOrder:
  30324. get:
  30325. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30326. parameters:
  30327. - description: 页码
  30328. in: query
  30329. name: page
  30330. type: integer
  30331. - description: 每页条数
  30332. in: query
  30333. name: pagesize
  30334. type: integer
  30335. - description: 商品ID
  30336. in: query
  30337. name: goodsID
  30338. required: true
  30339. type: integer
  30340. - description: 所属账户名称
  30341. in: query
  30342. name: accountName
  30343. type: string
  30344. - description: 市场ID
  30345. in: query
  30346. name: marketID
  30347. type: integer
  30348. - description: 方向 - 0:买 1:卖
  30349. in: query
  30350. name: buyorsell
  30351. required: true
  30352. type: integer
  30353. produces:
  30354. - application/json
  30355. responses:
  30356. "200":
  30357. description: OK
  30358. schema:
  30359. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  30360. "500":
  30361. description: Internal Server Error
  30362. schema:
  30363. $ref: '#/definitions/app.Response'
  30364. security:
  30365. - ApiKeyAuth: []
  30366. summary: 点选挂牌委托单据查询(摘牌大厅)
  30367. tags:
  30368. - 定制【尚志大宗】
  30369. /SZDZ/QuerySZDZTradePosition:
  30370. get:
  30371. parameters:
  30372. - description: 资金账户
  30373. in: query
  30374. name: accountID
  30375. required: true
  30376. type: integer
  30377. produces:
  30378. - application/json
  30379. responses:
  30380. "200":
  30381. description: OK
  30382. schema:
  30383. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  30384. "500":
  30385. description: Internal Server Error
  30386. schema:
  30387. $ref: '#/definitions/app.Response'
  30388. security:
  30389. - ApiKeyAuth: []
  30390. summary: 持仓汇总查询(尚志大宗)
  30391. tags:
  30392. - 定制【尚志大宗】
  30393. /SZDZ/SearchWhite:
  30394. get:
  30395. parameters:
  30396. - description: 用户ID
  30397. in: query
  30398. name: userID
  30399. required: true
  30400. type: integer
  30401. produces:
  30402. - application/json
  30403. responses:
  30404. "200":
  30405. description: OK
  30406. schema:
  30407. $ref: '#/definitions/models.Szdz3searchwhitelist'
  30408. "500":
  30409. description: Internal Server Error
  30410. schema:
  30411. $ref: '#/definitions/app.Response'
  30412. security:
  30413. - ApiKeyAuth: []
  30414. summary: 搜索白名单
  30415. tags:
  30416. - 定制【尚志大宗】
  30417. /Search/SearchGoodses:
  30418. get:
  30419. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  30420. parameters:
  30421. - description: 检索内容
  30422. in: query
  30423. name: content
  30424. required: true
  30425. type: string
  30426. - description: 交易模式,格式:1,2,3
  30427. in: query
  30428. name: tradeModes
  30429. type: string
  30430. produces:
  30431. - application/json
  30432. responses:
  30433. "200":
  30434. description: OK
  30435. schema:
  30436. $ref: '#/definitions/models.SearchGoods'
  30437. "500":
  30438. description: Internal Server Error
  30439. schema:
  30440. $ref: '#/definitions/app.Response'
  30441. summary: 检索商品信息
  30442. tags:
  30443. - 检索服务
  30444. /TaAccount/GetTaAccounts:
  30445. get:
  30446. parameters:
  30447. - description: 登录账户
  30448. in: query
  30449. name: loginID
  30450. required: true
  30451. type: integer
  30452. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30453. in: query
  30454. name: taAccountType
  30455. type: integer
  30456. produces:
  30457. - application/json
  30458. responses:
  30459. "200":
  30460. description: OK
  30461. schema:
  30462. $ref: '#/definitions/models.Taaccount'
  30463. "500":
  30464. description: Internal Server Error
  30465. schema:
  30466. $ref: '#/definitions/app.Response'
  30467. security:
  30468. - ApiKeyAuth: []
  30469. summary: 获取资金账户信息
  30470. tags:
  30471. - 资金账户
  30472. /TaAccount/QueryAmountLog:
  30473. get:
  30474. parameters:
  30475. - description: 页码
  30476. in: query
  30477. name: page
  30478. type: integer
  30479. - description: 每页条数
  30480. in: query
  30481. name: pagesize
  30482. type: integer
  30483. - description: 资金账户 - 格式:1,2,3
  30484. in: query
  30485. name: accountID
  30486. required: true
  30487. type: string
  30488. - description: 资金操作类型 - 格式:1,2,3
  30489. in: query
  30490. name: OperateType
  30491. type: string
  30492. produces:
  30493. - application/json
  30494. responses:
  30495. "200":
  30496. description: OK
  30497. schema:
  30498. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30499. "500":
  30500. description: Internal Server Error
  30501. schema:
  30502. $ref: '#/definitions/app.Response'
  30503. security:
  30504. - ApiKeyAuth: []
  30505. summary: 资金流水查询(当前)
  30506. tags:
  30507. - 资金账户
  30508. /TaAccount/QueryHisAmountLog:
  30509. get:
  30510. parameters:
  30511. - description: 页码
  30512. in: query
  30513. name: page
  30514. type: integer
  30515. - description: 每页条数
  30516. in: query
  30517. name: pagesize
  30518. type: integer
  30519. - description: 资金账户 - 格式:1,2,3
  30520. in: query
  30521. name: accountID
  30522. required: true
  30523. type: string
  30524. - description: 资金操作类型 - 格式:1,2,3
  30525. in: query
  30526. name: OperateType
  30527. type: string
  30528. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30529. in: query
  30530. name: startDate
  30531. type: string
  30532. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30533. in: query
  30534. name: endDate
  30535. type: string
  30536. produces:
  30537. - application/json
  30538. responses:
  30539. "200":
  30540. description: OK
  30541. schema:
  30542. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30543. "500":
  30544. description: Internal Server Error
  30545. schema:
  30546. $ref: '#/definitions/app.Response'
  30547. security:
  30548. - ApiKeyAuth: []
  30549. summary: 资金流水查询(历史)
  30550. tags:
  30551. - 资金账户
  30552. /TaAccount/QueryRelatedTaAccount:
  30553. get:
  30554. parameters:
  30555. - description: 关联UserID
  30556. in: query
  30557. name: relateduserid
  30558. required: true
  30559. type: integer
  30560. produces:
  30561. - application/json
  30562. responses:
  30563. "200":
  30564. description: OK
  30565. schema:
  30566. items:
  30567. $ref: '#/definitions/models.RelatedTaAccount'
  30568. type: array
  30569. "500":
  30570. description: Internal Server Error
  30571. schema:
  30572. $ref: '#/definitions/app.Response'
  30573. security:
  30574. - ApiKeyAuth: []
  30575. summary: 查询关联资金账户信息
  30576. tags:
  30577. - 资金账户
  30578. /Tjmd/QueryQuoteGoodsList:
  30579. get:
  30580. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  30581. parameters:
  30582. - description: 用户类型
  30583. in: query
  30584. name: usertype
  30585. required: true
  30586. type: integer
  30587. - description: 市场id, 格式 1,2,3
  30588. in: query
  30589. name: marketids
  30590. type: string
  30591. - description: 商品组id
  30592. in: query
  30593. name: goodsgroupid
  30594. type: integer
  30595. - description: 商品id
  30596. in: query
  30597. name: goodsid
  30598. type: integer
  30599. produces:
  30600. - application/json
  30601. responses:
  30602. "200":
  30603. description: OK
  30604. schema:
  30605. items:
  30606. $ref: '#/definitions/models.TjmdQuoteGoods'
  30607. type: array
  30608. "500":
  30609. description: Internal Server Error
  30610. schema:
  30611. $ref: '#/definitions/app.Response'
  30612. security:
  30613. - ApiKeyAuth: []
  30614. summary: 查询掉期报价列表
  30615. tags:
  30616. - 天津麦顿
  30617. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  30618. get:
  30619. parameters:
  30620. - description: 成交单号
  30621. in: query
  30622. name: tradeid
  30623. required: true
  30624. type: string
  30625. produces:
  30626. - application/json
  30627. responses:
  30628. "200":
  30629. description: OK
  30630. schema:
  30631. items:
  30632. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  30633. type: array
  30634. "500":
  30635. description: Internal Server Error
  30636. schema:
  30637. $ref: '#/definitions/app.Response'
  30638. security:
  30639. - ApiKeyAuth: []
  30640. summary: 掉期商品订单详情(交易确认书)
  30641. tags:
  30642. - 天津麦顿
  30643. /Tjmd/QueryTjmdMarketSection:
  30644. get:
  30645. produces:
  30646. - application/json
  30647. responses:
  30648. "200":
  30649. description: OK
  30650. schema:
  30651. items:
  30652. $ref: '#/definitions/models.TjmdMarketSection'
  30653. type: array
  30654. "500":
  30655. description: Internal Server Error
  30656. schema:
  30657. $ref: '#/definitions/app.Response'
  30658. security:
  30659. - ApiKeyAuth: []
  30660. summary: 查询市场板块
  30661. tags:
  30662. - 天津麦顿
  30663. /Tjmd/QueryTjmdTodayAccountMargin:
  30664. get:
  30665. parameters:
  30666. - description: 市场id
  30667. in: query
  30668. name: marketid
  30669. type: string
  30670. - description: 商品id
  30671. in: query
  30672. name: goodsid
  30673. type: string
  30674. - description: 资金账号
  30675. in: query
  30676. name: accountid
  30677. type: string
  30678. produces:
  30679. - application/json
  30680. responses:
  30681. "200":
  30682. description: OK
  30683. schema:
  30684. items:
  30685. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  30686. type: array
  30687. "500":
  30688. description: Internal Server Error
  30689. schema:
  30690. $ref: '#/definitions/app.Response'
  30691. security:
  30692. - ApiKeyAuth: []
  30693. summary: 查询今日账户保证金配置
  30694. tags:
  30695. - 天津麦顿
  30696. /Tjmd/QueryTjmdTradeOrderDetail:
  30697. get:
  30698. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  30699. parameters:
  30700. - description: 页码
  30701. in: query
  30702. name: page
  30703. type: integer
  30704. - description: 每页条数
  30705. in: query
  30706. name: pagesize
  30707. type: integer
  30708. - description: 用户id
  30709. in: query
  30710. name: userid
  30711. required: true
  30712. type: integer
  30713. - description: 用户类型
  30714. in: query
  30715. name: usertype
  30716. required: true
  30717. type: integer
  30718. - description: 市场id, 格式 1,2,3
  30719. in: query
  30720. name: marketids
  30721. type: string
  30722. - description: 商品id
  30723. in: query
  30724. name: goodsid
  30725. required: true
  30726. type: integer
  30727. - description: 买卖方向 0-买 1-卖
  30728. in: query
  30729. name: buyorsell
  30730. required: true
  30731. type: integer
  30732. produces:
  30733. - application/json
  30734. responses:
  30735. "200":
  30736. description: OK
  30737. schema:
  30738. items:
  30739. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  30740. type: array
  30741. "500":
  30742. description: Internal Server Error
  30743. schema:
  30744. $ref: '#/definitions/app.Response'
  30745. security:
  30746. - ApiKeyAuth: []
  30747. summary: 查询掉期买卖大厅
  30748. tags:
  30749. - 天津麦顿
  30750. /Tjmd/QueryTjmdTransferApply:
  30751. get:
  30752. parameters:
  30753. - description: 类型 1-我的申请 2-对方申请
  30754. in: query
  30755. name: applytype
  30756. required: true
  30757. type: integer
  30758. - description: 市场id, 格式 1,2,3
  30759. in: query
  30760. name: marketids
  30761. type: string
  30762. - description: 资金账号, 格式 25000000001,25000000003
  30763. in: query
  30764. name: accountids
  30765. type: string
  30766. - description: 开始交易日(yyyymmdd)
  30767. in: query
  30768. name: begindate
  30769. type: string
  30770. - description: 结束交易日(yyyymmdd)
  30771. in: query
  30772. name: enddate
  30773. type: string
  30774. produces:
  30775. - application/json
  30776. responses:
  30777. "200":
  30778. description: OK
  30779. schema:
  30780. items:
  30781. $ref: '#/definitions/models.TjmdTransferApply'
  30782. type: array
  30783. "500":
  30784. description: Internal Server Error
  30785. schema:
  30786. $ref: '#/definitions/app.Response'
  30787. security:
  30788. - ApiKeyAuth: []
  30789. summary: 查询掉期协议单
  30790. tags:
  30791. - 天津麦顿
  30792. /Trade/QueryRecieptOrder:
  30793. get:
  30794. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30795. parameters:
  30796. - description: 页码
  30797. in: query
  30798. name: page
  30799. type: integer
  30800. - description: 每页条数
  30801. in: query
  30802. name: pagesize
  30803. type: integer
  30804. - description: 商品ID
  30805. in: query
  30806. name: goodsID
  30807. required: true
  30808. type: integer
  30809. - description: 所属账户名称
  30810. in: query
  30811. name: accountName
  30812. type: string
  30813. - description: 市场ID
  30814. in: query
  30815. name: marketID
  30816. type: integer
  30817. - description: 方向 - 0:买 1:卖
  30818. in: query
  30819. name: buyorsell
  30820. required: true
  30821. type: integer
  30822. produces:
  30823. - application/json
  30824. responses:
  30825. "200":
  30826. description: OK
  30827. schema:
  30828. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  30829. "500":
  30830. description: Internal Server Error
  30831. schema:
  30832. $ref: '#/definitions/app.Response'
  30833. security:
  30834. - ApiKeyAuth: []
  30835. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  30836. tags:
  30837. - 通用交易
  30838. /User/AddMessageBoard:
  30839. post:
  30840. parameters:
  30841. - description: 用户ID
  30842. in: query
  30843. name: userID
  30844. required: true
  30845. type: integer
  30846. - description: 留言信息
  30847. in: query
  30848. name: message
  30849. required: true
  30850. type: string
  30851. - description: 联系电话
  30852. in: query
  30853. name: contactNum
  30854. required: true
  30855. type: string
  30856. produces:
  30857. - application/json
  30858. responses:
  30859. "200":
  30860. description: OK
  30861. schema:
  30862. $ref: '#/definitions/app.Response'
  30863. "500":
  30864. description: Internal Server Error
  30865. schema:
  30866. $ref: '#/definitions/app.Response'
  30867. security:
  30868. - ApiKeyAuth: []
  30869. summary: 添加用户留言板信息
  30870. tags:
  30871. - 用户信息
  30872. /User/AddUserFavoriteGoods:
  30873. post:
  30874. parameters:
  30875. - description: 用户ID
  30876. in: query
  30877. name: userID
  30878. required: true
  30879. type: integer
  30880. - description: 商品ID
  30881. in: query
  30882. name: goodsID
  30883. required: true
  30884. type: integer
  30885. produces:
  30886. - application/json
  30887. responses:
  30888. "200":
  30889. description: OK
  30890. schema:
  30891. $ref: '#/definitions/app.Response'
  30892. "500":
  30893. description: Internal Server Error
  30894. schema:
  30895. $ref: '#/definitions/app.Response'
  30896. security:
  30897. - ApiKeyAuth: []
  30898. summary: 添加用户商品收藏信息
  30899. tags:
  30900. - 用户信息
  30901. /User/GetLoginID:
  30902. get:
  30903. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  30904. parameters:
  30905. - description: 登录代码
  30906. in: query
  30907. name: username
  30908. required: true
  30909. type: string
  30910. produces:
  30911. - application/json
  30912. responses:
  30913. "200":
  30914. description: OK
  30915. schema:
  30916. $ref: '#/definitions/app.Response'
  30917. "500":
  30918. description: Internal Server Error
  30919. schema:
  30920. $ref: '#/definitions/app.Response'
  30921. summary: 获取登录ID
  30922. tags:
  30923. - 用户信息
  30924. /User/GetUserAccount:
  30925. get:
  30926. parameters:
  30927. - description: 用户ID
  30928. in: query
  30929. name: userID
  30930. required: true
  30931. type: integer
  30932. produces:
  30933. - application/json
  30934. responses:
  30935. "200":
  30936. description: OK
  30937. schema:
  30938. $ref: '#/definitions/models.Useraccount'
  30939. "500":
  30940. description: Internal Server Error
  30941. schema:
  30942. $ref: '#/definitions/app.Response'
  30943. security:
  30944. - ApiKeyAuth: []
  30945. summary: 获取用户账号信息
  30946. tags:
  30947. - 用户信息
  30948. /User/GetUserAuthStatus:
  30949. get:
  30950. parameters:
  30951. - description: 用户ID
  30952. in: query
  30953. name: userID
  30954. required: true
  30955. type: integer
  30956. produces:
  30957. - application/json
  30958. responses:
  30959. "200":
  30960. description: OK
  30961. schema:
  30962. $ref: '#/definitions/app.Response'
  30963. "500":
  30964. description: Internal Server Error
  30965. schema:
  30966. $ref: '#/definitions/app.Response'
  30967. security:
  30968. - ApiKeyAuth: []
  30969. summary: 获取用户实名认证状态
  30970. tags:
  30971. - 用户信息
  30972. /User/LoginQuery:
  30973. get:
  30974. parameters:
  30975. - description: 登录账号
  30976. in: query
  30977. name: loginID
  30978. required: true
  30979. type: integer
  30980. produces:
  30981. - application/json
  30982. responses:
  30983. "200":
  30984. description: OK
  30985. schema:
  30986. $ref: '#/definitions/user.LoginQueryRsp'
  30987. "500":
  30988. description: Internal Server Error
  30989. schema:
  30990. $ref: '#/definitions/app.Response'
  30991. security:
  30992. - ApiKeyAuth: []
  30993. summary: 账户登录后信息查询
  30994. tags:
  30995. - 用户信息
  30996. /User/QueryMessageBoard:
  30997. get:
  30998. parameters:
  30999. - description: 用户ID
  31000. in: query
  31001. name: userID
  31002. required: true
  31003. type: integer
  31004. produces:
  31005. - application/json
  31006. responses:
  31007. "200":
  31008. description: OK
  31009. schema:
  31010. $ref: '#/definitions/models.Messageboard'
  31011. "500":
  31012. description: Internal Server Error
  31013. schema:
  31014. $ref: '#/definitions/app.Response'
  31015. security:
  31016. - ApiKeyAuth: []
  31017. summary: 获取用户留言板信息
  31018. tags:
  31019. - 用户信息
  31020. /User/QueryUserFavoriteGoodses:
  31021. get:
  31022. parameters:
  31023. - description: 用户ID
  31024. in: query
  31025. name: userID
  31026. required: true
  31027. type: integer
  31028. produces:
  31029. - application/json
  31030. responses:
  31031. "200":
  31032. description: OK
  31033. schema:
  31034. $ref: '#/definitions/models.Userfavoritegoods'
  31035. "500":
  31036. description: Internal Server Error
  31037. schema:
  31038. $ref: '#/definitions/app.Response'
  31039. security:
  31040. - ApiKeyAuth: []
  31041. summary: 获取用户商品收藏信息
  31042. tags:
  31043. - 用户信息
  31044. /User/QueryUserInfo:
  31045. get:
  31046. parameters:
  31047. - description: 用户ID
  31048. in: query
  31049. name: userID
  31050. required: true
  31051. type: integer
  31052. - description: 是否解密
  31053. in: query
  31054. name: isDecrypt
  31055. type: boolean
  31056. produces:
  31057. - application/json
  31058. responses:
  31059. "200":
  31060. description: OK
  31061. schema:
  31062. $ref: '#/definitions/models.Userinfo'
  31063. "500":
  31064. description: Internal Server Error
  31065. schema:
  31066. $ref: '#/definitions/app.Response'
  31067. security:
  31068. - ApiKeyAuth: []
  31069. summary: 获取用户信息
  31070. tags:
  31071. - 用户信息
  31072. /User/QueryUserReferNum:
  31073. get:
  31074. parameters:
  31075. - description: 用户ID
  31076. in: query
  31077. name: userID
  31078. required: true
  31079. type: integer
  31080. produces:
  31081. - application/json
  31082. responses:
  31083. "200":
  31084. description: OK
  31085. schema:
  31086. $ref: '#/definitions/app.Response'
  31087. "500":
  31088. description: Internal Server Error
  31089. schema:
  31090. $ref: '#/definitions/app.Response'
  31091. summary: 获取用户邀请码
  31092. tags:
  31093. - 用户信息
  31094. /User/RemoveUserFavoriteGoods:
  31095. post:
  31096. parameters:
  31097. - description: 用户ID
  31098. in: query
  31099. name: userID
  31100. required: true
  31101. type: integer
  31102. - description: 商品ID
  31103. in: query
  31104. name: goodsID
  31105. required: true
  31106. type: integer
  31107. produces:
  31108. - application/json
  31109. responses:
  31110. "200":
  31111. description: OK
  31112. schema:
  31113. $ref: '#/definitions/app.Response'
  31114. "500":
  31115. description: Internal Server Error
  31116. schema:
  31117. $ref: '#/definitions/app.Response'
  31118. security:
  31119. - ApiKeyAuth: []
  31120. summary: 移除用户商品收藏信息
  31121. tags:
  31122. - 用户信息
  31123. /User/UpdateUserAccountStatus:
  31124. post:
  31125. parameters:
  31126. - description: 用户ID
  31127. in: query
  31128. name: userID
  31129. required: true
  31130. type: integer
  31131. - description: 账户状态 - 4:正常 6:注销(停用)
  31132. in: query
  31133. name: accountStatus
  31134. required: true
  31135. type: integer
  31136. produces:
  31137. - application/json
  31138. responses:
  31139. "200":
  31140. description: OK
  31141. schema:
  31142. $ref: '#/definitions/app.Response'
  31143. "500":
  31144. description: Internal Server Error
  31145. schema:
  31146. $ref: '#/definitions/app.Response'
  31147. security:
  31148. - ApiKeyAuth: []
  31149. summary: 更新用户状态
  31150. tags:
  31151. - 用户信息
  31152. /WRTrade/GetAllDeliveryGoods:
  31153. get:
  31154. produces:
  31155. - application/json
  31156. responses:
  31157. "200":
  31158. description: OK
  31159. schema:
  31160. $ref: '#/definitions/app.Response'
  31161. "500":
  31162. description: Internal Server Error
  31163. schema:
  31164. $ref: '#/definitions/app.Response'
  31165. security:
  31166. - ApiKeyAuth: []
  31167. summary: 获取带仓单分类的种类信息
  31168. tags:
  31169. - 仓单贸易
  31170. - 仓单贸易
  31171. /WrTrade2/InsertXhcpSellBackApply:
  31172. post:
  31173. parameters:
  31174. - description: 回收申请
  31175. in: body
  31176. name: jsonBody
  31177. required: true
  31178. schema:
  31179. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  31180. produces:
  31181. - application/json
  31182. responses:
  31183. "200":
  31184. description: OK
  31185. schema:
  31186. $ref: '#/definitions/app.Response'
  31187. "500":
  31188. description: Internal Server Error
  31189. schema:
  31190. $ref: '#/definitions/app.Response'
  31191. security:
  31192. - ApiKeyAuth: []
  31193. summary: 新增回收申请(新会陈皮)
  31194. tags:
  31195. - 仓单贸易v2
  31196. /WrTrade2/QueryDeliveryGoodsSection:
  31197. get:
  31198. produces:
  31199. - application/json
  31200. responses:
  31201. "200":
  31202. description: OK
  31203. schema:
  31204. items:
  31205. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  31206. type: array
  31207. "500":
  31208. description: Internal Server Error
  31209. schema:
  31210. $ref: '#/definitions/app.Response'
  31211. security:
  31212. - ApiKeyAuth: []
  31213. summary: 查询板块(分类)
  31214. tags:
  31215. - 仓单贸易v2
  31216. /WrTrade2/QueryFaProductDetail:
  31217. get:
  31218. description: 页面 买卖大厅 -> 选择融资方案
  31219. parameters:
  31220. - description: 仓单要素id
  31221. in: query
  31222. name: wrfactortypeid
  31223. required: true
  31224. type: integer
  31225. produces:
  31226. - application/json
  31227. responses:
  31228. "200":
  31229. description: OK
  31230. schema:
  31231. items:
  31232. $ref: '#/definitions/models.WrFAProductDetail'
  31233. type: array
  31234. "500":
  31235. description: Internal Server Error
  31236. schema:
  31237. $ref: '#/definitions/app.Response'
  31238. security:
  31239. - ApiKeyAuth: []
  31240. summary: 查询融资产品列表
  31241. tags:
  31242. - 仓单贸易v2
  31243. /WrTrade2/QueryFilterItem:
  31244. get:
  31245. parameters:
  31246. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  31247. in: query
  31248. name: itype
  31249. required: true
  31250. type: string
  31251. produces:
  31252. - application/json
  31253. responses:
  31254. "200":
  31255. description: OK
  31256. schema:
  31257. items:
  31258. $ref: '#/definitions/models.WrFilterItem'
  31259. type: array
  31260. "500":
  31261. description: Internal Server Error
  31262. schema:
  31263. $ref: '#/definitions/app.Response'
  31264. security:
  31265. - ApiKeyAuth: []
  31266. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  31267. tags:
  31268. - 仓单贸易v2
  31269. /WrTrade2/QueryFtDeliveryGoods:
  31270. get:
  31271. produces:
  31272. - application/json
  31273. responses:
  31274. "200":
  31275. description: OK
  31276. schema:
  31277. items:
  31278. $ref: '#/definitions/models.WrFtDeliveryGoods'
  31279. type: array
  31280. "500":
  31281. description: Internal Server Error
  31282. schema:
  31283. $ref: '#/definitions/app.Response'
  31284. security:
  31285. - ApiKeyAuth: []
  31286. summary: 查询品种品类筛选框列表
  31287. tags:
  31288. - 仓单贸易v2
  31289. /WrTrade2/QueryHoldLB:
  31290. get:
  31291. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  31292. parameters:
  31293. - description: 资金账号
  31294. in: query
  31295. name: accountid
  31296. required: true
  31297. type: integer
  31298. - description: 仓库id
  31299. in: query
  31300. name: warehouseid
  31301. type: integer
  31302. - description: 品种id
  31303. in: query
  31304. name: deliverygoodsid
  31305. type: integer
  31306. - description: 品类id
  31307. in: query
  31308. name: wrstandardid
  31309. type: integer
  31310. - description: 仓单要素id
  31311. in: query
  31312. name: wrfactortypeid
  31313. type: integer
  31314. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31315. in: query
  31316. name: dgitemname
  31317. type: string
  31318. produces:
  31319. - application/json
  31320. responses:
  31321. "200":
  31322. description: OK
  31323. schema:
  31324. items:
  31325. $ref: '#/definitions/models.WrHoldLB'
  31326. type: array
  31327. "500":
  31328. description: Internal Server Error
  31329. schema:
  31330. $ref: '#/definitions/app.Response'
  31331. security:
  31332. - ApiKeyAuth: []
  31333. summary: 查询仓单持有记录
  31334. tags:
  31335. - 仓单贸易v2
  31336. /WrTrade2/QueryOrderQuote:
  31337. get:
  31338. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  31339. 唯一确定1条记录
  31340. parameters:
  31341. - description: 页码
  31342. in: query
  31343. name: page
  31344. type: integer
  31345. - description: 每页条数
  31346. in: query
  31347. name: pagesize
  31348. type: integer
  31349. - description: 仓单贸易市场id
  31350. in: query
  31351. name: marketid
  31352. type: integer
  31353. - description: 价格方式 - 1:固定价 2-浮动价
  31354. in: query
  31355. name: wrpricetype
  31356. required: true
  31357. type: integer
  31358. - description: 0:仓单预售 1:仓单贸易
  31359. in: query
  31360. name: haswr
  31361. type: integer
  31362. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31363. in: query
  31364. name: dgitemname
  31365. type: string
  31366. - description: 仓库id(筛选条件)
  31367. in: query
  31368. name: warehouseid
  31369. type: integer
  31370. - description: 品种id
  31371. in: query
  31372. name: deliverygoodsid
  31373. type: integer
  31374. - description: 品类id
  31375. in: query
  31376. name: wrstandardid
  31377. type: integer
  31378. - description: 品牌id(dgfactoryitemid)
  31379. in: query
  31380. name: brandid
  31381. type: integer
  31382. - description: 年份id(dgfactoryitemid)
  31383. in: query
  31384. name: yearsid
  31385. type: integer
  31386. - description: 仓单要素id
  31387. in: query
  31388. name: wrfactortypeid
  31389. type: integer
  31390. - description: 交收月(yyyy-mm) 仓单预售填写
  31391. in: query
  31392. name: deliverymonth
  31393. type: string
  31394. produces:
  31395. - application/json
  31396. responses:
  31397. "200":
  31398. description: OK
  31399. schema:
  31400. items:
  31401. $ref: '#/definitions/models.WrOrderQuote'
  31402. type: array
  31403. "500":
  31404. description: Internal Server Error
  31405. schema:
  31406. $ref: '#/definitions/app.Response'
  31407. security:
  31408. - ApiKeyAuth: []
  31409. summary: 查询大厅行情列表
  31410. tags:
  31411. - 仓单贸易v2
  31412. /WrTrade2/QueryOrderQuoteDetail:
  31413. get:
  31414. parameters:
  31415. - description: 页码
  31416. in: query
  31417. name: page
  31418. type: integer
  31419. - description: 每页条数
  31420. in: query
  31421. name: pagesize
  31422. type: integer
  31423. - description: 仓单贸易市场id
  31424. in: query
  31425. name: marketid
  31426. type: integer
  31427. - description: 价格方式 - 1:固定价 2-浮动价
  31428. in: query
  31429. name: wrpricetype
  31430. required: true
  31431. type: integer
  31432. - description: 0:仓单预售 1:仓单贸易
  31433. in: query
  31434. name: haswr
  31435. type: integer
  31436. - description: 仓单要素id
  31437. in: query
  31438. name: wrfactortypeid
  31439. required: true
  31440. type: integer
  31441. - description: 期货商品id(浮动价方式时填)
  31442. in: query
  31443. name: goodsid
  31444. type: integer
  31445. - description: 买卖方向 0-买 1-卖
  31446. in: query
  31447. name: buyorsell
  31448. required: true
  31449. type: integer
  31450. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31451. in: query
  31452. name: deliverymonth
  31453. type: string
  31454. produces:
  31455. - application/json
  31456. responses:
  31457. "200":
  31458. description: OK
  31459. schema:
  31460. items:
  31461. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31462. type: array
  31463. "500":
  31464. description: Internal Server Error
  31465. schema:
  31466. $ref: '#/definitions/app.Response'
  31467. security:
  31468. - ApiKeyAuth: []
  31469. summary: 查询买卖大厅
  31470. tags:
  31471. - 仓单贸易v2
  31472. /WrTrade2/QueryOrderQuoteMyq:
  31473. get:
  31474. parameters:
  31475. - description: 页码
  31476. in: query
  31477. name: page
  31478. type: integer
  31479. - description: 每页条数
  31480. in: query
  31481. name: pagesize
  31482. type: integer
  31483. - description: 用户id
  31484. in: query
  31485. name: userid
  31486. required: true
  31487. type: integer
  31488. - description: 仓单贸易市场id
  31489. in: query
  31490. name: marketid
  31491. type: integer
  31492. - description: 0:仓单预售 1:仓单贸易
  31493. in: query
  31494. name: haswr
  31495. type: integer
  31496. - description: 买卖方向 0-买 1-卖
  31497. in: query
  31498. name: buyorsell
  31499. required: true
  31500. type: integer
  31501. - description: 品种id
  31502. in: query
  31503. name: deliverygoodsid
  31504. type: integer
  31505. - description: 品类id
  31506. in: query
  31507. name: wrstandardid
  31508. type: integer
  31509. - description: 交收月(yyyy-mm) 仓单预售填写
  31510. in: query
  31511. name: deliverymonth
  31512. type: string
  31513. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31514. in: query
  31515. name: dgitemname
  31516. type: string
  31517. produces:
  31518. - application/json
  31519. responses:
  31520. "200":
  31521. description: OK
  31522. schema:
  31523. items:
  31524. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31525. type: array
  31526. "500":
  31527. description: Internal Server Error
  31528. schema:
  31529. $ref: '#/definitions/app.Response'
  31530. security:
  31531. - ApiKeyAuth: []
  31532. summary: 查询贸易圈挂牌大厅
  31533. tags:
  31534. - 仓单贸易v2
  31535. /WrTrade2/QueryPerformancePlan:
  31536. get:
  31537. parameters:
  31538. - description: 用户id
  31539. in: query
  31540. name: userid
  31541. required: true
  31542. type: integer
  31543. - description: 买卖方向 0-买 1-卖
  31544. in: query
  31545. name: buyorsell
  31546. required: true
  31547. type: integer
  31548. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31549. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31550. in: query
  31551. name: status
  31552. type: string
  31553. - description: 开始交易日(yyyymmdd)
  31554. in: query
  31555. name: begindate
  31556. type: string
  31557. - description: 结束交易日(yyyymmdd)
  31558. in: query
  31559. name: enddate
  31560. type: string
  31561. produces:
  31562. - application/json
  31563. responses:
  31564. "200":
  31565. description: OK
  31566. schema:
  31567. items:
  31568. $ref: '#/definitions/models.WrPerformancePlan'
  31569. type: array
  31570. "500":
  31571. description: Internal Server Error
  31572. schema:
  31573. $ref: '#/definitions/app.Response'
  31574. security:
  31575. - ApiKeyAuth: []
  31576. summary: 查询履约信息
  31577. tags:
  31578. - 仓单贸易v2
  31579. /WrTrade2/QueryPermancePlanTmp:
  31580. get:
  31581. description: |-
  31582. 返回指定用户的模板和公共模板(用户id为空)
  31583. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  31584. parameters:
  31585. - description: 用户id
  31586. in: query
  31587. name: userid
  31588. type: integer
  31589. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  31590. (无仓单) 5:挂牌期权 6:竞拍-降价式
  31591. in: query
  31592. name: tmptype
  31593. type: string
  31594. - description: 是否包含公共模板(用户id为空的) 1-包含
  31595. in: query
  31596. name: includepub
  31597. type: integer
  31598. - description: 市场id(天津麦顿指定此参数,其它不用)
  31599. in: query
  31600. name: marketid
  31601. type: integer
  31602. produces:
  31603. - application/json
  31604. responses:
  31605. "200":
  31606. description: OK
  31607. schema:
  31608. items:
  31609. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  31610. type: array
  31611. "500":
  31612. description: Internal Server Error
  31613. schema:
  31614. $ref: '#/definitions/app.Response'
  31615. security:
  31616. - ApiKeyAuth: []
  31617. summary: 查询履约模板
  31618. tags:
  31619. - 仓单贸易v2
  31620. /WrTrade2/QuerySiteColumnDetail:
  31621. get:
  31622. parameters:
  31623. - description: 页码
  31624. in: query
  31625. name: page
  31626. type: integer
  31627. - description: 每页条数
  31628. in: query
  31629. name: pagesize
  31630. type: integer
  31631. - description: 所属栏目id
  31632. in: query
  31633. name: columnid
  31634. type: integer
  31635. produces:
  31636. - application/json
  31637. responses:
  31638. "200":
  31639. description: OK
  31640. schema:
  31641. items:
  31642. $ref: '#/definitions/models.WrSiteColumnDetail'
  31643. type: array
  31644. "500":
  31645. description: Internal Server Error
  31646. schema:
  31647. $ref: '#/definitions/app.Response'
  31648. security:
  31649. - ApiKeyAuth: []
  31650. summary: 查询资讯
  31651. tags:
  31652. - 仓单贸易v2
  31653. /WrTrade2/QuerySpotGroupTradeSum:
  31654. get:
  31655. produces:
  31656. - application/json
  31657. responses:
  31658. "200":
  31659. description: OK
  31660. schema:
  31661. items:
  31662. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  31663. type: array
  31664. "500":
  31665. description: Internal Server Error
  31666. schema:
  31667. $ref: '#/definitions/app.Response'
  31668. security:
  31669. - ApiKeyAuth: []
  31670. summary: 查询指数
  31671. tags:
  31672. - 仓单贸易v2
  31673. /WrTrade2/QuerySpotGroupTradeSumDetail:
  31674. get:
  31675. description: 查询的结果将会按日期 从小到大 排序
  31676. parameters:
  31677. - description: 现货商品id
  31678. in: query
  31679. name: deliverygoodsid
  31680. required: true
  31681. type: integer
  31682. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  31683. in: query
  31684. name: lastnum
  31685. type: integer
  31686. produces:
  31687. - application/json
  31688. responses:
  31689. "200":
  31690. description: OK
  31691. schema:
  31692. items:
  31693. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  31694. type: array
  31695. "500":
  31696. description: Internal Server Error
  31697. schema:
  31698. $ref: '#/definitions/app.Response'
  31699. security:
  31700. - ApiKeyAuth: []
  31701. summary: 查询指数详细(价格走势图)
  31702. tags:
  31703. - 仓单贸易v2
  31704. /WrTrade2/QueryWrAverageTradePrice:
  31705. get:
  31706. parameters:
  31707. - description: 页码
  31708. in: query
  31709. name: page
  31710. type: integer
  31711. - description: 每页条数
  31712. in: query
  31713. name: pagesize
  31714. type: integer
  31715. - description: 0:仓单预售 1:仓单贸易
  31716. in: query
  31717. name: haswr
  31718. required: true
  31719. type: integer
  31720. - description: 仓单要素id
  31721. in: query
  31722. name: wrfactortypeid
  31723. required: true
  31724. type: integer
  31725. produces:
  31726. - application/json
  31727. responses:
  31728. "200":
  31729. description: OK
  31730. schema:
  31731. items:
  31732. $ref: '#/definitions/models.WrAverageTradePrice'
  31733. type: array
  31734. "500":
  31735. description: Internal Server Error
  31736. schema:
  31737. $ref: '#/definitions/app.Response'
  31738. security:
  31739. - ApiKeyAuth: []
  31740. summary: 查询成交价(历史走势)
  31741. tags:
  31742. - 仓单贸易v2
  31743. /WrTrade2/QueryWrBrandAndYears:
  31744. get:
  31745. produces:
  31746. - application/json
  31747. responses:
  31748. "200":
  31749. description: OK
  31750. schema:
  31751. items:
  31752. $ref: '#/definitions/models.WrBrandAndYears'
  31753. type: array
  31754. "500":
  31755. description: Internal Server Error
  31756. schema:
  31757. $ref: '#/definitions/app.Response'
  31758. security:
  31759. - ApiKeyAuth: []
  31760. summary: 查询品牌和年份
  31761. tags:
  31762. - 仓单贸易v2
  31763. /WrTrade2/QueryWrBsGoodsInfo:
  31764. get:
  31765. description: 合约交易/买卖大厅/详情
  31766. parameters:
  31767. - description: 商品id
  31768. in: query
  31769. name: goodsid
  31770. required: true
  31771. type: integer
  31772. produces:
  31773. - application/json
  31774. responses:
  31775. "200":
  31776. description: OK
  31777. schema:
  31778. items:
  31779. $ref: '#/definitions/models.WrBsGoodsInfo'
  31780. type: array
  31781. "500":
  31782. description: Internal Server Error
  31783. schema:
  31784. $ref: '#/definitions/app.Response'
  31785. security:
  31786. - ApiKeyAuth: []
  31787. summary: 查询合约交易买卖大厅详情
  31788. tags:
  31789. - 仓单贸易v2
  31790. /WrTrade2/QueryWrBuybackDetail:
  31791. get:
  31792. parameters:
  31793. - description: 融资合同id
  31794. in: query
  31795. name: scfcontractid
  31796. type: integer
  31797. produces:
  31798. - application/json
  31799. responses:
  31800. "200":
  31801. description: OK
  31802. schema:
  31803. items:
  31804. $ref: '#/definitions/models.WrBuybackDetail'
  31805. type: array
  31806. "500":
  31807. description: Internal Server Error
  31808. schema:
  31809. $ref: '#/definitions/app.Response'
  31810. security:
  31811. - ApiKeyAuth: []
  31812. summary: 查询仓单回购明细
  31813. tags:
  31814. - 仓单贸易v2
  31815. /WrTrade2/QueryWrClientAdSpaceConfig:
  31816. get:
  31817. produces:
  31818. - application/json
  31819. responses:
  31820. "200":
  31821. description: OK
  31822. schema:
  31823. items:
  31824. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  31825. type: array
  31826. "500":
  31827. description: Internal Server Error
  31828. schema:
  31829. $ref: '#/definitions/app.Response'
  31830. security:
  31831. - ApiKeyAuth: []
  31832. summary: 查询固定广告配置
  31833. tags:
  31834. - 仓单贸易v2
  31835. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  31836. get:
  31837. parameters:
  31838. - description: 资金账号
  31839. in: query
  31840. name: accountid
  31841. required: true
  31842. type: integer
  31843. - description: 商品id
  31844. in: query
  31845. name: goodsid
  31846. required: true
  31847. type: integer
  31848. produces:
  31849. - application/json
  31850. responses:
  31851. "200":
  31852. description: OK
  31853. schema:
  31854. items:
  31855. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  31856. type: array
  31857. "500":
  31858. description: Internal Server Error
  31859. schema:
  31860. $ref: '#/definitions/app.Response'
  31861. security:
  31862. - ApiKeyAuth: []
  31863. summary: 查询合约交收可点选仓单
  31864. tags:
  31865. - 仓单贸易v2
  31866. /WrTrade2/QueryWrDeliveryDetail:
  31867. get:
  31868. parameters:
  31869. - description: 用户id
  31870. in: query
  31871. name: userid
  31872. required: true
  31873. type: integer
  31874. - description: 资金账号id
  31875. in: query
  31876. name: accountid
  31877. type: integer
  31878. - description: 开始交易日(yyyymmdd)
  31879. in: query
  31880. name: begindate
  31881. type: string
  31882. - description: 结束交易日(yyyymmdd)
  31883. in: query
  31884. name: enddate
  31885. type: string
  31886. produces:
  31887. - application/json
  31888. responses:
  31889. "200":
  31890. description: OK
  31891. schema:
  31892. items:
  31893. $ref: '#/definitions/models.WrDeliveryDetail'
  31894. type: array
  31895. "500":
  31896. description: Internal Server Error
  31897. schema:
  31898. $ref: '#/definitions/app.Response'
  31899. security:
  31900. - ApiKeyAuth: []
  31901. summary: 查询交收
  31902. tags:
  31903. - 仓单贸易v2
  31904. /WrTrade2/QueryWrDraftUserInfo:
  31905. get:
  31906. parameters:
  31907. - description: 用户ID
  31908. in: query
  31909. name: userid
  31910. required: true
  31911. type: integer
  31912. - description: 用户状态 1:正常 2:注销
  31913. in: query
  31914. name: userstatus
  31915. type: integer
  31916. produces:
  31917. - application/json
  31918. responses:
  31919. "200":
  31920. description: OK
  31921. schema:
  31922. items:
  31923. $ref: '#/definitions/models.WrDraftUserInfo'
  31924. type: array
  31925. "500":
  31926. description: Internal Server Error
  31927. schema:
  31928. $ref: '#/definitions/app.Response'
  31929. security:
  31930. - ApiKeyAuth: []
  31931. summary: 查询实名认证信息
  31932. tags:
  31933. - 仓单贸易v2
  31934. /WrTrade2/QueryWrFactorTypeInfo:
  31935. get:
  31936. parameters:
  31937. - description: 仓单要素id
  31938. in: query
  31939. name: wrfactortypeid
  31940. required: true
  31941. type: integer
  31942. produces:
  31943. - application/json
  31944. responses:
  31945. "200":
  31946. description: OK
  31947. schema:
  31948. items:
  31949. $ref: '#/definitions/models.WrFactorTypeInfo'
  31950. type: array
  31951. "500":
  31952. description: Internal Server Error
  31953. schema:
  31954. $ref: '#/definitions/app.Response'
  31955. security:
  31956. - ApiKeyAuth: []
  31957. summary: 查询仓单要素详细信息
  31958. tags:
  31959. - 仓单贸易v2
  31960. /WrTrade2/QueryWrFactorTypeInfoEx:
  31961. get:
  31962. parameters:
  31963. - description: 仓单要素id
  31964. in: query
  31965. name: wrfactortypeid
  31966. required: true
  31967. type: integer
  31968. produces:
  31969. - application/json
  31970. responses:
  31971. "200":
  31972. description: OK
  31973. schema:
  31974. items:
  31975. $ref: '#/definitions/models.WrTypeItem'
  31976. type: array
  31977. "500":
  31978. description: Internal Server Error
  31979. schema:
  31980. $ref: '#/definitions/app.Response'
  31981. security:
  31982. - ApiKeyAuth: []
  31983. summary: 查询仓单要素详细信息列表项
  31984. tags:
  31985. - 仓单贸易v2
  31986. /WrTrade2/QueryWrFinanceBuyApply:
  31987. get:
  31988. description: 页面 融资信息+ / 申请单
  31989. parameters:
  31990. - description: 用户id
  31991. in: query
  31992. name: userid
  31993. required: true
  31994. type: integer
  31995. produces:
  31996. - application/json
  31997. responses:
  31998. "200":
  31999. description: OK
  32000. schema:
  32001. items:
  32002. $ref: '#/definitions/models.WrFinanceBuyApply'
  32003. type: array
  32004. "500":
  32005. description: Internal Server Error
  32006. schema:
  32007. $ref: '#/definitions/app.Response'
  32008. security:
  32009. - ApiKeyAuth: []
  32010. summary: 查询融资购买申请
  32011. tags:
  32012. - 仓单贸易v2
  32013. /WrTrade2/QueryWrFriendApply:
  32014. get:
  32015. parameters:
  32016. - description: 用户id
  32017. in: query
  32018. name: userid
  32019. required: true
  32020. type: integer
  32021. produces:
  32022. - application/json
  32023. responses:
  32024. "200":
  32025. description: OK
  32026. schema:
  32027. items:
  32028. $ref: '#/definitions/models.WrFriendApply'
  32029. type: array
  32030. "500":
  32031. description: Internal Server Error
  32032. schema:
  32033. $ref: '#/definitions/app.Response'
  32034. security:
  32035. - ApiKeyAuth: []
  32036. summary: 查询好友申请记录
  32037. tags:
  32038. - 仓单贸易v2
  32039. /WrTrade2/QueryWrGoodsInfo:
  32040. get:
  32041. parameters:
  32042. - description: 仓单贸易市场id
  32043. in: query
  32044. name: marketid
  32045. type: integer
  32046. - description: 0:仓单预售 1:仓单贸易
  32047. in: query
  32048. name: haswr
  32049. required: true
  32050. type: integer
  32051. - description: 仓单要素id
  32052. in: query
  32053. name: wrfactortypeid
  32054. required: true
  32055. type: integer
  32056. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  32057. in: query
  32058. name: tmplateid
  32059. type: integer
  32060. produces:
  32061. - application/json
  32062. responses:
  32063. "200":
  32064. description: OK
  32065. schema:
  32066. items:
  32067. $ref: '#/definitions/models.WrGoodsInfo'
  32068. type: array
  32069. "500":
  32070. description: Internal Server Error
  32071. schema:
  32072. $ref: '#/definitions/app.Response'
  32073. security:
  32074. - ApiKeyAuth: []
  32075. summary: 查询仓单商品信息
  32076. tags:
  32077. - 仓单贸易v2
  32078. /WrTrade2/QueryWrMarketTradeConfig:
  32079. get:
  32080. parameters:
  32081. - description: 市场id
  32082. in: query
  32083. name: marketid
  32084. type: integer
  32085. produces:
  32086. - application/json
  32087. responses:
  32088. "200":
  32089. description: OK
  32090. schema:
  32091. items:
  32092. $ref: '#/definitions/models.WrMarketTradeConfig'
  32093. type: array
  32094. "500":
  32095. description: Internal Server Error
  32096. schema:
  32097. $ref: '#/definitions/app.Response'
  32098. security:
  32099. - ApiKeyAuth: []
  32100. summary: 查询市场交易参数配置
  32101. tags:
  32102. - 仓单贸易v2
  32103. /WrTrade2/QueryWrOrderDetail:
  32104. get:
  32105. description: 页面 现货仓单 | 预售仓单 -> 委托单
  32106. parameters:
  32107. - description: 页码
  32108. in: query
  32109. name: page
  32110. type: integer
  32111. - description: 每页条数
  32112. in: query
  32113. name: pagesize
  32114. type: integer
  32115. - description: 用户id
  32116. in: query
  32117. name: userid
  32118. required: true
  32119. type: integer
  32120. - description: 仓单贸易市场id
  32121. in: query
  32122. name: marketid
  32123. type: integer
  32124. - description: 0:仓单预售 1:仓单贸易
  32125. in: query
  32126. name: haswr
  32127. required: true
  32128. type: integer
  32129. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  32130. in: query
  32131. name: bcancel
  32132. type: integer
  32133. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  32134. in: query
  32135. name: wrtradetype
  32136. type: integer
  32137. - description: 开始交易日(yyyymmdd)
  32138. in: query
  32139. name: begindate
  32140. type: string
  32141. - description: 结束交易日(yyyymmdd)
  32142. in: query
  32143. name: enddate
  32144. type: string
  32145. produces:
  32146. - application/json
  32147. responses:
  32148. "200":
  32149. description: OK
  32150. schema:
  32151. items:
  32152. $ref: '#/definitions/models.WrOrderDetail'
  32153. type: array
  32154. "500":
  32155. description: Internal Server Error
  32156. schema:
  32157. $ref: '#/definitions/app.Response'
  32158. security:
  32159. - ApiKeyAuth: []
  32160. summary: 查询仓单委托单
  32161. tags:
  32162. - 仓单贸易v2
  32163. /WrTrade2/QueryWrOutInApply:
  32164. get:
  32165. parameters:
  32166. - description: 页码
  32167. in: query
  32168. name: page
  32169. type: integer
  32170. - description: 每页条数
  32171. in: query
  32172. name: pagesize
  32173. type: integer
  32174. - description: 用户id
  32175. in: query
  32176. name: userid
  32177. required: true
  32178. type: integer
  32179. - description: 开始交易日(yyyymmdd)
  32180. in: query
  32181. name: begindate
  32182. type: string
  32183. - description: 结束交易日(yyyymmdd)
  32184. in: query
  32185. name: enddate
  32186. type: string
  32187. produces:
  32188. - application/json
  32189. responses:
  32190. "200":
  32191. description: OK
  32192. schema:
  32193. items:
  32194. $ref: '#/definitions/models.WrOutInApply'
  32195. type: array
  32196. "500":
  32197. description: Internal Server Error
  32198. schema:
  32199. $ref: '#/definitions/app.Response'
  32200. security:
  32201. - ApiKeyAuth: []
  32202. summary: 查询提货申请
  32203. tags:
  32204. - 仓单贸易v2
  32205. /WrTrade2/QueryWrPerformancePlanStep:
  32206. get:
  32207. parameters:
  32208. - description: 履约计划id(performanceplanid)
  32209. in: query
  32210. name: planid
  32211. required: true
  32212. type: integer
  32213. - description: 当前步骤id
  32214. in: query
  32215. name: curstepid
  32216. type: integer
  32217. produces:
  32218. - application/json
  32219. responses:
  32220. "200":
  32221. description: OK
  32222. schema:
  32223. items:
  32224. $ref: '#/definitions/models.WrPerformancePlanStep'
  32225. type: array
  32226. "500":
  32227. description: Internal Server Error
  32228. schema:
  32229. $ref: '#/definitions/app.Response'
  32230. security:
  32231. - ApiKeyAuth: []
  32232. summary: 查询履约信息详情
  32233. tags:
  32234. - 仓单贸易v2
  32235. /WrTrade2/QueryWrPerformanceStepType:
  32236. get:
  32237. produces:
  32238. - application/json
  32239. responses:
  32240. "200":
  32241. description: OK
  32242. schema:
  32243. items:
  32244. $ref: '#/definitions/models.WrPerformanceStepType'
  32245. type: array
  32246. "500":
  32247. description: Internal Server Error
  32248. schema:
  32249. $ref: '#/definitions/app.Response'
  32250. security:
  32251. - ApiKeyAuth: []
  32252. summary: 查询履约步骤枚举
  32253. tags:
  32254. - 仓单贸易v2
  32255. /WrTrade2/QueryWrPosition:
  32256. get:
  32257. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  32258. parameters:
  32259. - description: 用户id
  32260. in: query
  32261. name: userid
  32262. required: true
  32263. type: integer
  32264. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  32265. in: query
  32266. name: querytype
  32267. required: true
  32268. type: integer
  32269. - description: 0:仓单预售 1:仓单贸易
  32270. in: query
  32271. name: haswr
  32272. required: true
  32273. type: integer
  32274. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32275. in: query
  32276. name: dgitemname
  32277. type: string
  32278. - description: 仓库id(筛选条件)
  32279. in: query
  32280. name: warehouseid
  32281. type: integer
  32282. - description: 品种id
  32283. in: query
  32284. name: deliverygoodsid
  32285. type: integer
  32286. - description: 品类id
  32287. in: query
  32288. name: wrstandardid
  32289. type: integer
  32290. produces:
  32291. - application/json
  32292. responses:
  32293. "200":
  32294. description: OK
  32295. schema:
  32296. items:
  32297. $ref: '#/definitions/models.WrPosition'
  32298. type: array
  32299. "500":
  32300. description: Internal Server Error
  32301. schema:
  32302. $ref: '#/definitions/app.Response'
  32303. security:
  32304. - ApiKeyAuth: []
  32305. summary: 查询现货(预售)仓单持仓
  32306. tags:
  32307. - 仓单贸易v2
  32308. /WrTrade2/QueryWrPreSaleInfo:
  32309. get:
  32310. parameters:
  32311. - description: 市场id
  32312. in: query
  32313. name: marketid
  32314. type: integer
  32315. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  32316. in: query
  32317. name: presalestatus
  32318. type: string
  32319. - description: 摇号标识 - 0:未摇号 1:已摇号
  32320. in: query
  32321. name: lotteryflag
  32322. type: integer
  32323. - description: 最近多少条记录(按创建时间倒序)
  32324. in: query
  32325. name: lastnum
  32326. type: integer
  32327. produces:
  32328. - application/json
  32329. responses:
  32330. "200":
  32331. description: OK
  32332. schema:
  32333. items:
  32334. $ref: '#/definitions/models.WrPreSaleInfo'
  32335. type: array
  32336. "500":
  32337. description: Internal Server Error
  32338. schema:
  32339. $ref: '#/definitions/app.Response'
  32340. security:
  32341. - ApiKeyAuth: []
  32342. summary: 查询新品发布
  32343. tags:
  32344. - 仓单贸易v2
  32345. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  32346. get:
  32347. parameters:
  32348. - description: 市场id
  32349. in: query
  32350. name: marketid
  32351. required: true
  32352. type: integer
  32353. - description: 现货商品id
  32354. in: query
  32355. name: wrstandardid
  32356. required: true
  32357. type: integer
  32358. - description: 开始交易日(yyyymmdd)
  32359. in: query
  32360. name: begindate
  32361. type: string
  32362. - description: 结束交易日(yyyymmdd)
  32363. in: query
  32364. name: enddate
  32365. type: string
  32366. - description: 最近多少条记录(按交易日倒序)
  32367. in: query
  32368. name: lastnum
  32369. type: integer
  32370. - description: 是否今日
  32371. in: query
  32372. name: istoday
  32373. type: boolean
  32374. produces:
  32375. - application/json
  32376. responses:
  32377. "200":
  32378. description: OK
  32379. schema:
  32380. items:
  32381. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  32382. type: array
  32383. "500":
  32384. description: Internal Server Error
  32385. schema:
  32386. $ref: '#/definitions/app.Response'
  32387. security:
  32388. - ApiKeyAuth: []
  32389. summary: 查询价格走势
  32390. tags:
  32391. - 仓单贸易v2
  32392. /WrTrade2/QueryWrScfContract:
  32393. get:
  32394. parameters:
  32395. - description: 用户id
  32396. in: query
  32397. name: userid
  32398. required: true
  32399. type: integer
  32400. - description: 融资合同id
  32401. in: query
  32402. name: scfcontractid
  32403. type: integer
  32404. produces:
  32405. - application/json
  32406. responses:
  32407. "200":
  32408. description: OK
  32409. schema:
  32410. items:
  32411. $ref: '#/definitions/models.WrScfContract'
  32412. type: array
  32413. "500":
  32414. description: Internal Server Error
  32415. schema:
  32416. $ref: '#/definitions/app.Response'
  32417. security:
  32418. - ApiKeyAuth: []
  32419. summary: 查询仓单贸易融资合同
  32420. tags:
  32421. - 仓单贸易v2
  32422. /WrTrade2/QueryWrScfContractInterest:
  32423. get:
  32424. parameters:
  32425. - description: 融资合同id
  32426. in: query
  32427. name: scfcontractid
  32428. type: integer
  32429. produces:
  32430. - application/json
  32431. responses:
  32432. "200":
  32433. description: OK
  32434. schema:
  32435. items:
  32436. $ref: '#/definitions/models.WrScfContractInterest'
  32437. type: array
  32438. "500":
  32439. description: Internal Server Error
  32440. schema:
  32441. $ref: '#/definitions/app.Response'
  32442. security:
  32443. - ApiKeyAuth: []
  32444. summary: 查询融资合同费用明细
  32445. tags:
  32446. - 仓单贸易v2
  32447. /WrTrade2/QueryWrSearchUser:
  32448. get:
  32449. parameters:
  32450. - description: 用户名称(模糊匹配)
  32451. in: query
  32452. name: username
  32453. required: true
  32454. type: string
  32455. produces:
  32456. - application/json
  32457. responses:
  32458. "200":
  32459. description: OK
  32460. schema:
  32461. items:
  32462. $ref: '#/definitions/models.WrSearchUser'
  32463. type: array
  32464. "500":
  32465. description: Internal Server Error
  32466. schema:
  32467. $ref: '#/definitions/app.Response'
  32468. security:
  32469. - ApiKeyAuth: []
  32470. summary: 查询用户
  32471. tags:
  32472. - 仓单贸易v2
  32473. /WrTrade2/QueryWrSpecialMatchOrder:
  32474. get:
  32475. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32476. parameters:
  32477. - description: 页码
  32478. in: query
  32479. name: page
  32480. type: integer
  32481. - description: 每页条数
  32482. in: query
  32483. name: pagesize
  32484. type: integer
  32485. - description: 用户id
  32486. in: query
  32487. name: userid
  32488. required: true
  32489. type: integer
  32490. - description: 仓单贸易市场id
  32491. in: query
  32492. name: marketid
  32493. type: integer
  32494. - description: 0:仓单预售 1:仓单贸易
  32495. in: query
  32496. name: haswr
  32497. required: true
  32498. type: integer
  32499. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32500. in: query
  32501. name: isspecified
  32502. type: integer
  32503. produces:
  32504. - application/json
  32505. responses:
  32506. "200":
  32507. description: OK
  32508. schema:
  32509. items:
  32510. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32511. type: array
  32512. "500":
  32513. description: Internal Server Error
  32514. schema:
  32515. $ref: '#/definitions/app.Response'
  32516. security:
  32517. - ApiKeyAuth: []
  32518. summary: 查询指定成交
  32519. tags:
  32520. - 仓单贸易v2
  32521. /WrTrade2/QueryWrStandardFactoryItem:
  32522. get:
  32523. parameters:
  32524. - description: 品类id
  32525. in: query
  32526. name: wrstandardid
  32527. required: true
  32528. type: integer
  32529. produces:
  32530. - application/json
  32531. responses:
  32532. "200":
  32533. description: OK
  32534. schema:
  32535. items:
  32536. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32537. type: array
  32538. "500":
  32539. description: Internal Server Error
  32540. schema:
  32541. $ref: '#/definitions/app.Response'
  32542. security:
  32543. - ApiKeyAuth: []
  32544. summary: 查询品类要素定义项
  32545. tags:
  32546. - 仓单贸易v2
  32547. /WrTrade2/QueryWrTradeBargainApply:
  32548. get:
  32549. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32550. 议价->对方议价 填写matchuserid=登录用户id
  32551. parameters:
  32552. - description: 议价人id(摘牌方)
  32553. in: query
  32554. name: userid
  32555. type: integer
  32556. - description: 挂牌方id(查对方议价时,填写此项)
  32557. in: query
  32558. name: matchuserid
  32559. type: integer
  32560. - description: 关联委托单id
  32561. in: query
  32562. name: wrtradeorderid
  32563. type: integer
  32564. - description: 0:仓单预售 1:仓单贸易
  32565. in: query
  32566. name: haswr
  32567. required: true
  32568. type: integer
  32569. - description: 开始交易日(yyyymmdd)
  32570. in: query
  32571. name: begindate
  32572. type: string
  32573. - description: 结束交易日(yyyymmdd)
  32574. in: query
  32575. name: enddate
  32576. type: string
  32577. produces:
  32578. - application/json
  32579. responses:
  32580. "200":
  32581. description: OK
  32582. schema:
  32583. items:
  32584. $ref: '#/definitions/models.WRTradeBargainApply'
  32585. type: array
  32586. "500":
  32587. description: Internal Server Error
  32588. schema:
  32589. $ref: '#/definitions/app.Response'
  32590. security:
  32591. - ApiKeyAuth: []
  32592. summary: 查询议价单
  32593. tags:
  32594. - 仓单贸易v2
  32595. /WrTrade2/QueryWrTradeDetail:
  32596. get:
  32597. parameters:
  32598. - description: 页码
  32599. in: query
  32600. name: page
  32601. type: integer
  32602. - description: 每页条数
  32603. in: query
  32604. name: pagesize
  32605. type: integer
  32606. - description: 用户id
  32607. in: query
  32608. name: userid
  32609. required: true
  32610. type: integer
  32611. - description: 仓单贸易市场id
  32612. in: query
  32613. name: marketid
  32614. type: integer
  32615. - description: 0:仓单预售 1:仓单贸易
  32616. in: query
  32617. name: haswr
  32618. required: true
  32619. type: integer
  32620. - description: 开始交易日(yyyymmdd)
  32621. in: query
  32622. name: begindate
  32623. type: string
  32624. - description: 结束交易日(yyyymmdd)
  32625. in: query
  32626. name: enddate
  32627. type: string
  32628. produces:
  32629. - application/json
  32630. responses:
  32631. "200":
  32632. description: OK
  32633. schema:
  32634. items:
  32635. $ref: '#/definitions/models.WrTradeDetail'
  32636. type: array
  32637. "500":
  32638. description: Internal Server Error
  32639. schema:
  32640. $ref: '#/definitions/app.Response'
  32641. security:
  32642. - ApiKeyAuth: []
  32643. summary: 查询仓单成交明细
  32644. tags:
  32645. - 仓单贸易v2
  32646. /WrTrade2/QueryWrTradeOrderDetail:
  32647. get:
  32648. parameters:
  32649. - description: 页码
  32650. in: query
  32651. name: page
  32652. type: integer
  32653. - description: 每页条数
  32654. in: query
  32655. name: pagesize
  32656. type: integer
  32657. - description: 商品id
  32658. in: query
  32659. name: goodsid
  32660. required: true
  32661. type: integer
  32662. - description: 买卖方向 0-买 1-卖
  32663. in: query
  32664. name: buyorsell
  32665. required: true
  32666. type: integer
  32667. produces:
  32668. - application/json
  32669. responses:
  32670. "200":
  32671. description: OK
  32672. schema:
  32673. items:
  32674. $ref: '#/definitions/models.WrTradeOrderDetail'
  32675. type: array
  32676. "500":
  32677. description: Internal Server Error
  32678. schema:
  32679. $ref: '#/definitions/app.Response'
  32680. security:
  32681. - ApiKeyAuth: []
  32682. summary: 查询合约交易买卖大厅
  32683. tags:
  32684. - 仓单贸易v2
  32685. /WrTrade2/QueryWrTradeQuote:
  32686. get:
  32687. parameters:
  32688. - description: 现货商品id
  32689. in: query
  32690. name: wrstandardid
  32691. required: true
  32692. type: integer
  32693. - description: 开始日期(yyyymmdd)
  32694. in: query
  32695. name: begindate
  32696. required: true
  32697. type: string
  32698. - description: 结束日期(yyyymmdd)
  32699. in: query
  32700. name: enddate
  32701. required: true
  32702. type: string
  32703. - description: 市场id
  32704. in: query
  32705. name: marketid
  32706. type: integer
  32707. produces:
  32708. - application/json
  32709. responses:
  32710. "200":
  32711. description: OK
  32712. schema:
  32713. items:
  32714. $ref: '#/definitions/models.Wrtradetradequote'
  32715. type: array
  32716. "500":
  32717. description: Internal Server Error
  32718. schema:
  32719. $ref: '#/definitions/app.Response'
  32720. security:
  32721. - ApiKeyAuth: []
  32722. summary: 查询仓单贸易成交行情
  32723. tags:
  32724. - 仓单贸易v2
  32725. /WrTrade2/QueryWrUserFriend:
  32726. get:
  32727. parameters:
  32728. - description: 用户id
  32729. in: query
  32730. name: userid
  32731. required: true
  32732. type: integer
  32733. - description: 新朋友userid, 如果填写了此项则查找新朋友
  32734. in: query
  32735. name: newuserid
  32736. type: integer
  32737. produces:
  32738. - application/json
  32739. responses:
  32740. "200":
  32741. description: OK
  32742. schema:
  32743. items:
  32744. $ref: '#/definitions/models.WrUserFriend'
  32745. type: array
  32746. "500":
  32747. description: Internal Server Error
  32748. schema:
  32749. $ref: '#/definitions/app.Response'
  32750. security:
  32751. - ApiKeyAuth: []
  32752. summary: 查询我的朋友
  32753. tags:
  32754. - 仓单贸易v2
  32755. /WrTrade2/QueryWrUserReceiptInfo:
  32756. get:
  32757. parameters:
  32758. - description: 用户id
  32759. in: query
  32760. name: userid
  32761. type: integer
  32762. - description: 发票类型 - 1:个人 2:企业
  32763. in: query
  32764. name: receipttype
  32765. type: integer
  32766. produces:
  32767. - application/json
  32768. responses:
  32769. "200":
  32770. description: OK
  32771. schema:
  32772. items:
  32773. $ref: '#/definitions/models.WrUserReceiptInfo'
  32774. type: array
  32775. "500":
  32776. description: Internal Server Error
  32777. schema:
  32778. $ref: '#/definitions/app.Response'
  32779. security:
  32780. - ApiKeyAuth: []
  32781. summary: 查询发票信息
  32782. tags:
  32783. - 仓单贸易v2
  32784. /WrTrade2/QueryXhcpSellBackApply:
  32785. get:
  32786. parameters:
  32787. - description: 用户ID
  32788. in: query
  32789. name: userid
  32790. required: true
  32791. type: integer
  32792. produces:
  32793. - application/json
  32794. responses:
  32795. "200":
  32796. description: OK
  32797. schema:
  32798. items:
  32799. $ref: '#/definitions/models.Xhcpsellbackapply'
  32800. type: array
  32801. "500":
  32802. description: Internal Server Error
  32803. schema:
  32804. $ref: '#/definitions/app.Response'
  32805. security:
  32806. - ApiKeyAuth: []
  32807. summary: 查询我的回收申请(新会陈皮)
  32808. tags:
  32809. - 仓单贸易v2
  32810. /ZJ/GetBankTip:
  32811. get:
  32812. produces:
  32813. - application/json
  32814. responses:
  32815. "200":
  32816. description: OK
  32817. schema:
  32818. type: string
  32819. "500":
  32820. description: Internal Server Error
  32821. schema:
  32822. $ref: '#/definitions/app.Response'
  32823. summary: 获取中江网银端出入金提示信息
  32824. tags:
  32825. - 中江
  32826. /ZJ/GetCusBankChannels:
  32827. get:
  32828. produces:
  32829. - application/json
  32830. responses:
  32831. "200":
  32832. description: OK
  32833. schema:
  32834. items:
  32835. type: string
  32836. type: array
  32837. "500":
  32838. description: Internal Server Error
  32839. schema:
  32840. $ref: '#/definitions/app.Response'
  32841. summary: 获取中江出入金渠道显示列表
  32842. tags:
  32843. - 中江
  32844. securityDefinitions:
  32845. ApiKeyAuth:
  32846. in: header
  32847. name: Authorization
  32848. type: apiKey
  32849. Group:
  32850. in: header
  32851. name: Group
  32852. type: apiKey
  32853. LoginID:
  32854. in: header
  32855. name: LoginID
  32856. type: apiKey
  32857. swagger: "2.0"