swagger.yaml 879 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  2194. description: 期货品种系数(折算系数)
  2195. type: number
  2196. curhedgeqty:
  2197. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2198. type: number
  2199. curqty:
  2200. description: 当前持仓
  2201. type: integer
  2202. diffhedgeqty:
  2203. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2204. type: number
  2205. diffqty:
  2206. description: 持仓变动量=当前持仓-昨日持仓
  2207. type: integer
  2208. goodscode:
  2209. description: 商品代码
  2210. type: string
  2211. goodsid:
  2212. description: 商品id
  2213. type: integer
  2214. goodsname:
  2215. description: 商品名称
  2216. type: string
  2217. hedgeaccountcode:
  2218. description: 对冲账号(只有外部账号才有值)
  2219. type: string
  2220. middlegoodscode:
  2221. description: 套保商品代码
  2222. type: string
  2223. middlegoodsid:
  2224. description: 套保商品id
  2225. type: integer
  2226. middlegoodsname:
  2227. description: 套保商品名称
  2228. type: string
  2229. ydqty:
  2230. description: 昨日持仓
  2231. type: integer
  2232. type: object
  2233. ermcp.RealtimeExposureRsp:
  2234. properties:
  2235. AreaUserID:
  2236. description: 所属机构
  2237. type: integer
  2238. BuyFutureQty:
  2239. description: 买入期货数量
  2240. type: number
  2241. BuyPlanQty:
  2242. description: 采购计划数量
  2243. type: number
  2244. BuyPricedQty:
  2245. description: 采购合同已定价数量
  2246. type: number
  2247. MiddleGoodsCode:
  2248. description: 套保品种代码
  2249. type: string
  2250. MiddleGoodsHedgeRatio:
  2251. description: 套保比例
  2252. type: number
  2253. MiddleGoodsID:
  2254. description: 套保品种
  2255. type: integer
  2256. MiddleGoodsName:
  2257. description: 套保品种名称
  2258. type: string
  2259. NeedHedgeExposoure:
  2260. description: 应套保敞口(套保敞口)
  2261. type: number
  2262. NeedHedgeRatio:
  2263. description: 应套保敞口比例
  2264. type: number
  2265. OriBuyFutureQty:
  2266. description: 期初买入期货数量
  2267. type: number
  2268. OriBuyPlanQty:
  2269. description: 期初采购计划数量
  2270. type: number
  2271. OriBuyPricedQty:
  2272. description: 期初采购合同已定价数量
  2273. type: number
  2274. OriSellFutureQty:
  2275. description: 期初卖出期货数量
  2276. type: number
  2277. OriSellPlanQty:
  2278. description: 期初销售计划数量
  2279. type: number
  2280. OriSellPricedQty:
  2281. description: 期初销售合同已定价数量
  2282. type: number
  2283. OriTotalSpotQty:
  2284. description: 期初现货总量
  2285. type: number
  2286. SellFutureQty:
  2287. description: 卖出期货数量
  2288. type: number
  2289. SellPlanQty:
  2290. description: 销售计划数量
  2291. type: number
  2292. SellPricedQty:
  2293. description: 销售合同已定价数量
  2294. type: number
  2295. TotalExposure:
  2296. description: 总敞口 平安:净敞口
  2297. type: number
  2298. TotalFutureQty:
  2299. description: 期货总量 平安:保值净持仓量
  2300. type: number
  2301. TotalHedgeRatio:
  2302. description: 敞口比例
  2303. type: number
  2304. TotalNeedHedgeQty:
  2305. description: 应套保总量(现货应套保总量)
  2306. type: number
  2307. TotalSpotQty:
  2308. description: 现货总量 平安:采销定价净值
  2309. type: number
  2310. arbitrageqty:
  2311. description: 套利量
  2312. type: number
  2313. diffArbitrageQty:
  2314. description: 套利变动量
  2315. type: number
  2316. diffExposoureQty:
  2317. description: 变动量(套保敞口)
  2318. type: number
  2319. diffFutuQty:
  2320. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2321. type: number
  2322. diffHedgeQty:
  2323. description: 套保变动量
  2324. type: number
  2325. diffQty:
  2326. description: 变动量(总敞口) 平安:净敞口今日变动
  2327. type: number
  2328. diffSpotHedgeQty:
  2329. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2330. type: number
  2331. diffSpotQty:
  2332. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2333. type: number
  2334. enumdicname:
  2335. description: 单位名称
  2336. type: string
  2337. hedgeqty:
  2338. description: 套保量
  2339. type: number
  2340. needarbitrageqty:
  2341. description: 应套利量
  2342. type: number
  2343. needarbitrageratio:
  2344. description: 套利比例
  2345. type: number
  2346. needhedgeqty:
  2347. description: 应套保量
  2348. type: number
  2349. oriarbitrageqty:
  2350. description: 期初套利量
  2351. type: number
  2352. orihedgeqty:
  2353. description: 期初套保量
  2354. type: number
  2355. orineedhedgeexposoure:
  2356. description: 期初套保敞口
  2357. type: number
  2358. oritotalexposure:
  2359. description: 期初总敞口
  2360. type: number
  2361. oritotalfutureqty:
  2362. description: 期初期货总量
  2363. type: number
  2364. oritotalneedhedgeqty:
  2365. description: 期初现货应套保量
  2366. type: number
  2367. type: object
  2368. erms2.QueryArbitrageStrategyRsp:
  2369. properties:
  2370. applybasis:
  2371. description: 申请基差
  2372. type: number
  2373. asapplyid:
  2374. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2375. type: string
  2376. asname:
  2377. description: 策略名称
  2378. type: string
  2379. asno:
  2380. description: 策略编号
  2381. type: string
  2382. basischangepl:
  2383. description: 基差变动损益[结算更新]
  2384. type: number
  2385. biztype:
  2386. description: 业务类型 - 1:正向套利 -1:反向套利
  2387. type: integer
  2388. closetradedate:
  2389. description: 完结交易日(yyyyMMdd)
  2390. type: string
  2391. curbasis:
  2392. description: 当前基差[结算更新]
  2393. type: number
  2394. deliverygoodsid:
  2395. description: 现货品种ID
  2396. type: integer
  2397. futureavgprice:
  2398. description: 期货建仓均价
  2399. type: number
  2400. futurecloseamount:
  2401. description: 期货平仓金额
  2402. type: number
  2403. futurecloseqty:
  2404. description: 期货平仓数量
  2405. type: number
  2406. futureopenamount:
  2407. description: 期货开仓金额
  2408. type: number
  2409. futureopenqty:
  2410. description: 期货开仓数量
  2411. type: number
  2412. futurepl:
  2413. description: 期货总盈亏[结算更新]
  2414. type: number
  2415. futureqty:
  2416. description: 期货持仓数量
  2417. type: number
  2418. futurequote:
  2419. description: 期货额度
  2420. type: number
  2421. goodsgroupid:
  2422. description: 期货品种ID
  2423. type: integer
  2424. marketid:
  2425. description: 市场ID
  2426. type: integer
  2427. netexposure:
  2428. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2429. type: number
  2430. netexposurepl:
  2431. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2432. type: number
  2433. netexposurerate:
  2434. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2435. type: number
  2436. openbasis:
  2437. description: 建仓基差
  2438. type: number
  2439. pricedspotqty:
  2440. description: 已定价现货数量
  2441. type: number
  2442. pricedspotqtynotax:
  2443. description: 已定价现货不含税数量
  2444. type: number
  2445. remark:
  2446. description: 备注
  2447. type: string
  2448. spotavgprice:
  2449. description: 现货均价
  2450. type: number
  2451. spotbuyamount:
  2452. description: 现货采购金额
  2453. type: number
  2454. spotbuyqty:
  2455. description: 现货采购数量
  2456. type: number
  2457. spotpl:
  2458. description: 现货总盈亏[结算更新]
  2459. type: number
  2460. spotquota:
  2461. description: 现货额度
  2462. type: number
  2463. spotsellamount:
  2464. description: 现货销售金额
  2465. type: number
  2466. spotsellqty:
  2467. description: 现货销售数量
  2468. type: number
  2469. spotusedquota:
  2470. description: 现货占用资金
  2471. type: number
  2472. strategystatus:
  2473. description: 策略状态 - 0:未结束 1:已结束
  2474. type: integer
  2475. totalpl:
  2476. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2477. type: number
  2478. tradedate:
  2479. description: 交易日(yyyyMMdd)
  2480. type: string
  2481. updatetime:
  2482. description: 更新时间
  2483. type: string
  2484. usedquota:
  2485. description: 已占用资金
  2486. type: number
  2487. userid:
  2488. description: 所属机构
  2489. type: integer
  2490. required:
  2491. - asapplyid
  2492. type: object
  2493. erms2.QueryInnerTradeDetailRsp:
  2494. properties:
  2495. accountid:
  2496. description: 账号ID
  2497. type: integer
  2498. agreeunit:
  2499. description: 合约单位
  2500. type: number
  2501. asapplyid:
  2502. description: 策略申请ID
  2503. type: integer
  2504. asname:
  2505. description: 策略名称
  2506. type: string
  2507. asno:
  2508. description: 策略编号
  2509. type: string
  2510. buyorsell:
  2511. description: 方向 - 0:买 1:卖
  2512. type: integer
  2513. channelbuildtype:
  2514. description: 委托单据类型 0:无 1:建仓 2:平仓
  2515. type: integer
  2516. closetype:
  2517. description: 平仓方式 - 0:无 1:平今 2:平昨
  2518. type: integer
  2519. decimalplace:
  2520. description: 报价小数位
  2521. type: integer
  2522. detailtype:
  2523. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2524. type: integer
  2525. exexchangecode:
  2526. description: 外部交易所代码
  2527. type: string
  2528. exexchangename:
  2529. description: 外部交易所名称
  2530. type: string
  2531. goodscode:
  2532. description: 商品代码(合约)
  2533. type: string
  2534. goodsgroupid:
  2535. description: 商品组ID(品种ID)
  2536. type: integer
  2537. goodsgroupname:
  2538. description: 商品组名称(品种)
  2539. type: string
  2540. goodsid:
  2541. description: 商品ID
  2542. type: integer
  2543. goodsname:
  2544. description: 商品名称(合约)
  2545. type: string
  2546. goodunit:
  2547. description: 报价单位
  2548. type: string
  2549. marketid:
  2550. description: 市场ID
  2551. type: integer
  2552. orderid:
  2553. description: 委托单号
  2554. type: string
  2555. outgoodscode:
  2556. description: 商品代码(外部)
  2557. type: string
  2558. relatedouttradeid:
  2559. description: 关联外部成交单ID
  2560. type: string
  2561. remark:
  2562. description: 备注
  2563. type: string
  2564. spotcontractid:
  2565. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2566. type: integer
  2567. spotcontractno:
  2568. description: 现货合同编号
  2569. type: string
  2570. tradeid:
  2571. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2572. type: string
  2573. tradeprice:
  2574. description: 成交价格
  2575. type: number
  2576. tradeqty:
  2577. description: 成交数量
  2578. type: integer
  2579. tradetime:
  2580. description: 成交时间
  2581. type: string
  2582. updatetime:
  2583. description: 更新时间
  2584. type: string
  2585. required:
  2586. - asapplyid
  2587. - buyorsell
  2588. - goodscode
  2589. - goodsgroupid
  2590. - goodsgroupname
  2591. - goodsname
  2592. - tradeid
  2593. type: object
  2594. erms2.QuerySpotContractRsp:
  2595. properties:
  2596. accountid:
  2597. description: 资金账户ID
  2598. type: integer
  2599. areauserid:
  2600. description: 所属机构
  2601. type: integer
  2602. closedate:
  2603. description: 终止日期
  2604. type: string
  2605. closeremark:
  2606. description: 结束备注
  2607. type: string
  2608. closetradedate:
  2609. description: 完结交易日(yyyyMMdd)
  2610. type: string
  2611. closetype:
  2612. description: 终止类型 - 1:违约 2:提前终止
  2613. type: integer
  2614. contractamount:
  2615. description: 合同金额
  2616. type: number
  2617. contractattachment:
  2618. description: 合同附件
  2619. type: string
  2620. contractno:
  2621. description: 现货合同编号
  2622. type: string
  2623. contractqty:
  2624. description: 合同数量(数值) (用于计算)
  2625. type: number
  2626. contractqtychar:
  2627. description: 合同数量\已订价数量 (用于显示)
  2628. type: string
  2629. contractstatus:
  2630. description: 合同状态 - 0:未结束 1:已结束
  2631. type: integer
  2632. contracttype:
  2633. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2634. type: integer
  2635. customeraccountid:
  2636. description: 客户资金账户ID
  2637. type: integer
  2638. customeruserid:
  2639. description: 客户ID
  2640. type: integer
  2641. deliverygoodsdesc:
  2642. description: 品种说明
  2643. type: string
  2644. deliverygoodsid:
  2645. description: 现货品种ID
  2646. type: integer
  2647. handlestatus:
  2648. description: 处理状态
  2649. type: integer
  2650. invoiceatt:
  2651. description: 发票附件
  2652. type: string
  2653. invoicedatetime:
  2654. description: 开收票更新时间
  2655. type: string
  2656. invoiceopentime:
  2657. description: 开票时间
  2658. type: string
  2659. invoiceremark:
  2660. description: 发票备注
  2661. type: string
  2662. invoicestatus:
  2663. description: 开收票状态 - 0:未开票 1:已开票
  2664. type: integer
  2665. lastdate:
  2666. description: 交货时间
  2667. type: string
  2668. marketid:
  2669. description: 市场ID
  2670. type: integer
  2671. paydatetime:
  2672. description: 收付款更新时间
  2673. type: string
  2674. payremark:
  2675. description: 收付款备注
  2676. type: string
  2677. paystatus:
  2678. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2679. type: integer
  2680. positionqty:
  2681. description: 头寸数量 - 合同数量去小数部分
  2682. type: integer
  2683. producttype:
  2684. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2685. type: integer
  2686. relatedqty:
  2687. description: 已关联数量
  2688. type: number
  2689. relatedstatus:
  2690. description: 关联完结状态 - 0:未结束 1:已结束
  2691. type: integer
  2692. remark:
  2693. description: 备注
  2694. type: string
  2695. signdate:
  2696. description: 签订日期
  2697. type: string
  2698. spotcontractid:
  2699. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2700. type: string
  2701. spotdatetime:
  2702. description: 收发货更新时间
  2703. type: string
  2704. spotprice:
  2705. description: 价格
  2706. type: number
  2707. spotremark:
  2708. description: 收发货备注
  2709. type: string
  2710. spotstatus:
  2711. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2712. type: integer
  2713. tradedate:
  2714. description: 交易日(yyyyMMdd)
  2715. type: string
  2716. userid:
  2717. description: 业务员用户ID
  2718. type: integer
  2719. warehouseid:
  2720. description: 仓库ID
  2721. type: integer
  2722. wrfactortypeid:
  2723. description: 仓单要素类型ID
  2724. type: integer
  2725. wrstandardid:
  2726. description: 仓单标准ID(SEQ_WRSTANDARD)
  2727. type: integer
  2728. required:
  2729. - spotcontractid
  2730. type: object
  2731. erms3.AddErms2ASApplyReq:
  2732. properties:
  2733. applybasis:
  2734. description: 申请基差
  2735. type: number
  2736. applystatus:
  2737. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2738. type: integer
  2739. asapplyid:
  2740. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2741. type: integer
  2742. asname:
  2743. description: 策略名称
  2744. type: string
  2745. asno:
  2746. description: 策略编号
  2747. type: string
  2748. auditid:
  2749. description: 审核人
  2750. type: integer
  2751. auditremark:
  2752. description: 审核备注
  2753. type: string
  2754. audittime:
  2755. description: 审核时间
  2756. type: string
  2757. biztype:
  2758. description: 业务类型 - 1:正向套利 2:反向套利
  2759. type: integer
  2760. createtime:
  2761. description: 创建时间
  2762. type: string
  2763. creatorid:
  2764. description: 创建人
  2765. type: integer
  2766. deliverygoodsid:
  2767. description: 现货品种ID
  2768. type: integer
  2769. futurequote:
  2770. description: 期货额度
  2771. type: number
  2772. goodsgroupid:
  2773. description: 期货品种ID
  2774. type: integer
  2775. marketid:
  2776. description: 市场ID
  2777. type: integer
  2778. remark:
  2779. description: 备注
  2780. type: string
  2781. spotquota:
  2782. description: 现货额度
  2783. type: number
  2784. tradedate:
  2785. description: 交易日(yyyyMMdd)
  2786. type: string
  2787. userid:
  2788. description: 所属机构
  2789. type: integer
  2790. required:
  2791. - asapplyid
  2792. type: object
  2793. erms3.AddErms2SpotTradeApplyReq:
  2794. properties:
  2795. applyjsondetail:
  2796. description: 申请明细(JSON)
  2797. type: string
  2798. applystatus:
  2799. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2800. type: integer
  2801. areauserid:
  2802. description: 所属机构
  2803. type: integer
  2804. auditid:
  2805. description: 审核人
  2806. type: integer
  2807. auditremark:
  2808. description: 审核备注
  2809. type: string
  2810. audittime:
  2811. description: 审核时间
  2812. type: string
  2813. createtime:
  2814. description: 创建时间
  2815. type: string
  2816. creatorid:
  2817. description: 创建人
  2818. type: integer
  2819. deliverygoodsid:
  2820. description: 现货品种ID
  2821. type: integer
  2822. futureaccountid:
  2823. description: 期货资金账户
  2824. type: integer
  2825. goodsgroupid:
  2826. description: 期货品种
  2827. type: integer
  2828. marketid:
  2829. description: 市场ID
  2830. type: integer
  2831. remark:
  2832. description: 备注
  2833. type: string
  2834. spotaccountid:
  2835. description: 现货资金账户
  2836. type: integer
  2837. spottradeid:
  2838. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2839. type: integer
  2840. spottradename:
  2841. description: 业务名称
  2842. type: string
  2843. spottradeno:
  2844. description: 业务编号
  2845. type: string
  2846. tradedate:
  2847. description: 交易日(yyyyMMdd)
  2848. type: string
  2849. wrstandardid:
  2850. description: 仓单标准ID
  2851. type: integer
  2852. required:
  2853. - spottradeid
  2854. type: object
  2855. erms3.AddSpotContractApplyReq:
  2856. properties:
  2857. accountid:
  2858. description: 资金账户ID
  2859. type: integer
  2860. areauserid:
  2861. description: 所属机构
  2862. type: integer
  2863. contractattachment:
  2864. description: 合同附件
  2865. type: string
  2866. contractno:
  2867. description: 现货合同编号
  2868. type: string
  2869. contracttype:
  2870. description: 现货合同类型 - 1:采购 -1:销售
  2871. type: integer
  2872. creatorid:
  2873. description: 申请人
  2874. type: integer
  2875. customeraccountid:
  2876. description: 客户资金账户ID
  2877. type: integer
  2878. customeruserid:
  2879. description: 客户ID
  2880. type: integer
  2881. details:
  2882. description: 明细
  2883. items:
  2884. $ref: '#/definitions/erms3.SoptContractDetail'
  2885. type: array
  2886. orimargin:
  2887. description: 初始保证金
  2888. type: number
  2889. remark:
  2890. description: 备注
  2891. type: string
  2892. signdate:
  2893. description: 签订日期
  2894. type: string
  2895. required:
  2896. - accountid
  2897. - areauserid
  2898. - contractno
  2899. - contracttype
  2900. - customeraccountid
  2901. - customeruserid
  2902. - details
  2903. - orimargin
  2904. - signdate
  2905. type: object
  2906. erms3.AddSpotContractApplyRsp:
  2907. properties:
  2908. contractno:
  2909. description: 现货合同编号
  2910. type: string
  2911. spotcontractid:
  2912. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2913. type: integer
  2914. required:
  2915. - contractno
  2916. type: object
  2917. erms3.AddUserInfoApplyReq:
  2918. properties:
  2919. accountid:
  2920. description: 交易系统帐号Id (加密存储)
  2921. type: integer
  2922. areacode:
  2923. description: 机构代码
  2924. type: string
  2925. areaid:
  2926. description: 机构Id
  2927. type: integer
  2928. attachment1:
  2929. description: 附件1
  2930. type: string
  2931. attachment2:
  2932. description: 附件2
  2933. type: string
  2934. attachment3:
  2935. description: 附件3
  2936. type: string
  2937. attachment4:
  2938. description: 附件4
  2939. type: string
  2940. attachment5:
  2941. description: 附件5
  2942. type: string
  2943. auditedby:
  2944. description: 审核人
  2945. type: string
  2946. auditime:
  2947. description: 审核时间
  2948. type: string
  2949. auditsrc:
  2950. description: 审核来源 - 1:管理端 2:终端
  2951. type: integer
  2952. bankaccount:
  2953. description: 银行帐号 (加密存储)
  2954. type: string
  2955. bankaccountname:
  2956. description: 收款人名称
  2957. type: string
  2958. bankcardbackphotourl:
  2959. description: 银行卡背面照地址
  2960. type: string
  2961. bankcardfrontphotourl:
  2962. description: 银行卡正面照地址
  2963. type: string
  2964. bankid:
  2965. description: 银行编码
  2966. type: string
  2967. bankname:
  2968. description: 银行名称
  2969. type: string
  2970. bankpictureurl:
  2971. description: 银行卡正面地址
  2972. type: string
  2973. biznature:
  2974. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2975. type: integer
  2976. bizscope:
  2977. description: 企业经营范围(企业)
  2978. type: string
  2979. biztype:
  2980. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2981. type: integer
  2982. brokerid:
  2983. description: 经纪人ID(加密存储)
  2984. type: string
  2985. cardaddress:
  2986. description: 证件地址 (加密存储)
  2987. type: string
  2988. cardbackphotourl:
  2989. description: 背面证件照地址
  2990. type: string
  2991. cardfrontphotourl:
  2992. description: 正面证件照地址
  2993. type: string
  2994. cardnum:
  2995. description: 证件号码 (加密存储)
  2996. type: string
  2997. cardtype:
  2998. description: 证件类型
  2999. type: integer
  3000. cityid:
  3001. description: 市
  3002. type: integer
  3003. company:
  3004. description: 公司(个人)
  3005. type: string
  3006. contactcardbackphotourl:
  3007. description: 联系人证件背面图片地址
  3008. type: string
  3009. contactcardfrontphotourl:
  3010. description: 联系人证件正面图片地址
  3011. type: string
  3012. contactname:
  3013. description: 联系人
  3014. type: string
  3015. countryid:
  3016. description: 国家
  3017. type: integer
  3018. createtime:
  3019. description: 开户申请时间
  3020. type: string
  3021. cusbankid:
  3022. description: 签约类型
  3023. type: string
  3024. cusbankname:
  3025. description: 签约类型名称
  3026. type: string
  3027. customername:
  3028. description: 客户名称(企业名称)
  3029. type: string
  3030. districtid:
  3031. description: 地区
  3032. type: integer
  3033. email:
  3034. description: Email地址(加密存储)
  3035. type: string
  3036. halfbodyphotourl:
  3037. description: 半身照地址
  3038. type: string
  3039. headurl:
  3040. description: 头像地址
  3041. type: string
  3042. ipaddress:
  3043. description: IP地址
  3044. type: string
  3045. isvalidate:
  3046. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3047. type: string
  3048. legalcardbackphotourl:
  3049. description: 法人身份证背面照地址
  3050. type: string
  3051. legalcardfrontphotourl:
  3052. description: 法人身份证正面照地址
  3053. type: string
  3054. legalpersonname:
  3055. description: 法人姓名(企业)
  3056. type: string
  3057. logincode:
  3058. description: 登录帐号 (加密存储)
  3059. type: string
  3060. memberareaid:
  3061. description: 所属会员ID
  3062. type: integer
  3063. mobile2:
  3064. description: 手机号码[明文-尚志]
  3065. type: string
  3066. mobilephone:
  3067. description: 手机号码 (加密存储)
  3068. type: string
  3069. modifiedby:
  3070. description: 修改人帐号
  3071. type: integer
  3072. modifiedtime:
  3073. description: 修改时间
  3074. type: string
  3075. nickname:
  3076. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3077. type: string
  3078. openmode:
  3079. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3080. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3081. type: integer
  3082. otherurl:
  3083. description: 其它图片地址[使用分号分隔]
  3084. type: string
  3085. postalcode:
  3086. description: 邮政编码
  3087. type: string
  3088. provinceid:
  3089. description: 省
  3090. type: integer
  3091. proxystatementurl:
  3092. description: 授权委托书
  3093. type: string
  3094. qq:
  3095. description: QQ(加密存储
  3096. type: string
  3097. referral:
  3098. description: 推荐人编码
  3099. type: string
  3100. remark:
  3101. description: 备注
  3102. type: string
  3103. removebeforestatus:
  3104. description: REMOVEBEFORESTATUS
  3105. type: integer
  3106. sex:
  3107. description: 性别 - 0:女 1:男
  3108. type: integer
  3109. signedstatus:
  3110. description: 账户一号签签约状态
  3111. type: integer
  3112. signpdfurl:
  3113. description: 签约pdf文件
  3114. type: string
  3115. subbranch:
  3116. description: 开户支行
  3117. type: string
  3118. taxpayernum:
  3119. description: 纳税人识别号
  3120. type: string
  3121. telphone:
  3122. description: 联系电话(加密存储)
  3123. type: string
  3124. userid:
  3125. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3126. type: integer
  3127. userinfotype:
  3128. description: 用户信息类型 - 1:个人 2:企业
  3129. type: integer
  3130. username:
  3131. description: 用户姓名
  3132. type: string
  3133. userstate:
  3134. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3135. type: integer
  3136. usertype:
  3137. description: 用户类型 - 1:投资者 2:机构
  3138. type: integer
  3139. videourl:
  3140. description: 视频地址
  3141. type: string
  3142. wechat:
  3143. description: 微信号 (加密存储)
  3144. type: string
  3145. required:
  3146. - userid
  3147. type: object
  3148. erms3.CustomerInfo:
  3149. properties:
  3150. accountids:
  3151. description: 资金账户ID列表
  3152. items:
  3153. type: integer
  3154. type: array
  3155. customername:
  3156. description: 名称(企业名称)
  3157. type: string
  3158. mobile:
  3159. description: 手机号码
  3160. type: string
  3161. userid:
  3162. description: 用户ID
  3163. type: integer
  3164. required:
  3165. - userid
  3166. type: object
  3167. erms3.ModifyUserInfoApplyReq:
  3168. properties:
  3169. accountid:
  3170. description: 交易系统帐号Id (加密存储)
  3171. type: integer
  3172. areacode:
  3173. description: 机构代码
  3174. type: string
  3175. areaid:
  3176. description: 机构Id
  3177. type: integer
  3178. attachment1:
  3179. description: 附件1
  3180. type: string
  3181. attachment2:
  3182. description: 附件2
  3183. type: string
  3184. attachment3:
  3185. description: 附件3
  3186. type: string
  3187. attachment4:
  3188. description: 附件4
  3189. type: string
  3190. attachment5:
  3191. description: 附件5
  3192. type: string
  3193. auditedby:
  3194. description: 审核人
  3195. type: string
  3196. auditime:
  3197. description: 审核时间
  3198. type: string
  3199. auditsrc:
  3200. description: 审核来源 - 1:管理端 2:终端
  3201. type: integer
  3202. bankaccount:
  3203. description: 银行帐号 (加密存储)
  3204. type: string
  3205. bankaccountname:
  3206. description: 收款人名称
  3207. type: string
  3208. bankcardbackphotourl:
  3209. description: 银行卡背面照地址
  3210. type: string
  3211. bankcardfrontphotourl:
  3212. description: 银行卡正面照地址
  3213. type: string
  3214. bankid:
  3215. description: 银行编码
  3216. type: string
  3217. bankname:
  3218. description: 银行名称
  3219. type: string
  3220. bankpictureurl:
  3221. description: 银行卡正面地址
  3222. type: string
  3223. biznature:
  3224. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3225. type: integer
  3226. bizscope:
  3227. description: 企业经营范围(企业)
  3228. type: string
  3229. biztype:
  3230. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3231. type: integer
  3232. brokerid:
  3233. description: 经纪人ID(加密存储)
  3234. type: string
  3235. cardaddress:
  3236. description: 证件地址 (加密存储)
  3237. type: string
  3238. cardbackphotourl:
  3239. description: 背面证件照地址
  3240. type: string
  3241. cardfrontphotourl:
  3242. description: 正面证件照地址
  3243. type: string
  3244. cardnum:
  3245. description: 证件号码 (加密存储)
  3246. type: string
  3247. cardtype:
  3248. description: 证件类型
  3249. type: integer
  3250. cityid:
  3251. description: 市
  3252. type: integer
  3253. company:
  3254. description: 公司(个人)
  3255. type: string
  3256. contactcardbackphotourl:
  3257. description: 联系人证件背面图片地址
  3258. type: string
  3259. contactcardfrontphotourl:
  3260. description: 联系人证件正面图片地址
  3261. type: string
  3262. contactname:
  3263. description: 联系人
  3264. type: string
  3265. countryid:
  3266. description: 国家
  3267. type: integer
  3268. createtime:
  3269. description: 开户申请时间
  3270. type: string
  3271. cusbankid:
  3272. description: 签约类型
  3273. type: string
  3274. cusbankname:
  3275. description: 签约类型名称
  3276. type: string
  3277. customername:
  3278. description: 客户名称(企业名称)
  3279. type: string
  3280. districtid:
  3281. description: 地区
  3282. type: integer
  3283. email:
  3284. description: Email地址(加密存储)
  3285. type: string
  3286. halfbodyphotourl:
  3287. description: 半身照地址
  3288. type: string
  3289. headurl:
  3290. description: 头像地址
  3291. type: string
  3292. ipaddress:
  3293. description: IP地址
  3294. type: string
  3295. isvalidate:
  3296. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3297. type: string
  3298. legalcardbackphotourl:
  3299. description: 法人身份证背面照地址
  3300. type: string
  3301. legalcardfrontphotourl:
  3302. description: 法人身份证正面照地址
  3303. type: string
  3304. legalpersonname:
  3305. description: 法人姓名(企业)
  3306. type: string
  3307. logincode:
  3308. description: 登录帐号 (加密存储)
  3309. type: string
  3310. memberareaid:
  3311. description: 所属会员ID
  3312. type: integer
  3313. mobile2:
  3314. description: 手机号码[明文-尚志]
  3315. type: string
  3316. mobilephone:
  3317. description: 手机号码 (加密存储)
  3318. type: string
  3319. modifiedby:
  3320. description: 修改人帐号
  3321. type: integer
  3322. modifiedtime:
  3323. description: 修改时间
  3324. type: string
  3325. nickname:
  3326. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3327. type: string
  3328. openmode:
  3329. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3330. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3331. type: integer
  3332. otherurl:
  3333. description: 其它图片地址[使用分号分隔]
  3334. type: string
  3335. postalcode:
  3336. description: 邮政编码
  3337. type: string
  3338. provinceid:
  3339. description: 省
  3340. type: integer
  3341. proxystatementurl:
  3342. description: 授权委托书
  3343. type: string
  3344. qq:
  3345. description: QQ(加密存储
  3346. type: string
  3347. referral:
  3348. description: 推荐人编码
  3349. type: string
  3350. remark:
  3351. description: 备注
  3352. type: string
  3353. removebeforestatus:
  3354. description: REMOVEBEFORESTATUS
  3355. type: integer
  3356. sex:
  3357. description: 性别 - 0:女 1:男
  3358. type: integer
  3359. signedstatus:
  3360. description: 账户一号签签约状态
  3361. type: integer
  3362. signpdfurl:
  3363. description: 签约pdf文件
  3364. type: string
  3365. subbranch:
  3366. description: 开户支行
  3367. type: string
  3368. taxpayernum:
  3369. description: 纳税人识别号
  3370. type: string
  3371. telphone:
  3372. description: 联系电话(加密存储)
  3373. type: string
  3374. userid:
  3375. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3376. type: integer
  3377. userinfotype:
  3378. description: 用户信息类型 - 1:个人 2:企业
  3379. type: integer
  3380. username:
  3381. description: 用户姓名
  3382. type: string
  3383. userstate:
  3384. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3385. type: integer
  3386. usertype:
  3387. description: 用户类型 - 1:投资者 2:机构
  3388. type: integer
  3389. videourl:
  3390. description: 视频地址
  3391. type: string
  3392. wechat:
  3393. description: 微信号 (加密存储)
  3394. type: string
  3395. required:
  3396. - userid
  3397. type: object
  3398. erms3.QryAuditContractRsp:
  3399. properties:
  3400. accountid:
  3401. description: 交易员ID
  3402. type: string
  3403. applystatus:
  3404. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3405. type: integer
  3406. curdeliveryqty:
  3407. description: 未交收量
  3408. type: integer
  3409. customername:
  3410. description: 采购方ID
  3411. type: string
  3412. deliverygoodsid:
  3413. description: 品种ID
  3414. type: string
  3415. deliveryqty:
  3416. description: 交收量
  3417. type: integer
  3418. enumdicname:
  3419. description: 单位名称
  3420. type: string
  3421. matchaccountid:
  3422. description: 业务员ID
  3423. type: string
  3424. matchcustomername:
  3425. description: 销售方ID
  3426. type: string
  3427. pricedqty:
  3428. description: 定价量
  3429. type: number
  3430. signdate:
  3431. description: 签订日期
  3432. type: string
  3433. spotcontractid:
  3434. description: 合同ID
  3435. type: string
  3436. totaldqty:
  3437. description: 合同量
  3438. type: number
  3439. unpricedqty:
  3440. description: 未定价量
  3441. type: number
  3442. wrstandardname:
  3443. description: 商品名称
  3444. type: string
  3445. required:
  3446. - matchcustomername
  3447. - spotcontractid
  3448. type: object
  3449. erms3.QryPendingBizRsp:
  3450. properties:
  3451. accountid:
  3452. description: 现货账户
  3453. type: string
  3454. areaname:
  3455. description: 所属部门
  3456. type: string
  3457. bizid:
  3458. description: 业务ID
  3459. type: string
  3460. bizname:
  3461. description: 业务名称
  3462. type: string
  3463. status:
  3464. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3465. type: integer
  3466. type:
  3467. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3468. type: integer
  3469. type: object
  3470. erms3.QueryBusinessInfoRsp:
  3471. properties:
  3472. businessid:
  3473. description: 业务ID.
  3474. type: integer
  3475. buyamount:
  3476. description: 采购额.
  3477. type: number
  3478. buyqty:
  3479. description: 采购量.
  3480. type: string
  3481. futurepl:
  3482. description: 期货盈亏.
  3483. type: number
  3484. futureqty:
  3485. description: 期货敞口.
  3486. type: string
  3487. goodsid:
  3488. description: 商品名称/商品代码.
  3489. type: string
  3490. hedgingqty:
  3491. description: 套保量.
  3492. type: string
  3493. sellamount:
  3494. description: 销售额.
  3495. type: number
  3496. sellqty:
  3497. description: 销售量.
  3498. type: string
  3499. spotmarketvalue:
  3500. description: 现货市值.
  3501. type: number
  3502. spotpl:
  3503. description: 浮动权益.
  3504. type: number
  3505. spotqty:
  3506. description: 现货量.
  3507. type: string
  3508. statu:
  3509. description: 状态,0-未结束 1-已结束.
  3510. type: integer
  3511. totalpl:
  3512. description: 总盈亏.
  3513. type: number
  3514. totalqty:
  3515. description: 总敞口.
  3516. type: string
  3517. type:
  3518. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3519. type: integer
  3520. type: object
  3521. erms3.QuerySpotContractAppleFormRsp:
  3522. properties:
  3523. goodses:
  3524. description: 合约列表
  3525. items:
  3526. $ref: '#/definitions/models.GoodsIDAndName'
  3527. type: array
  3528. oppositeusers:
  3529. description: 对方账号列表
  3530. items:
  3531. $ref: '#/definitions/erms3.CustomerInfo'
  3532. type: array
  3533. ouruser:
  3534. $ref: '#/definitions/erms3.CustomerInfo'
  3535. description: 我方账号
  3536. warehouseinfos:
  3537. description: 仓库信息列表
  3538. items:
  3539. $ref: '#/definitions/models.Warehouseinfo'
  3540. type: array
  3541. wrstandards:
  3542. description: 仓单标准列表
  3543. items:
  3544. $ref: '#/definitions/models.WRStandardInfo'
  3545. type: array
  3546. type: object
  3547. erms3.QuerySpotContractInfoRsp:
  3548. properties:
  3549. accountid:
  3550. description: 表示交易员ID.
  3551. type: integer
  3552. curdeliveryqty:
  3553. description: 表示未交收量.
  3554. type: number
  3555. customername:
  3556. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3557. type: string
  3558. deliverygoodsid:
  3559. description: 表示品种ID.
  3560. type: string
  3561. deliveryqty:
  3562. description: 表示交收量.
  3563. type: number
  3564. matchaccountid:
  3565. description: 表示业务员ID.
  3566. type: integer
  3567. matchcustomername:
  3568. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3569. type: string
  3570. priceqty:
  3571. description: 表示定价量.
  3572. type: number
  3573. relatedbizid:
  3574. description: 表示业务ID.
  3575. type: string
  3576. signdate:
  3577. description: 表示签订日期.
  3578. type: string
  3579. spotcontractid:
  3580. description: 合同ID
  3581. type: string
  3582. status:
  3583. description: 表示状态,0-履约中 1-已完成.
  3584. type: integer
  3585. totalqty:
  3586. description: 表示合同量.
  3587. type: number
  3588. unpricedqty:
  3589. description: 表示未定价量.
  3590. type: number
  3591. wrstandardname:
  3592. description: 表示商品ID.
  3593. type: string
  3594. type: object
  3595. erms3.QueryUserInfoAppliesRsp:
  3596. properties:
  3597. biznature:
  3598. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3599. type: integer
  3600. contactname:
  3601. description: 联系人
  3602. type: string
  3603. createtime:
  3604. description: 开户申请时间
  3605. type: string
  3606. userid:
  3607. description: 用户ID(自增ID)
  3608. type: integer
  3609. userinfotype:
  3610. description: 用户信息类型 - 1:个人 2:企业
  3611. type: integer
  3612. username:
  3613. description: 用户姓名
  3614. type: string
  3615. userstate:
  3616. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3617. type: integer
  3618. required:
  3619. - userid
  3620. type: object
  3621. erms3.QueryUserInfosRsp:
  3622. properties:
  3623. biznature:
  3624. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3625. type: integer
  3626. contactname:
  3627. description: 联系人
  3628. type: string
  3629. customername:
  3630. description: 客户名称(企业名称)
  3631. type: string
  3632. userid:
  3633. description: 用户ID
  3634. type: integer
  3635. userinfotype:
  3636. description: 用户信息类型 - 1:个人 2:企业
  3637. type: integer
  3638. userstatus:
  3639. description: 用户状态 - 1:正常 2:注销
  3640. type: integer
  3641. required:
  3642. - userid
  3643. type: object
  3644. erms3.SoptContractDetail:
  3645. properties:
  3646. deliverygoodsdesc:
  3647. description: 现货品种说明
  3648. type: string
  3649. deliverygoodsid:
  3650. description: 现货品种ID
  3651. type: integer
  3652. deliverygoodsname:
  3653. description: 现货品种名称
  3654. type: string
  3655. pointdesc:
  3656. description: 点价描述
  3657. type: string
  3658. producttype:
  3659. description: 产品类型 1:标准仓单 2:等标 3:非标
  3660. type: integer
  3661. producttypename:
  3662. description: 产品类型名称
  3663. type: string
  3664. spotPointOrderVoList:
  3665. description: 点价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPointOrder'
  3668. type: array
  3669. spotPriceOrderList:
  3670. description: 定价列表
  3671. items:
  3672. $ref: '#/definitions/erms3.SpotPriceOrder'
  3673. type: array
  3674. unitname:
  3675. description: 单位名称
  3676. type: string
  3677. warehouseid:
  3678. description: 仓库ID
  3679. type: integer
  3680. warehousename:
  3681. description: 仓库名称
  3682. type: string
  3683. wrstandardid:
  3684. description: 交易标的ID
  3685. type: integer
  3686. wrstandardname:
  3687. description: 交易标的名称
  3688. type: string
  3689. required:
  3690. - deliverygoodsid
  3691. - producttype
  3692. - unitname
  3693. - warehouseid
  3694. - wrstandardid
  3695. - wrstandardname
  3696. type: object
  3697. erms3.SpotPointOrder:
  3698. properties:
  3699. basic:
  3700. description: 基差
  3701. type: number
  3702. deliveryenddate:
  3703. description: 交收结束日期
  3704. type: string
  3705. deliverystartdate:
  3706. description: 交收开始日期
  3707. type: string
  3708. enddate:
  3709. description: 点价结束日期
  3710. type: string
  3711. goodsid:
  3712. description: 商品ID
  3713. type: integer
  3714. goodsname:
  3715. description: 商品名称
  3716. type: string
  3717. qty:
  3718. description: 数量
  3719. type: number
  3720. startdate:
  3721. description: 点价开始日期
  3722. type: string
  3723. required:
  3724. - basic
  3725. - goodsid
  3726. - qty
  3727. type: object
  3728. erms3.SpotPriceOrder:
  3729. properties:
  3730. amount:
  3731. description: 金额
  3732. type: number
  3733. deliveryenddate:
  3734. description: 交收结束日期
  3735. type: string
  3736. deliverystartdate:
  3737. description: 交收开始日期
  3738. type: string
  3739. price:
  3740. description: 价格
  3741. type: number
  3742. qty:
  3743. description: 数量
  3744. type: number
  3745. required:
  3746. - amount
  3747. - price
  3748. - qty
  3749. type: object
  3750. hsby.GetHsbyMyCountRsp:
  3751. properties:
  3752. myCouponCount:
  3753. description: 我的优惠卷数量
  3754. type: integer
  3755. myOrderDetailListingCount:
  3756. description: 我的订单求购中数量
  3757. type: integer
  3758. myOrderDetailPreCount:
  3759. description: 我的订单抢购中数量
  3760. type: integer
  3761. myPackageUnReceiveCount:
  3762. description: 我的包裹待收货数量
  3763. type: integer
  3764. myPackageUnSendCount:
  3765. description: 我的包裹待发货数量
  3766. type: integer
  3767. myPayOrderCount:
  3768. description: 我的订单待付款数量
  3769. type: integer
  3770. type: object
  3771. hsby.QueryProvincesAndCitiesRsp:
  3772. properties:
  3773. cities:
  3774. description: 市
  3775. items:
  3776. $ref: '#/definitions/models.Division'
  3777. type: array
  3778. province:
  3779. $ref: '#/definitions/models.Division'
  3780. description: 省
  3781. type: object
  3782. models.Arearole:
  3783. properties:
  3784. createtime:
  3785. description: 创建时间
  3786. type: string
  3787. creatorid:
  3788. description: 创建人ID
  3789. type: integer
  3790. fromuserid:
  3791. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3792. type: integer
  3793. isreturnscore:
  3794. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3795. type: integer
  3796. modifierid:
  3797. description: 修改人ID
  3798. type: integer
  3799. modifytime:
  3800. description: 修改时间
  3801. type: string
  3802. orgtype:
  3803. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3804. type: integer
  3805. outuserid:
  3806. description: 外部账户[场外期权做市商]
  3807. type: string
  3808. parentuserid:
  3809. description: 上级组织机构(组织机构)
  3810. type: integer
  3811. roletype:
  3812. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3813. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3814. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3815. type: integer
  3816. rootuserid:
  3817. description: 顶级组织机构用户ID(组织机构)
  3818. type: integer
  3819. shoppassword:
  3820. description: 商城店铺登陆密码(商城店铺角色使用)
  3821. type: string
  3822. sublevelpath:
  3823. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3824. type: string
  3825. suborgtype:
  3826. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3827. type: integer
  3828. tradeaccountid:
  3829. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3830. type: integer
  3831. transurl:
  3832. description: 物流地址(物流机构)
  3833. type: string
  3834. userid:
  3835. description: 机构用户ID其他做市关系,都设置为 1
  3836. type: integer
  3837. required:
  3838. - roletype
  3839. - userid
  3840. type: object
  3841. models.Clientfixedadconfig:
  3842. properties:
  3843. adsort:
  3844. description: 排序
  3845. type: integer
  3846. adtype:
  3847. description: 广告位类型 - 1:新品抢购(HSBY)
  3848. type: integer
  3849. areauserid:
  3850. description: 所属机构ID
  3851. type: integer
  3852. createdate:
  3853. description: 创建时间
  3854. type: string
  3855. creatorid:
  3856. description: 创建人
  3857. type: integer
  3858. imagepath:
  3859. description: 图片
  3860. type: string
  3861. isshow:
  3862. description: 是否展示 - 0:不展示 1:展示
  3863. type: integer
  3864. modifierid:
  3865. description: 操作人
  3866. type: integer
  3867. recsize:
  3868. description: 推荐尺寸
  3869. type: string
  3870. title:
  3871. description: 标题
  3872. type: string
  3873. updatedate:
  3874. description: 更新时间
  3875. type: string
  3876. urlcontent:
  3877. description: 链接(地址或商品ID)
  3878. type: string
  3879. urltype:
  3880. description: 链接类型 - 1:直接地址 2:商品ID
  3881. type: integer
  3882. required:
  3883. - adsort
  3884. - adtype
  3885. type: object
  3886. models.DgFactoryItem:
  3887. properties:
  3888. dgfactoryitemid:
  3889. description: 选择项ID(SEQ_DGFACTORYITEM)
  3890. type: integer
  3891. dgfactoryitemtypeid:
  3892. description: 要素项类型
  3893. type: integer
  3894. dgfactoryitemvalue:
  3895. description: 要素项值(类型为仓库时填写仓库名称)
  3896. type: string
  3897. orderindex:
  3898. description: 顺序
  3899. type: integer
  3900. type: object
  3901. models.Division:
  3902. properties:
  3903. autoid:
  3904. description: 自增ID
  3905. type: integer
  3906. divisioncode:
  3907. description: 行政代码
  3908. type: string
  3909. divisionlevel:
  3910. description: 行政级别
  3911. type: string
  3912. divisionname:
  3913. description: 行政名称
  3914. type: string
  3915. modifierid:
  3916. description: 修改人
  3917. type: integer
  3918. modifytime:
  3919. description: 修改时间
  3920. type: string
  3921. parentcode:
  3922. description: 上级行政代码
  3923. type: string
  3924. pathname:
  3925. description: 路径名称
  3926. type: string
  3927. postcode:
  3928. description: 邮政编码
  3929. type: string
  3930. separablename:
  3931. description: 可拆分的全称
  3932. type: string
  3933. shortcode:
  3934. description: 地区简码
  3935. type: string
  3936. required:
  3937. - autoid
  3938. - divisioncode
  3939. type: object
  3940. models.Enumdicitem:
  3941. properties:
  3942. autoid:
  3943. description: 自增ID
  3944. type: integer
  3945. bankmappedvalue:
  3946. description: 银行服务对应值
  3947. type: string
  3948. enumdiccode:
  3949. description: 所属枚举代码
  3950. type: string
  3951. enumdicid:
  3952. description: 所属枚举ID
  3953. type: integer
  3954. enumdicname:
  3955. description: 枚举项名称
  3956. type: string
  3957. enumitemname:
  3958. description: 枚举项值
  3959. type: integer
  3960. enumitemstatus:
  3961. description: 枚举项状态 - 1.启用 2.不启用
  3962. type: integer
  3963. enumitemvalue:
  3964. description: 通用值 - [币种通用简写]
  3965. type: string
  3966. param1:
  3967. description: 参数1[币种:币种小数位]
  3968. type: string
  3969. param2:
  3970. description: 参数1[币种:币种显示单位]
  3971. type: string
  3972. remark:
  3973. description: 备注
  3974. type: string
  3975. required:
  3976. - autoid
  3977. - enumdiccode
  3978. - enumdicid
  3979. - enumitemname
  3980. type: object
  3981. models.Ermcp2AreaExposure:
  3982. properties:
  3983. areauserid:
  3984. description: 所属机构
  3985. type: integer
  3986. enumdicname:
  3987. description: 单位
  3988. type: string
  3989. futureqty:
  3990. description: 期货套期量
  3991. type: number
  3992. futureqtychange:
  3993. description: 期货变动量 = FutureQty - OriFutureQty
  3994. type: number
  3995. goodsunitid:
  3996. description: 单位ID
  3997. type: integer
  3998. hedgedspotexposure:
  3999. description: 被套期现货敞口量
  4000. type: number
  4001. hedgedspratio:
  4002. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4003. type: number
  4004. hedgedtotalexposourechange:
  4005. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4006. type: number
  4007. hedgedtotalexposure:
  4008. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4009. type: number
  4010. hedgeplanqty:
  4011. description: 套期计划量
  4012. type: number
  4013. hedgeplanqtychange:
  4014. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4015. type: number
  4016. hedgespotqty:
  4017. description: 被套期现货量
  4018. type: number
  4019. middlegoodsid:
  4020. description: 套保品种
  4021. type: integer
  4022. middlegoodsname:
  4023. description: 套保品种名称
  4024. type: string
  4025. orifutureqty:
  4026. description: 期初期货套期量
  4027. type: number
  4028. orihedgedspotexposure:
  4029. description: 期初被套期现货敞口量
  4030. type: number
  4031. orihedgedtotalexposure:
  4032. description: 期初套期敞口量
  4033. type: number
  4034. orihedgeplanqty:
  4035. description: 期初套期计划量
  4036. type: number
  4037. orihedgespotqty:
  4038. description: 期初被套期现货量
  4039. type: number
  4040. orispotexposure:
  4041. description: 期初现货敞口量
  4042. type: number
  4043. orispotqty:
  4044. description: 期初现货总量
  4045. type: number
  4046. oritotalexposure:
  4047. description: 期初总敞口量
  4048. type: number
  4049. spotexposure:
  4050. description: 现货敞口量
  4051. type: number
  4052. spotqty:
  4053. description: 现货总量
  4054. type: number
  4055. spotqtychange:
  4056. description: 现货变动量 = SpotQty - OriSpotQty
  4057. type: number
  4058. spratio:
  4059. description: 总期现比例 = 期货套期量/现货敞口量
  4060. type: number
  4061. totalexposure:
  4062. description: 总敞口量 = 现货敞口量 + 期货套期量
  4063. type: number
  4064. totalexposurechange:
  4065. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4066. type: number
  4067. updatetime:
  4068. description: 更新时间 --DATE
  4069. type: string
  4070. type: object
  4071. models.Ermcp2hedgeditem:
  4072. properties:
  4073. accountname:
  4074. description: 套期主体
  4075. type: string
  4076. applyid:
  4077. description: 申请人
  4078. type: integer
  4079. applysrc:
  4080. description: 申请来源 - 1:管理端 2:终端
  4081. type: integer
  4082. areauserid:
  4083. description: 企业ID
  4084. type: integer
  4085. auditid:
  4086. description: 审核人
  4087. type: integer
  4088. auditremark:
  4089. description: 审核备注
  4090. type: string
  4091. auditsrc:
  4092. description: 审核来源 - 1:管理端 2:终端
  4093. type: integer
  4094. audittime:
  4095. description: 审核时间
  4096. type: string
  4097. audittradedate:
  4098. description: 审核交易日(yyyyMMdd)
  4099. type: string
  4100. createtime:
  4101. description: 申请时间
  4102. type: string
  4103. curprice:
  4104. description: 当前市场价
  4105. type: number
  4106. curstock:
  4107. description: 期末库存量 = 采购总量 - 销售总量
  4108. type: number
  4109. deliverygoodsid:
  4110. description: 现货品种ID
  4111. type: integer
  4112. enddate:
  4113. description: 完成日期
  4114. type: string
  4115. endtradedate:
  4116. description: 完成交易日
  4117. type: string
  4118. enumdicname:
  4119. description: 单位
  4120. type: string
  4121. exeamount:
  4122. description: 执行市价总额
  4123. type: number
  4124. exeavgprice:
  4125. description: 执行市场均价= 执行市价总额 / 执行现货量
  4126. type: number
  4127. execontractamount:
  4128. description: 执行定价总额
  4129. type: number
  4130. exeqty:
  4131. description: 执行现货量
  4132. type: number
  4133. exerestamount:
  4134. description: 执行剩余市价总额【现货贸易】
  4135. type: number
  4136. futurefloatpl:
  4137. description: 期货浮动损益
  4138. type: number
  4139. futurehedgepl:
  4140. description: 期货实际损益
  4141. type: number
  4142. futurehedgeplchange:
  4143. description: 期货实际损益变动
  4144. type: number
  4145. futurepl:
  4146. description: 期货套期损益
  4147. type: number
  4148. futureplchange:
  4149. description: 期货套期损益变动
  4150. type: number
  4151. hedgeamount:
  4152. description: 套期市价总额
  4153. type: number
  4154. hedgecontractamount:
  4155. description: 套期定价总额 【定价采购合同】【现货贸易】
  4156. type: number
  4157. hedgeditemid:
  4158. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4159. type: string
  4160. hedgeditemname:
  4161. description: 项目名称
  4162. type: string
  4163. hedgeditemnum:
  4164. description: 项目编号
  4165. type: string
  4166. hedgeditemstatus:
  4167. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4168. type: integer
  4169. hedgedtype:
  4170. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4171. type: integer
  4172. hedgeqty:
  4173. description: 套期现货量
  4174. type: number
  4175. hedgerate:
  4176. description: 套保比率
  4177. type: number
  4178. hedgerestamount:
  4179. description: 套期剩余市价总额【现货贸易】
  4180. type: number
  4181. hedgesumpl:
  4182. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4183. type: number
  4184. middlegoodslist:
  4185. description: 套期商品列表
  4186. items:
  4187. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4188. type: array
  4189. oriavgprice:
  4190. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4191. type: number
  4192. orifuturehedgepl:
  4193. description: 期初期货实际损益
  4194. type: number
  4195. orifuturepl:
  4196. description: 期初期货套期损益
  4197. type: number
  4198. orispothedgepl:
  4199. description: 期初现货实际损益
  4200. type: number
  4201. orispotpl:
  4202. description: 期初现货套期损益
  4203. type: number
  4204. planenddate:
  4205. description: 计划结束日期
  4206. type: string
  4207. planstartdate:
  4208. description: 计划开始日期
  4209. type: string
  4210. remark:
  4211. description: 备注
  4212. type: string
  4213. spotbookamount:
  4214. description: 现货账面总额
  4215. type: number
  4216. spotfloatpl:
  4217. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4218. type: number
  4219. spothedgepl:
  4220. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4221. type: number
  4222. spothedgeplchange:
  4223. description: 现货实际损益变动
  4224. type: number
  4225. spotpl:
  4226. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4227. type: number
  4228. spotplchange:
  4229. description: 现货套期损益变动
  4230. type: number
  4231. spottradepl:
  4232. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4233. type: number
  4234. sumobspl:
  4235. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4236. type: number
  4237. tradeuserid:
  4238. description: 交易用户ID
  4239. type: integer
  4240. unexeqty:
  4241. description: 未执行现货量 = 套期现货量 - 执行现货量
  4242. type: number
  4243. updatetime:
  4244. description: 更新时间
  4245. type: string
  4246. vatpl:
  4247. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4248. type: number
  4249. vatrate:
  4250. description: 增值税
  4251. type: number
  4252. wrstandardid:
  4253. description: 现货商品ID
  4254. type: integer
  4255. wrstandardname:
  4256. description: 商品名称
  4257. type: string
  4258. type: object
  4259. models.Ermcp2hedgeditemsDetail:
  4260. properties:
  4261. accountname:
  4262. description: 套期主体
  4263. type: string
  4264. areauserid:
  4265. description: 企业ID
  4266. type: integer
  4267. createtime:
  4268. description: '[日期时间]创建时间'
  4269. type: string
  4270. customeruserid:
  4271. description: 对手方 【3:采购合同 4:销售合同】
  4272. type: integer
  4273. deliverygoodsid:
  4274. description: 现货品种ID
  4275. type: integer
  4276. enumdicname:
  4277. description: 单位
  4278. type: string
  4279. hedgeditemid:
  4280. description: 被套期项目ID
  4281. type: string
  4282. hedgeditemspotid:
  4283. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4284. type: string
  4285. hedgedtype:
  4286. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4287. type: integer
  4288. hedgeplanno:
  4289. description: 计划编号
  4290. type: string
  4291. middlegoodschange:
  4292. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4293. type: number
  4294. oriavgprice:
  4295. description: 期初市场价[当初市场价]
  4296. type: number
  4297. relatedamount:
  4298. description: 市价总额 = 关联数量 * 期初市场价
  4299. type: number
  4300. relatedhedgeplanid:
  4301. description: 关联计划ID 【1:采购计划 2:销售计划】
  4302. type: integer
  4303. relatedqty:
  4304. description: '[期间变化量]关联数量'
  4305. type: number
  4306. relatedspotcontractid:
  4307. description: 关联合同ID 【3:采购合同 4:销售合同】
  4308. type: integer
  4309. relatedtype:
  4310. description: 关联类型 - 1:套期关联 2:执行关联
  4311. type: integer
  4312. spotgoodsbrandid:
  4313. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4314. type: integer
  4315. spotpricedamount:
  4316. description: 定价总额
  4317. type: number
  4318. spotpricedavgprice:
  4319. description: 现货均价 = 定价总额 / 关联数量
  4320. type: number
  4321. spottype:
  4322. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4323. type: integer
  4324. tradeuserid:
  4325. description: 交易用户ID
  4326. type: integer
  4327. unexeqty:
  4328. description: 未执行现货量 = 套期现货量 - 执行现货量
  4329. type: number
  4330. wrstandardid:
  4331. description: 现货商品ID
  4332. type: integer
  4333. wrstandardname:
  4334. description: 现货商品
  4335. type: string
  4336. type: object
  4337. models.Ermcp2hedgeditemspot:
  4338. properties:
  4339. areauserid:
  4340. description: 企业ID
  4341. type: integer
  4342. createtime:
  4343. description: 创建时间
  4344. type: string
  4345. customeruserid:
  4346. description: 对手方 【3:采购合同 4:销售合同】
  4347. type: integer
  4348. deliverygoodsid:
  4349. description: 现货品种ID
  4350. type: integer
  4351. enumdicname:
  4352. description: 单位
  4353. type: string
  4354. hedgeditemid:
  4355. description: 被套期项目ID
  4356. type: string
  4357. hedgeditemspotid:
  4358. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4359. type: string
  4360. hedgedtype:
  4361. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4362. type: integer
  4363. hedgeplanno:
  4364. description: 计划编号
  4365. type: string
  4366. oriavgprice:
  4367. description: 期初市场价[当初市场价]
  4368. type: number
  4369. relatedamount:
  4370. description: 市价总额 = 关联数量 * 期初市场价
  4371. type: number
  4372. relatedhedgeplanid:
  4373. description: 关联计划ID 【1:采购计划 2:销售计划】
  4374. type: integer
  4375. relatedqty:
  4376. description: 关联数量[数量]
  4377. type: number
  4378. relatedspotcontractid:
  4379. description: 关联合同ID 【3:采购合同 4:销售合同】
  4380. type: integer
  4381. relatedtype:
  4382. description: 关联类型 - 1:套期关联 2:执行关联
  4383. type: integer
  4384. spotgoodsbrandid:
  4385. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4386. type: integer
  4387. spotpricedamount:
  4388. description: 定价总额
  4389. type: number
  4390. spotpricedavgprice:
  4391. description: 现货均价 = 定价总额 / 关联数量
  4392. type: number
  4393. spottype:
  4394. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4395. type: integer
  4396. tradeuserid:
  4397. description: 交易用户ID
  4398. type: integer
  4399. wrstandardid:
  4400. description: 现货商品ID
  4401. type: integer
  4402. wrstandardname:
  4403. description: 现货商品
  4404. type: string
  4405. required:
  4406. - hedgeditemid
  4407. type: object
  4408. models.Ermcp2hedgeditemspotDetail:
  4409. properties:
  4410. accountname:
  4411. description: 对手方
  4412. type: string
  4413. areauserid:
  4414. description: 企业ID
  4415. type: integer
  4416. brandname:
  4417. description: 品牌
  4418. type: string
  4419. contractno:
  4420. description: 合同编号
  4421. type: string
  4422. createtime:
  4423. description: 创建时间
  4424. type: string
  4425. customeruserid:
  4426. description: 对手方 【3:采购合同 4:销售合同】
  4427. type: integer
  4428. deliverygoodsid:
  4429. description: 现货品种ID
  4430. type: integer
  4431. enumdicname:
  4432. description: 单位
  4433. type: string
  4434. hedgeditemid:
  4435. description: 被套期项目ID
  4436. type: string
  4437. hedgeditemspotid:
  4438. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4439. type: string
  4440. hedgedtype:
  4441. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4442. type: integer
  4443. oriavgprice:
  4444. description: 期初市场价[当初市场价]
  4445. type: number
  4446. relatedamount:
  4447. description: 市价总额 = 关联数量 * 期初市场价
  4448. type: number
  4449. relatedhedgeplanid:
  4450. description: 关联计划ID 【1:采购计划 2:销售计划】
  4451. type: integer
  4452. relatedqty:
  4453. description: 关联数量[数量]
  4454. type: number
  4455. relatedspotcontractid:
  4456. description: 关联合同ID 【3:采购合同 4:销售合同】
  4457. type: integer
  4458. relatedtype:
  4459. description: 关联类型 - 1:套期关联 2:执行关联
  4460. type: integer
  4461. spotgoodsbrandid:
  4462. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4463. type: integer
  4464. spotpricedamount:
  4465. description: 定价总额[金额]
  4466. type: number
  4467. spotpricedavgprice:
  4468. description: 现货均价 = 定价总额 / 关联数量
  4469. type: number
  4470. spottype:
  4471. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4472. type: integer
  4473. tradeuserid:
  4474. description: 交易用户ID
  4475. type: integer
  4476. wrstandardid:
  4477. description: 现货商品ID
  4478. type: integer
  4479. wrstandardname:
  4480. description: 现货商品
  4481. type: string
  4482. required:
  4483. - hedgeditemid
  4484. type: object
  4485. models.Ermcp2himiddlegoods:
  4486. properties:
  4487. futurehedgeqty:
  4488. description: 期货持仓套期量
  4489. type: number
  4490. hedgeditemid:
  4491. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4492. type: integer
  4493. hiexpsoure:
  4494. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4495. type: number
  4496. middlegoodscode:
  4497. description: 套保商品代码
  4498. type: string
  4499. middlegoodsid:
  4500. description: 套保品种ID
  4501. type: integer
  4502. middlegoodsname:
  4503. description: 套保商品名称
  4504. type: string
  4505. unexehedgeqty:
  4506. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4507. type: number
  4508. required:
  4509. - hedgeditemid
  4510. - middlegoodsid
  4511. type: object
  4512. models.Ermcp2stockspotchangelog:
  4513. properties:
  4514. accountname:
  4515. description: 套期主体
  4516. type: string
  4517. aftervalue:
  4518. description: 现货量
  4519. type: number
  4520. beforevalue:
  4521. description: 变更前现货量
  4522. type: number
  4523. contractno:
  4524. description: '[编号]现货合同编号'
  4525. type: string
  4526. contracttype:
  4527. description: 现货合同类型 - 1:采购 -1:销售
  4528. type: integer
  4529. createtime:
  4530. description: 创建时间
  4531. type: string
  4532. customerusername:
  4533. description: 对手方
  4534. type: string
  4535. deliverygoodsid:
  4536. description: 现货品种ID
  4537. type: integer
  4538. exetype:
  4539. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4540. type: integer
  4541. logid:
  4542. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4543. type: integer
  4544. logvalue:
  4545. description: '[期间变化量]现货量变更值'
  4546. type: number
  4547. middlegoodschange:
  4548. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4549. type: number
  4550. operatelogtype:
  4551. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4552. 27:生产出库
  4553. type: integer
  4554. relatedid:
  4555. description: 现货合同ID
  4556. type: integer
  4557. spotgoodsbrandid:
  4558. description: 现货品牌ID
  4559. type: integer
  4560. tradedate:
  4561. description: 交易日(yyyyMMdd)
  4562. type: string
  4563. userid:
  4564. description: 机构ID
  4565. type: integer
  4566. warehouseinfoid:
  4567. description: 仓库ID
  4568. type: integer
  4569. wrfactortypeid:
  4570. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4571. type: integer
  4572. wrstandardid:
  4573. description: 现货商品ID
  4574. type: integer
  4575. wrstandardname:
  4576. description: 商品名称
  4577. type: string
  4578. type: object
  4579. models.Ermcp3AreaSpot:
  4580. properties:
  4581. areauserid:
  4582. description: 所属机构
  4583. type: integer
  4584. convertratio:
  4585. description: 套保系数
  4586. type: number
  4587. decreaseqty:
  4588. description: 减少数量=-(销售已定价数量+采购计划数量)
  4589. type: number
  4590. enumdicname:
  4591. description: 单位名称
  4592. type: string
  4593. increaseqty:
  4594. description: 增加数量=销售计划数量+采购已定价数量
  4595. type: number
  4596. oritoalspotqty:
  4597. description: 昨日数量
  4598. type: number
  4599. totalspotqty:
  4600. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4601. type: number
  4602. unitid:
  4603. description: 现货商品单位id
  4604. type: integer
  4605. updatetime:
  4606. description: 更新时间
  4607. type: string
  4608. wrstandardcode:
  4609. description: 现货商品代码
  4610. type: string
  4611. wrstandardid:
  4612. description: 现货商品ID(SEQ_WRSTANDARD)
  4613. type: integer
  4614. wrstandardname:
  4615. description: 现货商品名称
  4616. type: string
  4617. type: object
  4618. models.Ermcp3AreaSpotDetail:
  4619. properties:
  4620. contracttype:
  4621. description: 合同类型 1-采购 -1-销售
  4622. type: integer
  4623. createtime:
  4624. description: 创建时间
  4625. type: string
  4626. enumdicname:
  4627. description: 现货商品单位名称
  4628. type: string
  4629. logtype:
  4630. description: 记录类型 1-套保 2-现货合同
  4631. type: integer
  4632. qty:
  4633. description: 数量
  4634. type: number
  4635. recordname:
  4636. description: 类型名称
  4637. type: string
  4638. relatedid:
  4639. description: 套保计划ID/现货合同ID
  4640. type: string
  4641. relatedno:
  4642. description: 编号
  4643. type: string
  4644. strtime:
  4645. description: 时间
  4646. type: string
  4647. wrstandardcode:
  4648. description: 现货商品代码
  4649. type: string
  4650. wrstandardid:
  4651. description: 现货商品ID(SEQ_WRSTANDARD)
  4652. type: integer
  4653. wrstandardname:
  4654. description: 现货商品名称
  4655. type: string
  4656. type: object
  4657. models.Ermcp3AreaSpotPLReport:
  4658. properties:
  4659. accountid:
  4660. description: 期货账户ID (作废, 默认为0)
  4661. type: integer
  4662. accountname:
  4663. description: 机构名称
  4664. type: string
  4665. actualpl:
  4666. description: 现货损益
  4667. type: number
  4668. areauserid:
  4669. description: 所属机构\交易用户ID
  4670. type: integer
  4671. begindate:
  4672. description: 开始交易日
  4673. type: string
  4674. biztype:
  4675. description: 业务类型 - 1:套保 2:套利
  4676. type: integer
  4677. brandname:
  4678. description: 品牌名称
  4679. type: string
  4680. curamount:
  4681. description: 期末额
  4682. type: number
  4683. curaverageprice:
  4684. description: 期末均价
  4685. type: number
  4686. curbuyamount:
  4687. description: 期末采购总额
  4688. type: number
  4689. curbuyqty:
  4690. description: 期末采购总量
  4691. type: number
  4692. curmarketvalue:
  4693. description: 参考市值(期末市值)
  4694. type: number
  4695. curqty:
  4696. description: 期末量
  4697. type: number
  4698. currencyid:
  4699. description: 结算币种ID【原值】
  4700. type: integer
  4701. currencyname:
  4702. description: 币种名称
  4703. type: string
  4704. cursellamount:
  4705. description: 期末销售总额
  4706. type: number
  4707. cursellqty:
  4708. description: 期末销售总量
  4709. type: number
  4710. curspotprice:
  4711. description: 参考市价(最新价)
  4712. type: number
  4713. cycletime:
  4714. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4715. type: string
  4716. cycletype:
  4717. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4718. type: integer
  4719. deliverygoodscode:
  4720. description: 现货品种代码
  4721. type: string
  4722. deliverygoodsid:
  4723. description: 现货品种ID
  4724. type: integer
  4725. deliverygoodsname:
  4726. description: 现货品种名称
  4727. type: string
  4728. enddate:
  4729. description: 结束交易日
  4730. type: string
  4731. enumdicname:
  4732. description: 现货品种单位名称(作废)
  4733. type: string
  4734. floatpl:
  4735. description: 浮动损益
  4736. type: number
  4737. goodsunitid:
  4738. description: 现货品种单位id(作废)
  4739. type: integer
  4740. oriamount:
  4741. description: 期初额
  4742. type: number
  4743. oriaverageprice:
  4744. description: 期初均价
  4745. type: number
  4746. oribuyamount:
  4747. description: 期初采购总额
  4748. type: number
  4749. oribuyqty:
  4750. description: 期初采购总量
  4751. type: number
  4752. oriqty:
  4753. description: 期初量
  4754. type: number
  4755. orisellamount:
  4756. description: 期初销售总额
  4757. type: number
  4758. orisellqty:
  4759. description: 期初销售总量
  4760. type: number
  4761. reckondate:
  4762. description: 日照时期(yyyyMMdd)
  4763. type: string
  4764. spotgoodsbrandid:
  4765. description: 现货品牌ID
  4766. type: integer
  4767. todaybuyamount:
  4768. description: 今日采购额(今采购额)
  4769. type: number
  4770. todaybuyaverageprice:
  4771. description: 今日采购均价
  4772. type: number
  4773. todaybuyqty:
  4774. description: 今日采购量(今采购量)
  4775. type: number
  4776. todayinqty:
  4777. description: 今日入库量(今入库量)
  4778. type: number
  4779. todayoutqty:
  4780. description: 今日出库量(今出库量)
  4781. type: number
  4782. todaysellamount:
  4783. description: 今日销售额(今销售额)
  4784. type: number
  4785. todaysellaverageprice:
  4786. description: 今日销售均价
  4787. type: number
  4788. todaysellqty:
  4789. description: 今日销售量(今销售量)
  4790. type: number
  4791. unitid:
  4792. description: 品类单位id
  4793. type: integer
  4794. unitidname:
  4795. description: 品类单位名称
  4796. type: string
  4797. updatetime:
  4798. description: 更新时间
  4799. type: string
  4800. wrfactortypeid:
  4801. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4802. type: integer
  4803. wrstandardcode:
  4804. description: 现货商品(品类)代码
  4805. type: string
  4806. wrstandardid:
  4807. description: 现货品类ID
  4808. type: integer
  4809. wrstandardname:
  4810. description: 现货商品(品类)名称
  4811. type: string
  4812. type: object
  4813. models.Ermcp3AreaStock:
  4814. properties:
  4815. brandname:
  4816. description: 品牌名称
  4817. type: string
  4818. curstock:
  4819. description: 期末库存量(今日量)
  4820. type: number
  4821. deliverygoodscode:
  4822. description: 现货品种代码
  4823. type: string
  4824. deliverygoodsid:
  4825. description: 现货品种id
  4826. type: integer
  4827. deliverygoodsname:
  4828. description: 现货品种名称
  4829. type: string
  4830. enumdicname:
  4831. description: 单位名称
  4832. type: string
  4833. goodsunitid:
  4834. description: 现货商品单位id
  4835. type: integer
  4836. oristock:
  4837. description: 期初库存量(昨日量)
  4838. type: number
  4839. spotgoodsbrandid:
  4840. description: 现货品牌ID
  4841. type: integer
  4842. todaybuyinqty:
  4843. description: 今日采购入库量
  4844. type: number
  4845. todayproduceinqty:
  4846. description: 今日生产入库量
  4847. type: number
  4848. todayproduceoutqty:
  4849. description: 今日生产出库量
  4850. type: number
  4851. todayselloutqty:
  4852. description: 今日销售出库量
  4853. type: number
  4854. unitid:
  4855. description: 单位id
  4856. type: integer
  4857. updatetime:
  4858. description: 更新时间
  4859. type: string
  4860. userid:
  4861. description: 机构ID
  4862. type: integer
  4863. username:
  4864. description: 机构名称
  4865. type: string
  4866. warehousecode:
  4867. description: 仓库代码
  4868. type: string
  4869. warehouseinfoid:
  4870. description: 仓库ID
  4871. type: string
  4872. warehousename:
  4873. description: 仓库名称
  4874. type: string
  4875. warehousetype:
  4876. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4877. type: integer
  4878. wrstandardcode:
  4879. description: 品类代码
  4880. type: string
  4881. wrstandardid:
  4882. description: 品类ID
  4883. type: string
  4884. wrstandardname:
  4885. description: 品类名称
  4886. type: string
  4887. required:
  4888. - userid
  4889. type: object
  4890. models.Ermcp3AreaStockApply:
  4891. properties:
  4892. applyid:
  4893. description: 申请人
  4894. type: integer
  4895. applyname:
  4896. description: 申请人名称
  4897. type: string
  4898. applyremark:
  4899. description: 申请备注
  4900. type: string
  4901. applysrc:
  4902. description: 申请来源 - 1:管理端 2:终端
  4903. type: integer
  4904. applystatus:
  4905. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4906. type: integer
  4907. applytime:
  4908. description: 申请时间
  4909. type: string
  4910. auditid:
  4911. description: 审核人
  4912. type: integer
  4913. auditname:
  4914. description: 审核人名称
  4915. type: string
  4916. auditremark:
  4917. description: 审核备注
  4918. type: string
  4919. auditsrc:
  4920. description: 审核来源 - 1:管理端 2:终端
  4921. type: integer
  4922. audittime:
  4923. description: 审核时间
  4924. type: string
  4925. audittradedate:
  4926. description: 审核交易日(yyyyMMdd)
  4927. type: string
  4928. brandname:
  4929. description: 品牌名称
  4930. type: string
  4931. buynickname:
  4932. description: 采购方昵称
  4933. type: string
  4934. buyuserid:
  4935. description: 采购方userid
  4936. type: integer
  4937. buyusername:
  4938. description: 采购方名称
  4939. type: string
  4940. contractno:
  4941. description: 合同编号
  4942. type: string
  4943. contractqty:
  4944. description: 合同量
  4945. type: number
  4946. contracttype:
  4947. description: 现货合同类型 - 1:采购 -1:销售
  4948. type: integer
  4949. deliverygoodscode:
  4950. description: 现货品种代码
  4951. type: string
  4952. deliverygoodsid:
  4953. description: 现货品种id
  4954. type: integer
  4955. deliverygoodsname:
  4956. description: 现货品种名称
  4957. type: string
  4958. detailjson:
  4959. description: 明细数据
  4960. type: string
  4961. enumdicname:
  4962. description: 现货商品单位名称
  4963. type: string
  4964. inoutapplyid:
  4965. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4966. type: string
  4967. inouttype:
  4968. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4969. type: integer
  4970. pricetype:
  4971. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4972. type: integer
  4973. qty:
  4974. description: 数量
  4975. type: number
  4976. sellnickname:
  4977. description: 销售方昵称
  4978. type: string
  4979. selluserid:
  4980. description: 销售方userid
  4981. type: integer
  4982. sellusername:
  4983. description: 销售方名称
  4984. type: string
  4985. spotcontractid:
  4986. description: 关联现货合同ID
  4987. type: string
  4988. spotgoodsbrandid:
  4989. description: 现货品牌ID
  4990. type: integer
  4991. unitid:
  4992. description: 单位id
  4993. type: integer
  4994. userid:
  4995. description: 机构ID
  4996. type: integer
  4997. warehousecode:
  4998. description: 仓库代码
  4999. type: string
  5000. warehouseinfoid:
  5001. description: 现货仓库ID
  5002. type: string
  5003. warehousename:
  5004. description: 仓库名称
  5005. type: string
  5006. warehousetype:
  5007. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5008. type: integer
  5009. wrstandardcode:
  5010. description: 品类代码
  5011. type: string
  5012. wrstandardid:
  5013. description: 品类ID
  5014. type: integer
  5015. wrstandardname:
  5016. description: 品类名称
  5017. type: string
  5018. type: object
  5019. models.Ermcp3AreaStockApplySum:
  5020. properties:
  5021. brandname:
  5022. description: 品牌名称
  5023. type: string
  5024. inouttype:
  5025. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5026. type: integer
  5027. spotcontractid:
  5028. description: 关联现货合同ID
  5029. type: string
  5030. spotgoodsbrandid:
  5031. description: 品牌id
  5032. type: integer
  5033. totalqty:
  5034. description: 总数量
  5035. type: number
  5036. wrstandardid:
  5037. description: 品类id
  5038. type: integer
  5039. wrstandardname:
  5040. description: 品类名称
  5041. type: string
  5042. type: object
  5043. models.Ermcp3AreaStockReportEx:
  5044. properties:
  5045. begindate:
  5046. description: 开始交易日
  5047. type: string
  5048. brandname:
  5049. description: 品牌名称
  5050. type: string
  5051. curstock:
  5052. description: 期末库存量
  5053. type: number
  5054. cycletime:
  5055. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5056. type: string
  5057. cycletype:
  5058. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5059. type: integer
  5060. deliverygoodscode:
  5061. description: 现货品种代码
  5062. type: string
  5063. deliverygoodsid:
  5064. description: 现货品种id
  5065. type: integer
  5066. deliverygoodsname:
  5067. description: 现货品种名称
  5068. type: string
  5069. diffqty:
  5070. description: 库存变化量 = 期末 - 期初
  5071. type: number
  5072. enddate:
  5073. description: 结束交易日
  5074. type: string
  5075. enumdicname:
  5076. description: 单位名称
  5077. type: string
  5078. goodsunitid:
  5079. description: 现货单位id
  5080. type: integer
  5081. oristock:
  5082. description: 期初库存量
  5083. type: number
  5084. reckondate:
  5085. description: 日照时期(yyyyMMdd)
  5086. type: string
  5087. spotgoodsbrandid:
  5088. description: 现货品牌ID
  5089. type: integer
  5090. todaybuyinqty:
  5091. description: 今采购入库量
  5092. type: number
  5093. todayproduceinqty:
  5094. description: 今内部入库量
  5095. type: number
  5096. todayproduceoutqty:
  5097. description: 今内部出库量
  5098. type: number
  5099. todayselloutqty:
  5100. description: 今销售出库量
  5101. type: number
  5102. unbuyinqty:
  5103. description: 采购未入库量(数据库未找到相关字段?)
  5104. type: number
  5105. unitid:
  5106. description: 品类单位id
  5107. type: integer
  5108. unselloutqty:
  5109. description: 销售未出库量(数据库未找到相关字段?)
  5110. type: number
  5111. updatetime:
  5112. description: 更新时间
  5113. type: string
  5114. userid:
  5115. description: 机构ID
  5116. type: integer
  5117. username:
  5118. description: 机构名称
  5119. type: string
  5120. warehousecode:
  5121. description: 仓库代码
  5122. type: string
  5123. warehouseinfoid:
  5124. description: 仓库ID
  5125. type: string
  5126. warehousename:
  5127. description: 仓库名称
  5128. type: string
  5129. warehousetype:
  5130. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5131. type: integer
  5132. wrstandardcode:
  5133. description: 品类代码
  5134. type: string
  5135. wrstandardid:
  5136. description: 品类ID
  5137. type: integer
  5138. wrstandardname:
  5139. description: 品类名称
  5140. type: string
  5141. type: object
  5142. models.Ermcp3ArealSumPL:
  5143. properties:
  5144. accountname:
  5145. description: 机构名称
  5146. type: string
  5147. areauserid:
  5148. description: 所属机构\交易用户ID
  5149. type: integer
  5150. begindate:
  5151. description: 开始交易日
  5152. type: string
  5153. currencyid:
  5154. description: 结算币种ID
  5155. type: integer
  5156. currencyname:
  5157. description: 币种名称
  5158. type: string
  5159. cycletime:
  5160. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5161. type: string
  5162. cycletype:
  5163. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5164. type: integer
  5165. enddate:
  5166. description: 结束交易日
  5167. type: string
  5168. enumdicname:
  5169. description: 单位名称(套保品种)
  5170. type: string
  5171. futureactualpl:
  5172. description: 期货损益
  5173. type: number
  5174. futurefloatpl:
  5175. description: 期货浮动损益
  5176. type: number
  5177. futurespotratio:
  5178. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5179. type: number
  5180. goodsunitid:
  5181. description: 套保品种单位id
  5182. type: integer
  5183. hedgeexposurepl:
  5184. description: 套保敞口损益
  5185. type: number
  5186. middlegoodscode:
  5187. description: 套保品种代码
  5188. type: string
  5189. middlegoodsid:
  5190. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5191. type: integer
  5192. middlegoodsname:
  5193. description: 套保品种名称
  5194. type: string
  5195. reckondate:
  5196. description: 日照时期(yyyyMMdd)
  5197. type: string
  5198. spotactualpl:
  5199. description: 现货损益
  5200. type: number
  5201. spotfloatpl:
  5202. description: 现货浮动损益
  5203. type: number
  5204. sumactualpl:
  5205. description: 实际损益 = (ActualPL + FutureActualPL)
  5206. type: number
  5207. sumpl:
  5208. description: 总敞口损益 | 汇总损益
  5209. type: number
  5210. totalfutureqty:
  5211. description: 期货头寸总量
  5212. type: number
  5213. totalneedhedgeqty:
  5214. description: 应套保总量
  5215. type: number
  5216. totalspotqty:
  5217. description: 现货头寸总量
  5218. type: number
  5219. updatetime:
  5220. description: 更新时间
  5221. type: string
  5222. type: object
  5223. models.Ermcp3Brand:
  5224. properties:
  5225. areauserid:
  5226. description: 用户id
  5227. type: integer
  5228. brandid:
  5229. description: 品牌id
  5230. type: integer
  5231. brandname:
  5232. description: 品牌名称
  5233. type: string
  5234. deliverygoodsid:
  5235. description: 品种ID
  5236. type: integer
  5237. isvalid:
  5238. description: 是否有效
  5239. type: integer
  5240. type: object
  5241. models.Ermcp3Contract:
  5242. properties:
  5243. accountid:
  5244. description: 期货账户id
  5245. type: string
  5246. amount:
  5247. description: 金额 [1:一口价、3:暂定价]
  5248. type: number
  5249. attachment:
  5250. description: 附件
  5251. type: string
  5252. auditremark:
  5253. description: 审核意见
  5254. type: string
  5255. audittime:
  5256. description: 审核时间
  5257. type: string
  5258. biztype:
  5259. description: 业务类型 1-套保 2-套利
  5260. type: integer
  5261. brandname:
  5262. description: 品牌名称
  5263. type: string
  5264. buynickname:
  5265. description: 销售方昵称
  5266. type: string
  5267. buyuserid:
  5268. description: 采购方ID
  5269. type: integer
  5270. buyusername:
  5271. description: 采购方名称
  5272. type: string
  5273. contracctstatus:
  5274. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5275. type: integer
  5276. contractmargin:
  5277. description: 合同保证金
  5278. type: number
  5279. contractno:
  5280. description: 现货合同编号
  5281. type: string
  5282. contracttype:
  5283. description: 现货合同类型 - 1:采购 -1:销售
  5284. type: integer
  5285. convertfactor:
  5286. description: 标仓系数(品类)
  5287. type: number
  5288. createtime:
  5289. description: 创建时间
  5290. type: string
  5291. currencyid:
  5292. description: 币种id
  5293. type: integer
  5294. currencyname:
  5295. description: 币种名称
  5296. type: string
  5297. deliveryenddate:
  5298. description: 交收期(结束)
  5299. type: string
  5300. deliverygoodscode:
  5301. description: 现货品种代码
  5302. type: string
  5303. deliverygoodsid:
  5304. description: 现货品种ID
  5305. type: integer
  5306. deliverygoodsname:
  5307. description: 现货品种名称
  5308. type: string
  5309. deliverystartdate:
  5310. description: 交收期(开始)
  5311. type: string
  5312. enddate:
  5313. description: 点价结束日期 [2:点价 3:暂定价]
  5314. type: string
  5315. enumdicname:
  5316. description: 单位名称
  5317. type: string
  5318. goodscode:
  5319. description: 点价合约代码
  5320. type: string
  5321. goodsid:
  5322. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5323. type: integer
  5324. goodsname:
  5325. description: 点价商品名称
  5326. type: string
  5327. margin:
  5328. description: 当前保证金
  5329. type: number
  5330. meruserid:
  5331. description: 跟单员id
  5332. type: integer
  5333. meruserlogincode:
  5334. description: 跟单员登录代码
  5335. type: string
  5336. merusername:
  5337. description: 跟单员名称
  5338. type: string
  5339. pointdesc:
  5340. description: 点价备注
  5341. type: string
  5342. price:
  5343. description: 价格\暂定价 [1:一口价、3:暂定价]
  5344. type: number
  5345. pricemove:
  5346. description: 升贴水 [2:点价 3:暂定价]
  5347. type: number
  5348. pricetype:
  5349. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5350. type: integer
  5351. producttype:
  5352. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5353. type: integer
  5354. qty:
  5355. description: 数量
  5356. type: number
  5357. remark:
  5358. description: 备注
  5359. type: string
  5360. saleuserid:
  5361. description: 业务员id
  5362. type: integer
  5363. saleuserlogincode:
  5364. description: 业务员登录代码
  5365. type: string
  5366. saleusername:
  5367. description: 业务员名称
  5368. type: string
  5369. sellnickname:
  5370. description: 采购方昵称
  5371. type: string
  5372. selluserid:
  5373. description: 销售方ID
  5374. type: integer
  5375. sellusername:
  5376. description: 销售方名称
  5377. type: string
  5378. spotcontractid:
  5379. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5380. type: string
  5381. spotgoodsbrandid:
  5382. description: 现货品牌ID(DGFactoryItem表的ID)
  5383. type: integer
  5384. spotgoodsdesc:
  5385. description: 商品型号
  5386. type: string
  5387. startdate:
  5388. description: 点价开始日期 [2:点价 3:暂定价]
  5389. type: string
  5390. subjectid:
  5391. description: 交易主体ID
  5392. type: integer
  5393. subjectname:
  5394. description: 交易主体名称
  5395. type: string
  5396. tradeuserid:
  5397. description: 交易员id
  5398. type: integer
  5399. tradeuserlogincode:
  5400. description: 交易员登录代码
  5401. type: string
  5402. tradeusername:
  5403. description: 交易员名称
  5404. type: string
  5405. unitid:
  5406. description: 单位id(取品类上的单位id)
  5407. type: integer
  5408. updatetime:
  5409. description: 更新时间
  5410. type: string
  5411. userid:
  5412. description: 所属机构ID
  5413. type: integer
  5414. vatrate:
  5415. description: 增值税率
  5416. type: number
  5417. wrstandardcode:
  5418. description: 品类代码
  5419. type: string
  5420. wrstandardid:
  5421. description: 品类ID
  5422. type: integer
  5423. wrstandardname:
  5424. description: 品类名称
  5425. type: string
  5426. type: object
  5427. models.Ermcp3ContractMiddleGoodsCfg:
  5428. properties:
  5429. agreeunit:
  5430. description: 合约乘数
  5431. type: number
  5432. convertratio:
  5433. description: 期货品种系数
  5434. type: number
  5435. covertqty:
  5436. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5437. type: integer
  5438. middlegoodsid:
  5439. description: 套保品种ID
  5440. type: integer
  5441. middlegoodspricedqty3:
  5442. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5443. example: "0"
  5444. type: string
  5445. pendingpricedqty:
  5446. description: 待点价量
  5447. example: "0"
  5448. type: string
  5449. relatedmiddlegoodsqty:
  5450. description: 已关联量(套保品种-期货)
  5451. example: "0"
  5452. type: string
  5453. spotcontractid:
  5454. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5455. type: string
  5456. type: object
  5457. models.Ermcp3ExposureContractDetail:
  5458. properties:
  5459. biztype:
  5460. description: 业务类型 1-套保 2-套利
  5461. type: integer
  5462. brandname:
  5463. description: 品牌名称
  5464. type: string
  5465. buyuserid:
  5466. description: 采购方id
  5467. type: integer
  5468. buyusername:
  5469. description: 采购方名称
  5470. type: string
  5471. contractno:
  5472. description: 合同编号
  5473. type: string
  5474. contracttype:
  5475. description: 现货合同类型 - 1:采购 -1:销售
  5476. type: integer
  5477. convertfactor:
  5478. description: 标仓系数
  5479. type: number
  5480. convertratio:
  5481. description: 折算系数(套保品种)
  5482. type: number
  5483. curqty:
  5484. description: 今定价量
  5485. type: number
  5486. deliverygoodscode:
  5487. description: 现货品种代码
  5488. type: string
  5489. deliverygoodsid:
  5490. description: 现货品种id
  5491. type: integer
  5492. deliverygoodsname:
  5493. description: 现货品种名称
  5494. type: string
  5495. diffhedgeqty:
  5496. description: 套保变动量
  5497. type: number
  5498. diffneedhedgeqty:
  5499. description: 应套保变动量
  5500. type: number
  5501. diffqty:
  5502. description: 套保品种今变动量
  5503. type: number
  5504. enumdicname:
  5505. description: 单位名称
  5506. type: string
  5507. mgunitname:
  5508. description: 套保品种单位名称
  5509. type: string
  5510. middlegoodscode:
  5511. description: 套保品种代码
  5512. type: string
  5513. middlegoodsid:
  5514. description: 套保品种id
  5515. type: integer
  5516. middlegoodsname:
  5517. description: 套保品种名称
  5518. type: string
  5519. needarbitrageratio:
  5520. description: 应套利比例
  5521. type: number
  5522. needhedgeratio:
  5523. description: 应套保比例
  5524. type: number
  5525. pricedqty:
  5526. description: 已定价量
  5527. type: number
  5528. qty:
  5529. description: 合同量
  5530. type: number
  5531. reckondate:
  5532. description: 交易日(reckondate)
  5533. type: string
  5534. selluserid:
  5535. description: 销售方id
  5536. type: integer
  5537. sellusername:
  5538. description: 销售方名称
  5539. type: string
  5540. spotcontractid:
  5541. description: 合同id
  5542. type: string
  5543. todaypricedqty:
  5544. description: 今定价量
  5545. type: number
  5546. tradedate:
  5547. description: 交易日
  5548. type: string
  5549. unitid:
  5550. description: 品类单位id
  5551. type: integer
  5552. userid:
  5553. description: 机构id
  5554. type: integer
  5555. username:
  5556. description: 交易用户
  5557. type: string
  5558. wrstandardcode:
  5559. description: 现货商品代码
  5560. type: string
  5561. wrstandardid:
  5562. description: 现货商品id
  5563. type: integer
  5564. wrstandardname:
  5565. description: 现货商品名称
  5566. type: string
  5567. type: object
  5568. models.Ermcp3ExposureDetail:
  5569. properties:
  5570. areauserid:
  5571. description: 机构ID
  5572. type: integer
  5573. changeQty:
  5574. description: 套保变动量
  5575. type: number
  5576. contracttype:
  5577. description: 现货合同类型 - 1:采购 -1:销售
  5578. type: integer
  5579. convertfactor:
  5580. description: 标仓系数
  5581. type: number
  5582. convertratio:
  5583. description: 折算系数
  5584. type: number
  5585. createtime:
  5586. description: 时间
  5587. type: string
  5588. enumdicname:
  5589. description: 现货商品单位名称
  5590. type: string
  5591. logtype:
  5592. description: 类型 - 1:套保计划 2:现货合同
  5593. type: integer
  5594. mgunitid:
  5595. description: 套保品种单位id
  5596. type: integer
  5597. mgunitidname:
  5598. description: 套保品种单位名称
  5599. type: string
  5600. middlegoodsId:
  5601. description: 套保商品id
  5602. type: integer
  5603. middlegoodscode:
  5604. description: 套保商品代码
  5605. type: string
  5606. middlegoodsname:
  5607. description: 套保商品名称
  5608. type: string
  5609. qty:
  5610. description: 数量
  5611. type: number
  5612. relateNo:
  5613. description: 现货合同/套保计划编号
  5614. type: string
  5615. unitid:
  5616. description: 现货商品单位id
  5617. type: integer
  5618. wrstandardcode:
  5619. description: 现货商品代码
  5620. type: string
  5621. wrstandardid:
  5622. description: 现货商品ID(SEQ_WRSTANDARD)
  5623. type: integer
  5624. wrstandardname:
  5625. description: 现货商品名称
  5626. type: string
  5627. type: object
  5628. models.Ermcp3ExposureFutuDetail:
  5629. properties:
  5630. accountid:
  5631. description: 交易账户id
  5632. type: integer
  5633. accountname:
  5634. description: 交易账户
  5635. type: string
  5636. begindate:
  5637. description: 开始交易日
  5638. type: string
  5639. buyorsell:
  5640. description: 方向 0-买 1-卖
  5641. type: integer
  5642. diffmgqty:
  5643. description: 套保品种今变化量
  5644. type: number
  5645. diffneedqty:
  5646. description: 应套保总量变化量
  5647. type: number
  5648. difftradeqty:
  5649. description: 交易品种今变化量
  5650. type: number
  5651. enddate:
  5652. description: 结束交易日
  5653. type: string
  5654. enumdicname:
  5655. description: 单位名称
  5656. type: string
  5657. goodscode:
  5658. description: 商品代码
  5659. type: string
  5660. goodsid:
  5661. description: 商品id
  5662. type: integer
  5663. goodsname:
  5664. description: 商品名称
  5665. type: string
  5666. holdqty:
  5667. description: 期末持仓量
  5668. type: number
  5669. middlegoodscode:
  5670. description: 套保商品代码
  5671. type: string
  5672. middlegoodsid:
  5673. description: 套保商品id
  5674. type: integer
  5675. middlegoodsname:
  5676. description: 套保商品名称
  5677. type: string
  5678. oriholdqty:
  5679. description: 期初持仓量
  5680. type: number
  5681. reckondate:
  5682. description: 交易日(RECKONDATE)
  5683. type: string
  5684. todaycloseqty:
  5685. description: 今平仓量
  5686. type: number
  5687. todayopenqty:
  5688. description: 今开仓量
  5689. type: number
  5690. tradedate:
  5691. description: 交易日(RECKONDATE)
  5692. type: string
  5693. username:
  5694. description: 用户名称(交易用户)
  5695. type: string
  5696. type: object
  5697. models.Ermcp3ExposureHedgeplanDetail:
  5698. properties:
  5699. biztype:
  5700. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5701. type: integer
  5702. changqty:
  5703. description: 应套保总量变化量
  5704. type: number
  5705. contracttype:
  5706. description: 计划类型 - 1:采购 -1:销售
  5707. type: integer
  5708. convertratio:
  5709. description: 折算系数(套保品种)
  5710. type: number
  5711. deliverygoodscode:
  5712. description: 现货商品代码
  5713. type: string
  5714. deliverygoodsid:
  5715. description: 现货商品id
  5716. type: integer
  5717. deliverygoodsname:
  5718. description: 现货商吕名称
  5719. type: string
  5720. dgunitid:
  5721. description: 现货商品单位id
  5722. type: integer
  5723. dgunitidname:
  5724. description: 单位名称(现货商品)
  5725. type: string
  5726. diffqty:
  5727. description: 套保品种今变动量
  5728. type: number
  5729. enumdicname:
  5730. description: 单位名称(品类)
  5731. type: string
  5732. hedgeplanid:
  5733. description: 套保计划id
  5734. type: string
  5735. hedgeplanno:
  5736. description: 套保计划名称
  5737. type: string
  5738. hedgeplanstatus:
  5739. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5740. type: integer
  5741. mgunitidname:
  5742. description: 单位名称(套保商品)
  5743. type: string
  5744. middlegoodscode:
  5745. description: 套保品种代码
  5746. type: string
  5747. middlegoodsid:
  5748. description: 套保品种id
  5749. type: integer
  5750. middlegoodsname:
  5751. description: 套保品种名称
  5752. type: string
  5753. needarbitrageratio:
  5754. description: 应套利比例
  5755. type: number
  5756. needhedgeratio:
  5757. description: 应套保比例
  5758. type: number
  5759. pricedqty:
  5760. description: 已定价量
  5761. type: number
  5762. qty:
  5763. description: 合同量
  5764. type: number
  5765. reckondate:
  5766. description: 交易日(reckondate)
  5767. type: string
  5768. tradedate:
  5769. description: 交易日(登记日)
  5770. type: string
  5771. unitid:
  5772. description: 品类单位id
  5773. type: integer
  5774. userid:
  5775. description: 机构id
  5776. type: integer
  5777. wrstandardcode:
  5778. description: 品类代码
  5779. type: string
  5780. wrstandardid:
  5781. description: 品类id
  5782. type: integer
  5783. wrstandardname:
  5784. description: 品类名称
  5785. type: string
  5786. type: object
  5787. models.Ermcp3ExposureParamChLog:
  5788. properties:
  5789. accountid:
  5790. description: 期货账户ID (作废, 默认为0)
  5791. type: integer
  5792. aftervalue:
  5793. description: 应套保\套利量变更后(调整后应套保总量)
  5794. type: number
  5795. areauserid:
  5796. description: 所属机构\交易用户ID
  5797. type: integer
  5798. beforevalue:
  5799. description: 应套保\套利量变更前(调整前应套保总量)
  5800. type: number
  5801. begindate:
  5802. description: 开始交易日
  5803. type: string
  5804. changelogtype:
  5805. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5806. type: integer
  5807. curvalue:
  5808. description: 当前套保\套利量(套保总量|套利总量)
  5809. type: number
  5810. diffvalue:
  5811. description: 应套保总量变化量
  5812. type: number
  5813. enddate:
  5814. description: 结束交易日
  5815. type: string
  5816. logdatetime:
  5817. description: 流水日期
  5818. type: string
  5819. logid:
  5820. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5821. type: string
  5822. middlegoodscode:
  5823. description: 套保品种代码
  5824. type: string
  5825. middlegoodsid:
  5826. description: 套保品种
  5827. type: integer
  5828. middlegoodsname:
  5829. description: 套保品种名称
  5830. type: string
  5831. paramaftervalue:
  5832. description: 参数变更后(调整后参数值)
  5833. type: number
  5834. parambeforevalue:
  5835. description: 参数变更前(调整前参数值)
  5836. type: number
  5837. reckondate:
  5838. description: 交易日(reckondate)
  5839. type: string
  5840. tradedate:
  5841. description: 交易日(yyyyMMdd)
  5842. type: string
  5843. type: object
  5844. models.Ermcp3ExpourseReport:
  5845. properties:
  5846. accountid:
  5847. description: 期货账户ID (作废, 默认为0)
  5848. type: integer
  5849. accountname:
  5850. description: 机构名称
  5851. type: string
  5852. arbitrageqty:
  5853. description: 套利量
  5854. type: number
  5855. areauserid:
  5856. description: 所属机构\交易用户ID
  5857. type: integer
  5858. begindate:
  5859. description: 开始交易日
  5860. type: string
  5861. buyfutureqty:
  5862. description: 买入期货数量
  5863. type: number
  5864. buyplanqty:
  5865. description: 采购计划数量
  5866. type: number
  5867. buypricedqty:
  5868. description: 采购合同已定价数量
  5869. type: number
  5870. cycletime:
  5871. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5872. type: string
  5873. cycletype:
  5874. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5875. type: integer
  5876. diffexposure:
  5877. description: 变动量(套保敞口)
  5878. type: number
  5879. difffutuqty:
  5880. description: 变动量(期货)
  5881. type: number
  5882. diffhedgeqty:
  5883. description: 变动量(现货应套保总量)
  5884. type: number
  5885. diffmgqtya:
  5886. description: 套保变动量
  5887. type: number
  5888. diffmgqtyb:
  5889. description: 套利变动量
  5890. type: number
  5891. diffneedqty:
  5892. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5893. type: number
  5894. diffqty:
  5895. description: 变动量(总敞口)
  5896. type: number
  5897. diffspotqty:
  5898. description: 变动量(现货) | 除税变动量
  5899. type: number
  5900. enddate:
  5901. description: 结束交易日
  5902. type: string
  5903. enumdicname:
  5904. description: 单位名称
  5905. type: string
  5906. hedgeqty:
  5907. description: 套保量
  5908. type: number
  5909. mgneedhedgeratio:
  5910. description: 套保比例(套保品的)
  5911. type: number
  5912. middlegoodsid:
  5913. description: 套保品种ID
  5914. type: integer
  5915. middlegoodsname:
  5916. description: 套保商品名称
  5917. type: string
  5918. middlgoodscode:
  5919. description: 套保商品代码
  5920. type: string
  5921. needarbitrageqty:
  5922. description: 应套利量
  5923. type: number
  5924. needarbitrageratio:
  5925. description: 套利比例(套保品的)
  5926. type: number
  5927. needhedgeexposoure:
  5928. description: 应套保敞口(套保敞口)
  5929. type: number
  5930. needhedgeqty:
  5931. description: 应套保量
  5932. type: number
  5933. needhedgeratio:
  5934. description: 应套保敞口比例
  5935. type: number
  5936. needqty:
  5937. description: 应套总量 = 应套保量 + 应套利量
  5938. type: number
  5939. oriarbitrageqty:
  5940. description: 期初套利量
  5941. type: number
  5942. oribuyfutureqty:
  5943. description: 期初买入期货数量
  5944. type: number
  5945. oribuyplanqty:
  5946. description: 期初采购计划数量
  5947. type: number
  5948. oribuypricedqty:
  5949. description: 期初采购合同已定价数量
  5950. type: number
  5951. orihedgeqty:
  5952. description: 期初套保量
  5953. type: number
  5954. orineedarbitrageqty:
  5955. description: 期初应套利量
  5956. type: number
  5957. orineedhedgeexposoure:
  5958. description: 期初应套保敞口
  5959. type: number
  5960. orineedhedgeqty:
  5961. description: 期初应套保量
  5962. type: number
  5963. orisellfutureqty:
  5964. description: 期初卖出期货数量
  5965. type: number
  5966. orisellplanqty:
  5967. description: 期初销售计划数量
  5968. type: number
  5969. orisellpricedqty:
  5970. description: 期初销售合同已定价数量
  5971. type: number
  5972. oritotalexposure:
  5973. description: 期初实时总敞口
  5974. type: number
  5975. oritotalfutureqty:
  5976. description: 期初期货头寸总量
  5977. type: number
  5978. oritotalneedhedgeqty:
  5979. description: 期初应套保总量
  5980. type: number
  5981. oritotalspotqty:
  5982. description: 期初现货头寸总量
  5983. type: number
  5984. reckondate:
  5985. description: 日照时期(yyyyMMdd)
  5986. type: string
  5987. sellfutureqty:
  5988. description: 卖出期货数量
  5989. type: number
  5990. sellplanqty:
  5991. description: 销售计划数量
  5992. type: number
  5993. sellpricedqty:
  5994. description: 销售合同已定价数量
  5995. type: number
  5996. totalexposure:
  5997. description: 实时总敞口(总敞口)
  5998. type: number
  5999. totalfutureqty:
  6000. description: 期货头寸总量(期货总量)
  6001. type: number
  6002. totalhedgeratio:
  6003. description: 敞口比例
  6004. type: number
  6005. totalneedhedgeqty:
  6006. description: 应套保总量(现货应套保总量)
  6007. type: number
  6008. totalspotqty:
  6009. description: 现货头寸总量 | 除税总量
  6010. type: number
  6011. unitid:
  6012. description: 单位id
  6013. type: integer
  6014. updatetime:
  6015. description: 更新时间
  6016. type: string
  6017. type: object
  6018. models.Ermcp3FinanceReport:
  6019. properties:
  6020. accountname:
  6021. description: 机构名称
  6022. type: string
  6023. areauserid:
  6024. description: 所属机构\交易用户ID
  6025. type: integer
  6026. begindate:
  6027. description: 开始交易日
  6028. type: string
  6029. biztype:
  6030. description: 业务类型 - 1:套保 2:套利
  6031. type: integer
  6032. brandname:
  6033. description: 品牌名称
  6034. type: string
  6035. buypreinvoicedamount:
  6036. description: 采购预收票额(预收票额)
  6037. type: number
  6038. buyprepaidamount:
  6039. description: 采购预付款额(预付货款额)
  6040. type: number
  6041. buytodayinvoiceamount:
  6042. description: 采购今收票额(今收票额)
  6043. type: number
  6044. buytodayrefundamount:
  6045. description: 采购今收退款额(今收退款额)
  6046. type: number
  6047. buytodaysettleamount:
  6048. description: 采购今付款额(今付货款额)
  6049. type: number
  6050. buyuninvoicedamount:
  6051. description: 采购应收票额(应收票额)
  6052. type: number
  6053. buyunpaidamount:
  6054. description: 采购应付款额(应付货款额)
  6055. type: number
  6056. currencyid:
  6057. description: 结算币种ID
  6058. type: integer
  6059. currencyname:
  6060. description: 币种名称
  6061. type: string
  6062. cycletime:
  6063. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6064. type: string
  6065. cycletype:
  6066. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6067. type: integer
  6068. deliverygoodscode:
  6069. description: 现货品种代码
  6070. type: string
  6071. deliverygoodsid:
  6072. description: 现货品种ID
  6073. type: integer
  6074. deliverygoodsname:
  6075. description: 现货品种名称
  6076. type: string
  6077. enddate:
  6078. description: 结束交易日
  6079. type: string
  6080. reckondate:
  6081. description: 日照时期(yyyyMMdd)
  6082. type: string
  6083. sellpreinvoicedamount:
  6084. description: 销售预开票额(预开票额)
  6085. type: number
  6086. sellprepaidamount:
  6087. description: 销售预收款额(预收货款额)
  6088. type: number
  6089. selltodayinvoiceamount:
  6090. description: 销售今开票额(今开票额)
  6091. type: number
  6092. selltodayrefundamount:
  6093. description: 销售今付退款额(今付退款额)
  6094. type: number
  6095. selltodaysettleamount:
  6096. description: 销售今收款额(今收货款额)
  6097. type: number
  6098. selluninvoicedamount:
  6099. description: 销售应开票额(应开票额)
  6100. type: number
  6101. sellunpaidamount:
  6102. description: 销售应收款额(应收货款额)
  6103. type: number
  6104. spotgoodsbrandid:
  6105. description: 现货品牌ID
  6106. type: integer
  6107. todaypaysum:
  6108. description: 今付款合计
  6109. type: number
  6110. todayreceivesum:
  6111. description: 今收款合计
  6112. type: number
  6113. updatetime:
  6114. description: 更新时间
  6115. type: string
  6116. wrfactortypeid:
  6117. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6118. type: integer
  6119. wrstandardcode:
  6120. description: 品类代码
  6121. type: string
  6122. wrstandardid:
  6123. description: 现货商品ID
  6124. type: integer
  6125. wrstandardname:
  6126. description: 品类名称
  6127. type: string
  6128. type: object
  6129. models.Ermcp3GoodsGroup:
  6130. properties:
  6131. agreeunit:
  6132. description: 合约单位
  6133. type: number
  6134. areauserid:
  6135. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6136. type: integer
  6137. canshort:
  6138. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6139. type: integer
  6140. closepricemode:
  6141. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6142. type: integer
  6143. createtime:
  6144. description: 创建时间
  6145. type: string
  6146. creatorid:
  6147. description: 创建人
  6148. type: integer
  6149. currencyid:
  6150. description: 报价货币ID
  6151. type: integer
  6152. decimalplace:
  6153. description: 报价小数位
  6154. type: integer
  6155. enumdicname:
  6156. description: 单位名称
  6157. type: string
  6158. exchangefullname:
  6159. description: 交易所全称
  6160. type: string
  6161. excludecfg:
  6162. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6163. type: integer
  6164. exexchangecode:
  6165. description: 交易所代码
  6166. type: string
  6167. exexchangeid:
  6168. description: 外部交易所ID[通道交易]
  6169. type: integer
  6170. exexchangename:
  6171. description: 交易所名称
  6172. type: string
  6173. goodsgroupid:
  6174. description: 商品组ID(自增ID)
  6175. type: integer
  6176. goodsgroupname:
  6177. description: 商品组名称
  6178. type: string
  6179. goodsgroupstatus:
  6180. description: 商品组状态 - 1:正常 2:注销
  6181. type: integer
  6182. goodunitid:
  6183. description: 报价单位ID
  6184. type: integer
  6185. groupcategroyid:
  6186. description: 品种分类ID
  6187. type: integer
  6188. innerdealmode:
  6189. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6190. type: integer
  6191. marketid:
  6192. description: 所属市场ID
  6193. type: integer
  6194. modifierid:
  6195. description: 修改人
  6196. type: integer
  6197. modifytime:
  6198. description: 修改时间
  6199. type: string
  6200. outerdealmode:
  6201. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6202. type: integer
  6203. outergroupcode:
  6204. description: 外部商品组代码[通道交易]
  6205. type: string
  6206. quoteminunit:
  6207. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6208. type: integer
  6209. quotesourcegroupid:
  6210. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6211. type: integer
  6212. syncgoodsqty:
  6213. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6214. type: integer
  6215. required:
  6216. - areauserid
  6217. type: object
  6218. models.Ermcp3HPMiddleGoods:
  6219. properties:
  6220. biztype:
  6221. description: 业务类型 1:套保 2:套利
  6222. type: integer
  6223. contracttype:
  6224. description: 合同类型 1:采购 -1:销售
  6225. type: integer
  6226. convertratio:
  6227. description: 折算系数
  6228. type: number
  6229. customername:
  6230. description: 对手手名称
  6231. type: string
  6232. customeruserid:
  6233. description: 对手id
  6234. type: integer
  6235. enumdicname:
  6236. description: 现货单位名称
  6237. type: string
  6238. hedgeplanid:
  6239. description: 计划id
  6240. type: string
  6241. hedgeplanno:
  6242. description: 计划编号
  6243. type: string
  6244. middlegoodsid:
  6245. description: 套保品种ID
  6246. type: integer
  6247. middlegoodsplanqty3:
  6248. description: 应套保计划量
  6249. type: number
  6250. needhedgeratio:
  6251. description: 套保比例
  6252. type: number
  6253. pricedqty:
  6254. description: 已定价量
  6255. type: number
  6256. relatedmiddlegoodsqty:
  6257. description: 已关联量(套保品种)(期货)
  6258. type: number
  6259. unitid:
  6260. description: 现货单位id
  6261. type: integer
  6262. userid:
  6263. description: 用户id
  6264. type: integer
  6265. vatrate:
  6266. description: 增值税率
  6267. type: number
  6268. wrstandardcode:
  6269. description: 现货商品代码
  6270. type: string
  6271. wrstandardid:
  6272. description: 现货商品id
  6273. type: integer
  6274. wrstandardname:
  6275. description: 现货商品名称
  6276. type: string
  6277. type: object
  6278. models.Ermcp3HedgePlan:
  6279. properties:
  6280. accountid:
  6281. description: 资金账号
  6282. type: integer
  6283. areauserid:
  6284. description: 用户ID
  6285. type: integer
  6286. auditid:
  6287. description: 审核id
  6288. type: integer
  6289. auditname:
  6290. description: 审核人名称
  6291. type: string
  6292. auditremark:
  6293. description: 审核备注
  6294. type: string
  6295. auditsrc:
  6296. description: 审核来源 1-管理端 2-终端
  6297. type: integer
  6298. audittime:
  6299. description: 审核时间
  6300. type: string
  6301. contracttype:
  6302. description: 计划类型 - 1:采购 -1:销售
  6303. type: integer
  6304. convertfactor:
  6305. description: 标仓系数
  6306. type: number
  6307. createtime:
  6308. description: 创建时间
  6309. type: string
  6310. currencyid:
  6311. description: 币种id
  6312. type: integer
  6313. currencyname:
  6314. description: 币种名称
  6315. type: string
  6316. deliverygoodscode:
  6317. description: 现货品种代码
  6318. type: string
  6319. deliverygoodsid:
  6320. description: 现货品种ID
  6321. type: integer
  6322. deliverygoodsname:
  6323. description: 现货品种名称
  6324. type: string
  6325. enumdicname:
  6326. description: 单位名称(现货商品)
  6327. type: string
  6328. hedgeplanid:
  6329. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6330. type: string
  6331. hedgeplanno:
  6332. description: 套保计划编号(名称)
  6333. type: string
  6334. hedgeplanstatus:
  6335. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6336. type: integer
  6337. planqty:
  6338. description: 计划数量
  6339. type: number
  6340. plantime:
  6341. description: 计划时间
  6342. type: string
  6343. producttype:
  6344. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6345. type: integer
  6346. remark:
  6347. description: 备注
  6348. type: string
  6349. spotgoodsdesc:
  6350. description: 商品型号
  6351. type: string
  6352. taaccountname:
  6353. description: 资金账号名称
  6354. type: string
  6355. tradeuserid:
  6356. description: 交易用户id
  6357. type: integer
  6358. tradeusername:
  6359. description: 交易用户名称
  6360. type: string
  6361. unitid:
  6362. description: 单位id(现货商品)
  6363. type: integer
  6364. updatetime:
  6365. description: 更新时间
  6366. type: string
  6367. vatrate:
  6368. description: 增值税率
  6369. type: number
  6370. wrstandardcode:
  6371. description: 品类代码
  6372. type: string
  6373. wrstandardid:
  6374. description: 品类id
  6375. type: integer
  6376. wrstandardname:
  6377. description: 品类名称
  6378. type: string
  6379. wrunitid:
  6380. description: 品类单位id
  6381. type: integer
  6382. wrunitidame:
  6383. description: 品类单位名称
  6384. type: string
  6385. type: object
  6386. models.Ermcp3InnerTradeLink:
  6387. properties:
  6388. accountid:
  6389. description: 期货账号代码 | 资金账号ID
  6390. type: integer
  6391. buyorsell:
  6392. description: 方向 - 0:买 1:卖
  6393. type: integer
  6394. channelbuildtype:
  6395. description: 委托单据类型 0:无 1:建仓 2:平仓
  6396. type: integer
  6397. currencyid:
  6398. description: 币种id
  6399. type: integer
  6400. currencyname:
  6401. description: 结算币种 名称
  6402. type: string
  6403. goodscode:
  6404. description: 商品代码
  6405. type: string
  6406. goodsid:
  6407. description: 商品ID
  6408. type: integer
  6409. goodsname:
  6410. description: 商品名称
  6411. type: string
  6412. outtradeid:
  6413. description: 外部成交单号
  6414. type: string
  6415. taname:
  6416. description: 期货账户名称
  6417. type: string
  6418. tradeid:
  6419. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6420. type: string
  6421. tradeprice:
  6422. description: 成交价格
  6423. type: number
  6424. tradeqty:
  6425. description: 期货成交数量
  6426. type: integer
  6427. tradetime:
  6428. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6429. type: string
  6430. username:
  6431. description: 用户名称
  6432. type: string
  6433. type: object
  6434. models.Ermcp3OutTradeLink:
  6435. properties:
  6436. buyorsell:
  6437. description: 买卖方向 - 0:买 1:卖
  6438. type: integer
  6439. channelbuildtype:
  6440. description: 开平标志- 0:无 1:建仓 2:平仓
  6441. type: integer
  6442. currencyname:
  6443. description: 币种名称
  6444. type: string
  6445. exexchangecode:
  6446. description: 交易所代码
  6447. type: string
  6448. exexchangename:
  6449. description: 交易所名称
  6450. type: string
  6451. goodscode:
  6452. description: 合约代码
  6453. type: string
  6454. goodsid:
  6455. description: 合约id
  6456. type: integer
  6457. goodsname:
  6458. description: 合约名称
  6459. type: string
  6460. hasinnerorder:
  6461. description: 是否有内部单关联 - 0:无 1:有
  6462. type: integer
  6463. hedgeaccountcode:
  6464. description: 外部账号 | 对冲账号
  6465. type: string
  6466. outtradeid:
  6467. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6468. type: string
  6469. tradeprice:
  6470. description: 成交价格
  6471. type: number
  6472. tradeqty:
  6473. description: 成交数量
  6474. type: integer
  6475. tradetime:
  6476. description: 成交时间
  6477. type: string
  6478. type: object
  6479. models.Ermcp3PaAreaAuditCfg:
  6480. properties:
  6481. areauserid:
  6482. description: 用户ID
  6483. type: integer
  6484. buyinauditflag:
  6485. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6486. type: integer
  6487. costratioauditflag:
  6488. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6489. type: integer
  6490. customerauditflag:
  6491. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6492. type: integer
  6493. deliveryauditflag:
  6494. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6495. type: integer
  6496. invoiceauditflag:
  6497. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6498. type: integer
  6499. mgneedhedgeratioauditflag:
  6500. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6501. type: integer
  6502. moneyauditflag:
  6503. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6504. type: integer
  6505. operatorid:
  6506. description: 操作人
  6507. type: integer
  6508. operatorsrc:
  6509. description: 操作来源 - 1:管理端 2:终端
  6510. type: integer
  6511. pointpriceauditflag:
  6512. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6513. type: integer
  6514. produceinauditflag:
  6515. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6516. type: integer
  6517. produceoutauditflag:
  6518. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6519. type: integer
  6520. selloutauditflag:
  6521. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6522. type: integer
  6523. sgconvertratioauditflag:
  6524. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6525. type: integer
  6526. sgvtaratioauditflag:
  6527. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6528. type: integer
  6529. spotcontractauditflag:
  6530. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6531. type: integer
  6532. updatetime:
  6533. description: 更新时间
  6534. type: string
  6535. type: object
  6536. models.Ermcp3PaAreaSubject:
  6537. properties:
  6538. areauserid:
  6539. description: 所属机构
  6540. type: integer
  6541. canmodify:
  6542. description: 是否可修改 - 0:否 1:是
  6543. type: integer
  6544. createtime:
  6545. description: 创建时间
  6546. type: string
  6547. creatorid:
  6548. description: 创建人ID
  6549. type: string
  6550. creatorsrc:
  6551. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6552. type: integer
  6553. modifierid:
  6554. description: 修改人
  6555. type: string
  6556. modifiersrc:
  6557. description: 修改人来源 - 1:管理端 2:终端
  6558. type: integer
  6559. modifytime:
  6560. description: 修改时间
  6561. type: string
  6562. parentsubjectid:
  6563. description: 上级主体ID
  6564. type: string
  6565. remark:
  6566. description: 备注
  6567. type: string
  6568. subjectid:
  6569. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6570. type: integer
  6571. subjectname:
  6572. description: 主体名称
  6573. type: string
  6574. subjectstatus:
  6575. description: '主体状态 - 1:正常 2: 停用'
  6576. type: integer
  6577. subjecttype:
  6578. description: 主体类型 - 1:交易主体 2:业务部门
  6579. type: integer
  6580. type: object
  6581. models.Ermcp3PaTradeLink:
  6582. properties:
  6583. accountid:
  6584. description: 期货账户代码 | 账号ID
  6585. type: integer
  6586. agreeunit:
  6587. description: 合约乘数
  6588. type: number
  6589. buyorsell:
  6590. description: 方向 - 0:买 1:卖
  6591. type: integer
  6592. channelbuildtype:
  6593. description: 委托单据类型 0:无 1:建仓 2:平仓
  6594. type: integer
  6595. charge:
  6596. description: 手续费
  6597. type: number
  6598. closepl:
  6599. description: 平仓盈亏
  6600. type: number
  6601. closetype:
  6602. description: 平仓方式 - 0:无 1:平今 2:平昨
  6603. type: integer
  6604. convertratio:
  6605. description: 折算系数
  6606. type: number
  6607. enumdicname:
  6608. description: 单位名称
  6609. type: string
  6610. executeprice:
  6611. description: 执行价 [期权]
  6612. type: integer
  6613. goodscode:
  6614. description: 合约代码
  6615. type: string
  6616. goodsgroupid:
  6617. description: 对冲品种ID[期货合约商品组ID]
  6618. type: integer
  6619. goodsid:
  6620. description: 商品ID
  6621. type: integer
  6622. goodsname:
  6623. description: 合约名称
  6624. type: string
  6625. goodunitid:
  6626. description: 单位id
  6627. type: integer
  6628. hedgeflag:
  6629. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6630. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6631. type: integer
  6632. marketid:
  6633. description: 市场ID
  6634. type: integer
  6635. middlegoodsid:
  6636. description: 套保品种ID
  6637. type: integer
  6638. middlegoodsqty:
  6639. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6640. type: number
  6641. optioncode:
  6642. description: 期权代码 [期权]
  6643. type: string
  6644. ordertype:
  6645. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6646. type: integer
  6647. ordertypename:
  6648. description: 订单类型
  6649. type: string
  6650. parentaccountid:
  6651. description: 所属母账户
  6652. type: integer
  6653. premium:
  6654. description: 权利金 [期权]
  6655. type: number
  6656. relatedlot:
  6657. description: 已关联数量(已关联数量手) | db:关联手数
  6658. type: number
  6659. relatedouttradeid:
  6660. description: 关联外部成交单ID
  6661. type: string
  6662. relatedqty:
  6663. description: 关联数量
  6664. type: number
  6665. spotcontractid:
  6666. description: 现货合同ID [4:套期保值\10\11]
  6667. type: string
  6668. taname:
  6669. description: 期货账户名称
  6670. type: string
  6671. tradeamount:
  6672. description: 成交金额(账户)
  6673. type: number
  6674. tradedate:
  6675. description: 交易日(yyyyMMdd)
  6676. type: string
  6677. tradeid:
  6678. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6679. type: string
  6680. tradelot:
  6681. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6682. type: integer
  6683. tradeprice:
  6684. description: 成交价格
  6685. type: number
  6686. tradetime:
  6687. description: 时间 | db:成交时间
  6688. type: string
  6689. tradetype:
  6690. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6691. type: integer
  6692. userid:
  6693. description: 所属机构 - 所属母账户的UserID
  6694. type: string
  6695. username:
  6696. description: 用户名称
  6697. type: string
  6698. type: object
  6699. models.Ermcp3ParamChangeApp:
  6700. properties:
  6701. aftervalue:
  6702. description: 变更后
  6703. type: number
  6704. applicationid:
  6705. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6706. type: string
  6707. applyid:
  6708. description: 申请人
  6709. type: string
  6710. applyname:
  6711. description: 申请人名称(代码)
  6712. type: string
  6713. applyremark:
  6714. description: 申请备注
  6715. type: string
  6716. applysrc:
  6717. description: 申请来源 - 1:管理端 2:终端
  6718. type: integer
  6719. applystatus:
  6720. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6721. type: integer
  6722. applytime:
  6723. description: 申请时间
  6724. type: string
  6725. areauserid:
  6726. description: 所属机构用户ID
  6727. type: integer
  6728. auditid:
  6729. description: 审核人
  6730. type: string
  6731. auditname:
  6732. description: 审核人名称(代码)
  6733. type: string
  6734. auditremark:
  6735. description: 审核备注
  6736. type: string
  6737. auditsrc:
  6738. description: 审核来源 - 1:管理端 2:终端
  6739. type: integer
  6740. audittime:
  6741. description: 审核时间
  6742. type: string
  6743. audittradedate:
  6744. description: 审核交易日(yyyyMMdd)
  6745. type: string
  6746. beforevalue:
  6747. description: 变更前
  6748. type: number
  6749. deliverygoodscode:
  6750. description: 品种代码
  6751. type: string
  6752. deliverygoodsid:
  6753. description: 品种id
  6754. type: integer
  6755. deliverygoodsname:
  6756. description: 品种名称
  6757. type: string
  6758. middlegoodscode:
  6759. description: 套保品种代码
  6760. type: string
  6761. middlegoodsid:
  6762. description: 套保品种ID [ParamChangeType = 2,3,4]
  6763. type: integer
  6764. middlegoodsname:
  6765. description: 套保品种名称
  6766. type: string
  6767. operatetype:
  6768. description: 操作类型 - 1:新增 2:修改
  6769. type: integer
  6770. paramchangetype:
  6771. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6772. type: integer
  6773. wrstandardcode:
  6774. description: 现货商品代码
  6775. type: string
  6776. wrstandardid:
  6777. description: 现货商品ID [ParamChangeType = 1,2,3]
  6778. type: integer
  6779. wrstandardname:
  6780. description: 现货商品名称
  6781. type: string
  6782. type: object
  6783. models.Ermcp3RootUserAccount:
  6784. properties:
  6785. accountname:
  6786. description: 账户名称(机构名称)
  6787. type: string
  6788. accountstatus:
  6789. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6790. type: integer
  6791. applysrc:
  6792. description: 申请来源 - 1:管理端 2:终端
  6793. type: integer
  6794. auditremark:
  6795. description: 审核备注
  6796. type: string
  6797. auditsrc:
  6798. description: 审核来源 - 1:管理端 2:终端
  6799. type: integer
  6800. audittime:
  6801. description: 审核时间
  6802. type: string
  6803. audituserid:
  6804. description: 审核人
  6805. type: integer
  6806. broker:
  6807. description: 所属经纪人ID
  6808. type: integer
  6809. canceltime:
  6810. description: 销户时间
  6811. type: string
  6812. canceluserid:
  6813. description: 销户人
  6814. type: integer
  6815. canrecommend:
  6816. description: 是否可推荐 - 0:不可 1;可
  6817. type: integer
  6818. createtime:
  6819. description: 创建时间
  6820. type: string
  6821. creatorid:
  6822. description: 创建人
  6823. type: integer
  6824. hasauth:
  6825. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6826. type: integer
  6827. isanonymous:
  6828. description: 是否匿名下单 - 0:否 1:是
  6829. type: integer
  6830. maxinvestornum:
  6831. description: 最大用户数(经纪会员下投资者个数)
  6832. type: integer
  6833. memberuserid:
  6834. description: 所属会员ID
  6835. type: integer
  6836. modifierid:
  6837. description: 修改人
  6838. type: integer
  6839. modifyremark:
  6840. description: 变更备注
  6841. type: string
  6842. modifystatus:
  6843. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6844. type: integer
  6845. modifytime:
  6846. description: 修改时间
  6847. type: string
  6848. nickname:
  6849. description: 昵称
  6850. type: string
  6851. parenttopuser:
  6852. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6853. type: string
  6854. parentuserid:
  6855. description: 所属机构ID
  6856. type: integer
  6857. reckonaccountid:
  6858. description: 默认结算资金账号ID(机构分润使用) 作废
  6859. type: integer
  6860. refercount:
  6861. description: 推荐总人数
  6862. type: integer
  6863. refereeuserid:
  6864. description: 推荐人ID
  6865. type: integer
  6866. refernum:
  6867. description: 推荐码
  6868. type: string
  6869. rootuserid:
  6870. description: 根用户ID
  6871. type: integer
  6872. subaccountlevel:
  6873. description: 子账户层数
  6874. type: integer
  6875. subarealevelpath:
  6876. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6877. type: string
  6878. userid:
  6879. description: 用户ID
  6880. type: integer
  6881. usertype:
  6882. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6883. type: integer
  6884. type: object
  6885. models.Ermcp3SCMiddleGoods:
  6886. properties:
  6887. biztype:
  6888. description: 业务类型 1:套保 2:套利
  6889. type: integer
  6890. contractno:
  6891. description: 合同编号
  6892. type: string
  6893. contracttype:
  6894. description: 合同类型 1:采购 -1:销售
  6895. type: integer
  6896. convertratio:
  6897. description: 折算系数
  6898. type: number
  6899. customername:
  6900. description: 对手手名称
  6901. type: string
  6902. customeruserid:
  6903. description: 对手id
  6904. type: integer
  6905. deliverygoodscode:
  6906. description: 现货品种代码
  6907. type: string
  6908. deliverygoodsid:
  6909. description: 现货品种ID
  6910. type: integer
  6911. deliverygoodsname:
  6912. description: 现货品种名称
  6913. type: string
  6914. enumdicname:
  6915. description: 现货单位名称
  6916. type: string
  6917. middlegoodsid:
  6918. description: 套保品种ID
  6919. type: integer
  6920. middlegoodspricedqty3:
  6921. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6922. type: number
  6923. needhedgeratio:
  6924. description: 套保比例
  6925. type: number
  6926. pricedqty:
  6927. description: 已定价量
  6928. type: number
  6929. relatedmiddlegoodsqty:
  6930. description: 已关联量(套保品种)(期货)
  6931. type: number
  6932. spotcontractid:
  6933. description: 合同编号
  6934. type: string
  6935. unitid:
  6936. description: 现货单位id
  6937. type: integer
  6938. userid:
  6939. description: 用户id
  6940. type: integer
  6941. vatrate:
  6942. description: 增值税率
  6943. type: number
  6944. wrstandardcode:
  6945. description: 现货商品代码
  6946. type: string
  6947. wrstandardid:
  6948. description: 现货商品id
  6949. type: integer
  6950. wrstandardname:
  6951. description: 现货商品名称
  6952. type: string
  6953. type: object
  6954. models.Ermcp3SCMiddleGoodsReport:
  6955. properties:
  6956. begindate:
  6957. description: 开始交易日
  6958. type: string
  6959. contractno:
  6960. description: 合同编号
  6961. type: string
  6962. contracttype:
  6963. description: 合同类型 1:采购 -1:销售
  6964. type: integer
  6965. convertratio:
  6966. description: 折算系数
  6967. type: number
  6968. cycletime:
  6969. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6970. type: string
  6971. cycletype:
  6972. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6973. type: integer
  6974. deliverygoodscode:
  6975. description: 品种代码
  6976. type: string
  6977. deliverygoodsid:
  6978. description: 现货品种ID
  6979. type: integer
  6980. deliverygoodsname:
  6981. description: 品种名称
  6982. type: string
  6983. diffprice:
  6984. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6985. type: number
  6986. diffqty:
  6987. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6988. type: number
  6989. enddate:
  6990. description: 结束交易日
  6991. type: string
  6992. hedgeplanqty:
  6993. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6994. type: number
  6995. matchname:
  6996. description: 交易对手方(个人:用户名称 企业:简称)
  6997. type: string
  6998. matchnickname:
  6999. description: 交易对手方昵称
  7000. type: string
  7001. middlegoodscode:
  7002. description: 套保品种代码
  7003. type: string
  7004. middlegoodsid:
  7005. description: 套保品种ID
  7006. type: integer
  7007. middlegoodsname:
  7008. description: 套保品种名称
  7009. type: string
  7010. middlegoodspricedqty:
  7011. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7012. type: number
  7013. middlegoodspricedqty2:
  7014. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7015. type: number
  7016. middlegoodspricedqty3:
  7017. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7018. type: number
  7019. needhedgeratio:
  7020. description: 套保系数
  7021. type: number
  7022. pricedamount:
  7023. description: 已定价额(现货)
  7024. type: number
  7025. pricedamount2:
  7026. description: 已定价额(现货-基价额)
  7027. type: number
  7028. pricedqty:
  7029. description: 已定价量(现货)
  7030. type: number
  7031. reckondate:
  7032. description: 日照时期(yyyyMMdd)
  7033. type: string
  7034. relatedmiddlegoodsamount:
  7035. description: 已关联额(期货)
  7036. type: number
  7037. relatedmiddlegoodsqty:
  7038. description: 已关联量(套保品种)(期货)
  7039. type: number
  7040. spotcontractid:
  7041. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7042. type: string
  7043. todayavgfutuprice:
  7044. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7045. type: number
  7046. todayavgprice:
  7047. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7048. type: number
  7049. todayavgprice2:
  7050. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7051. type: number
  7052. todaypricedamount:
  7053. description: 今日定价额(现货)
  7054. type: number
  7055. todaypricedamount2:
  7056. description: 今日定价额(现货-基价额)
  7057. type: number
  7058. todaypricedqty:
  7059. description: 今日定价量(现货)
  7060. type: number
  7061. todayrelatedfutureqty:
  7062. description: 今日关联量(期货)
  7063. type: number
  7064. todayrelatedmiddlegoodsamount:
  7065. description: 今日关联额(期货)
  7066. type: number
  7067. todayrelatedmiddlegoodsqty:
  7068. description: 今日关联量(套保品-期货)
  7069. type: number
  7070. updatetime:
  7071. description: 更新时间
  7072. type: string
  7073. userid:
  7074. description: 合同所属用户id
  7075. type: integer
  7076. vatrate:
  7077. description: 增值税率
  7078. type: number
  7079. wrstandardcode:
  7080. description: 商品(品类) 代码
  7081. type: string
  7082. wrstandardid:
  7083. description: 现货商品ID
  7084. type: integer
  7085. wrstandardname:
  7086. description: 商品(品类) 名称
  7087. type: string
  7088. type: object
  7089. models.Ermcp3SellBuyContract:
  7090. properties:
  7091. accountid:
  7092. description: 期货账户id
  7093. type: string
  7094. accountname:
  7095. description: 账户名称
  7096. type: string
  7097. attachment:
  7098. description: 附件
  7099. type: string
  7100. audittime:
  7101. description: 审核时间
  7102. type: string
  7103. bizsubjectid:
  7104. description: 归属业务部门ID - SubjectID
  7105. type: integer
  7106. biztype:
  7107. description: 业务类型 1-套保 2-套利
  7108. type: integer
  7109. brandname:
  7110. description: 品牌名称
  7111. type: string
  7112. contracctstatus:
  7113. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7114. type: integer
  7115. contractmargin:
  7116. description: 合同保证金
  7117. type: number
  7118. contractno:
  7119. description: 合同编号
  7120. type: string
  7121. contracttype:
  7122. description: 合同类型 1-采购, -1-销售
  7123. type: integer
  7124. convertfactor:
  7125. description: 标仓系数(品类)
  7126. type: number
  7127. createtime:
  7128. description: 创建时间
  7129. type: string
  7130. currencyid:
  7131. description: 币种id
  7132. type: integer
  7133. currencyname:
  7134. description: 币种名称
  7135. type: string
  7136. daikaiamount:
  7137. description: 应收(开)票额 | 未收票额
  7138. type: number
  7139. deliveryenddate:
  7140. description: 交割结束日
  7141. type: string
  7142. deliverygoodscode:
  7143. description: 现货品种代码
  7144. type: string
  7145. deliverygoodsid:
  7146. description: 现货商品ID
  7147. type: integer
  7148. deliverygoodsname:
  7149. description: 现货品种名称
  7150. type: string
  7151. deliverystartdate:
  7152. description: 交割开始日
  7153. type: string
  7154. enddate:
  7155. description: 点价结束日
  7156. type: string
  7157. enumdicname:
  7158. description: 单位名称
  7159. type: string
  7160. goodscode:
  7161. description: 点价商品代码
  7162. type: string
  7163. goodsgroupid:
  7164. description: 点价商品组id
  7165. type: integer
  7166. goodsid:
  7167. description: 点价商品ID
  7168. type: integer
  7169. goodsname:
  7170. description: 点价商品名称
  7171. type: string
  7172. invoiceamount:
  7173. description: 已开票额
  7174. type: number
  7175. loanamount:
  7176. description: 贷款总额=已定价额+调整金额
  7177. type: number
  7178. margin:
  7179. description: 保证金
  7180. type: number
  7181. meruserid:
  7182. description: 跟单员id
  7183. type: integer
  7184. meruserlogincode:
  7185. description: 跟单员登录代码
  7186. type: string
  7187. merusername:
  7188. description: 跟单员名称
  7189. type: string
  7190. nickname:
  7191. description: 账户昵称
  7192. type: string
  7193. orireckonrealqty:
  7194. description: 应交收量
  7195. type: number
  7196. payamount:
  7197. description: 已收付额(收款或付款)
  7198. type: number
  7199. preinvoiceamount:
  7200. description: 预收(开)票额
  7201. type: number
  7202. prepayamount:
  7203. description: 预收付额
  7204. type: number
  7205. price:
  7206. description: 价格
  7207. type: number
  7208. pricedamount:
  7209. description: 已定价额
  7210. type: number
  7211. pricedavg:
  7212. description: 已点均价
  7213. type: number
  7214. pricedqty:
  7215. description: 已定价量
  7216. type: number
  7217. pricemove:
  7218. description: 升贴水
  7219. type: number
  7220. pricetype:
  7221. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7222. type: integer
  7223. producttype:
  7224. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7225. type: integer
  7226. qty:
  7227. description: 合同量
  7228. type: number
  7229. reckonadjustamount:
  7230. description: 调整金额
  7231. type: number
  7232. reckonedamount:
  7233. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7234. type: number
  7235. reckonotheramount:
  7236. description: 其它费用
  7237. type: number
  7238. reckonrealqty:
  7239. description: 已交收量
  7240. type: number
  7241. remark:
  7242. description: 备注
  7243. type: string
  7244. saleuserid:
  7245. description: 业务员id
  7246. type: integer
  7247. saleuserlogincode:
  7248. description: 业务员登录代码
  7249. type: string
  7250. saleusername:
  7251. description: 业务员名称
  7252. type: string
  7253. spotcontractid:
  7254. description: 合同ID
  7255. type: string
  7256. spotgoodsbrandid:
  7257. description: 现货品牌ID(DGFactoryItem表的ID)
  7258. type: integer
  7259. spotgoodsdesc:
  7260. description: 商品型号(商品规格)
  7261. type: string
  7262. startdate:
  7263. description: 点价开始日
  7264. type: string
  7265. subjectid:
  7266. description: 交易主体ID
  7267. type: integer
  7268. subjectname:
  7269. description: 交易主体名称
  7270. type: string
  7271. totalamount:
  7272. description: 合计总额
  7273. type: number
  7274. tradeuserid:
  7275. description: 交易员id
  7276. type: integer
  7277. tradeuserlogincode:
  7278. description: 交易员登录代码
  7279. type: string
  7280. tradeusername:
  7281. description: 交易员名称
  7282. type: string
  7283. unpayamount:
  7284. description: 应收付款额(应支付或应收款) | 未付款额
  7285. type: number
  7286. unpricedqty:
  7287. description: 未定价量
  7288. type: number
  7289. unsureqty:
  7290. description: 未确定量 | 未交收量
  7291. type: number
  7292. userid:
  7293. description: 机构ID
  7294. type: integer
  7295. vatrate:
  7296. description: 增值税率
  7297. type: number
  7298. wrstandardcode:
  7299. description: 品类代码
  7300. type: string
  7301. wrstandardid:
  7302. description: 品类ID
  7303. type: integer
  7304. wrstandardname:
  7305. description: 品类名称
  7306. type: string
  7307. type: object
  7308. models.Ermcp3SpotGoodsPrice:
  7309. properties:
  7310. areauserid:
  7311. description: 所属机构id
  7312. type: integer
  7313. brandname:
  7314. description: 品牌名称
  7315. type: string
  7316. currencyid:
  7317. description: 报价货币ID
  7318. type: integer
  7319. currencyname:
  7320. description: 币种名称
  7321. type: string
  7322. deliverygoodscode:
  7323. description: 现货商品代码
  7324. type: string
  7325. deliverygoodsid:
  7326. description: 现货商品id
  7327. type: integer
  7328. deliverygoodsname:
  7329. description: 现货商品名称
  7330. type: string
  7331. enumdicname:
  7332. description: 现货商品单位名称
  7333. type: string
  7334. gbenumdicname:
  7335. description: 品类单位名称
  7336. type: string
  7337. gmunitid:
  7338. description: 品类单位id
  7339. type: integer
  7340. isvalid:
  7341. description: 是否有效 - 0:无效 1:有效
  7342. type: integer
  7343. operateid:
  7344. description: 最后操作人
  7345. type: integer
  7346. operatesrc:
  7347. description: 最后操作来源 - 1:管理端 2:终端
  7348. type: integer
  7349. operatetime:
  7350. description: 最后操作时间
  7351. type: string
  7352. operatorname:
  7353. description: 操作人名称
  7354. type: string
  7355. spotgoodsbrandid:
  7356. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7357. type: integer
  7358. spotgoodsprice:
  7359. description: 现货价格
  7360. type: number
  7361. tradedate:
  7362. description: 交易日(yyyyMMdd)
  7363. type: string
  7364. unitid:
  7365. description: 现货商品单位id
  7366. type: integer
  7367. wrstandardcode:
  7368. description: 品类代码
  7369. type: string
  7370. wrstandardid:
  7371. description: 现货品类ID(通用则为0)
  7372. type: integer
  7373. wrstandardname:
  7374. description: 品类名称
  7375. type: string
  7376. type: object
  7377. models.Ermcp3SpotGoodsPriceLog:
  7378. properties:
  7379. areauserid:
  7380. description: 所属机构id
  7381. type: integer
  7382. brandname:
  7383. description: 品牌名称
  7384. type: string
  7385. currencyid:
  7386. description: 报价货币ID
  7387. type: integer
  7388. deliverygoodscode:
  7389. description: 现货商品代码
  7390. type: string
  7391. deliverygoodsid:
  7392. description: 现货商品id
  7393. type: integer
  7394. deliverygoodsname:
  7395. description: 现货商品名称
  7396. type: string
  7397. enumdicname:
  7398. description: 现货商品单位名称
  7399. type: string
  7400. gbenumdicname:
  7401. description: 品类单位名称
  7402. type: string
  7403. gmunitid:
  7404. description: 品类单位id
  7405. type: integer
  7406. logid:
  7407. description: 日志id
  7408. type: integer
  7409. operateid:
  7410. description: 最后操作人
  7411. type: integer
  7412. operatesrc:
  7413. description: 最后操作来源 - 1:管理端 2:终端
  7414. type: integer
  7415. operatetime:
  7416. description: 最后操作时间
  7417. type: string
  7418. operatorname:
  7419. description: 操作人名称
  7420. type: string
  7421. spotgoodsbrandid:
  7422. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7423. type: integer
  7424. spotgoodsprice:
  7425. description: 现货价格
  7426. type: number
  7427. tradedate:
  7428. description: 交易日(yyyyMMdd)
  7429. type: string
  7430. unitid:
  7431. description: 现货商品单位id
  7432. type: integer
  7433. wrstandardcode:
  7434. description: 品类代码
  7435. type: string
  7436. wrstandardid:
  7437. description: 现货品类ID(通用则为0)
  7438. type: integer
  7439. wrstandardname:
  7440. description: 品类名称
  7441. type: string
  7442. type: object
  7443. models.Ermcp3SubTaaccount:
  7444. properties:
  7445. accountid:
  7446. description: 资金账户ID
  7447. type: integer
  7448. parentaccountcode:
  7449. description: 所属根账号代码(母账号代码)
  7450. type: string
  7451. parentaccountid:
  7452. description: 所属根账号(母账号)
  7453. type: integer
  7454. taname:
  7455. description: 资金账号名称
  7456. type: string
  7457. tradestatus:
  7458. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7459. type: integer
  7460. username:
  7461. description: 交易用户
  7462. type: string
  7463. type: object
  7464. models.Ermcp3TaFutuReDataReport:
  7465. properties:
  7466. accountid:
  7467. description: 交易账户
  7468. type: integer
  7469. accountname:
  7470. description: 交易账号名称
  7471. type: string
  7472. agreeunit:
  7473. description: 商品合约单位
  7474. type: number
  7475. begindate:
  7476. description: 开始交易日
  7477. type: string
  7478. buyorsell:
  7479. description: 持仓方向
  7480. type: integer
  7481. charge:
  7482. description: 手续费
  7483. type: number
  7484. closeavgprice:
  7485. description: 平仓均价
  7486. type: number
  7487. closepl:
  7488. description: 平仓损益
  7489. type: number
  7490. currencyid:
  7491. description: 结算币种ID
  7492. type: integer
  7493. currencyname:
  7494. description: 币种名称
  7495. type: string
  7496. cycletime:
  7497. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7498. type: string
  7499. cycletype:
  7500. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7501. type: integer
  7502. enddate:
  7503. description: 结束交易日
  7504. type: string
  7505. enumdicname:
  7506. description: 单位名称
  7507. type: string
  7508. floatpl:
  7509. description: 浮动损益
  7510. type: number
  7511. goodscode:
  7512. description: 交易合约代码
  7513. type: string
  7514. goodsgroupid:
  7515. description: 交易品种
  7516. type: integer
  7517. goodsgroupname:
  7518. description: 交易品种名称
  7519. type: string
  7520. goodsgroupspotqty:
  7521. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7522. type: number
  7523. goodsid:
  7524. description: 交易合约
  7525. type: integer
  7526. goodsname:
  7527. description: 交易合约名称
  7528. type: string
  7529. goodunitid:
  7530. description: 交易合约单位id
  7531. type: integer
  7532. holdamount:
  7533. description: 期末持仓额
  7534. type: number
  7535. holdqty:
  7536. description: 期末持仓量
  7537. type: number
  7538. lastholdamount:
  7539. description: 当前持仓额
  7540. type: number
  7541. lastprice:
  7542. description: 最新价
  7543. type: number
  7544. middlegoodsid:
  7545. description: 套保品种id
  7546. type: integer
  7547. middlegoodsname:
  7548. description: 套保商品名称
  7549. type: string
  7550. middlegoodsqty:
  7551. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7552. type: number
  7553. middlgoodscode:
  7554. description: 套保商品代码
  7555. type: string
  7556. openamount:
  7557. description: 期末开仓额
  7558. type: number
  7559. openavgprice:
  7560. description: 开仓均价
  7561. type: number
  7562. oriholdamount:
  7563. description: 期初持仓额
  7564. type: number
  7565. oriholdqty:
  7566. description: 期初持仓量
  7567. type: number
  7568. oriopenamount:
  7569. description: 期初开仓额
  7570. type: number
  7571. outergroupcode:
  7572. description: 交易品种代码
  7573. type: string
  7574. qtydecimalplace:
  7575. description: 成交量小数位
  7576. type: integer
  7577. reckondate:
  7578. description: 日照时期(yyyyMMdd)
  7579. type: string
  7580. reckonholdamount:
  7581. description: 结算持仓额
  7582. type: number
  7583. reckonpl:
  7584. description: 结算损益
  7585. type: number
  7586. reckonpl2:
  7587. description: 结算逐笔盈亏
  7588. type: number
  7589. reckonprice:
  7590. description: 结算价
  7591. type: number
  7592. relateduserid:
  7593. description: 账户关联用户ID
  7594. type: integer
  7595. todaycloseamount:
  7596. description: 今平仓额
  7597. type: number
  7598. todaycloseqty:
  7599. description: 今平仓量
  7600. type: number
  7601. todaygoodsgroupspotqty:
  7602. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7603. type: number
  7604. todaymiddlegoodsqty:
  7605. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7606. type: number
  7607. todayopenamount:
  7608. description: 今开仓额
  7609. type: number
  7610. todayopenqty:
  7611. description: 今开仓量
  7612. type: number
  7613. userid:
  7614. description: 账户所属用户ID
  7615. type: integer
  7616. type: object
  7617. models.Ermcp3TradeLinkDetail:
  7618. properties:
  7619. accountid:
  7620. description: 资金账号
  7621. type: integer
  7622. agreeunit:
  7623. description: 合约乘数
  7624. type: number
  7625. areauserid:
  7626. description: 所属机构
  7627. type: string
  7628. bizsubjectid:
  7629. description: 归属业务部门ID - SubjectID
  7630. type: string
  7631. buyorsell:
  7632. description: 方向 - 0:买 1:卖
  7633. type: integer
  7634. channelbuildtype:
  7635. description: 委托单据类型 0:无 1:建仓 2:平仓
  7636. type: integer
  7637. contractno:
  7638. description: 现货编号 (合同编号)
  7639. type: string
  7640. convertratio:
  7641. description: 折算系数
  7642. type: number
  7643. createtime:
  7644. description: 关联时间 | 创建时间
  7645. type: string
  7646. creatorid:
  7647. description: 创建人ID
  7648. type: string
  7649. creatorsrc:
  7650. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7651. type: integer
  7652. enumdicname:
  7653. description: 单位名称
  7654. type: string
  7655. goodscode:
  7656. description: 合约代码
  7657. type: string
  7658. goodsgroupid:
  7659. description: 对冲品种ID[期货合约商品组ID]
  7660. type: integer
  7661. goodsid:
  7662. description: 商品ID
  7663. type: integer
  7664. goodsname:
  7665. description: 合约名称
  7666. type: string
  7667. hedgeflag:
  7668. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7669. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7670. type: integer
  7671. linkdetailid:
  7672. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7673. type: string
  7674. linkstatus:
  7675. description: 关联状态 - 1:成功 2:失败 3:解绑
  7676. type: integer
  7677. middlegoodscode:
  7678. description: 套保品种代码
  7679. type: string
  7680. middlegoodsid:
  7681. description: 套保品种ID
  7682. type: integer
  7683. middlegoodsname:
  7684. description: 套保品种名称
  7685. type: string
  7686. relatedlot:
  7687. description: 关联手数
  7688. type: number
  7689. relatedmode:
  7690. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7691. type: integer
  7692. relatedqty:
  7693. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7694. type: number
  7695. retcode:
  7696. description: 返回码
  7697. type: integer
  7698. saleuserid:
  7699. description: 业务员ID
  7700. type: string
  7701. spotcontractid:
  7702. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7703. type: string
  7704. taname:
  7705. description: 期货账户
  7706. type: string
  7707. tradedate:
  7708. description: 关联交易日(yyyyMMdd)
  7709. type: string
  7710. tradeid:
  7711. description: 期货订单号 | 内部成交单ID
  7712. type: string
  7713. tradelot:
  7714. description: 成交数量 | 成交手数
  7715. type: integer
  7716. tradeprice:
  7717. description: 成交价格
  7718. type: number
  7719. tradetime:
  7720. description: 期货成交时间
  7721. type: string
  7722. tradetradedate:
  7723. description: 成交交易日(yyyyMMdd)
  7724. type: string
  7725. username:
  7726. description: 用户名称
  7727. type: string
  7728. type: object
  7729. models.Ermcp3Wrstandard:
  7730. properties:
  7731. areauserid:
  7732. description: 所属机构
  7733. type: integer
  7734. cantrade:
  7735. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7736. type: integer
  7737. convertfactor:
  7738. description: 标仓系数
  7739. type: number
  7740. createtime:
  7741. description: 创建时间
  7742. type: string
  7743. creatorid:
  7744. description: 创建人
  7745. type: integer
  7746. deliverygoodsid:
  7747. description: 现货品种ID
  7748. type: integer
  7749. enumdicname:
  7750. description: 品类单位名称
  7751. type: string
  7752. isvalid:
  7753. description: 是否有效 0-无效(停用) 1-有效(正常)
  7754. type: integer
  7755. minivalue:
  7756. description: 最小变动值
  7757. type: integer
  7758. minivaluedp:
  7759. description: 最小变动值小数位
  7760. type: integer
  7761. realminivalue:
  7762. description: 实际最小变动值
  7763. type: integer
  7764. realminivaluedp:
  7765. description: 实际最小变动值小数位
  7766. type: integer
  7767. remark:
  7768. description: 备注
  7769. type: string
  7770. unitid:
  7771. description: 品类单位ID
  7772. type: integer
  7773. updatetime:
  7774. description: 更新时间
  7775. type: string
  7776. wrstandardcode:
  7777. description: 品类代码
  7778. type: string
  7779. wrstandardid:
  7780. description: 品类ID(SEQ_WRSTANDARD)
  7781. type: integer
  7782. wrstandardname:
  7783. description: 品类名称
  7784. type: string
  7785. type: object
  7786. models.Ermcp8EnableHedgeditem:
  7787. properties:
  7788. accountname:
  7789. description: 套期主体
  7790. type: string
  7791. hedgeditemid:
  7792. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7793. type: string
  7794. hedgeditemname:
  7795. description: 项目名称
  7796. type: string
  7797. hedgeditemnum:
  7798. description: 项目编号
  7799. type: string
  7800. hedgedtype:
  7801. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7802. type: integer
  7803. planenddate:
  7804. description: 计划结束日期
  7805. type: string
  7806. planstartdate:
  7807. description: 计划开始日期
  7808. type: string
  7809. type: object
  7810. models.Ermcp8HedgeditemReport:
  7811. properties:
  7812. accountname:
  7813. description: 套期主体
  7814. type: string
  7815. areauserid:
  7816. description: 企业ID
  7817. type: integer
  7818. curprice:
  7819. description: '[当日现货市场价]当前市场价'
  7820. type: number
  7821. enumdicname:
  7822. description: 单位
  7823. type: string
  7824. exeamount:
  7825. description: '[执行现货金额]执行市价总额'
  7826. type: number
  7827. exeavgprice:
  7828. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7829. type: number
  7830. exeqty:
  7831. description: '[执行数量]执行现货量'
  7832. type: number
  7833. futurehedgepl:
  7834. description: 期货实际损益
  7835. type: number
  7836. futurehedgeplchange:
  7837. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7838. type: number
  7839. futurepl:
  7840. description: 期货套期损益
  7841. type: number
  7842. futureplchange:
  7843. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7844. type: number
  7845. hedgeamount:
  7846. description: '[套期现货金额]套期市价总额'
  7847. type: number
  7848. hedgeditemnum:
  7849. description: 项目编号,模糊查询
  7850. type: string
  7851. hedgeditemstatus:
  7852. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7853. type: integer
  7854. hedgedtype:
  7855. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7856. type: integer
  7857. hedgeqty:
  7858. description: '[套期数量]套期现货量'
  7859. type: number
  7860. oriavgprice:
  7861. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7862. type: number
  7863. orifuturehedgepl:
  7864. description: 期初期货实际损益
  7865. type: number
  7866. orifuturepl:
  7867. description: 期初期货套期损益
  7868. type: number
  7869. orispothedgepl:
  7870. description: 期初现货实际损益
  7871. type: number
  7872. orispotpl:
  7873. description: 期初现货套期损益
  7874. type: number
  7875. planenddate:
  7876. description: 计划结束日期
  7877. type: string
  7878. planstartdate:
  7879. description: 计划开始日期
  7880. type: string
  7881. spothedgepl:
  7882. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7883. type: number
  7884. spothedgeplchange:
  7885. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7886. type: number
  7887. spotpl:
  7888. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7889. type: number
  7890. spotplchange:
  7891. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7892. type: number
  7893. tradeuserid:
  7894. description: 交易用户ID
  7895. type: integer
  7896. unexeqty:
  7897. description: 未执行现货量 = 套期现货量 - 执行现货量
  7898. type: number
  7899. wrstandardcode:
  7900. description: 现货品类代码
  7901. type: string
  7902. wrstandardid:
  7903. description: 现货商品ID
  7904. type: integer
  7905. wrstandardname:
  7906. description: '[现货商品]现货品类名称'
  7907. type: string
  7908. type: object
  7909. models.Ermcp8RunningHedgeditem:
  7910. properties:
  7911. accountname:
  7912. description: 套期主体
  7913. type: string
  7914. applyid:
  7915. description: 申请人
  7916. type: integer
  7917. applysrc:
  7918. description: 申请来源 - 1:管理端 2:终端
  7919. type: integer
  7920. areauserid:
  7921. description: 企业ID
  7922. type: integer
  7923. auditid:
  7924. description: 审核人
  7925. type: integer
  7926. auditremark:
  7927. description: 审核备注
  7928. type: string
  7929. auditsrc:
  7930. description: 审核来源 - 1:管理端 2:终端
  7931. type: integer
  7932. audittime:
  7933. description: 审核时间
  7934. type: string
  7935. audittradedate:
  7936. description: 审核交易日(yyyyMMdd)
  7937. type: string
  7938. createtime:
  7939. description: 申请时间
  7940. type: string
  7941. curprice:
  7942. description: 当前市场价
  7943. type: number
  7944. curstock:
  7945. description: 期末库存量 = 采购总量 - 销售总量
  7946. type: number
  7947. deliverygoodsid:
  7948. description: 现货品种ID
  7949. type: integer
  7950. enddate:
  7951. description: 完成日期
  7952. type: string
  7953. endtradedate:
  7954. description: 完成交易日
  7955. type: string
  7956. enumdicname:
  7957. description: 单位
  7958. type: string
  7959. exeamount:
  7960. description: 执行市价总额
  7961. type: number
  7962. exeavgprice:
  7963. description: 执行市场均价= 执行市价总额 / 执行现货量
  7964. type: number
  7965. execontractamount:
  7966. description: 执行定价总额
  7967. type: number
  7968. exeqty:
  7969. description: 执行现货量
  7970. type: number
  7971. exerestamount:
  7972. description: 执行剩余市价总额【现货贸易】
  7973. type: number
  7974. futurefloatpl:
  7975. description: 期货浮动损益
  7976. type: number
  7977. futurehedgepl:
  7978. description: 期货实际损益
  7979. type: number
  7980. futurehedgeplchange:
  7981. description: 期货实际损益变动
  7982. type: number
  7983. futurepl:
  7984. description: 期货套期损益
  7985. type: number
  7986. futureplchange:
  7987. description: 期货套期损益变动
  7988. type: number
  7989. hedgeamount:
  7990. description: 套期市价总额
  7991. type: number
  7992. hedgecontractamount:
  7993. description: 套期定价总额 【定价采购合同】【现货贸易】
  7994. type: number
  7995. hedgeditemid:
  7996. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7997. type: string
  7998. hedgeditemname:
  7999. description: 项目名称
  8000. type: string
  8001. hedgeditemnum:
  8002. description: 项目编号
  8003. type: string
  8004. hedgeditemstatus:
  8005. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8006. type: integer
  8007. hedgedtype:
  8008. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8009. type: integer
  8010. hedgeqty:
  8011. description: 套期现货量
  8012. type: number
  8013. hedgerate:
  8014. description: 套保比率
  8015. type: number
  8016. hedgerestamount:
  8017. description: 套期剩余市价总额【现货贸易】
  8018. type: number
  8019. hedgesumpl:
  8020. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8021. type: number
  8022. middlegoodslist:
  8023. description: 套期商品列表
  8024. items:
  8025. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8026. type: array
  8027. oriavgprice:
  8028. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8029. type: number
  8030. orifuturehedgepl:
  8031. description: 期初期货实际损益
  8032. type: number
  8033. orifuturepl:
  8034. description: 期初期货套期损益
  8035. type: number
  8036. orispothedgepl:
  8037. description: 期初现货实际损益
  8038. type: number
  8039. orispotpl:
  8040. description: 期初现货套期损益
  8041. type: number
  8042. planenddate:
  8043. description: 计划结束日期
  8044. type: string
  8045. planstartdate:
  8046. description: 计划开始日期
  8047. type: string
  8048. remark:
  8049. description: 备注
  8050. type: string
  8051. spotbookamount:
  8052. description: 现货账面总额
  8053. type: number
  8054. spotfloatpl:
  8055. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8056. type: number
  8057. spothedgepl:
  8058. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8059. type: number
  8060. spothedgeplchange:
  8061. description: 现货实际损益变动
  8062. type: number
  8063. spotpl:
  8064. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8065. type: number
  8066. spotplchange:
  8067. description: 现货套期损益变动
  8068. type: number
  8069. spottradepl:
  8070. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8071. type: number
  8072. sumobspl:
  8073. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8074. type: number
  8075. tradeuserid:
  8076. description: 交易用户ID
  8077. type: integer
  8078. unexeqty:
  8079. description: 未执行现货量 = 套期现货量 - 执行现货量
  8080. type: number
  8081. updatetime:
  8082. description: 更新时间
  8083. type: string
  8084. vatpl:
  8085. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8086. type: number
  8087. vatrate:
  8088. description: 增值税
  8089. type: number
  8090. wrstandardid:
  8091. description: 现货商品ID
  8092. type: integer
  8093. wrstandardname:
  8094. description: 商品名称
  8095. type: string
  8096. type: object
  8097. models.ErmcpBizGroupEx:
  8098. properties:
  8099. acclist:
  8100. description: 账号列表
  8101. items:
  8102. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8103. type: array
  8104. bizgroupid:
  8105. description: 业务分组id
  8106. type: integer
  8107. biztype:
  8108. description: 业务类型 1-套保 2-套利
  8109. type: integer
  8110. wrlist:
  8111. description: 现货商品表
  8112. items:
  8113. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8114. type: array
  8115. type: object
  8116. models.ErmcpBizGroupSpotGoods:
  8117. properties:
  8118. areauserid:
  8119. description: 所属机构id
  8120. type: integer
  8121. bizgroupid:
  8122. description: 分组id
  8123. type: integer
  8124. biztype:
  8125. description: 业务类型 1-套保 2-套利
  8126. type: integer
  8127. deliverygoodscode:
  8128. description: 现货商品代码
  8129. type: string
  8130. deliverygoodsid:
  8131. description: 现货商品id
  8132. type: integer
  8133. deliverygoodsname:
  8134. description: 现货商品名称
  8135. type: string
  8136. unitid:
  8137. description: 现货商品单位id
  8138. type: integer
  8139. type: object
  8140. models.ErmcpBizGroupTaAccount:
  8141. properties:
  8142. accountid:
  8143. description: 账号id
  8144. type: integer
  8145. accountname:
  8146. description: 账号名称
  8147. type: string
  8148. areauserid:
  8149. description: 所属机构id
  8150. type: integer
  8151. bizgroupid:
  8152. description: 业务分组id
  8153. type: integer
  8154. ismain:
  8155. description: 是否主账号 1-是 0-否
  8156. type: integer
  8157. type: object
  8158. models.ErmcpDGFactoryItem:
  8159. properties:
  8160. areauserid:
  8161. description: 用户id
  8162. type: integer
  8163. deliverygoodsid:
  8164. description: 现货品种ID
  8165. type: integer
  8166. dgfactoryitemid:
  8167. description: 选择项ID(SEQ_DGFACTORYITEM)
  8168. type: integer
  8169. dgfactoryitemtypeid:
  8170. description: 要素项类型
  8171. type: integer
  8172. dgfactoryitemvalue:
  8173. description: 要素项值(类型为仓库时填写仓库名称)
  8174. type: string
  8175. isvalid:
  8176. description: 是否有效 - 0:无效 1:有效
  8177. type: integer
  8178. orderindex:
  8179. description: 顺序
  8180. type: integer
  8181. warehouseid:
  8182. description: 仓库ID(类型为仓库时填写)
  8183. type: integer
  8184. type: object
  8185. models.ErmcpDeliveryGoods:
  8186. properties:
  8187. agreeunit:
  8188. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8189. type: integer
  8190. areauserid:
  8191. description: 所属机构
  8192. type: integer
  8193. auditflag:
  8194. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8195. type: integer
  8196. categoryid:
  8197. description: 类别ID(SEQ_WRCATEGORY)
  8198. type: integer
  8199. deliverygoodscode:
  8200. description: 现货品种代码
  8201. type: string
  8202. deliverygoodsid:
  8203. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8204. type: integer
  8205. deliverygoodsname:
  8206. description: 现货品种名称
  8207. type: string
  8208. deliverygoodstype:
  8209. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8210. type: integer
  8211. dgstatus:
  8212. description: 品种状态 - 作废 - 0:未激活 1:正常
  8213. type: integer
  8214. enumdicname:
  8215. description: 现货品种单位名称
  8216. type: string
  8217. goodsunitid:
  8218. description: 现货品种单位ID
  8219. type: integer
  8220. isvalid:
  8221. description: 是否有效 - 0:无效 1:有效
  8222. type: integer
  8223. qtydecimalplace:
  8224. description: 成交量小数位
  8225. type: integer
  8226. remark:
  8227. description: 备注
  8228. type: string
  8229. standardqty:
  8230. description: 标准数量(库位数量) [标准品特有]
  8231. type: integer
  8232. standardqtyrange:
  8233. description: 标准数量偏差范围 [标准品特有]
  8234. type: integer
  8235. type: object
  8236. models.ErmcpFuturesCompany:
  8237. properties:
  8238. brokerid:
  8239. description: 经纪公司代码
  8240. type: string
  8241. channeladdress:
  8242. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8243. type: string
  8244. channelid:
  8245. description: 对冲渠道ID
  8246. type: string
  8247. createtime:
  8248. description: 创建时间
  8249. type: string
  8250. creatorid:
  8251. description: 创建人
  8252. type: string
  8253. fcid:
  8254. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8255. type: integer
  8256. fcname:
  8257. description: 期货公司名称
  8258. type: string
  8259. isvalid:
  8260. description: 是否有效 - 0:无效 1:有效
  8261. type: integer
  8262. mhpaddress:
  8263. description: MHP服务地址(IP:Port)
  8264. type: string
  8265. riskrulegroupid:
  8266. description: 风控规则组ID
  8267. type: string
  8268. tradefeetmpid:
  8269. description: 手续费模板ID[TradeConfigTmpType为2]
  8270. type: string
  8271. trademargintmpid:
  8272. description: 保证金模板ID [TradeConfigTmpType为1]
  8273. type: string
  8274. traderatetmpid:
  8275. description: 汇率模板ID[TradeConfigTmpType为3]
  8276. type: string
  8277. updatetime:
  8278. description: 更新时间
  8279. type: string
  8280. updatorid:
  8281. description: 更新人
  8282. type: string
  8283. type: object
  8284. models.ErmcpGGConvertCfg:
  8285. properties:
  8286. convertratio:
  8287. description: 折算系数
  8288. type: number
  8289. destgoodsgroupid:
  8290. description: 目标品种ID
  8291. type: integer
  8292. dstcode:
  8293. description: 目录品种代码
  8294. type: string
  8295. dstexchangecode:
  8296. description: 目标期货交易所
  8297. type: string
  8298. dstname:
  8299. description: 目标品种名称
  8300. type: string
  8301. dstunitid:
  8302. description: 目标品种单位ID
  8303. type: integer
  8304. dstunitidname:
  8305. description: 目标品种单位名称
  8306. type: string
  8307. modifytime:
  8308. description: 修改时间
  8309. type: string
  8310. srccode:
  8311. description: 源品种代码
  8312. type: string
  8313. srcexchangecode:
  8314. description: 源期货交易所
  8315. type: string
  8316. srcgoodsgroupid:
  8317. description: 源品种ID
  8318. type: integer
  8319. srcname:
  8320. description: 源品种名称
  8321. type: string
  8322. srcunitid:
  8323. description: 源品种单位ID
  8324. type: integer
  8325. srcunitidname:
  8326. description: 源品种单位名称
  8327. type: string
  8328. type: object
  8329. models.ErmcpGoods:
  8330. properties:
  8331. agreeunit:
  8332. description: 合约单位
  8333. type: number
  8334. areauserid:
  8335. description: 所属机构
  8336. type: integer
  8337. auditaccountid:
  8338. description: 审核操作员账号
  8339. type: integer
  8340. audittime:
  8341. description: 审核时间
  8342. type: string
  8343. cancelaccountid:
  8344. description: 注销操作员账号
  8345. type: integer
  8346. canceltime:
  8347. description: 注销时间
  8348. type: string
  8349. closepricemode:
  8350. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8351. type: integer
  8352. closepriceparam:
  8353. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8354. type: number
  8355. createtime:
  8356. description: 创建时间
  8357. type: string
  8358. creatorid:
  8359. description: 创建人
  8360. type: integer
  8361. currencyid:
  8362. description: 报价货币ID
  8363. type: integer
  8364. cutmode:
  8365. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8366. type: integer
  8367. decimalplace:
  8368. description: 报价小数位
  8369. type: integer
  8370. delistingdate:
  8371. description: 商品退市时间(状态:退市) -- 已作废
  8372. type: string
  8373. delistingmode:
  8374. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8375. type: integer
  8376. deliveryflag:
  8377. description: 交割标志 - 0:不可交割 1:可交割
  8378. type: integer
  8379. enumdicname:
  8380. description: 单位名称
  8381. type: string
  8382. forceclosemode:
  8383. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8384. type: integer
  8385. forceclosevalue:
  8386. description: 定期强平参数 [收益权]
  8387. type: integer
  8388. goodscode:
  8389. description: 商品代码(内部)
  8390. type: string
  8391. goodscurrencyid:
  8392. description: 合约货币ID
  8393. type: integer
  8394. goodsgroupid:
  8395. description: 所属商品组ID
  8396. type: integer
  8397. goodsid:
  8398. description: 商品ID(自增ID SEQ_GOODS)
  8399. type: integer
  8400. goodsname:
  8401. description: 商品名称
  8402. type: string
  8403. goodsquotetype:
  8404. description: '合约报价类型: 1-直接报价 2-间接报价'
  8405. type: integer
  8406. goodsstatus:
  8407. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8408. type: integer
  8409. goodstradetype:
  8410. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8411. type: integer
  8412. goodunitid:
  8413. description: 报价单位ID
  8414. type: integer
  8415. hasquoter:
  8416. description: 是否有报价商 - 0:无报价商 1:有报价商
  8417. type: integer
  8418. hqprotecttime:
  8419. description: 行情保护时间(秒)
  8420. type: integer
  8421. innerdealmode:
  8422. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8423. type: integer
  8424. isbuylimited:
  8425. description: 是否限制建仓量 - 0:不限制 1:限制
  8426. type: integer
  8427. isvisible:
  8428. description: 游客是否可见 - 0:不可见 1:可见
  8429. type: integer
  8430. lasttradedate:
  8431. description: 最后交易日期(状态:待退市)
  8432. type: string
  8433. listingdate:
  8434. description: 交易开始日期
  8435. type: string
  8436. marketid:
  8437. description: 所属市场ID
  8438. type: integer
  8439. modifierid:
  8440. description: 修改人
  8441. type: integer
  8442. modifystatus:
  8443. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8444. type: integer
  8445. modifytime:
  8446. description: 修改时间
  8447. type: string
  8448. outerdealmode:
  8449. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8450. type: integer
  8451. outgoodscode:
  8452. description: 商品代码(外部)
  8453. type: string
  8454. pictureurl:
  8455. description: 商品图片
  8456. type: string
  8457. qtydecimalplace:
  8458. description: 成交量小数位
  8459. type: integer
  8460. quotegear:
  8461. description: 行情档位(1-10)
  8462. type: integer
  8463. quoteminunit:
  8464. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8465. type: integer
  8466. quoteshowtype:
  8467. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8468. type: integer
  8469. quoteshowtypeinterval:
  8470. description: 行情报价间隔时间(秒)(成交价时为0)
  8471. type: integer
  8472. relatedgoodsid:
  8473. description: 关联参考商品ID
  8474. type: integer
  8475. remark:
  8476. description: 备注
  8477. type: string
  8478. trademode:
  8479. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8480. 21:竞拍-大宗式 22:受托竞价
  8481. type: integer
  8482. required:
  8483. - goodscode
  8484. - goodsid
  8485. - goodsname
  8486. - marketid
  8487. type: object
  8488. models.ErmcpGoodsBrand:
  8489. properties:
  8490. areauserid:
  8491. description: 所属机构
  8492. type: integer
  8493. brandid:
  8494. description: BrandID(SEQ_SPOTGOODSBRAND)
  8495. type: integer
  8496. brandname:
  8497. description: 品牌名称
  8498. type: string
  8499. createtime:
  8500. description: 创建时间
  8501. type: string
  8502. creatorid:
  8503. description: 创建人
  8504. type: integer
  8505. creatorsrc:
  8506. description: 创建人来源 - 1:管理端 2:终端
  8507. type: integer
  8508. deliverygoodsid:
  8509. description: 现货品种ID
  8510. type: integer
  8511. isvalid:
  8512. description: 是否有效 - 0:无效 1:有效
  8513. type: integer
  8514. updatetime:
  8515. description: 更新时间
  8516. type: string
  8517. updatorid:
  8518. description: 更新人
  8519. type: integer
  8520. updatorsrc:
  8521. description: 更新人来源 - 1:管理端 2:终端
  8522. type: integer
  8523. wrstandardid:
  8524. description: 现货商品ID
  8525. type: integer
  8526. type: object
  8527. models.ErmcpGoodsModel:
  8528. properties:
  8529. areauserid:
  8530. description: 所属机构
  8531. type: integer
  8532. convertfactor:
  8533. description: 标仓系数
  8534. type: number
  8535. createtime:
  8536. description: 创建时间
  8537. type: string
  8538. creatorid:
  8539. description: 创建人
  8540. type: integer
  8541. creatorsrc:
  8542. description: 创建人来源 - 1:管理端 2:终端
  8543. type: integer
  8544. deliverygoodsid:
  8545. description: 现货品种ID
  8546. type: integer
  8547. isvalid:
  8548. description: 是否有效 - 0:无效 1:有效
  8549. type: integer
  8550. modelid:
  8551. description: ModelID(SEQ_SPOTGOODSMODEL)
  8552. type: integer
  8553. modelname:
  8554. description: 型号名称
  8555. type: string
  8556. updatetime:
  8557. description: 更新时间
  8558. type: string
  8559. updatorid:
  8560. description: 更新人
  8561. type: integer
  8562. updatorsrc:
  8563. description: 更新人来源 - 1:管理端 2:终端
  8564. type: integer
  8565. wrstandardid:
  8566. description: 现货商品ID
  8567. type: integer
  8568. type: object
  8569. models.ErmcpHisExposure:
  8570. properties:
  8571. needhedgeexposoure:
  8572. description: 应套保敞口
  8573. type: number
  8574. reckondate:
  8575. description: 日照时期(yyyyMMdd)
  8576. type: string
  8577. totalexposure:
  8578. description: 总敞口
  8579. type: number
  8580. type: object
  8581. models.ErmcpLoginTaAccount:
  8582. properties:
  8583. accountid:
  8584. description: 账号id
  8585. type: integer
  8586. accountname:
  8587. description: 账号名称
  8588. type: string
  8589. type: object
  8590. models.ErmcpLoginUser:
  8591. properties:
  8592. acclist:
  8593. description: 关联资金账号
  8594. items:
  8595. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8596. type: array
  8597. accountname:
  8598. description: 用户名称
  8599. type: string
  8600. clientroleid:
  8601. description: 角色id(usertype=2)
  8602. type: integer
  8603. createtime:
  8604. description: 创建时间
  8605. type: string
  8606. logincode:
  8607. description: 登录代码
  8608. type: string
  8609. loginid:
  8610. description: 登录id(LOGINID)
  8611. type: integer
  8612. loginname:
  8613. description: 登录名称(loginaccount表中的accountname字段)
  8614. type: string
  8615. loginstatus:
  8616. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8617. type: integer
  8618. memberuserid:
  8619. description: 所属会员id
  8620. type: integer
  8621. mobile:
  8622. description: 手机号
  8623. type: string
  8624. modifytime:
  8625. description: 修改时间
  8626. type: string
  8627. password:
  8628. description: 密码(不可解密)
  8629. type: string
  8630. rolename:
  8631. description: 角色名称
  8632. type: string
  8633. rolestatus:
  8634. description: 角色状态 1-启用 2-停用
  8635. type: integer
  8636. roletype:
  8637. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8638. type: string
  8639. userid:
  8640. description: 用户id
  8641. type: integer
  8642. usertype:
  8643. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8644. type: integer
  8645. type: object
  8646. models.ErmcpLoginUserEx:
  8647. properties:
  8648. accountstatus:
  8649. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8650. type: integer
  8651. mobile:
  8652. description: 手机号
  8653. type: string
  8654. querytype:
  8655. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8656. type: integer
  8657. roleid:
  8658. description: 角色id(交易账户->用户id)
  8659. type: integer
  8660. rolename:
  8661. description: 角色名称(交易账户->用户名称)
  8662. type: string
  8663. userlist:
  8664. description: 用户列表
  8665. items:
  8666. $ref: '#/definitions/models.ErmcpLoginUser'
  8667. type: array
  8668. usertype:
  8669. description: 用户类型 2-机构 7-企业成员(云平台)
  8670. type: integer
  8671. type: object
  8672. models.ErmcpMiddleGoodsModel:
  8673. properties:
  8674. areauserid:
  8675. description: 机构用户ID
  8676. type: integer
  8677. createtime:
  8678. description: 修改时间
  8679. type: string
  8680. enumdicname:
  8681. description: 单位名称
  8682. type: string
  8683. evaluateratio:
  8684. description: 估价系数
  8685. type: number
  8686. goodsgroupid:
  8687. description: 关联期货品种ID
  8688. type: integer
  8689. goodsunitid:
  8690. description: 单位ID
  8691. type: integer
  8692. isvalid:
  8693. description: 状态 0-无效(停用) 1-有效(正常)
  8694. type: integer
  8695. middlegoodscode:
  8696. description: 套保品种代码
  8697. type: string
  8698. middlegoodsid:
  8699. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8700. type: integer
  8701. middlegoodsname:
  8702. description: 套保品种名称
  8703. type: string
  8704. modifytime:
  8705. description: 修改时间
  8706. type: string
  8707. needarbitrageratio:
  8708. description: 套利比例
  8709. type: number
  8710. needhedgeratio:
  8711. description: 套保比率
  8712. type: number
  8713. qtydecimalplace:
  8714. description: 数量小数位
  8715. type: integer
  8716. relatedgoodsid:
  8717. description: 关联交易商品ID
  8718. type: integer
  8719. relatedgoodstype:
  8720. description: 关联商品类型 - 1:期货合约 2:现货品种
  8721. type: integer
  8722. remark:
  8723. description: 备注
  8724. type: string
  8725. type: object
  8726. models.ErmcpMiddlegoodsRelateGoods:
  8727. properties:
  8728. agreeunit:
  8729. description: 合约乘数
  8730. type: number
  8731. convertratio:
  8732. description: 折算系数
  8733. type: number
  8734. enumdicname:
  8735. description: 单位名称(交易商品)
  8736. type: string
  8737. goodscode:
  8738. description: 交易商品代码
  8739. type: string
  8740. goodsgroupid:
  8741. description: 交易品种id
  8742. type: integer
  8743. goodsid:
  8744. description: 商品Id
  8745. type: integer
  8746. goodsname:
  8747. description: 交易商品名称
  8748. type: string
  8749. goodunitid:
  8750. description: 交易商品单位id
  8751. type: integer
  8752. middlegoodsid:
  8753. description: 套保商品id
  8754. type: integer
  8755. middlegoodsname:
  8756. description: 套保商品名称
  8757. type: string
  8758. middlegoodsswcode:
  8759. description: 套保商品代码
  8760. type: string
  8761. needarbitrageratio:
  8762. description: 应套利比例
  8763. type: number
  8764. needhedgeratio:
  8765. description: 应套保比例
  8766. type: number
  8767. type: object
  8768. models.ErmcpRole:
  8769. properties:
  8770. areauserid:
  8771. description: 所属机构
  8772. type: integer
  8773. autoid:
  8774. description: 角色ID(自增ID)
  8775. type: integer
  8776. modifierid:
  8777. description: 修改人(创建人)
  8778. type: integer
  8779. modifiername:
  8780. description: 修改人名称
  8781. type: string
  8782. modifytime:
  8783. description: 修改时间(创建时间)
  8784. type: string
  8785. rolename:
  8786. description: 角色名称
  8787. type: string
  8788. rolestatus:
  8789. description: 角色状态 - 1:启用 2:停用
  8790. type: integer
  8791. roletype:
  8792. description: 角色类型 - 1- 管理端 2- 交易端
  8793. type: integer
  8794. type: object
  8795. models.ErmcpRoleMenu:
  8796. properties:
  8797. iconame:
  8798. description: 菜单图标
  8799. type: string
  8800. ishadrole:
  8801. description: 是否有权限
  8802. type: boolean
  8803. menutype:
  8804. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8805. type: integer
  8806. parentcode:
  8807. description: 上级资源代码
  8808. type: string
  8809. remark:
  8810. description: 菜单备注
  8811. type: string
  8812. resourcecode:
  8813. description: 菜单代码
  8814. type: string
  8815. resourcelevel:
  8816. description: 级别
  8817. type: integer
  8818. resourcename:
  8819. description: 菜单名称
  8820. type: string
  8821. roleid:
  8822. description: 角色id
  8823. type: integer
  8824. sort:
  8825. description: 排序
  8826. type: integer
  8827. url:
  8828. description: URL
  8829. type: string
  8830. userid:
  8831. description: 用户id
  8832. type: integer
  8833. type: object
  8834. models.ErmcpRoleMenuEx:
  8835. properties:
  8836. menu:
  8837. $ref: '#/definitions/models.ErmcpRoleMenu'
  8838. description: 父级菜单
  8839. subMenu:
  8840. description: 子级菜单
  8841. items:
  8842. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8843. type: array
  8844. type: object
  8845. models.ErmcpSpotContractModelEx:
  8846. properties:
  8847. accountname:
  8848. description: 套期主体
  8849. type: string
  8850. amount:
  8851. description: 金额 [1:一口价、3:暂定价]
  8852. type: number
  8853. attachment:
  8854. description: 附件
  8855. type: string
  8856. auditremark:
  8857. description: 审核意见
  8858. type: string
  8859. audittime:
  8860. description: 审核时间
  8861. type: string
  8862. avgprice:
  8863. description: 定价均价 = 已定价金额 / 已定价量
  8864. type: number
  8865. brandname:
  8866. description: 品牌名称
  8867. type: string
  8868. buyuserid:
  8869. description: 采购方ID
  8870. type: integer
  8871. buyusername:
  8872. description: 采购方名称
  8873. type: string
  8874. contracctstatus:
  8875. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8876. type: integer
  8877. contractmargin:
  8878. description: 合同保证金
  8879. type: number
  8880. contractno:
  8881. description: '[合同编号]现货合同编号'
  8882. type: string
  8883. contracttype:
  8884. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8885. type: integer
  8886. convertfactor:
  8887. description: 标仓系数
  8888. type: number
  8889. createtime:
  8890. description: 创建时间
  8891. type: string
  8892. customername:
  8893. description: 对手方
  8894. type: string
  8895. customeruserid:
  8896. description: 客户ID
  8897. type: integer
  8898. deliveryenddate:
  8899. description: 交收期(结束)
  8900. type: string
  8901. deliverygoodscode:
  8902. description: 现货品种代码
  8903. type: string
  8904. deliverygoodsid:
  8905. description: 现货品种ID
  8906. type: integer
  8907. deliverygoodsname:
  8908. description: 现货品种名称
  8909. type: string
  8910. deliverystartdate:
  8911. description: 交收期(开始)
  8912. type: string
  8913. enddate:
  8914. description: 点价结束日期 [2:点价 3:暂定价]
  8915. type: string
  8916. enumdicname:
  8917. description: 单位名称
  8918. type: string
  8919. goodscode:
  8920. description: 点价合约代码
  8921. type: string
  8922. goodsid:
  8923. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8924. type: integer
  8925. goodsname:
  8926. description: 点价商品名称
  8927. type: string
  8928. isrelated:
  8929. description: 是否已关联计划项目 - 0:否 1:是
  8930. type: integer
  8931. isrelated2:
  8932. description: 是否已关联现货项目 - 0:否 1:是
  8933. type: integer
  8934. margin:
  8935. description: 当前保证金
  8936. type: number
  8937. modelname:
  8938. description: 型号名称
  8939. type: string
  8940. price:
  8941. description: 价格\暂定价 [1:一口价、3:暂定价]
  8942. type: number
  8943. pricedamount:
  8944. description: 已定价金额 = (点价价格+升贴水) * 数量
  8945. type: number
  8946. pricedqty:
  8947. description: 已定价量
  8948. type: number
  8949. pricemove:
  8950. description: 升贴水 [2:点价 3:暂定价]
  8951. type: number
  8952. pricetype:
  8953. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  8954. type: integer
  8955. producttype:
  8956. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  8957. type: integer
  8958. qty:
  8959. description: '[合同数量]数量'
  8960. type: number
  8961. remark:
  8962. description: 备注
  8963. type: string
  8964. selluserid:
  8965. description: 销售方ID
  8966. type: integer
  8967. sellusername:
  8968. description: 销售方名称
  8969. type: string
  8970. spotamount:
  8971. description: 合同现货金额 [不含升贴水]
  8972. type: number
  8973. spotavgprice:
  8974. description: 现货均价 = 合同现货金额 / 已定价量
  8975. type: number
  8976. spotcontractid:
  8977. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  8978. type: string
  8979. spotgoodsbrandid:
  8980. description: 现货品牌ID
  8981. type: integer
  8982. spotgoodsdesc:
  8983. description: 商品型号
  8984. type: string
  8985. spotgoodsmodelid:
  8986. description: 现货型号ID
  8987. type: integer
  8988. startdate:
  8989. description: 点价开始日期 [2:点价 3:暂定价]
  8990. type: string
  8991. tradeuserid:
  8992. description: 交易用户ID
  8993. type: integer
  8994. unpricedqty:
  8995. description: 未定价量 = 合同数量 - 已定价量
  8996. type: number
  8997. updatetime:
  8998. description: 更新时间
  8999. type: string
  9000. userid:
  9001. description: 机构ID
  9002. type: integer
  9003. wrstandardcode:
  9004. description: 现货商品代码
  9005. type: string
  9006. wrstandardid:
  9007. description: 现货商品ID
  9008. type: integer
  9009. wrstandardname:
  9010. description: '[现货商品]现货商品名称'
  9011. type: string
  9012. type: object
  9013. models.ErmcpTaAccount:
  9014. properties:
  9015. accountid:
  9016. description: 账户id
  9017. type: integer
  9018. accountname:
  9019. description: 账户名称
  9020. type: string
  9021. currencyid:
  9022. description: 币种id
  9023. type: integer
  9024. hedgeaccountcode:
  9025. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9026. type: string
  9027. ismain:
  9028. description: 是否主账户 0-否 1-是
  9029. type: integer
  9030. parentaccountid:
  9031. description: 父账户id
  9032. type: integer
  9033. relateduserid:
  9034. description: 关联userid
  9035. type: integer
  9036. tradefeetmpid:
  9037. description: 手续费模板id
  9038. type: integer
  9039. tradefeetmpname:
  9040. description: 手续费模板名称
  9041. type: string
  9042. trademargintmpid:
  9043. description: 保证金模板id
  9044. type: integer
  9045. trademargintmpname:
  9046. description: 保证金模板名称
  9047. type: string
  9048. traderatetmpid:
  9049. description: 汇率模板id
  9050. type: integer
  9051. traderatetmpname:
  9052. description: 汇率模板名称
  9053. type: string
  9054. tradestatus:
  9055. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9056. type: integer
  9057. userid:
  9058. description: 用户id
  9059. type: integer
  9060. type: object
  9061. models.ErmcpTaAccountEx:
  9062. properties:
  9063. mainAcc:
  9064. $ref: '#/definitions/models.ErmcpTaAccountM'
  9065. description: 主账号
  9066. subacclist:
  9067. description: 子账号列表
  9068. items:
  9069. $ref: '#/definitions/models.ErmcpTaAccount'
  9070. type: array
  9071. type: object
  9072. models.ErmcpTaAccountInfo:
  9073. properties:
  9074. accountid:
  9075. description: 资金账户ID
  9076. type: integer
  9077. accountname:
  9078. description: 账户名称
  9079. type: string
  9080. balance:
  9081. description: 期初余额
  9082. type: number
  9083. capitalbalance:
  9084. description: 本金余额[外部子账户实际出入金余额]
  9085. type: number
  9086. closepl:
  9087. description: 今日平仓盈亏
  9088. type: number
  9089. creditdecrease:
  9090. description: 今日授信减少
  9091. type: number
  9092. creditincrease:
  9093. description: 今日授信增加
  9094. type: number
  9095. curdebt:
  9096. description: 期末欠款
  9097. type: number
  9098. currencyid:
  9099. description: 货币ID
  9100. type: integer
  9101. currentbalance:
  9102. description: 期末余额
  9103. type: number
  9104. freezecharge:
  9105. description: 手续费冻结
  9106. type: number
  9107. freezemargin:
  9108. description: 冻结保证金
  9109. type: number
  9110. fromaccountid:
  9111. description: 所属上级账户
  9112. type: integer
  9113. inamount:
  9114. description: 今日入金金额(包括三方入金)
  9115. type: number
  9116. ismain:
  9117. description: 是否母账号 0:不是母账户 1:是母账户
  9118. type: integer
  9119. mortgagecredit:
  9120. description: 授信金额
  9121. type: number
  9122. oridebt:
  9123. description: 期初欠款
  9124. type: number
  9125. orifreezecharge:
  9126. description: 期初手续费冻结
  9127. type: number
  9128. orifreezemargin:
  9129. description: 期初冻结保证金
  9130. type: number
  9131. orimortgagecredit:
  9132. description: 期初授信金额
  9133. type: number
  9134. oriothercredit:
  9135. description: 期初其它授信金额
  9136. type: number
  9137. oriotherfreezemargin:
  9138. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9139. type: number
  9140. orioutamountfreeze:
  9141. description: 期初出金冻结
  9142. type: number
  9143. oriusedmargin:
  9144. description: 期初占用保证金
  9145. type: number
  9146. othercredit:
  9147. description: 其它授信金额
  9148. type: number
  9149. othercreditdecrease:
  9150. description: 今日其它授信减少
  9151. type: number
  9152. othercreditincrease:
  9153. description: 今日其它授信增加
  9154. type: number
  9155. otherfreezemargin:
  9156. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9157. type: number
  9158. outamount:
  9159. description: 今日出金金额(包括三方出金)
  9160. type: number
  9161. outamountfreeze:
  9162. description: 出金冻结
  9163. type: number
  9164. outthreshold:
  9165. description: 出金阈值
  9166. type: number
  9167. parentaccountid:
  9168. description: 所属根账号
  9169. type: integer
  9170. paycharge:
  9171. description: 今日手续费支出
  9172. type: number
  9173. relateduserid:
  9174. description: 关联用户
  9175. type: integer
  9176. signstatus:
  9177. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9178. type: integer
  9179. sublevelpath:
  9180. description: 账号层级路径(逗号分隔,首尾加逗号)
  9181. type: string
  9182. taaccounttype:
  9183. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9184. type: integer
  9185. thirdinamount:
  9186. description: 今日三方入金
  9187. type: number
  9188. thirdoutamount:
  9189. description: 今日三方出金
  9190. type: number
  9191. tradestatus:
  9192. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9193. type: integer
  9194. transferamount:
  9195. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9196. type: number
  9197. usedmargin:
  9198. description: 占用保证金
  9199. type: number
  9200. userid:
  9201. description: 用户ID
  9202. type: integer
  9203. type: object
  9204. models.ErmcpTaAccountM:
  9205. properties:
  9206. accountid:
  9207. description: 账户id
  9208. type: integer
  9209. accountname:
  9210. description: 账户名称
  9211. type: string
  9212. currencyid:
  9213. description: 币种id
  9214. type: integer
  9215. fcid:
  9216. description: 期货公司id
  9217. type: integer
  9218. fcname:
  9219. description: 期货公司代码
  9220. type: string
  9221. hedgeaccountcode:
  9222. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9223. type: string
  9224. ismain:
  9225. description: 是否主账户 0-否 1-是
  9226. type: integer
  9227. parentaccountid:
  9228. description: 父账户id
  9229. type: integer
  9230. relateduserid:
  9231. description: 关联userid
  9232. type: integer
  9233. tradefeetmpid:
  9234. description: 手续费模板id
  9235. type: integer
  9236. tradefeetmpname:
  9237. description: 手续费模板名称
  9238. type: string
  9239. trademargintmpid:
  9240. description: 保证金模板id
  9241. type: integer
  9242. trademargintmpname:
  9243. description: 保证金模板名称
  9244. type: string
  9245. traderatetmpid:
  9246. description: 汇率模板id
  9247. type: integer
  9248. traderatetmpname:
  9249. description: 汇率模板名称
  9250. type: string
  9251. tradestatus:
  9252. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9253. type: integer
  9254. userid:
  9255. description: 用户id
  9256. type: integer
  9257. type: object
  9258. models.ErmcpTradeConfigTMP:
  9259. properties:
  9260. areauserid:
  9261. description: 所属机构
  9262. type: integer
  9263. basiccurrencyid:
  9264. description: 基本币种ID[汇率] - 目标币种
  9265. type: integer
  9266. mainaccountid:
  9267. description: 主账户ID
  9268. type: integer
  9269. modifierid:
  9270. description: 修改人
  9271. type: integer
  9272. remark:
  9273. description: 备注
  9274. type: string
  9275. tradeconfigtmpid:
  9276. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9277. type: integer
  9278. tradeconfigtmpname:
  9279. description: 交易配置模板名称
  9280. type: string
  9281. tradeconfigtmptype:
  9282. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9283. type: integer
  9284. updatetime:
  9285. description: 更新时间
  9286. type: string
  9287. type: object
  9288. models.Ermcpjrlinkpos:
  9289. properties:
  9290. areauserid:
  9291. description: 所属企业
  9292. type: integer
  9293. averageprice:
  9294. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9295. type: number
  9296. closepl:
  9297. description: 总平仓盈亏 [期货损益]
  9298. type: number
  9299. executeprice:
  9300. description: 执行价 - 1:期货单 为 0
  9301. type: integer
  9302. futurehedgeqty:
  9303. description: 期货套期量
  9304. type: number
  9305. goodsid:
  9306. description: 期货合约
  9307. type: integer
  9308. middlegoodscode:
  9309. description: 套保商品代码
  9310. type: string
  9311. middlegoodsname:
  9312. description: 套保商品名称
  9313. type: string
  9314. netqty:
  9315. description: 净头寸
  9316. type: number
  9317. optioncode:
  9318. description: 期权代码
  9319. type: string
  9320. ordertype:
  9321. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9322. type: integer
  9323. reckonpl:
  9324. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9325. type: number
  9326. spotcontractid:
  9327. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9328. type: string
  9329. todayfutureclosepl:
  9330. description: 今日平仓盈亏
  9331. type: number
  9332. totalbuyamount:
  9333. description: 买金额 [期货]
  9334. type: number
  9335. totalbuyholdamount:
  9336. description: 买持仓总金额[期货]
  9337. type: number
  9338. totalbuyqty:
  9339. description: 买数量
  9340. type: number
  9341. totalcharge:
  9342. description: 手续费
  9343. type: number
  9344. totalpremium:
  9345. description: 权利金 [期权]
  9346. type: number
  9347. totalsellamount:
  9348. description: 卖金额 [期货]
  9349. type: number
  9350. totalsellholdamount:
  9351. description: 卖持仓总金额[期货]
  9352. type: number
  9353. totalsellqty:
  9354. description: 卖数量
  9355. type: number
  9356. updatetime:
  9357. description: 更新时间
  9358. type: string
  9359. required:
  9360. - spotcontractid
  9361. type: object
  9362. models.Ermcppatradelinkdetail:
  9363. properties:
  9364. agreeunit:
  9365. description: 合约乘数
  9366. type: number
  9367. amount:
  9368. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9369. type: number
  9370. areauserid:
  9371. description: 所属机构
  9372. type: integer
  9373. bizsubjectid:
  9374. description: 归属业务部门ID - SubjectID
  9375. type: integer
  9376. buyorsell:
  9377. description: 方向 - 0:买 1:卖
  9378. type: integer
  9379. convertratio:
  9380. description: 品种系数
  9381. type: number
  9382. createtime:
  9383. description: 创建时间
  9384. type: string
  9385. creatorid:
  9386. description: 创建人ID
  9387. type: integer
  9388. creatorsrc:
  9389. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9390. type: integer
  9391. goodsgroupid:
  9392. description: 对冲品种ID[期货合约商品组ID]
  9393. type: integer
  9394. goodsid:
  9395. description: 商品ID
  9396. type: integer
  9397. hedgeditemid:
  9398. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9399. type: integer
  9400. hedgeflag:
  9401. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9402. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9403. type: integer
  9404. linkdetailid:
  9405. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9406. type: string
  9407. linkstatus:
  9408. description: 关联状态 - 1:成功 2:失败 3:解绑
  9409. type: integer
  9410. middlegoodsid:
  9411. description: 套保品种ID
  9412. type: integer
  9413. name:
  9414. description: 账户名/子账户
  9415. type: string
  9416. optioncode:
  9417. description: '[期货合约]期权代码 [期权]'
  9418. type: string
  9419. ordertype:
  9420. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9421. type: integer
  9422. relatedlot:
  9423. description: '[数量]关联手数'
  9424. type: number
  9425. relatedmode:
  9426. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9427. type: integer
  9428. relatedqty:
  9429. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9430. type: number
  9431. retcode:
  9432. description: 返回码
  9433. type: integer
  9434. saleuserid:
  9435. description: 业务员ID
  9436. type: integer
  9437. tradedate:
  9438. description: 关联交易日(yyyyMMdd)
  9439. type: string
  9440. tradeid:
  9441. description: '[成交单号]内部成交单ID'
  9442. type: string
  9443. tradelot:
  9444. description: 成交手数
  9445. type: integer
  9446. tradeprice:
  9447. description: '[价格]成交价格'
  9448. type: number
  9449. tradetime:
  9450. description: 日期时间
  9451. type: string
  9452. tradetradedate:
  9453. description: 成交交易日(yyyyMMdd)
  9454. type: string
  9455. required:
  9456. - hedgeditemid
  9457. type: object
  9458. models.Externalexchange:
  9459. properties:
  9460. autoid:
  9461. description: AutoID - SEQ_EXTERNALEXCHANGE
  9462. type: integer
  9463. exchangefullname:
  9464. description: 外部交易所全称
  9465. type: string
  9466. exexchangecode:
  9467. description: 外部交易所代码
  9468. type: string
  9469. exexchangename:
  9470. description: 外部交易所名称(简称)
  9471. type: string
  9472. ismarketprice:
  9473. description: 是否支持市价 - 0:不支持 1:支持
  9474. type: integer
  9475. quotegear:
  9476. description: 行情档位(1-10)
  9477. type: integer
  9478. showbrokerflag:
  9479. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9480. type: integer
  9481. updatetime:
  9482. description: 更新时间
  9483. type: string
  9484. required:
  9485. - autoid
  9486. type: object
  9487. models.Funcmenulist:
  9488. properties:
  9489. iconame:
  9490. description: 菜单图标
  9491. type: string
  9492. menutype:
  9493. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9494. type: integer
  9495. parentcode:
  9496. description: 上级资源代码
  9497. type: string
  9498. remark:
  9499. description: 备注
  9500. type: string
  9501. resourcecode:
  9502. description: 资源代码
  9503. type: string
  9504. resourcelevel:
  9505. description: 级别 1-一级 2-二级 3-三级 4-四级
  9506. type: integer
  9507. resourcename:
  9508. description: 资源名
  9509. type: string
  9510. sort:
  9511. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9512. type: integer
  9513. url:
  9514. description: URL
  9515. type: string
  9516. required:
  9517. - resourcecode
  9518. type: object
  9519. models.Goods:
  9520. properties:
  9521. agreeunit:
  9522. description: 合约单位
  9523. type: number
  9524. areauserid:
  9525. description: 所属机构
  9526. type: integer
  9527. auditaccountid:
  9528. description: 审核操作员账号
  9529. type: integer
  9530. audittime:
  9531. description: 审核时间
  9532. type: string
  9533. cancelaccountid:
  9534. description: 注销操作员账号
  9535. type: integer
  9536. canceltime:
  9537. description: 注销时间
  9538. type: string
  9539. closepricemode:
  9540. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9541. type: integer
  9542. closepriceparam:
  9543. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9544. type: number
  9545. createtime:
  9546. description: 创建时间
  9547. type: string
  9548. creatorid:
  9549. description: 创建人
  9550. type: integer
  9551. currencyid:
  9552. description: 报价货币ID
  9553. type: integer
  9554. cutmode:
  9555. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9556. type: integer
  9557. decimalplace:
  9558. description: 报价小数位
  9559. type: integer
  9560. delistingdate:
  9561. description: 商品退市时间(状态:退市) -- 已作废
  9562. type: string
  9563. delistingmode:
  9564. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9565. type: integer
  9566. deliveryflag:
  9567. description: 交割标志 - 0:不可交割 1:可交割
  9568. type: integer
  9569. forceclosemode:
  9570. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9571. type: integer
  9572. forceclosevalue:
  9573. description: 定期强平参数 [收益权]
  9574. type: integer
  9575. goodscode:
  9576. description: 商品代码(内部)
  9577. type: string
  9578. goodscurrencyid:
  9579. description: 合约货币ID
  9580. type: integer
  9581. goodsgroupid:
  9582. description: 所属商品组ID
  9583. type: integer
  9584. goodsid:
  9585. description: 商品ID(自增ID SEQ_GOODS)
  9586. type: integer
  9587. goodsname:
  9588. description: 商品名称
  9589. type: string
  9590. goodsquotetype:
  9591. description: '合约报价类型: 1-直接报价 2-间接报价'
  9592. type: integer
  9593. goodsstatus:
  9594. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9595. type: integer
  9596. goodstradetype:
  9597. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9598. type: integer
  9599. goodunitid:
  9600. description: 报价单位ID
  9601. type: integer
  9602. hasquoter:
  9603. description: 是否有报价商 - 0:无报价商 1:有报价商
  9604. type: integer
  9605. hqprotecttime:
  9606. description: 行情保护时间(秒)
  9607. type: integer
  9608. innerdealmode:
  9609. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9610. type: integer
  9611. isbuylimited:
  9612. description: 是否限制建仓量 - 0:不限制 1:限制
  9613. type: integer
  9614. isvisible:
  9615. description: 游客是否可见 - 0:不可见 1:可见
  9616. type: integer
  9617. lasttradedate:
  9618. description: 最后交易日期(状态:待退市)
  9619. type: string
  9620. listingdate:
  9621. description: 交易开始日期
  9622. type: string
  9623. marketid:
  9624. description: 所属市场ID
  9625. type: integer
  9626. modifierid:
  9627. description: 修改人
  9628. type: integer
  9629. modifystatus:
  9630. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9631. type: integer
  9632. modifytime:
  9633. description: 修改时间
  9634. type: string
  9635. outerdealmode:
  9636. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9637. type: integer
  9638. outgoodscode:
  9639. description: 商品代码(外部)
  9640. type: string
  9641. pictureurl:
  9642. description: 商品图片
  9643. type: string
  9644. qtydecimalplace:
  9645. description: 成交量小数位
  9646. type: integer
  9647. quotegear:
  9648. description: 行情档位(1-10)
  9649. type: integer
  9650. quoteminunit:
  9651. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9652. type: integer
  9653. quoteshowtype:
  9654. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9655. type: integer
  9656. quoteshowtypeinterval:
  9657. description: 行情报价间隔时间(秒)(成交价时为0)
  9658. type: integer
  9659. remark:
  9660. description: 备注
  9661. type: string
  9662. required:
  9663. - goodscode
  9664. - goodsid
  9665. - goodsname
  9666. - marketid
  9667. type: object
  9668. models.GoodsIDAndName:
  9669. properties:
  9670. goodscode:
  9671. description: 商品代码(内部)
  9672. type: string
  9673. goodsid:
  9674. description: 商品ID(自增ID SEQ_GOODS)
  9675. type: integer
  9676. goodsname:
  9677. description: 商品名称
  9678. type: string
  9679. marketid:
  9680. description: 所属市场ID
  9681. type: integer
  9682. required:
  9683. - goodscode
  9684. - goodsid
  9685. - goodsname
  9686. - marketid
  9687. type: object
  9688. models.Goodsgroup:
  9689. properties:
  9690. agreeunit:
  9691. description: 合约单位
  9692. type: number
  9693. canshort:
  9694. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9695. type: integer
  9696. closepricemode:
  9697. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9698. type: integer
  9699. closepriceparam:
  9700. description: 强平最新价浮动比例 - 方式为2时使用
  9701. type: number
  9702. createtime:
  9703. description: 创建时间
  9704. type: string
  9705. creatorid:
  9706. description: 创建人
  9707. type: integer
  9708. currencyid:
  9709. description: 报价货币ID
  9710. type: integer
  9711. decimalplace:
  9712. description: 报价小数位
  9713. type: integer
  9714. exercisetype:
  9715. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9716. type: integer
  9717. exexchangeid:
  9718. description: 外部交易所ID[通道交易]
  9719. type: integer
  9720. goodsgroupid:
  9721. description: 商品组ID(自增ID)
  9722. type: integer
  9723. goodsgroupname:
  9724. description: 商品组名称
  9725. type: string
  9726. goodsgroupstatus:
  9727. description: 商品组状态 - 1:正常 2:注销
  9728. type: integer
  9729. goodunitid:
  9730. description: 报价单位ID
  9731. type: integer
  9732. innerdealmode:
  9733. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9734. type: integer
  9735. isbuylimited:
  9736. description: 是否限制建仓量 - 0:不限制 1:限制
  9737. type: integer
  9738. marketid:
  9739. description: 所属市场ID
  9740. type: integer
  9741. modifierid:
  9742. description: 修改人
  9743. type: integer
  9744. modifytime:
  9745. description: 修改时间
  9746. type: string
  9747. outerdealmode:
  9748. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9749. type: integer
  9750. outergroupcode:
  9751. description: 外部商品组代码[通道交易]
  9752. type: string
  9753. premiumdecimalplace:
  9754. description: 权利金小数位[场外期权]
  9755. type: integer
  9756. premiumspreadalgorithm:
  9757. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9758. type: integer
  9759. premiumspreadvalue:
  9760. description: 权利金点差值[场外期权]
  9761. type: number
  9762. qtydecimalplace:
  9763. description: 成交量小数位
  9764. type: integer
  9765. quotegear:
  9766. description: 行情档位(1-10)
  9767. type: integer
  9768. quoteminunit:
  9769. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9770. type: integer
  9771. quoterid:
  9772. description: 报价商ID[场外期权]
  9773. type: integer
  9774. quotesourcegroupid:
  9775. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9776. type: integer
  9777. syncgoodsqty:
  9778. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9779. type: integer
  9780. required:
  9781. - goodsgroupid
  9782. - goodsgroupname
  9783. - goodsgroupstatus
  9784. - marketid
  9785. type: object
  9786. models.Goodssortbypreposition:
  9787. properties:
  9788. goodscode:
  9789. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9790. type: string
  9791. goodsgroupcode:
  9792. description: 品种代码
  9793. type: string
  9794. prepositionqty:
  9795. description: 昨持仓量
  9796. type: integer
  9797. sortindex:
  9798. description: 排序
  9799. type: integer
  9800. tradedate:
  9801. description: 交易日
  9802. type: string
  9803. updatetime:
  9804. description: 更新时间
  9805. type: string
  9806. required:
  9807. - goodscode
  9808. - tradedate
  9809. type: object
  9810. models.Hedgeinnerholderdetail:
  9811. properties:
  9812. accountid:
  9813. description: 账号ID
  9814. type: integer
  9815. buyorsell:
  9816. description: 方向 - 0:买 1:卖
  9817. type: integer
  9818. freezeqty:
  9819. description: 冻结数量 - 按单平使用
  9820. type: integer
  9821. goodsid:
  9822. description: 商品ID
  9823. type: integer
  9824. holderamount:
  9825. description: 持仓金额 [商品币种]
  9826. type: number
  9827. holderdays:
  9828. description: 剩余冻结天数
  9829. type: integer
  9830. holderprice:
  9831. description: 持仓价格
  9832. type: number
  9833. holderqty:
  9834. description: 持仓数量
  9835. type: integer
  9836. marketid:
  9837. description: 市场ID
  9838. type: integer
  9839. openprice:
  9840. description: 建仓价格
  9841. type: number
  9842. openqty:
  9843. description: 建仓数量
  9844. type: integer
  9845. parentaccountid:
  9846. description: 所属母账户
  9847. type: integer
  9848. releaseamount:
  9849. description: 释放持仓金额[商品币种]
  9850. type: number
  9851. tradeamount:
  9852. description: 成交金额[账户]
  9853. type: number
  9854. tradedate:
  9855. description: 交易日(yyyyMMdd)
  9856. type: string
  9857. tradeid:
  9858. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9859. type: string
  9860. tradetime:
  9861. description: 交易时间
  9862. type: string
  9863. required:
  9864. - buyorsell
  9865. - tradeid
  9866. type: object
  9867. models.Hedgemarketopenlog:
  9868. properties:
  9869. accountid:
  9870. description: 资金账号[外部母账户]
  9871. type: integer
  9872. fcname:
  9873. description: 期货公司名称
  9874. type: string
  9875. handlestatus:
  9876. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9877. type: integer
  9878. marketid:
  9879. description: 市场ID
  9880. type: integer
  9881. status:
  9882. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9883. type: integer
  9884. tradedate:
  9885. description: 交易日(yyyyMMdd)
  9886. type: string
  9887. updatetime:
  9888. description: 更新时间
  9889. type: string
  9890. required:
  9891. - accountid
  9892. type: object
  9893. models.HsbyBuyMyPayOrder:
  9894. properties:
  9895. agreeunit:
  9896. description: 合约单位
  9897. type: number
  9898. buyaccountid:
  9899. description: 买方账号ID[报价币种]
  9900. type: integer
  9901. buyorderid:
  9902. description: 买方委托单号
  9903. type: string
  9904. createtime:
  9905. description: 创建时间
  9906. type: string
  9907. currencysign:
  9908. description: 货币符号
  9909. type: string
  9910. decimalplace:
  9911. description: 报价小数位
  9912. type: integer
  9913. goodscode:
  9914. description: 商品代码(内部)
  9915. type: string
  9916. goodsid:
  9917. description: 商品ID
  9918. type: integer
  9919. goodsname:
  9920. description: 商品名称
  9921. type: string
  9922. marketid:
  9923. description: 市场ID
  9924. type: integer
  9925. offamount:
  9926. description: 优惠金额
  9927. type: number
  9928. originalamount:
  9929. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9930. type: number
  9931. payamount:
  9932. description: 支付金额 = TradeAmount + TradeCharge
  9933. type: number
  9934. payflag:
  9935. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9936. type: integer
  9937. paylimitedtime:
  9938. description: 支付期限
  9939. type: string
  9940. paytime:
  9941. description: 付款时间
  9942. type: string
  9943. picurls1:
  9944. description: 预售商品介绍图片[多张用逗号分隔]
  9945. type: string
  9946. picurls2:
  9947. description: 挂牌商品介绍图片[多张用逗号分隔]
  9948. type: string
  9949. sellaccountid:
  9950. description: 卖方账号ID[报价币种]
  9951. type: integer
  9952. sellorderid:
  9953. description: 卖方委托单号
  9954. type: string
  9955. tradeamount:
  9956. description: 成交金额
  9957. type: number
  9958. tradecharge:
  9959. description: 成交手续费(买方)
  9960. type: number
  9961. tradedate:
  9962. description: 交易日(yyyyMMdd)
  9963. type: string
  9964. tradeid:
  9965. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9966. type: string
  9967. trademode:
  9968. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9969. 21:竞拍-大宗式 22:受托竞价
  9970. type: integer
  9971. tradeprice:
  9972. description: 成交价格
  9973. type: number
  9974. tradeqty:
  9975. description: 成交数量
  9976. type: integer
  9977. vendorname1:
  9978. description: 预售商品供应商名称
  9979. type: string
  9980. vendorname2:
  9981. description: 挂牌商品供应商名称
  9982. type: string
  9983. required:
  9984. - goodscode
  9985. - goodsname
  9986. - tradeid
  9987. - trademode
  9988. type: object
  9989. models.HsbyBuyMyTradeDetail:
  9990. properties:
  9991. accountid:
  9992. description: 账户ID[报价币种]
  9993. type: integer
  9994. agreeunit:
  9995. description: 合约单位
  9996. type: number
  9997. amount:
  9998. description: 金额 = 价格 * 数量 * 合约单位
  9999. type: number
  10000. buyorsell:
  10001. description: 买卖 - 0:买 1:卖
  10002. type: integer
  10003. currencysign:
  10004. description: 货币符号
  10005. type: string
  10006. decimalplace:
  10007. description: 报价小数位
  10008. type: integer
  10009. goodscode:
  10010. description: 商品代码(内部)
  10011. type: string
  10012. goodsid:
  10013. description: 商品ID
  10014. type: integer
  10015. goodsname:
  10016. description: 商品名称
  10017. type: string
  10018. marketid:
  10019. description: 市场ID
  10020. type: integer
  10021. orderamount:
  10022. description: 委托金额
  10023. type: number
  10024. orderid:
  10025. description: 单号(成交单号)
  10026. type: string
  10027. picurls1:
  10028. description: 预售商品介绍图片[多张用逗号分隔]
  10029. type: string
  10030. picurls2:
  10031. description: 挂牌商品介绍图片[多张用逗号分隔]
  10032. type: string
  10033. price:
  10034. description: 价格
  10035. type: number
  10036. qty:
  10037. description: 数量
  10038. type: integer
  10039. time:
  10040. description: 时间
  10041. type: string
  10042. trademode:
  10043. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10044. 21:竞拍-大宗式 22:受托竞价
  10045. type: integer
  10046. vendorname1:
  10047. description: 预售商品供应商名称
  10048. type: string
  10049. vendorname2:
  10050. description: 挂牌商品供应商名称
  10051. type: string
  10052. required:
  10053. - accountid
  10054. - buyorsell
  10055. - goodscode
  10056. - goodsid
  10057. - goodsname
  10058. - marketid
  10059. - orderid
  10060. - qty
  10061. - time
  10062. - trademode
  10063. type: object
  10064. models.HsbyGoodsOrderDetail:
  10065. properties:
  10066. buyorsell:
  10067. description: 买卖 - 0:买 1:卖
  10068. type: integer
  10069. currencysign:
  10070. description: 货币符号
  10071. type: string
  10072. customername:
  10073. description: 客户名称(企业名称),已脱敏
  10074. type: string
  10075. enableqty:
  10076. description: 可用数量
  10077. type: integer
  10078. goodunit:
  10079. description: 报价单位
  10080. type: string
  10081. orderid:
  10082. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10083. type: string
  10084. orderprice:
  10085. description: 委托价格
  10086. type: number
  10087. ordertime:
  10088. description: 委托时间
  10089. type: string
  10090. required:
  10091. - buyorsell
  10092. - orderid
  10093. - ordertime
  10094. type: object
  10095. models.HsbyListingGoodsDetail:
  10096. properties:
  10097. agreeunit:
  10098. description: 合约单位
  10099. type: number
  10100. buymaxqty:
  10101. description: 购买上限 [71] - 0为不限
  10102. type: integer
  10103. currency:
  10104. description: 货币
  10105. type: string
  10106. currencysign:
  10107. description: 货币符号
  10108. type: string
  10109. decimalplace:
  10110. description: 报价小数位
  10111. type: integer
  10112. desccityid:
  10113. description: 目的地(市)ID
  10114. type: integer
  10115. descprovinceid:
  10116. description: 目的地(省)ID
  10117. type: integer
  10118. goodscode:
  10119. description: 商品代码(内部)
  10120. type: string
  10121. goodsdesc:
  10122. description: 商品详情
  10123. type: string
  10124. goodsid:
  10125. description: 商品ID(自增ID SEQ_GOODS)
  10126. type: integer
  10127. goodsname:
  10128. description: 商品名称
  10129. type: string
  10130. goodsprice:
  10131. description: 商品价格
  10132. type: number
  10133. hotindex:
  10134. description: 景点热度
  10135. type: integer
  10136. last:
  10137. description: 现价
  10138. type: number
  10139. limitdown:
  10140. description: 跌停价
  10141. type: number
  10142. limitup:
  10143. description: 涨停价
  10144. type: number
  10145. lotsize:
  10146. description: 手数最小变动单位
  10147. type: integer
  10148. marketid:
  10149. description: 所属市场ID
  10150. type: integer
  10151. picurls:
  10152. description: 介绍图片[多张用逗号分隔]
  10153. type: string
  10154. quoteminunit:
  10155. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10156. type: integer
  10157. stepvalue:
  10158. description: 价格最小变动单位
  10159. type: number
  10160. trademode:
  10161. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10162. 21:竞拍-大宗式 22:受托竞价
  10163. type: integer
  10164. vendorattr:
  10165. description: 供应商附件(多张,逗号分隔)
  10166. type: string
  10167. vendorname:
  10168. description: 供应商名称
  10169. type: string
  10170. vendorphone:
  10171. description: 供应商客服电话
  10172. type: string
  10173. videourls:
  10174. description: 介绍视频[多张用逗号分隔]
  10175. type: string
  10176. required:
  10177. - goodscode
  10178. - goodsid
  10179. - goodsname
  10180. - marketid
  10181. - trademode
  10182. type: object
  10183. models.HsbyMarketGoods:
  10184. properties:
  10185. accountid:
  10186. description: 账户ID[报价币种]
  10187. type: integer
  10188. agreeunit:
  10189. description: 合约单位
  10190. type: number
  10191. buyorsell:
  10192. description: 买卖 - 0:买 1:卖
  10193. type: integer
  10194. categoryid:
  10195. description: 类别ID(WRCATEGORY)
  10196. type: integer
  10197. currency:
  10198. description: 货币
  10199. type: string
  10200. currencysign:
  10201. description: 货币符号
  10202. type: string
  10203. customername:
  10204. description: 卖家名称
  10205. type: string
  10206. decimalplace:
  10207. description: 报价小数位
  10208. type: integer
  10209. goodscode:
  10210. description: 商品代码(内部)
  10211. type: string
  10212. goodsid:
  10213. description: 商品ID
  10214. type: integer
  10215. goodsname:
  10216. description: 商品名称
  10217. type: string
  10218. goodsprice:
  10219. description: 商品价格
  10220. type: number
  10221. hascoupon:
  10222. description: 是否可用优惠卷
  10223. type: boolean
  10224. hotindex:
  10225. description: 景点热度
  10226. type: integer
  10227. marketid:
  10228. description: 市场ID
  10229. type: integer
  10230. orderid:
  10231. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10232. type: string
  10233. orderprice:
  10234. description: 委托价格
  10235. type: number
  10236. orderstatus:
  10237. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10238. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10239. 16:成交失败违约(荷兰式竞拍专用)
  10240. type: integer
  10241. picurls:
  10242. description: 介绍图片[多张用逗号分隔]
  10243. type: string
  10244. quoteminunit:
  10245. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10246. type: integer
  10247. sellUserID:
  10248. description: 卖方UserID
  10249. type: integer
  10250. trademode:
  10251. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10252. 21:竞拍-大宗式 22:受托竞价
  10253. type: integer
  10254. videourls:
  10255. description: 介绍视频[多张用逗号分隔]
  10256. type: string
  10257. required:
  10258. - accountid
  10259. - buyorsell
  10260. - goodscode
  10261. - goodsid
  10262. - goodsname
  10263. - marketid
  10264. - orderid
  10265. - trademode
  10266. type: object
  10267. models.HsbyMarketGoodsDetail:
  10268. properties:
  10269. accountid:
  10270. description: 账户ID[报价币种]
  10271. type: integer
  10272. agreeunit:
  10273. description: 合约单位
  10274. type: number
  10275. buymaxqty:
  10276. description: 购买上限 [71] - 0为不限
  10277. type: integer
  10278. buyorsell:
  10279. description: 买卖 - 0:买 1:卖
  10280. type: integer
  10281. cancelqty:
  10282. description: 撤单数量
  10283. type: integer
  10284. categoryid:
  10285. description: 类别ID(WRCATEGORY)
  10286. type: integer
  10287. currency:
  10288. description: 货币
  10289. type: string
  10290. currencysign:
  10291. description: 货币符号
  10292. type: string
  10293. customername:
  10294. description: 卖家名称
  10295. type: string
  10296. decimalplace:
  10297. description: 报价小数位
  10298. type: integer
  10299. goodscode:
  10300. description: 商品代码(内部)
  10301. type: string
  10302. goodsdesc:
  10303. description: 商品详情
  10304. type: string
  10305. goodsid:
  10306. description: 商品ID
  10307. type: integer
  10308. goodsname:
  10309. description: 商品名称
  10310. type: string
  10311. goodsprice:
  10312. description: 商品价格
  10313. type: number
  10314. hotindex:
  10315. description: 景点热度
  10316. type: integer
  10317. lotsize:
  10318. description: 手数最小变动单位
  10319. type: integer
  10320. marketid:
  10321. description: 市场ID
  10322. type: integer
  10323. orderid:
  10324. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10325. type: string
  10326. orderprice:
  10327. description: 委托价格
  10328. type: number
  10329. orderqty:
  10330. description: 委托数量
  10331. type: integer
  10332. orderstatus:
  10333. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10334. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10335. 16:成交失败违约(荷兰式竞拍专用)
  10336. type: integer
  10337. picurls:
  10338. description: 介绍图片[多张用逗号分隔]
  10339. type: string
  10340. quoteminunit:
  10341. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10342. type: integer
  10343. sellUserID:
  10344. description: 卖方UserID
  10345. type: integer
  10346. trademode:
  10347. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10348. 21:竞拍-大宗式 22:受托竞价
  10349. type: integer
  10350. tradeqty:
  10351. description: 成交数量
  10352. type: integer
  10353. vendorattr:
  10354. description: 供应商附件(多张,逗号分隔)
  10355. type: string
  10356. vendorname:
  10357. description: 供应商名称
  10358. type: string
  10359. vendorphone:
  10360. description: 供应商客服电话
  10361. type: string
  10362. videourls:
  10363. description: 介绍视频[多张用逗号分隔]
  10364. type: string
  10365. required:
  10366. - accountid
  10367. - buyorsell
  10368. - goodscode
  10369. - goodsid
  10370. - goodsname
  10371. - marketid
  10372. - orderid
  10373. - orderqty
  10374. - trademode
  10375. type: object
  10376. models.HsbyMarketInfo:
  10377. properties:
  10378. marketid:
  10379. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10380. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10381. type: integer
  10382. marketname:
  10383. description: 市场名称
  10384. type: string
  10385. marketstatus:
  10386. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10387. type: integer
  10388. trademode:
  10389. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10390. 21:竞拍-大宗式 22:受托竞价
  10391. type: integer
  10392. required:
  10393. - marketid
  10394. - marketstatus
  10395. - trademode
  10396. type: object
  10397. models.HsbyMyGoods:
  10398. properties:
  10399. accountid:
  10400. description: 账号Id
  10401. type: integer
  10402. agreeunit:
  10403. description: 合约单位
  10404. type: number
  10405. buyaverageprice:
  10406. description: 持仓均价
  10407. type: number
  10408. buycurholderamount:
  10409. description: 买当前持仓总金额[商品币种]
  10410. type: number
  10411. buycurpositionqty:
  10412. description: 买当前持仓总数量
  10413. type: integer
  10414. buymaxqty:
  10415. description: 购买上限 [71] - 0为不限
  10416. type: integer
  10417. currencysign:
  10418. description: 货币符号
  10419. type: string
  10420. decimalplace:
  10421. description: 报价小数位
  10422. type: integer
  10423. enableqty:
  10424. description: 可用数量
  10425. type: integer
  10426. goodscode:
  10427. description: 商品代码(内部)
  10428. type: string
  10429. goodsid:
  10430. description: 商品Id
  10431. type: integer
  10432. goodsname:
  10433. description: 商品名称
  10434. type: string
  10435. goodsprice:
  10436. description: 商品价格
  10437. type: number
  10438. goodsstatus:
  10439. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10440. type: integer
  10441. last:
  10442. description: 现价(仅使用于挂牌点选)
  10443. type: number
  10444. limitdown:
  10445. description: 跌停价(仅使用于挂牌点选)
  10446. type: number
  10447. limitup:
  10448. description: 涨停价(仅使用于挂牌点选)
  10449. type: number
  10450. lotsize:
  10451. description: 手数最小变动单位
  10452. type: integer
  10453. marketid:
  10454. description: 所属市场ID
  10455. type: integer
  10456. picurls:
  10457. description: 介绍图片[多张用逗号分隔]
  10458. type: string
  10459. quoteminunit:
  10460. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10461. type: integer
  10462. stepvalue:
  10463. description: 价格最小变动单位
  10464. type: number
  10465. trademode:
  10466. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10467. 21:竞拍-大宗式 22:受托竞价
  10468. type: integer
  10469. required:
  10470. - accountid
  10471. - goodscode
  10472. - goodsid
  10473. - goodsname
  10474. - marketid
  10475. - trademode
  10476. type: object
  10477. models.HsbyMyPackage:
  10478. properties:
  10479. accountid:
  10480. description: 账户ID
  10481. type: integer
  10482. address:
  10483. description: 提货人详细地址
  10484. type: string
  10485. agreeunit:
  10486. description: 合约单位
  10487. type: number
  10488. amount:
  10489. description: 提货金额
  10490. type: number
  10491. auditer:
  10492. description: 审核人
  10493. type: integer
  10494. audittime:
  10495. description: 审核时间
  10496. type: string
  10497. averageprice:
  10498. description: 均价
  10499. type: number
  10500. cardnum:
  10501. description: 提货人证件号码
  10502. type: string
  10503. cardtypeid:
  10504. description: 提货人证件类型
  10505. type: integer
  10506. checkremark:
  10507. description: 审核备注
  10508. type: string
  10509. currencysign:
  10510. description: 货币符号
  10511. type: string
  10512. decimalplace:
  10513. description: 报价小数位
  10514. type: integer
  10515. goodscode:
  10516. description: 商品代码(内部)
  10517. type: string
  10518. goodsid:
  10519. description: 商品ID
  10520. type: integer
  10521. goodsname:
  10522. description: 商品名称
  10523. type: string
  10524. handlestatus:
  10525. description: 处理状态
  10526. type: integer
  10527. marketid:
  10528. description: 市场ID
  10529. type: integer
  10530. phonenum:
  10531. description: 提货人联系方式
  10532. type: string
  10533. picurls:
  10534. description: 介绍图片[多张用逗号分隔]
  10535. type: string
  10536. qty:
  10537. description: 提货数量
  10538. type: number
  10539. recivername:
  10540. description: 提货人姓名
  10541. type: string
  10542. reqtime:
  10543. description: 更新时间
  10544. type: string
  10545. takemode:
  10546. description: 提货方式 - 2:自提 3:配送
  10547. type: integer
  10548. takeorderid:
  10549. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10550. type: string
  10551. takeorderstatus:
  10552. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10553. type: integer
  10554. takeremark:
  10555. description: 提货备注
  10556. type: string
  10557. tradedate:
  10558. description: 交易日(yyyyMMdd)
  10559. type: string
  10560. trademode:
  10561. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10562. 21:竞拍-大宗式 22:受托竞价
  10563. type: integer
  10564. userid:
  10565. description: 用户ID
  10566. type: integer
  10567. vendorname:
  10568. description: 供应商名称
  10569. type: string
  10570. required:
  10571. - goodscode
  10572. - goodsname
  10573. - takeorderid
  10574. - trademode
  10575. type: object
  10576. models.HsbyPreGoods:
  10577. properties:
  10578. agreeunit:
  10579. description: 合约单位
  10580. type: number
  10581. currency:
  10582. description: 货币
  10583. type: string
  10584. currencysign:
  10585. description: 货币符号
  10586. type: string
  10587. decimalplace:
  10588. description: 报价小数位
  10589. type: integer
  10590. desccityid:
  10591. description: 目的地(市)
  10592. type: integer
  10593. descprovinceid:
  10594. description: 目的地(省)
  10595. type: integer
  10596. enableqty:
  10597. description: 剩余数量
  10598. type: integer
  10599. goodscode:
  10600. description: 商品代码(内部)
  10601. type: string
  10602. goodsid:
  10603. description: 商品ID(自增ID SEQ_GOODS)
  10604. type: integer
  10605. goodsname:
  10606. description: 商品名称
  10607. type: string
  10608. goodsstatus:
  10609. description: 商品状态- 2:未上市 3:上市
  10610. type: integer
  10611. lasttradedate:
  10612. description: 最后交易日期(状态:待退市)
  10613. type: string
  10614. listingdate:
  10615. description: 交易开始日期
  10616. type: string
  10617. marketid:
  10618. description: 所属市场ID
  10619. type: integer
  10620. picurls:
  10621. description: 介绍图片[多张用逗号分隔]
  10622. type: string
  10623. presaledqty:
  10624. description: 已预售量(预售结束时更新)
  10625. type: integer
  10626. presaleqty:
  10627. description: 预售数量
  10628. type: integer
  10629. quoteminunit:
  10630. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10631. type: integer
  10632. refprice:
  10633. description: 参考价格[一口价]
  10634. type: number
  10635. relatedgoodsid:
  10636. description: 关联交易合约ID
  10637. type: integer
  10638. trademode:
  10639. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10640. 21:竞拍-大宗式 22:受托竞价
  10641. type: integer
  10642. videourls:
  10643. description: 介绍视频[多张用逗号分隔]
  10644. type: string
  10645. required:
  10646. - goodscode
  10647. - goodsid
  10648. - goodsname
  10649. - marketid
  10650. - trademode
  10651. type: object
  10652. models.HsbyPreGoodsDetail:
  10653. properties:
  10654. agreeunit:
  10655. description: 合约单位
  10656. type: number
  10657. buymaxqty:
  10658. description: 购买上限 [71] - 0为不限
  10659. type: integer
  10660. currency:
  10661. description: 货币
  10662. type: string
  10663. currencysign:
  10664. description: 货币符号
  10665. type: string
  10666. customername:
  10667. description: 发行单位
  10668. type: string
  10669. decimalplace:
  10670. description: 报价小数位
  10671. type: integer
  10672. desccityid:
  10673. description: 目的地(市)ID
  10674. type: integer
  10675. descprovinceid:
  10676. description: 目的地(省)ID
  10677. type: integer
  10678. enableqty:
  10679. description: 剩余数量
  10680. type: integer
  10681. goodscode:
  10682. description: 商品代码(内部)
  10683. type: string
  10684. goodsdesc:
  10685. description: 商品详情
  10686. type: string
  10687. goodsid:
  10688. description: 商品ID(自增ID SEQ_GOODS)
  10689. type: integer
  10690. goodsname:
  10691. description: 商品名称
  10692. type: string
  10693. goodsstatus:
  10694. description: 商品状态- 2:未上市 3:上市
  10695. type: integer
  10696. goodunit:
  10697. description: 报价单位
  10698. type: string
  10699. lasttradedate:
  10700. description: 最后交易日期(状态:待退市)
  10701. type: string
  10702. listingdate:
  10703. description: 交易开始日期
  10704. type: string
  10705. lotsize:
  10706. description: 手数最小变动单位
  10707. type: integer
  10708. marketid:
  10709. description: 所属市场ID
  10710. type: integer
  10711. picurls:
  10712. description: 介绍图片[多张用逗号分隔]
  10713. type: string
  10714. presaledqty:
  10715. description: 已预售量(预售结束时更新)
  10716. type: integer
  10717. presaleqty:
  10718. description: 预售数量
  10719. type: integer
  10720. quoteminunit:
  10721. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10722. type: integer
  10723. refprice:
  10724. description: 参考价格[一口价]
  10725. type: number
  10726. relatedgoodsid:
  10727. description: 关联交易合约ID
  10728. type: integer
  10729. stepvalue:
  10730. description: 价格最小变动单位
  10731. type: number
  10732. trademode:
  10733. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10734. 21:竞拍-大宗式 22:受托竞价
  10735. type: integer
  10736. vendorattr:
  10737. description: 供应商附件(多张,逗号分隔)
  10738. type: string
  10739. vendorname:
  10740. description: 供应商名称
  10741. type: string
  10742. vendorphone:
  10743. description: 供应商客服电话
  10744. type: string
  10745. videourls:
  10746. description: 介绍视频[多张用逗号分隔]
  10747. type: string
  10748. required:
  10749. - goodscode
  10750. - goodsid
  10751. - goodsname
  10752. - marketid
  10753. - trademode
  10754. type: object
  10755. models.HsbySellCollectionOrder:
  10756. properties:
  10757. agreeunit:
  10758. description: 合约单位
  10759. type: number
  10760. buyaccountid:
  10761. description: 买方账号ID[报价币种]
  10762. type: integer
  10763. buyorderid:
  10764. description: 买方委托单号
  10765. type: string
  10766. createtime:
  10767. description: 创建时间
  10768. type: string
  10769. currencysign:
  10770. description: 货币符号
  10771. type: string
  10772. decimalplace:
  10773. description: 报价小数位
  10774. type: integer
  10775. goodscode:
  10776. description: 商品代码(内部)
  10777. type: string
  10778. goodsid:
  10779. description: 商品ID
  10780. type: integer
  10781. goodsname:
  10782. description: 商品名称
  10783. type: string
  10784. marketid:
  10785. description: 市场ID
  10786. type: integer
  10787. offamount:
  10788. description: 优惠金额
  10789. type: number
  10790. payamount:
  10791. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10792. type: number
  10793. payflag:
  10794. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10795. type: integer
  10796. paylimitedtime:
  10797. description: 支付期限
  10798. type: string
  10799. paytime:
  10800. description: 付款时间
  10801. type: string
  10802. picurls:
  10803. description: 商品介绍图片[多张用逗号分隔]
  10804. type: string
  10805. sellaccountid:
  10806. description: 卖方账号ID[报价币种]
  10807. type: integer
  10808. sellorderid:
  10809. description: 卖方委托单号
  10810. type: string
  10811. tradeamount:
  10812. description: 成交金额
  10813. type: number
  10814. tradecharge:
  10815. description: 成交手续费(买方)
  10816. type: number
  10817. tradedate:
  10818. description: 交易日(yyyyMMdd)
  10819. type: string
  10820. tradeid:
  10821. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10822. type: string
  10823. trademode:
  10824. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10825. 21:竞拍-大宗式 22:受托竞价
  10826. type: integer
  10827. tradeprice:
  10828. description: 成交价格
  10829. type: number
  10830. tradeqty:
  10831. description: 成交数量
  10832. type: integer
  10833. required:
  10834. - goodscode
  10835. - goodsname
  10836. - tradeid
  10837. - trademode
  10838. type: object
  10839. models.HsbySellMyDetail:
  10840. properties:
  10841. accountid:
  10842. description: 账户ID[报价币种]
  10843. type: integer
  10844. agreeunit:
  10845. description: 合约单位
  10846. type: number
  10847. buyorsell:
  10848. description: 买卖 - 0:买 1:卖
  10849. type: integer
  10850. currencysign:
  10851. description: 货币符号
  10852. type: string
  10853. decimalplace:
  10854. description: 报价小数位
  10855. type: integer
  10856. goodscode:
  10857. description: 商品代码(内部)
  10858. type: string
  10859. goodsid:
  10860. description: 商品ID
  10861. type: integer
  10862. goodsname:
  10863. description: 商品名称
  10864. type: string
  10865. marketid:
  10866. description: 市场ID
  10867. type: integer
  10868. orderid:
  10869. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10870. type: string
  10871. ordertype:
  10872. description: 单据类型:0 - 发布中, 1 - 已完成
  10873. type: integer
  10874. picurls:
  10875. description: 介绍图片[多张用逗号分隔]
  10876. type: string
  10877. price:
  10878. description: 价格
  10879. type: number
  10880. qty:
  10881. description: 数量
  10882. type: integer
  10883. time:
  10884. description: 时间
  10885. type: string
  10886. trademode:
  10887. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10888. 21:竞拍-大宗式 22:受托竞价
  10889. type: integer
  10890. vendorname:
  10891. description: 供应商名称
  10892. type: string
  10893. required:
  10894. - accountid
  10895. - buyorsell
  10896. - goodscode
  10897. - goodsid
  10898. - goodsname
  10899. - marketid
  10900. - orderid
  10901. - time
  10902. - trademode
  10903. type: object
  10904. models.HsbyTopGoods:
  10905. properties:
  10906. agreeunit:
  10907. description: 合约单位
  10908. type: number
  10909. currency:
  10910. description: 货币
  10911. type: string
  10912. currencysign:
  10913. description: 货币符号
  10914. type: string
  10915. decimalplace:
  10916. description: 报价小数位
  10917. type: integer
  10918. desccityid:
  10919. description: 目的地(市)
  10920. type: integer
  10921. descprovinceid:
  10922. description: 目的地(省)
  10923. type: integer
  10924. goodscode:
  10925. description: 商品代码(内部)
  10926. type: string
  10927. goodsid:
  10928. description: 商品ID(自增ID SEQ_GOODS)
  10929. type: integer
  10930. goodsname:
  10931. description: 商品名称
  10932. type: string
  10933. hotindex:
  10934. description: 景点热度
  10935. type: integer
  10936. last:
  10937. description: 现价
  10938. type: number
  10939. marketid:
  10940. description: 所属市场ID
  10941. type: integer
  10942. picurls:
  10943. description: 介绍图片[多张用逗号分隔]
  10944. type: string
  10945. quoteminunit:
  10946. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10947. type: integer
  10948. trademode:
  10949. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10950. 21:竞拍-大宗式 22:受托竞价
  10951. type: integer
  10952. videourls:
  10953. description: 介绍视频[多张用逗号分隔]
  10954. type: string
  10955. required:
  10956. - goodscode
  10957. - goodsid
  10958. - goodsname
  10959. - marketid
  10960. - trademode
  10961. type: object
  10962. models.HybsMyBuyOrderDetail:
  10963. properties:
  10964. accountid:
  10965. description: 账户ID[报价币种]
  10966. type: integer
  10967. agreeunit:
  10968. description: 合约单位
  10969. type: number
  10970. buyorsell:
  10971. description: 买卖 - 0:买 1:卖
  10972. type: integer
  10973. cancelqty:
  10974. description: 撤单数量
  10975. type: integer
  10976. currencysign:
  10977. description: 货币符号
  10978. type: string
  10979. decimalplace:
  10980. description: 报价小数位
  10981. type: integer
  10982. goodscode:
  10983. description: 商品代码(内部)
  10984. type: string
  10985. goodsid:
  10986. description: 商品ID
  10987. type: integer
  10988. goodsname:
  10989. description: 商品名称
  10990. type: string
  10991. listingselecttype:
  10992. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10993. type: integer
  10994. marketid:
  10995. description: 市场ID
  10996. type: integer
  10997. mybuystatus:
  10998. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10999. type: integer
  11000. orderamount:
  11001. description: 委托金额
  11002. type: number
  11003. orderid:
  11004. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11005. type: string
  11006. orderprice:
  11007. description: 委托价格
  11008. type: number
  11009. orderqty:
  11010. description: 委托数量
  11011. type: integer
  11012. orderstatus:
  11013. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11014. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11015. 16:成交失败违约(荷兰式竞拍专用)
  11016. type: integer
  11017. ordertime:
  11018. description: 委托时间
  11019. type: string
  11020. picurls1:
  11021. description: 预售商品介绍图片[多张用逗号分隔]
  11022. type: string
  11023. picurls2:
  11024. description: 挂牌商品介绍图片[多张用逗号分隔]
  11025. type: string
  11026. trademode:
  11027. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11028. 21:竞拍-大宗式 22:受托竞价
  11029. type: integer
  11030. tradeqty:
  11031. description: 成交数量
  11032. type: integer
  11033. vendorname1:
  11034. description: 预售商品供应商名称
  11035. type: string
  11036. vendorname2:
  11037. description: 挂牌商品供应商名称
  11038. type: string
  11039. required:
  11040. - accountid
  11041. - buyorsell
  11042. - goodscode
  11043. - goodsid
  11044. - goodsname
  11045. - marketid
  11046. - orderid
  11047. - orderqty
  11048. - ordertime
  11049. - trademode
  11050. type: object
  11051. models.InternalEnableTradeDetail:
  11052. properties:
  11053. agreeunit:
  11054. description: 合约乘数
  11055. type: number
  11056. areauserid:
  11057. description: 企业ID
  11058. type: integer
  11059. convertratio:
  11060. description: 品种系数
  11061. type: number
  11062. deliverygoodscode:
  11063. description: 现货品种代码
  11064. type: string
  11065. deliverygoodsid:
  11066. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11067. type: integer
  11068. deliverygoodsname:
  11069. description: 现货品种名称
  11070. type: string
  11071. futurehedgeqty:
  11072. description: '[已关联数量]期货持仓套期量'
  11073. type: number
  11074. goodsid:
  11075. description: 期货合约ID
  11076. type: integer
  11077. hedgeditemid:
  11078. description: 被套期项目ID
  11079. type: string
  11080. hedgeditemnum:
  11081. description: 项目编号
  11082. type: string
  11083. unexehedgeqty:
  11084. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11085. type: number
  11086. unexespotqty:
  11087. description: 未执行现货量
  11088. type: number
  11089. wrstandardcode:
  11090. description: 现货品类代码
  11091. type: string
  11092. wrstandardid:
  11093. description: 现货品类ID(SEQ_WRSTANDARD)
  11094. type: integer
  11095. wrstandardname:
  11096. description: 现货品类名称
  11097. type: string
  11098. required:
  11099. - areauserid
  11100. - goodsid
  11101. type: object
  11102. models.InternalUncorrelatedTradeDetail:
  11103. properties:
  11104. accountid:
  11105. description: 账号ID
  11106. type: integer
  11107. accountname:
  11108. description: 套期主体
  11109. type: string
  11110. agreeunit:
  11111. description: 合约乘数
  11112. type: number
  11113. areauserid:
  11114. description: 所属机构
  11115. type: integer
  11116. bizsubjectid:
  11117. description: 归属业务部门ID - SubjectID
  11118. type: integer
  11119. buyorsell:
  11120. description: 方向 - 0:买 1:卖
  11121. type: integer
  11122. channelbuildtype:
  11123. description: 委托单据类型 0:无 1:建仓 2:平仓
  11124. type: integer
  11125. convertratio:
  11126. description: 品种系数
  11127. type: number
  11128. createtime:
  11129. description: 创建时间
  11130. type: string
  11131. creatorid:
  11132. description: 创建人ID
  11133. type: integer
  11134. creatorsrc:
  11135. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11136. type: integer
  11137. enableqty:
  11138. description: 项目可关联手数 = 成交手数 - 关联数量
  11139. type: number
  11140. goodscode:
  11141. description: 合约代码
  11142. type: string
  11143. goodsgroupid:
  11144. description: 对冲品种ID[期货合约商品组ID]
  11145. type: integer
  11146. goodsid:
  11147. description: 商品ID
  11148. type: integer
  11149. goodsname:
  11150. description: 合约名称
  11151. type: string
  11152. hedgeditemid:
  11153. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11154. type: integer
  11155. hedgeflag:
  11156. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11157. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11158. type: integer
  11159. linkdetailid:
  11160. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11161. type: string
  11162. linkstatus:
  11163. description: 关联状态 - 1:成功 2:失败 3:解绑
  11164. type: integer
  11165. middlegoodsid:
  11166. description: 套保品种ID
  11167. type: integer
  11168. relatedlot:
  11169. description: '[数量]关联手数'
  11170. type: number
  11171. relatedmode:
  11172. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11173. type: integer
  11174. relatedqty:
  11175. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  11176. type: number
  11177. retcode:
  11178. description: 返回码
  11179. type: integer
  11180. saleuserid:
  11181. description: 业务员ID
  11182. type: integer
  11183. tradedate:
  11184. description: 关联交易日(yyyyMMdd)
  11185. type: string
  11186. tradeid:
  11187. description: 成交单号
  11188. type: string
  11189. tradelot:
  11190. description: 成交手数
  11191. type: integer
  11192. tradeprice:
  11193. description: 成交价
  11194. type: number
  11195. tradetime:
  11196. description: 成交时间
  11197. type: string
  11198. tradetradedate:
  11199. description: 成交交易日(yyyyMMdd)
  11200. type: string
  11201. type: object
  11202. models.Loginaccount:
  11203. properties:
  11204. accountname:
  11205. description: 账户名称
  11206. type: string
  11207. canoutin:
  11208. description: 是否可出入金 - 0:不可 1:可
  11209. type: integer
  11210. clientroleid:
  11211. description: 终端角色ID
  11212. type: integer
  11213. haslogined:
  11214. description: 是否已登录 - 0:未登录 1:已登录
  11215. type: integer
  11216. hasupdatedpwd:
  11217. description: 是否已更改密码 - 0:未修改 1:已修改
  11218. type: integer
  11219. lastloginip:
  11220. description: 最新登录地址
  11221. type: string
  11222. lastloginmode:
  11223. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11224. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11225. type: integer
  11226. lastloginremark:
  11227. description: 最新登录描述
  11228. type: string
  11229. lastlogintime:
  11230. description: 最新登录时间
  11231. type: string
  11232. logincode:
  11233. description: 登录代码
  11234. type: string
  11235. loginfailnum:
  11236. description: 连续登录失败次数(登录成功时清零)
  11237. type: integer
  11238. loginid:
  11239. description: 登陆账号
  11240. type: integer
  11241. loginport:
  11242. description: 最新登录端口
  11243. type: integer
  11244. loginstatus:
  11245. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11246. type: integer
  11247. loginusertype:
  11248. description: 登录账号类型 - 1:投资者 2:机构交易员
  11249. type: integer
  11250. mobile:
  11251. description: 手机号码(加密存储)
  11252. type: string
  11253. modifierid:
  11254. description: 修改人
  11255. type: integer
  11256. modifysrc:
  11257. description: 审核来源 - 1:管理端 2:终端
  11258. type: integer
  11259. modifytime:
  11260. description: 修改时间
  11261. type: string
  11262. password:
  11263. description: 登陆密码
  11264. type: string
  11265. pwdwrongcount:
  11266. description: 密码错误次数
  11267. type: integer
  11268. relateduserid:
  11269. description: 关联用户ID(机构)
  11270. type: integer
  11271. taaccountrighttype:
  11272. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11273. type: integer
  11274. unfreezetime:
  11275. description: 账户解冻时间
  11276. type: string
  11277. userid:
  11278. description: 用户ID
  11279. type: integer
  11280. required:
  11281. - loginid
  11282. type: object
  11283. models.MainAccountInfo:
  11284. properties:
  11285. accountid:
  11286. description: 账号id
  11287. type: integer
  11288. accountname:
  11289. description: 账号名称(taaccount表中的名称)
  11290. type: string
  11291. appid:
  11292. description: AppID
  11293. type: string
  11294. authcode:
  11295. description: 授权码
  11296. type: string
  11297. brokerid:
  11298. description: 经纪商id
  11299. type: string
  11300. fcid:
  11301. description: 期货公司id
  11302. type: integer
  11303. fcname:
  11304. description: 期货公司代码
  11305. type: string
  11306. hedgeaccountcode:
  11307. description: 外部账号代码(主账号登录代码)
  11308. type: string
  11309. hedgeaccountpwd:
  11310. description: 密码
  11311. type: string
  11312. ismain:
  11313. description: 是否主账号
  11314. type: integer
  11315. relateduserid:
  11316. description: 关联用户id
  11317. type: integer
  11318. userid:
  11319. description: 关联用户id
  11320. type: integer
  11321. type: object
  11322. models.Market:
  11323. properties:
  11324. auctionwrtype:
  11325. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11326. type: integer
  11327. canacceptquote:
  11328. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11329. type: integer
  11330. cangoodsexercise:
  11331. description: '[期权]是否可现货行权- 0:否 1:是'
  11332. type: integer
  11333. cangoodsexercisetype:
  11334. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11335. type: integer
  11336. canmanualquotestrike:
  11337. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11338. type: integer
  11339. canmutistage:
  11340. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11341. type: integer
  11342. canpreexercise:
  11343. description: '[期权]是否可预申报- 0:否 1:是'
  11344. type: integer
  11345. clearinterval:
  11346. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11347. type: integer
  11348. contracttmp:
  11349. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11350. type: string
  11351. exchareaid:
  11352. description: 所属交易所,可以没有
  11353. type: integer
  11354. goodstype:
  11355. description: 商品类型 - 1:交易商品 2:仓单商品
  11356. type: integer
  11357. hasrebate:
  11358. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11359. type: integer
  11360. hastradecredit:
  11361. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11362. type: integer
  11363. haswr:
  11364. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11365. type: integer
  11366. isdeductmargin:
  11367. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11368. type: integer
  11369. isrecordsource:
  11370. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11371. type: integer
  11372. isreleasemargin:
  11373. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11374. type: integer
  11375. marginformula:
  11376. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11377. type: integer
  11378. marginformula2:
  11379. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11380. type: integer
  11381. marketid:
  11382. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11383. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11384. type: integer
  11385. marketname:
  11386. description: 市场名称
  11387. type: string
  11388. marketserviceid:
  11389. description: 市场服务ID
  11390. type: integer
  11391. marketstatus:
  11392. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11393. type: integer
  11394. markettype:
  11395. description: 市场类型- 1:非交易服务 2:交易服务
  11396. type: integer
  11397. matchermode:
  11398. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11399. type: integer
  11400. openmethod:
  11401. description: 开盘模式 - 0 自动 1手动
  11402. type: integer
  11403. otcuserid:
  11404. description: 场外期权做市商[场外期权]
  11405. type: integer
  11406. outersynctime:
  11407. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11408. type: string
  11409. pendingflag:
  11410. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11411. type: integer
  11412. pendingtime:
  11413. description: 待开市时间[通道交易-对冲](HH:mm)
  11414. type: string
  11415. performancetempid:
  11416. description: 履约计划模板ID - 作废
  11417. type: integer
  11418. premiumquotemode:
  11419. description: 权利金报价方式 - 1:自动 2:手动
  11420. type: integer
  11421. rebateratio:
  11422. description: 返利比率[竞价式]
  11423. type: number
  11424. reckonorder:
  11425. description: 结算顺序
  11426. type: integer
  11427. reckonpricealgorithm:
  11428. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11429. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11430. type: integer
  11431. reckonpriceparam:
  11432. description: 结算价参数
  11433. type: integer
  11434. reckontime:
  11435. description: 结算时间[通道交易-对冲](HH:mm)
  11436. type: string
  11437. roleprioritytype:
  11438. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11439. type: integer
  11440. selllistingauditflag:
  11441. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11442. type: integer
  11443. trademarkettype:
  11444. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11445. type: integer
  11446. trademode:
  11447. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11448. 21:竞拍-大宗式 22:受托竞价
  11449. type: integer
  11450. tradeproperty:
  11451. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11452. 8:场外期权
  11453. type: integer
  11454. tradetype:
  11455. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11456. type: integer
  11457. required:
  11458. - marketid
  11459. - marketstatus
  11460. - openmethod
  11461. - reckonpricealgorithm
  11462. - trademode
  11463. - tradeproperty
  11464. type: object
  11465. models.Marketrun:
  11466. properties:
  11467. afternexttradedate:
  11468. description: 下下交易日
  11469. type: string
  11470. clearquoteflag:
  11471. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11472. type: integer
  11473. lastreckondate:
  11474. description: 最新交易日(结算成功)
  11475. type: string
  11476. machinedate:
  11477. description: 机器时间
  11478. type: string
  11479. manualflag:
  11480. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11481. type: integer
  11482. marketid:
  11483. description: 市场ID
  11484. type: integer
  11485. nexttradedate:
  11486. description: 下一交易日
  11487. type: string
  11488. pretradedate:
  11489. description: 上一交易日
  11490. type: string
  11491. reckonflag:
  11492. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11493. type: integer
  11494. runstatus:
  11495. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11496. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11497. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11498. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11499. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11500. 62.今日免清算
  11501. type: integer
  11502. sectionid:
  11503. description: 时间段号[多时段时用]
  11504. type: integer
  11505. tradedate:
  11506. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11507. type: string
  11508. tradedate2:
  11509. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11510. type: string
  11511. updatetime:
  11512. description: 更新时间
  11513. type: string
  11514. required:
  11515. - marketid
  11516. - nexttradedate
  11517. - reckonflag
  11518. - runstatus
  11519. - tradedate
  11520. - tradedate2
  11521. type: object
  11522. models.Messageboard:
  11523. properties:
  11524. contactnum:
  11525. description: 联系电话
  11526. type: string
  11527. createtime:
  11528. description: 创建时间
  11529. type: string
  11530. message:
  11531. description: 留言信息
  11532. type: string
  11533. messageboardid:
  11534. description: 留言簿ID(SEQ_MessageBoard)
  11535. type: integer
  11536. userid:
  11537. description: 用户ID
  11538. type: integer
  11539. required:
  11540. - messageboardid
  11541. type: object
  11542. models.MyCoupon:
  11543. properties:
  11544. accountid:
  11545. description: 资金账户ID
  11546. type: integer
  11547. areauserid:
  11548. description: 所属机构
  11549. type: integer
  11550. conditionvalue:
  11551. description: 条件阈值(可为0)
  11552. type: number
  11553. couponcategroy:
  11554. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11555. type: integer
  11556. couponname:
  11557. description: 优惠券名称
  11558. type: string
  11559. coupontypeid:
  11560. description: 优惠券类型ID
  11561. type: string
  11562. couponvalue:
  11563. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11564. type: number
  11565. curfreezeqty:
  11566. description: 期末冻结数量
  11567. type: integer
  11568. curqty:
  11569. description: 期末数量
  11570. type: integer
  11571. isgeneral:
  11572. description: 是否通用券 - 0:否 1:是
  11573. type: integer
  11574. isunusable:
  11575. description: 是否不可用
  11576. type: boolean
  11577. limitedflag:
  11578. description: 是否指定商品 - 0:不限 1:限制
  11579. type: integer
  11580. limitedgoodsids:
  11581. description: 指定商品IDs[逗号分隔,前后加逗号]
  11582. type: string
  11583. orifreezeqty:
  11584. description: 期初冻结数量
  11585. type: integer
  11586. oriqty:
  11587. description: 期初数量
  11588. type: integer
  11589. reasontype:
  11590. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11591. type: integer
  11592. todaydecrease:
  11593. description: 今日减少
  11594. type: integer
  11595. todayincrease:
  11596. description: 今日增加
  11597. type: integer
  11598. userid:
  11599. description: 用户ID
  11600. type: integer
  11601. userscope:
  11602. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11603. type: string
  11604. required:
  11605. - accountid
  11606. - coupontypeid
  11607. type: object
  11608. models.MyCouponHold:
  11609. properties:
  11610. accountid:
  11611. description: 资金账户ID
  11612. type: integer
  11613. conditionvalue:
  11614. description: 条件阈值(可为0)
  11615. type: number
  11616. couponcategroy:
  11617. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11618. type: integer
  11619. couponholdid:
  11620. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11621. type: string
  11622. couponname:
  11623. description: 优惠券名称
  11624. type: string
  11625. coupontypeid:
  11626. description: 优惠券类型ID - SEQ_COUPONTYPE
  11627. type: string
  11628. couponvalue:
  11629. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11630. type: number
  11631. createtime:
  11632. description: 创建时间
  11633. type: string
  11634. enddate:
  11635. description: 结束日期
  11636. type: string
  11637. giveapplyid:
  11638. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11639. type: integer
  11640. holdstatus:
  11641. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11642. type: integer
  11643. isgeneral:
  11644. description: 是否通用券 - 0:否 1:是
  11645. type: integer
  11646. limitedflag:
  11647. description: 是否指定商品 - 0:不限 1:限制
  11648. type: integer
  11649. limitedgoodsids:
  11650. description: 指定商品IDs[逗号分隔]
  11651. type: string
  11652. qty:
  11653. description: 数量(按1平铺)
  11654. type: integer
  11655. startdate:
  11656. description: 开始日期
  11657. type: string
  11658. userid:
  11659. description: 用户ID
  11660. type: integer
  11661. userscope:
  11662. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11663. type: string
  11664. required:
  11665. - couponholdid
  11666. type: object
  11667. models.MyUsedCoupon:
  11668. properties:
  11669. accountid:
  11670. description: 资金账户ID(买方)
  11671. type: integer
  11672. conditionvalue:
  11673. description: 条件阈值(可为0)
  11674. type: number
  11675. couponcategroy:
  11676. description: 种类 - 1:现金券 2:折扣券
  11677. type: integer
  11678. couponname:
  11679. description: 优惠券名称
  11680. type: string
  11681. coupontypeid:
  11682. description: 优惠券类型ID(买方)
  11683. type: string
  11684. couponvalue:
  11685. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11686. type: number
  11687. createtime:
  11688. description: 创建时间
  11689. type: string
  11690. goodsid:
  11691. description: 商品ID
  11692. type: integer
  11693. handlestatus:
  11694. description: 处理状态
  11695. type: integer
  11696. marketid:
  11697. description: 市场ID
  11698. type: integer
  11699. offamount:
  11700. description: 优惠金额
  11701. type: number
  11702. orderid:
  11703. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11704. type: string
  11705. sellaccountid:
  11706. description: 资金账户ID(卖方)
  11707. type: integer
  11708. tradeamount:
  11709. description: 成交金额
  11710. type: number
  11711. tradeid:
  11712. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11713. type: string
  11714. usedqty:
  11715. description: 使用数量
  11716. type: integer
  11717. required:
  11718. - coupontypeid
  11719. - orderid
  11720. type: object
  11721. models.OperationPrimaryMenu:
  11722. properties:
  11723. Children:
  11724. description: 二级功能菜单
  11725. items:
  11726. $ref: '#/definitions/models.OperationSecondaryMenu'
  11727. type: array
  11728. Key:
  11729. description: 菜单KEY
  11730. type: string
  11731. Label:
  11732. description: 菜单标题
  11733. type: string
  11734. type: object
  11735. models.OperationSecondaryMenu:
  11736. properties:
  11737. Key:
  11738. description: 菜单KEY
  11739. type: string
  11740. Label:
  11741. description: 菜单标题
  11742. type: string
  11743. TabList:
  11744. description: 三级功能菜单
  11745. items:
  11746. $ref: '#/definitions/models.OperationTabMenu'
  11747. type: array
  11748. type: object
  11749. models.OperationTabMenu:
  11750. properties:
  11751. Key:
  11752. description: 菜单KEY
  11753. type: string
  11754. Label:
  11755. description: 菜单标题
  11756. type: string
  11757. type: object
  11758. models.Patradelinkdetail:
  11759. properties:
  11760. accountname:
  11761. description: 套期主体
  11762. type: string
  11763. agreeunit:
  11764. description: 合约乘数
  11765. type: number
  11766. amount:
  11767. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11768. type: number
  11769. areauserid:
  11770. description: 所属机构
  11771. type: integer
  11772. bizsubjectid:
  11773. description: 归属业务部门ID - SubjectID
  11774. type: integer
  11775. buyorsell:
  11776. description: 方向 - 0:买 1:卖
  11777. type: integer
  11778. convertratio:
  11779. description: 品种系数
  11780. type: number
  11781. convertratiochange:
  11782. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11783. type: number
  11784. createtime:
  11785. description: '[日期时间]创建时间'
  11786. type: string
  11787. creatorid:
  11788. description: 创建人ID
  11789. type: integer
  11790. creatorsrc:
  11791. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11792. type: integer
  11793. goodscode:
  11794. description: 商品代码(内部)
  11795. type: string
  11796. goodsgroupid:
  11797. description: 对冲品种ID[期货合约商品组ID]
  11798. type: integer
  11799. goodsid:
  11800. description: 商品ID
  11801. type: integer
  11802. hedgeditemid:
  11803. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11804. type: integer
  11805. hedgeflag:
  11806. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11807. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11808. type: integer
  11809. linkdetailid:
  11810. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11811. type: string
  11812. linkstatus:
  11813. description: 关联状态 - 1:成功 2:失败 3:解绑
  11814. type: integer
  11815. middlegoodsid:
  11816. description: 套保品种ID
  11817. type: integer
  11818. name:
  11819. description: 账户名/子账户
  11820. type: string
  11821. optioncode:
  11822. description: '[期货合约]期权代码 [期权]'
  11823. type: string
  11824. ordertype:
  11825. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11826. type: integer
  11827. relatedlot:
  11828. description: '[数量]关联手数'
  11829. type: number
  11830. relatedmode:
  11831. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11832. type: integer
  11833. relatedqty:
  11834. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11835. type: number
  11836. retcode:
  11837. description: 返回码
  11838. type: integer
  11839. saleuserid:
  11840. description: 业务员ID
  11841. type: integer
  11842. tradedate:
  11843. description: 关联交易日(yyyyMMdd)
  11844. type: string
  11845. tradeid:
  11846. description: '[成交单号]内部成交单ID'
  11847. type: string
  11848. tradelot:
  11849. description: 成交手数
  11850. type: integer
  11851. tradeprice:
  11852. description: '[价格]成交价格'
  11853. type: number
  11854. tradetradedate:
  11855. description: 成交交易日(yyyyMMdd)
  11856. type: string
  11857. type: object
  11858. models.QhjAccountOutInApply:
  11859. properties:
  11860. accountcode:
  11861. description: 资金账号
  11862. type: string
  11863. accountname:
  11864. description: 用户名称(名称)
  11865. type: string
  11866. accountpwd:
  11867. description: 资金密码
  11868. type: string
  11869. accountticket:
  11870. description: 最新账户服务流水号
  11871. type: string
  11872. amount:
  11873. description: 金额
  11874. type: number
  11875. applyremark:
  11876. description: 申请备注
  11877. type: string
  11878. applystatus:
  11879. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11880. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11881. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11882. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11883. type: integer
  11884. auditid:
  11885. description: 审核人
  11886. type: integer
  11887. audittime:
  11888. description: 审核时间
  11889. type: string
  11890. bank_apply_ticket:
  11891. description: 银行申请流水
  11892. type: string
  11893. bankaccountname:
  11894. description: 银行账户名
  11895. type: string
  11896. bankaccountno:
  11897. description: 银行卡号
  11898. type: string
  11899. bankid:
  11900. description: 银行编号
  11901. type: string
  11902. bankticket:
  11903. description: 银行流水
  11904. type: string
  11905. branchbankid:
  11906. description: 银行支行号
  11907. type: string
  11908. branchbankname:
  11909. description: 银行支行名称
  11910. type: string
  11911. capamountout:
  11912. description: 出金(劣后本金) - 外部子账户
  11913. type: number
  11914. certificatephotourl:
  11915. description: 凭证地址
  11916. type: string
  11917. charge:
  11918. description: 手续费
  11919. type: number
  11920. checkerrorflag:
  11921. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11922. type: integer
  11923. currency:
  11924. description: 币种
  11925. type: string
  11926. cusbankid:
  11927. description: 托管银行编号
  11928. type: string
  11929. exchticket:
  11930. description: 银行服务流水号
  11931. type: string
  11932. executetype:
  11933. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11934. 7:外部子账户:入金 8:外部子账户:出金'
  11935. type: integer
  11936. extendinfo:
  11937. description: 扩展信息
  11938. type: string
  11939. extoperateid:
  11940. description: 交易服务流水号
  11941. type: integer
  11942. infamount:
  11943. description: 劣后金额(自有)
  11944. type: number
  11945. logincode:
  11946. description: 登录账号(账号)
  11947. type: string
  11948. netaddr:
  11949. description: 调转网址
  11950. type: string
  11951. priamount:
  11952. description: 优先金额(授信)
  11953. type: number
  11954. reauditid:
  11955. description: 复审人
  11956. type: integer
  11957. reauditremark:
  11958. description: 复审备注
  11959. type: string
  11960. reaudittime:
  11961. description: 复审时间
  11962. type: string
  11963. relatedorderid:
  11964. description: 三方关联ID
  11965. type: string
  11966. remark:
  11967. description: 备注
  11968. type: string
  11969. remark2:
  11970. description: 备注(失败原因)
  11971. type: string
  11972. soucreamount:
  11973. description: 原始出入金金额
  11974. type: number
  11975. soucrecurrencyid:
  11976. description: 原始出入金币种
  11977. type: integer
  11978. tradedate:
  11979. description: 交易日(yyyyMMdd)
  11980. type: string
  11981. updatetime:
  11982. description: 更新时间(申请时间)
  11983. type: string
  11984. userid:
  11985. description: 用户id
  11986. type: integer
  11987. userinfotype:
  11988. description: 账户类型 1-个人 2-企业
  11989. type: integer
  11990. type: object
  11991. models.QhjAgreementChangeLog:
  11992. properties:
  11993. agreementcontent:
  11994. description: 协议内容
  11995. type: string
  11996. agreementfrequency:
  11997. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11998. type: integer
  11999. agreementid:
  12000. description: 协议ID
  12001. type: integer
  12002. agreementname:
  12003. description: 协议名称
  12004. type: string
  12005. agreementno:
  12006. description: 协议编号
  12007. type: string
  12008. agreementtype:
  12009. description: 协议类型 - 1:注册 2:登录 3:交易
  12010. type: integer
  12011. agreementversion:
  12012. description: 协议版本号
  12013. type: integer
  12014. logid:
  12015. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12016. type: integer
  12017. reviserid:
  12018. description: 修改人
  12019. type: integer
  12020. revisersrc:
  12021. description: 修改来源 - 1:管理端 2:终端
  12022. type: integer
  12023. updatetime:
  12024. description: 更新时间
  12025. type: string
  12026. type: object
  12027. models.QhjAgreementConfig:
  12028. properties:
  12029. agreementcontent:
  12030. description: 协议内容
  12031. type: string
  12032. agreementfrequency:
  12033. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12034. type: integer
  12035. agreementid:
  12036. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12037. type: integer
  12038. agreementname:
  12039. description: 协议名称
  12040. type: string
  12041. agreementno:
  12042. description: 协议编号
  12043. type: string
  12044. agreementtype:
  12045. description: 协议类型 - 1:注册 2:登录 3:交易
  12046. type: integer
  12047. agreementversion:
  12048. description: 协议版本号(从1开始每次修改加1)
  12049. type: integer
  12050. createtime:
  12051. description: 创建时间
  12052. type: string
  12053. creatorid:
  12054. description: 创建人
  12055. type: integer
  12056. creatorsrc:
  12057. description: 创建来源 - 1:管理端 2:终端
  12058. type: integer
  12059. isvalid:
  12060. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12061. type: integer
  12062. reviserid:
  12063. description: 修改人
  12064. type: integer
  12065. revisersrc:
  12066. description: 修改来源 - 1:管理端 2:终端
  12067. type: integer
  12068. updatetime:
  12069. description: 更新时间
  12070. type: string
  12071. type: object
  12072. models.QhjAreaFinanceConfig:
  12073. properties:
  12074. additionalratio:
  12075. description: 追加款比例
  12076. type: number
  12077. advanceratio:
  12078. description: 预付款比例
  12079. type: number
  12080. alarmratio:
  12081. description: 告警比例
  12082. type: number
  12083. consumptiondirectreward:
  12084. description: 消费直推奖励值
  12085. type: number
  12086. consumptionenabled:
  12087. description: 是否启用消费奖励 - 0:不启用 1:启用
  12088. type: integer
  12089. consumptionindirectreward:
  12090. description: 消费间推奖励值
  12091. type: number
  12092. consumptionmodel:
  12093. description: 消费奖励方式 - 1:比率 2:固定
  12094. type: integer
  12095. customerservicenum:
  12096. description: 客服电话
  12097. type: string
  12098. dayinterestrate:
  12099. description: 日利率
  12100. type: number
  12101. disableconsumptiontips:
  12102. description: 关闭消费奖励提示
  12103. type: string
  12104. modifierid:
  12105. description: 修改人ID
  12106. type: integer
  12107. modifysrc:
  12108. description: 审核来源 - 1:管理端 2:终端
  12109. type: integer
  12110. modifytime:
  12111. description: 修改时间
  12112. type: string
  12113. promotionvalue:
  12114. description: 推广奖励值(固定)
  12115. type: number
  12116. scoreconfigvalue1:
  12117. description: 提货积分配置1
  12118. type: integer
  12119. scoreconfigvalue2:
  12120. description: 提货积分配置2
  12121. type: integer
  12122. userid:
  12123. description: 机构用户ID其他做市关系,都设置为 1
  12124. type: integer
  12125. username:
  12126. description: 用户名称
  12127. type: string
  12128. type: object
  12129. models.QhjBankAccountSign:
  12130. properties:
  12131. accountcode:
  12132. description: 资金账号
  12133. type: string
  12134. accountname:
  12135. description: 资金账号对应的账号名(UserName)
  12136. type: string
  12137. accountname2:
  12138. description: 资金账号对应的账号名(UserName) - 密文
  12139. type: string
  12140. accounttype:
  12141. description: 账户类型(UserType)
  12142. type: integer
  12143. applicationtime:
  12144. description: 最后一次更新的时间
  12145. type: string
  12146. applyexchticket:
  12147. description: 申请流水
  12148. type: string
  12149. auditid:
  12150. description: 审核人
  12151. type: integer
  12152. audittime:
  12153. description: 审核时间
  12154. type: string
  12155. bankaccountname:
  12156. description: 签约银行卡账号名
  12157. type: string
  12158. bankaccountname2:
  12159. description: 签约银行卡账号名 - 密文
  12160. type: string
  12161. bankaccountno:
  12162. description: 银行卡号
  12163. type: string
  12164. bankaccountno2:
  12165. description: 银行卡号 - 密文
  12166. type: string
  12167. bankaccounttype:
  12168. description: 银行账户类型 - 1-对私; 2-对公
  12169. type: integer
  12170. bankcardtype:
  12171. description: 银行卡类型
  12172. type: integer
  12173. bankchildaccount:
  12174. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12175. type: string
  12176. bankcity:
  12177. description: 开户行城市
  12178. type: string
  12179. bankid:
  12180. description: 签约银行ID
  12181. type: string
  12182. bankname:
  12183. description: 签约银行名称
  12184. type: string
  12185. bankprovince:
  12186. description: 开户行省份
  12187. type: string
  12188. branchbankid:
  12189. description: 签约银行支行号
  12190. type: string
  12191. branchbankname:
  12192. description: 签约银行支行名称
  12193. type: string
  12194. cardno:
  12195. description: 证件号码
  12196. type: string
  12197. cardno2:
  12198. description: 证件号码 - 密文
  12199. type: string
  12200. cardtype:
  12201. description: 证件类型
  12202. type: string
  12203. currency:
  12204. description: 币种
  12205. type: string
  12206. cusbankid:
  12207. description: 托管银行编号
  12208. type: string
  12209. direct:
  12210. description: 方向(可以判断那方先发起的签约)
  12211. type: integer
  12212. exchticket:
  12213. description: 最后一次签约成功的流水号
  12214. type: string
  12215. extendinfo:
  12216. description: 扩展信息(JSON字符串)
  12217. type: string
  12218. mobilephone:
  12219. description: 手机号
  12220. type: string
  12221. mobilephone2:
  12222. description: 手机号 - 密文
  12223. type: string
  12224. netaddr:
  12225. description: 调转网址
  12226. type: string
  12227. relateduserid:
  12228. description: 关联使用者userid
  12229. type: integer
  12230. signstatus:
  12231. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12232. 10:审核拒绝 11:换签待审核
  12233. type: integer
  12234. updatetime:
  12235. description: 更新时间(签解约更新时间)
  12236. type: string
  12237. type: object
  12238. models.QhjBankInfo:
  12239. properties:
  12240. bankid:
  12241. description: 银行ID
  12242. type: string
  12243. bankname:
  12244. description: 银行名称
  12245. type: string
  12246. clearbankno:
  12247. description: 清算系统银行编号
  12248. type: string
  12249. orderindex:
  12250. description: 排序顺序
  12251. type: integer
  12252. status:
  12253. description: 状态 - 0:正常 1:注销
  12254. type: integer
  12255. type: object
  12256. models.QhjBrokerApply:
  12257. properties:
  12258. applicantid:
  12259. description: 申请人
  12260. type: integer
  12261. applysrc:
  12262. description: 申请来源 - 1:管理端 2:终端
  12263. type: integer
  12264. applystatus:
  12265. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12266. type: integer
  12267. applytime:
  12268. description: 申请时间
  12269. type: string
  12270. auditorid:
  12271. description: 审核人
  12272. type: integer
  12273. auditremark:
  12274. description: 审核备注
  12275. type: string
  12276. auditsrc:
  12277. description: 审核来源 - 1:管理端 2:终端
  12278. type: integer
  12279. audittime:
  12280. description: 审核时间
  12281. type: string
  12282. audittradedate:
  12283. description: 审核交易日(yyyyMMdd)
  12284. type: string
  12285. brokerapplyid:
  12286. description: 申请ID(SEQ_BROKERAPPLY)
  12287. type: integer
  12288. cardbackphotourl:
  12289. description: 证件背面图片地址
  12290. type: string
  12291. cardfrontphotourl:
  12292. description: 证件正面图片地址
  12293. type: string
  12294. cardnum:
  12295. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12296. type: string
  12297. customername:
  12298. description: 姓名
  12299. type: string
  12300. logincode:
  12301. description: 登录代码
  12302. type: string
  12303. mobile:
  12304. description: 手机号码
  12305. type: string
  12306. parentuserid:
  12307. description: 所属机构id
  12308. type: integer
  12309. parentusername:
  12310. description: 所属机构名称
  12311. type: string
  12312. refereeuserid:
  12313. description: 推荐人id(经纪人)
  12314. type: integer
  12315. refernum:
  12316. description: 推荐码
  12317. type: string
  12318. remark:
  12319. description: 备注
  12320. type: string
  12321. subarealevelpath:
  12322. description: 层级路径
  12323. type: string
  12324. tradedate:
  12325. description: 交易日(yyyyMMdd)
  12326. type: string
  12327. userid:
  12328. description: 申请人用户ID
  12329. type: integer
  12330. userinfotype:
  12331. description: 用户类型 1-个人 2-企业
  12332. type: integer
  12333. username:
  12334. description: 用户名称
  12335. type: string
  12336. type: object
  12337. models.QhjBrokerApplyEx:
  12338. properties:
  12339. applylist:
  12340. description: 经纪人申请记录(只返回最新一条)
  12341. items:
  12342. $ref: '#/definitions/models.QhjBrokerApply'
  12343. type: array
  12344. canrecommend:
  12345. description: 是否经纪人 0-不是 1-是
  12346. type: integer
  12347. refernum:
  12348. description: 推荐码
  12349. type: string
  12350. userid:
  12351. description: 用户id
  12352. type: integer
  12353. userinfotype:
  12354. description: 用户类型 1-个人 2-企业
  12355. type: integer
  12356. type: object
  12357. models.QhjBrokerRewardLog:
  12358. properties:
  12359. accountid:
  12360. description: 资金账号ID
  12361. type: integer
  12362. createtime:
  12363. description: 创建时间(时间)
  12364. type: string
  12365. handlestatus:
  12366. description: 处理状态
  12367. type: integer
  12368. logid:
  12369. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12370. type: string
  12371. marketid:
  12372. description: 市场ID
  12373. type: integer
  12374. mmaccountid:
  12375. description: 做市商资金账号ID
  12376. type: string
  12377. mmuserid:
  12378. description: 做市商用户ID
  12379. type: string
  12380. rewardamount:
  12381. description: 奖励金额
  12382. type: number
  12383. rewardmodel:
  12384. description: 消费奖励方式 - 1:比率 2:固定
  12385. type: integer
  12386. rewardtype:
  12387. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12388. type: integer
  12389. rewardvalue:
  12390. description: 配置奖励值
  12391. type: number
  12392. srcamount:
  12393. description: 成交金额 [消费奖励] (金额)
  12394. type: number
  12395. srcgoodsid:
  12396. description: 来源商品ID [消费奖励]
  12397. type: string
  12398. srctime:
  12399. description: 来源时间 (成交时间) [消费奖励]
  12400. type: string
  12401. srctradeid:
  12402. description: 来源成交单ID [消费奖励] - 排除提货成交
  12403. type: string
  12404. srcuserid:
  12405. description: 来源用户ID(推广账户)
  12406. type: string
  12407. srcusername:
  12408. description: 推广账户名称
  12409. type: string
  12410. tradedate:
  12411. description: 交易日(yyyyMMdd)
  12412. type: string
  12413. userid:
  12414. description: 经纪人用户ID
  12415. type: integer
  12416. type: object
  12417. models.QhjContract:
  12418. properties:
  12419. contractconfirmtime:
  12420. description: 合同确认时间(时间)
  12421. type: string
  12422. currisklevel:
  12423. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12424. type: integer
  12425. decimalplace:
  12426. description: 商品报价小数位
  12427. type: integer
  12428. enumdicname:
  12429. description: 单位名称
  12430. type: string
  12431. goodscode:
  12432. description: 商品代码
  12433. type: string
  12434. goodsid:
  12435. description: 商品ID [5:融资单]
  12436. type: integer
  12437. goodsname:
  12438. description: 商品名称
  12439. type: string
  12440. goodunitid:
  12441. description: 商品单位id
  12442. type: integer
  12443. initmargin:
  12444. description: 初始保证金(首付款)
  12445. type: number
  12446. lenderamount:
  12447. description: 贷款金额(总额|订单总额)
  12448. type: number
  12449. marginratio:
  12450. description: 保证金比率(首付比例)
  12451. type: number
  12452. payamount:
  12453. description: 已付(已付货款)
  12454. type: number
  12455. reckonrecovermargin:
  12456. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12457. type: number
  12458. recoveredmargin:
  12459. description: 已追缴保证金
  12460. type: number
  12461. remainamount:
  12462. description: 合同剩余金额(融资额)
  12463. type: number
  12464. scfcontractid:
  12465. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12466. type: string
  12467. scfcontractstatus:
  12468. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12469. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12470. type: integer
  12471. scfcontracttype:
  12472. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12473. type: integer
  12474. totalinterest:
  12475. description: 已计总利息(利息)
  12476. type: number
  12477. tradeprice:
  12478. description: 成交价格(成本价格)
  12479. type: number
  12480. userid:
  12481. description: 用户ID
  12482. type: integer
  12483. username:
  12484. description: 用户名称
  12485. type: string
  12486. wrqty:
  12487. description: 仓单数量(数量)
  12488. type: number
  12489. type: object
  12490. models.QhjContractLog:
  12491. properties:
  12492. amount:
  12493. description: 支付金额
  12494. type: number
  12495. amounttype:
  12496. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12497. type: integer
  12498. logid:
  12499. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12500. type: string
  12501. remainamount:
  12502. description: 剩余货款
  12503. type: number
  12504. scfcontractid:
  12505. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12506. type: integer
  12507. updatetime:
  12508. description: 更新时间
  12509. type: string
  12510. type: object
  12511. models.QhjCusBankSignBankEx:
  12512. properties:
  12513. banklst:
  12514. description: 银行列表
  12515. items:
  12516. $ref: '#/definitions/models.QhjBankInfo'
  12517. type: array
  12518. canallot:
  12519. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12520. type: integer
  12521. canallotquery:
  12522. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12523. type: integer
  12524. canbindcard:
  12525. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12526. type: integer
  12527. caninamount:
  12528. description: 是否可入金 - 0:不可 1:可以
  12529. type: integer
  12530. caninamount2:
  12531. description: 是否可入金(网银端) - 0:不可 1:可以
  12532. type: integer
  12533. canmodifybankcard:
  12534. description: 是否可修改银行卡号 - 0:不可 1:可以
  12535. type: integer
  12536. canmodifyphone:
  12537. description: 是否可修改手机号 - 0:不可 1:可以
  12538. type: integer
  12539. canmodifysigninfo:
  12540. description: 是否可修改签约信息 - 0:不可 1:可以
  12541. type: integer
  12542. canoutamount:
  12543. description: 是否可出金 - 0:不可 1:可以
  12544. type: integer
  12545. canoutamount2:
  12546. description: 是否可出金(网银端) - 0:不可 1:可以
  12547. type: integer
  12548. canrelease:
  12549. description: 是否可解约 - 0:不可 1:可以
  12550. type: integer
  12551. canrelease2:
  12552. description: 是否可解约(网银端) - 0:不可 1:可以
  12553. type: integer
  12554. cansign:
  12555. description: 是否可签约 - 0:不可 1:可以
  12556. type: integer
  12557. cansign2:
  12558. description: 是否可签约(网银端) - 0:不可 1:可以
  12559. type: integer
  12560. currency:
  12561. description: 币种
  12562. type: string
  12563. cusbankid:
  12564. description: 托管银行编号(对应清算中心TRAN_NO)
  12565. type: string
  12566. cusbankname:
  12567. description: 银行业务名称
  12568. type: string
  12569. cusbankshortname:
  12570. description: 银行业务简称
  12571. type: string
  12572. exchbankid:
  12573. description: 交易所开户银行ID
  12574. type: string
  12575. exchpaybankaccname:
  12576. description: 交易所支出结算账户户名
  12577. type: string
  12578. exchpaybankaccno:
  12579. description: 交易所支出结算账户
  12580. type: string
  12581. isneedcheck:
  12582. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12583. type: integer
  12584. isneedclear:
  12585. description: 是否需要清算 - 0:不需要 1:需要
  12586. type: integer
  12587. lastcheckstatus:
  12588. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12589. type: integer
  12590. lastchecktime:
  12591. description: 最后对账时间
  12592. type: string
  12593. lastclearstatus:
  12594. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12595. type: integer
  12596. lastcleartime:
  12597. description: 最后清算时间
  12598. type: string
  12599. lastsignintime:
  12600. description: 最后签到时间
  12601. type: string
  12602. lastsignouttime:
  12603. description: 最后签退时间
  12604. type: string
  12605. riskinfo:
  12606. description: 签约风险提示书
  12607. type: string
  12608. signstatus:
  12609. description: 当前签到/签退状态 - 1:签到 2:签退
  12610. type: integer
  12611. tradedate:
  12612. description: 交易日(yyyyMMdd)
  12613. type: string
  12614. updatetime:
  12615. description: 当前签到/签退更新时间
  12616. type: string
  12617. type: object
  12618. models.QhjCustomer:
  12619. properties:
  12620. address:
  12621. description: 通讯地址
  12622. type: string
  12623. attachment1:
  12624. description: 附件1
  12625. type: string
  12626. attachment2:
  12627. description: 附件2
  12628. type: string
  12629. audittime:
  12630. description: 审核时间
  12631. type: string
  12632. cardbackphotourl:
  12633. description: 证件反面图片地址
  12634. type: string
  12635. cardfrontphotourl:
  12636. description: 证件正面图片地址
  12637. type: string
  12638. cardnum:
  12639. description: 证件号码
  12640. type: string
  12641. cardtype:
  12642. description: 证件类型
  12643. type: integer
  12644. cardtypename:
  12645. description: 证件类型名称
  12646. type: string
  12647. cityid:
  12648. description: 市
  12649. type: integer
  12650. cityname:
  12651. description: 城市名称
  12652. type: string
  12653. contactname:
  12654. description: 联系人
  12655. type: string
  12656. countryid:
  12657. description: 国家
  12658. type: integer
  12659. countryname:
  12660. description: 国家名称
  12661. type: string
  12662. createtime:
  12663. description: 创建时间
  12664. type: string
  12665. customername:
  12666. description: 客户名称
  12667. type: string
  12668. districtid:
  12669. description: 区域
  12670. type: integer
  12671. districtname:
  12672. description: 地区名称
  12673. type: string
  12674. email:
  12675. description: 邮件
  12676. type: string
  12677. legalpersonname:
  12678. description: 法人姓名(企业)
  12679. type: string
  12680. logincode:
  12681. description: 登录账号(代码)
  12682. type: string
  12683. memberuserid:
  12684. description: 所属机构ID(所属会员)
  12685. type: integer
  12686. memberusername:
  12687. description: 所属会员名称
  12688. type: string
  12689. mobile:
  12690. description: 手机号码
  12691. type: string
  12692. modifytime:
  12693. description: 修改时间
  12694. type: string
  12695. nickname:
  12696. description: 昵称
  12697. type: string
  12698. parentuserid:
  12699. description: 上级机构(所属机构)
  12700. type: integer
  12701. parentusername:
  12702. description: 所属机构名称
  12703. type: string
  12704. provinceid:
  12705. description: 省
  12706. type: integer
  12707. provincename:
  12708. description: 省名称
  12709. type: string
  12710. proxystatementurl:
  12711. description: 授权委托书
  12712. type: string
  12713. remark:
  12714. description: 备注
  12715. type: string
  12716. status:
  12717. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12718. type: integer
  12719. statusdesc:
  12720. description: 账户状态中文描述
  12721. type: string
  12722. taxpayernum:
  12723. description: 纳税人识别号
  12724. type: string
  12725. telphone:
  12726. description: 联系电话
  12727. type: string
  12728. userid:
  12729. description: 用户ID
  12730. type: integer
  12731. userinfotype:
  12732. description: 客户类型 1-个人 2-企业
  12733. type: integer
  12734. username:
  12735. description: 用户名称
  12736. type: string
  12737. type: object
  12738. models.QhjCustomerSignLog:
  12739. properties:
  12740. agreementcontent:
  12741. description: 协议内容
  12742. type: string
  12743. agreementid:
  12744. description: 协议ID
  12745. type: integer
  12746. agreementname:
  12747. description: 协议名称
  12748. type: string
  12749. agreementno:
  12750. description: 协议编号
  12751. type: string
  12752. agreementtype:
  12753. description: 协议类型 - 1:注册 2:登录 3:交易
  12754. type: integer
  12755. agreementversion:
  12756. description: 协议版本号
  12757. type: integer
  12758. createtime:
  12759. description: 创建时间
  12760. type: string
  12761. goodscode:
  12762. description: 商品代码
  12763. type: string
  12764. goodsid:
  12765. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12766. type: integer
  12767. goodsname:
  12768. description: 商品名称
  12769. type: string
  12770. logid:
  12771. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12772. type: integer
  12773. nodetype:
  12774. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12775. type: integer
  12776. signadressurl:
  12777. description: 签约文件地址
  12778. type: string
  12779. signtimestamp:
  12780. description: 签约状态时间戳
  12781. type: string
  12782. userid:
  12783. description: 客户ID
  12784. type: integer
  12785. username:
  12786. description: 客户名称
  12787. type: string
  12788. type: object
  12789. models.QhjCustomerSignStatus:
  12790. properties:
  12791. createtime:
  12792. description: 创建时间
  12793. type: string
  12794. goodscode:
  12795. description: 商品代码
  12796. type: string
  12797. goodsid:
  12798. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12799. type: integer
  12800. goodsname:
  12801. description: 商品名称
  12802. type: string
  12803. nodetype:
  12804. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12805. type: integer
  12806. signtimestamp:
  12807. description: 签约状态时间戳
  12808. type: string
  12809. tradedate:
  12810. description: 创建交易日(yyyyMMdd)
  12811. type: string
  12812. updatetime:
  12813. description: 更新时间
  12814. type: string
  12815. userid:
  12816. description: 客户ID
  12817. type: integer
  12818. username:
  12819. description: 客户名称
  12820. type: string
  12821. type: object
  12822. models.QhjMgrAccountOutInApply:
  12823. properties:
  12824. accountcode:
  12825. description: 资金账号
  12826. type: string
  12827. accountname:
  12828. description: 用户名称(名称)
  12829. type: string
  12830. accountpwd:
  12831. description: 资金密码
  12832. type: string
  12833. accountticket:
  12834. description: 最新账户服务流水号
  12835. type: string
  12836. amount:
  12837. description: 金额
  12838. type: number
  12839. applyremark:
  12840. description: 申请备注
  12841. type: string
  12842. applystatus:
  12843. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12844. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12845. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12846. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12847. type: integer
  12848. auditid:
  12849. description: 审核人
  12850. type: integer
  12851. audittime:
  12852. description: 审核时间
  12853. type: string
  12854. bank_apply_ticket:
  12855. description: 银行申请流水
  12856. type: string
  12857. bankaccountname:
  12858. description: 银行账户名
  12859. type: string
  12860. bankaccountno:
  12861. description: 银行卡号
  12862. type: string
  12863. bankid:
  12864. description: 银行编号
  12865. type: string
  12866. bankname:
  12867. description: 银行名称
  12868. type: string
  12869. bankticket:
  12870. description: 银行流水
  12871. type: string
  12872. branchbankid:
  12873. description: 银行支行号
  12874. type: string
  12875. branchbankname:
  12876. description: 银行支行名称
  12877. type: string
  12878. capamountout:
  12879. description: 出金(劣后本金) - 外部子账户
  12880. type: number
  12881. certificatephotourl:
  12882. description: 凭证地址
  12883. type: string
  12884. charge:
  12885. description: 手续费
  12886. type: number
  12887. checkerrorflag:
  12888. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12889. type: integer
  12890. currency:
  12891. description: 币种
  12892. type: string
  12893. cusbankid:
  12894. description: 托管银行编号
  12895. type: string
  12896. exchticket:
  12897. description: 银行服务流水号
  12898. type: string
  12899. executetype:
  12900. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12901. 7:外部子账户:入金 8:外部子账户:出金'
  12902. type: integer
  12903. extendinfo:
  12904. description: 扩展信息
  12905. type: string
  12906. extoperateid:
  12907. description: 交易服务流水号
  12908. type: integer
  12909. infamount:
  12910. description: 劣后金额(自有)
  12911. type: number
  12912. logincode:
  12913. description: 登录账号(账号)
  12914. type: string
  12915. netaddr:
  12916. description: 调转网址
  12917. type: string
  12918. priamount:
  12919. description: 优先金额(授信)
  12920. type: number
  12921. reauditid:
  12922. description: 复审人
  12923. type: integer
  12924. reauditremark:
  12925. description: 复审备注
  12926. type: string
  12927. reaudittime:
  12928. description: 复审时间
  12929. type: string
  12930. relatedorderid:
  12931. description: 三方关联ID
  12932. type: string
  12933. remark:
  12934. description: 备注
  12935. type: string
  12936. remark2:
  12937. description: 备注(失败原因)
  12938. type: string
  12939. soucreamount:
  12940. description: 原始出入金金额
  12941. type: number
  12942. soucrecurrencyid:
  12943. description: 原始出入金币种
  12944. type: integer
  12945. tradedate:
  12946. description: 交易日(yyyyMMdd)
  12947. type: string
  12948. updatetime:
  12949. description: 更新时间(申请时间)
  12950. type: string
  12951. userid:
  12952. description: 用户id
  12953. type: integer
  12954. userinfotype:
  12955. description: 账户类型 1-个人 2-企业
  12956. type: integer
  12957. type: object
  12958. models.QhjMgrBrokerApply:
  12959. properties:
  12960. applicantid:
  12961. description: 申请人
  12962. type: integer
  12963. applysrc:
  12964. description: 申请来源 - 1:管理端 2:终端
  12965. type: integer
  12966. applystatus:
  12967. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12968. type: integer
  12969. applytime:
  12970. description: 申请时间
  12971. type: string
  12972. auditorid:
  12973. description: 审核人
  12974. type: integer
  12975. auditremark:
  12976. description: 审核备注
  12977. type: string
  12978. auditsrc:
  12979. description: 审核来源 - 1:管理端 2:终端
  12980. type: integer
  12981. audittime:
  12982. description: 审核时间
  12983. type: string
  12984. audittradedate:
  12985. description: 审核交易日(yyyyMMdd)
  12986. type: string
  12987. brokerapplyid:
  12988. description: 申请ID(SEQ_BROKERAPPLY)
  12989. type: integer
  12990. cardbackphotourl:
  12991. description: 证件背面图片地址
  12992. type: string
  12993. cardfrontphotourl:
  12994. description: 证件正面图片地址
  12995. type: string
  12996. cardnum:
  12997. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12998. type: string
  12999. customername:
  13000. description: 姓名
  13001. type: string
  13002. filterstatus:
  13003. description: 筛选条件
  13004. type: string
  13005. logincode:
  13006. description: 登录代码
  13007. type: string
  13008. mobile:
  13009. description: 手机号码
  13010. type: string
  13011. parentuserid:
  13012. description: 所属机构id
  13013. type: integer
  13014. parentusername:
  13015. description: 所属机构名称
  13016. type: string
  13017. refereeuserid:
  13018. description: 推荐人id(经纪人)
  13019. type: integer
  13020. refernum:
  13021. description: 推荐码
  13022. type: string
  13023. remark:
  13024. description: 备注
  13025. type: string
  13026. subarealevelpath:
  13027. description: 层级路径
  13028. type: string
  13029. tradedate:
  13030. description: 交易日(yyyyMMdd)
  13031. type: string
  13032. userid:
  13033. description: 申请人用户ID
  13034. type: integer
  13035. userinfotype:
  13036. description: 用户类型 1-个人 2-企业
  13037. type: integer
  13038. username:
  13039. description: 用户名称
  13040. type: string
  13041. type: object
  13042. models.QhjMgrBrokerRewardReport:
  13043. properties:
  13044. createtime:
  13045. description: 创建时间(注册时间)
  13046. type: string
  13047. cycletime:
  13048. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13049. type: string
  13050. cycletype:
  13051. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13052. type: integer
  13053. directtotalnum:
  13054. description: 直推总人数【期末】
  13055. type: integer
  13056. indirecttotalnum:
  13057. description: 间推总人数【期末】
  13058. type: integer
  13059. mobile:
  13060. description: 电话号码
  13061. type: string
  13062. refereeuserid:
  13063. description: 推荐人id(经纪人id)
  13064. type: integer
  13065. refereeusername:
  13066. description: 推荐人名称(经纪人) 上级经纪人名称
  13067. type: string
  13068. refernum:
  13069. description: 推荐码
  13070. type: string
  13071. subarealevelpath:
  13072. description: 用户层级路径
  13073. type: string
  13074. todayrewardamount:
  13075. description: 奖励总金额【汇总】
  13076. type: number
  13077. updatetime:
  13078. description: 更新时间
  13079. type: string
  13080. userid:
  13081. description: 经纪人用户ID
  13082. type: integer
  13083. userinfotype:
  13084. description: 用户类型 1-个人 2-企业
  13085. type: integer
  13086. username:
  13087. description: 用户名称
  13088. type: string
  13089. type: object
  13090. models.QhjMgrContract:
  13091. properties:
  13092. contractconfirmtime:
  13093. description: 合同确认时间(时间)
  13094. type: string
  13095. currisklevel:
  13096. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13097. type: integer
  13098. decimalplace:
  13099. description: 商品报价小数位
  13100. type: integer
  13101. enumdicname:
  13102. description: 单位名称
  13103. type: string
  13104. goodscode:
  13105. description: 商品代码
  13106. type: string
  13107. goodsid:
  13108. description: 商品ID [5:融资单]
  13109. type: integer
  13110. goodsname:
  13111. description: 商品名称
  13112. type: string
  13113. goodunitid:
  13114. description: 商品单位id
  13115. type: integer
  13116. initmargin:
  13117. description: 初始保证金(首付款)
  13118. type: number
  13119. lenderamount:
  13120. description: 贷款金额(总额|订单总额)
  13121. type: number
  13122. logincode:
  13123. description: 账号(登录代码)
  13124. type: string
  13125. marginratio:
  13126. description: 保证金比率(首付比例)
  13127. type: number
  13128. mobile:
  13129. description: 电话号码(用户资料里的电话)
  13130. type: string
  13131. payamount:
  13132. description: 已付(已付货款)
  13133. type: number
  13134. reckonrecovermargin:
  13135. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13136. type: number
  13137. recoveredmargin:
  13138. description: 已追缴保证金
  13139. type: number
  13140. remainamount:
  13141. description: 合同剩余金额(融资额)
  13142. type: number
  13143. scfcontractid:
  13144. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13145. type: string
  13146. scfcontractstatus:
  13147. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13148. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13149. type: integer
  13150. scfcontracttype:
  13151. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13152. type: integer
  13153. totalinterest:
  13154. description: 已计总利息(利息)
  13155. type: number
  13156. tradedate:
  13157. description: 交易日
  13158. type: string
  13159. tradeprice:
  13160. description: 成交价格(成本价格)
  13161. type: number
  13162. userid:
  13163. description: 用户ID
  13164. type: integer
  13165. userinfotype:
  13166. description: 用户类型 1-个人 2-企业
  13167. type: integer
  13168. username:
  13169. description: 用户名称
  13170. type: string
  13171. wrqty:
  13172. description: 仓单数量(数量)
  13173. type: number
  13174. type: object
  13175. models.QhjMgrCustomer:
  13176. properties:
  13177. address:
  13178. description: 通讯地址
  13179. type: string
  13180. attachment1:
  13181. description: 附件1
  13182. type: string
  13183. audittime:
  13184. description: 审核时间
  13185. type: string
  13186. birthday:
  13187. description: 生日
  13188. type: string
  13189. brokerid:
  13190. description: 所属客户经理id
  13191. type: integer
  13192. brokername:
  13193. description: 所属客户经理名称
  13194. type: string
  13195. cardbackphotourl:
  13196. description: 证件反面图片地址
  13197. type: string
  13198. cardfrontphotourl:
  13199. description: 证件正面图片地址
  13200. type: string
  13201. cardnum:
  13202. description: 证件号码
  13203. type: string
  13204. cardtype:
  13205. description: 证件类型
  13206. type: integer
  13207. cardtypename:
  13208. description: 证件类型名称
  13209. type: string
  13210. cityid:
  13211. description: 市
  13212. type: integer
  13213. cityname:
  13214. description: 城市名称
  13215. type: string
  13216. contactname:
  13217. description: 联系人
  13218. type: string
  13219. countryid:
  13220. description: 国家
  13221. type: integer
  13222. countryname:
  13223. description: 国家名称
  13224. type: string
  13225. createtime:
  13226. description: 创建时间
  13227. type: string
  13228. customername:
  13229. description: 客户名称
  13230. type: string
  13231. districtid:
  13232. description: 区域
  13233. type: integer
  13234. districtname:
  13235. description: 地区名称
  13236. type: string
  13237. email:
  13238. description: 邮件
  13239. type: string
  13240. legalpersonname:
  13241. description: 法人姓名(企业)
  13242. type: string
  13243. logincode:
  13244. description: 登录账号(代码)
  13245. type: string
  13246. memberuserid:
  13247. description: 所属机构ID(所属会员)
  13248. type: integer
  13249. memberusername:
  13250. description: 所属会员名称
  13251. type: string
  13252. mobile:
  13253. description: 手机号码
  13254. type: string
  13255. modifytime:
  13256. description: 修改时间
  13257. type: string
  13258. nickname:
  13259. description: 昵称
  13260. type: string
  13261. parentuserid:
  13262. description: 上级机构(所属机构)
  13263. type: integer
  13264. parentusername:
  13265. description: 所属机构名称
  13266. type: string
  13267. provinceid:
  13268. description: 省
  13269. type: integer
  13270. provincename:
  13271. description: 省名称
  13272. type: string
  13273. proxystatementurl:
  13274. description: 授权委托书
  13275. type: string
  13276. querytype:
  13277. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13278. type: integer
  13279. remark:
  13280. description: 备注
  13281. type: string
  13282. sex:
  13283. description: 性别 0-女 1-男
  13284. type: integer
  13285. status:
  13286. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13287. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13288. type: integer
  13289. statusdesc:
  13290. description: 账户状态中文描述
  13291. type: string
  13292. taxpayernum:
  13293. description: 纳税人识别号
  13294. type: string
  13295. telphone:
  13296. description: 联系电话
  13297. type: string
  13298. userid:
  13299. description: 用户ID
  13300. type: integer
  13301. userinfotype:
  13302. description: 客户类型 1-个人 2-企业
  13303. type: integer
  13304. username:
  13305. description: 用户名称
  13306. type: string
  13307. type: object
  13308. models.QhjMgrPickGoods:
  13309. properties:
  13310. enumdicname:
  13311. description: 单位名称(提货商品)
  13312. type: string
  13313. goodsid:
  13314. description: 商品id
  13315. type: integer
  13316. imageaddress:
  13317. description: 图片
  13318. type: string
  13319. modifierid:
  13320. description: 修改人
  13321. type: integer
  13322. modifiername:
  13323. description: 修改人名称
  13324. type: string
  13325. modifysrc:
  13326. description: 修改来源 - 1:管理端 2:终端
  13327. type: integer
  13328. pickupgoodsagreeunit:
  13329. description: 合约乘数
  13330. type: number
  13331. pickupgoodsdesc:
  13332. description: 描述
  13333. type: string
  13334. pickupgoodsid:
  13335. description: 提货商品ID
  13336. type: string
  13337. pickupgoodsname:
  13338. description: 提货商品名称
  13339. type: string
  13340. pickupgoodsstatus:
  13341. description: 状态 - 1:正常 2:停用 3:注销
  13342. type: integer
  13343. pickupgoodsunitid:
  13344. description: 单位ID
  13345. type: integer
  13346. pickupratio:
  13347. description: 提货系数
  13348. type: number
  13349. preparedays:
  13350. description: 备货期(天)
  13351. type: integer
  13352. remark:
  13353. description: 备注
  13354. type: string
  13355. updatetime:
  13356. description: 更新时间
  13357. type: string
  13358. type: object
  13359. models.QhjMgrPositionRsp:
  13360. properties:
  13361. accountid:
  13362. description: 账号Id
  13363. type: integer
  13364. accountname:
  13365. description: 用户名称
  13366. type: string
  13367. agreeunit:
  13368. description: 合约乘数
  13369. type: number
  13370. averageprice:
  13371. description: 均价
  13372. type: number
  13373. avialqty:
  13374. description: 可用数量
  13375. type: number
  13376. decimalplace:
  13377. description: 报价小数位
  13378. type: integer
  13379. enumdicname:
  13380. description: 单位名称(商品)
  13381. type: string
  13382. frozenqty:
  13383. description: 冻结数量
  13384. type: number
  13385. goodscode:
  13386. description: 商品代码(内部)
  13387. type: string
  13388. goodsid:
  13389. description: 商品Id
  13390. type: integer
  13391. goodsname:
  13392. description: 商品名称
  13393. type: string
  13394. goodunitid:
  13395. description: 报价单位ID
  13396. type: integer
  13397. holderamount:
  13398. description: 金额
  13399. type: number
  13400. holderqty:
  13401. description: 持有数量
  13402. type: number
  13403. holdertype:
  13404. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13405. type: integer
  13406. logincode:
  13407. description: 登录代码(账户)
  13408. type: string
  13409. marketid:
  13410. description: 市场id
  13411. type: integer
  13412. qtydecimalplace:
  13413. description: 成交量小数位
  13414. type: integer
  13415. trademode:
  13416. description: 交易模式
  13417. type: integer
  13418. userid:
  13419. description: 用户id
  13420. type: integer
  13421. userinfotype:
  13422. description: 账户类型 1-个人 2-企业
  13423. type: integer
  13424. type: object
  13425. models.QhjMgrSubArea:
  13426. properties:
  13427. accountname:
  13428. description: 账户名称(机构名称)
  13429. type: string
  13430. memberuserid:
  13431. description: 所属会员ID
  13432. type: integer
  13433. parenttopuser:
  13434. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13435. type: string
  13436. parentuserid:
  13437. description: 所属机构ID
  13438. type: integer
  13439. rootuserid:
  13440. description: 根用户ID
  13441. type: string
  13442. subaccountlevel:
  13443. description: 子账户层数
  13444. type: integer
  13445. subarealevelpath:
  13446. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13447. type: string
  13448. userid:
  13449. description: 用户ID
  13450. type: integer
  13451. usertype:
  13452. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13453. type: integer
  13454. type: object
  13455. models.QhjMgrTradeDetailRsp:
  13456. properties:
  13457. accountid:
  13458. description: 资金账号
  13459. type: integer
  13460. accountname:
  13461. description: 用户名称
  13462. type: string
  13463. agreeunit:
  13464. description: 合约乘数
  13465. type: number
  13466. buyorsell:
  13467. description: 成交类型(方向) 0:买 1:卖
  13468. type: integer
  13469. decimalplace:
  13470. description: 报价小数位
  13471. type: integer
  13472. enumdicname:
  13473. description: 单位名称(商品)
  13474. type: string
  13475. goodscode:
  13476. description: 商品代码(内部)
  13477. type: string
  13478. goodsid:
  13479. description: 商品id
  13480. type: integer
  13481. goodsname:
  13482. description: 商品名称
  13483. type: string
  13484. goodunitid:
  13485. description: 报价单位ID
  13486. type: integer
  13487. logincode:
  13488. description: 登录代码(账户)
  13489. type: string
  13490. marketid:
  13491. description: 市场id
  13492. type: integer
  13493. orderid:
  13494. description: 关联委托单号
  13495. type: string
  13496. qtydecimalplace:
  13497. description: 成交量小数位
  13498. type: integer
  13499. tradeamount:
  13500. description: 金额
  13501. type: number
  13502. tradedate:
  13503. description: 交易日
  13504. type: string
  13505. tradeid:
  13506. description: 成交单号
  13507. type: string
  13508. trademode:
  13509. description: 交易模式
  13510. type: integer
  13511. tradeprice:
  13512. description: 价格
  13513. type: number
  13514. tradeqty:
  13515. description: 数量
  13516. type: number
  13517. tradetime:
  13518. description: 成交时间
  13519. type: string
  13520. userid:
  13521. description: 用户id
  13522. type: integer
  13523. userinfotype:
  13524. description: 账户类型 1-个人 2-企业
  13525. type: integer
  13526. type: object
  13527. models.QhjMgrTradeOrderDetailRsp:
  13528. properties:
  13529. accountid:
  13530. description: 资金账号
  13531. type: integer
  13532. accountname:
  13533. description: 用户名称
  13534. type: string
  13535. agreeunit:
  13536. description: 合约乘数
  13537. type: number
  13538. amount:
  13539. description: 金额
  13540. type: number
  13541. decimalplace:
  13542. description: 报价小数位
  13543. type: integer
  13544. enumdicname:
  13545. description: 单位名称(商品)
  13546. type: string
  13547. goodscode:
  13548. description: 商品代码(内部)
  13549. type: string
  13550. goodsid:
  13551. description: 商品id
  13552. type: integer
  13553. goodsname:
  13554. description: 商品名称
  13555. type: string
  13556. goodunitid:
  13557. description: 报价单位ID
  13558. type: integer
  13559. logincode:
  13560. description: 登录代码(账户)
  13561. type: string
  13562. marketid:
  13563. description: 市场id
  13564. type: integer
  13565. orderid:
  13566. description: 关联委托单号
  13567. type: string
  13568. orderprice:
  13569. description: 价格
  13570. type: number
  13571. orderqty:
  13572. description: 数量
  13573. type: number
  13574. orderstatus:
  13575. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13576. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13577. 16:成交失败违约(荷兰式竞拍专用)
  13578. type: integer
  13579. ordertime:
  13580. description: 委托时间
  13581. type: string
  13582. qtydecimalplace:
  13583. description: 成交量小数位
  13584. type: integer
  13585. tradedate:
  13586. description: 交易日
  13587. type: string
  13588. trademode:
  13589. description: 交易模式
  13590. type: integer
  13591. userid:
  13592. description: 用户id
  13593. type: integer
  13594. userinfotype:
  13595. description: 账户类型 1-个人 2-企业
  13596. type: integer
  13597. type: object
  13598. models.QhjMgrTradePayOrder:
  13599. properties:
  13600. accountname:
  13601. description: 用户名称
  13602. type: string
  13603. advanceratio:
  13604. description: 首付比率
  13605. type: number
  13606. agreeunit:
  13607. description: 合约乘数
  13608. type: number
  13609. buyaccountid:
  13610. description: 买方账号ID[报价币种]
  13611. type: integer
  13612. buyorderid:
  13613. description: 买方委托单号(关联单号)
  13614. type: string
  13615. createtime:
  13616. description: 创建时间
  13617. type: string
  13618. decimalplace:
  13619. description: 报价小数位
  13620. type: integer
  13621. enumdicname:
  13622. description: 单位名称(商品)
  13623. type: string
  13624. goodscode:
  13625. description: 商品代码(内部)
  13626. type: string
  13627. goodsid:
  13628. description: 商品ID
  13629. type: integer
  13630. goodsname:
  13631. description: 商品名称
  13632. type: string
  13633. goodunitid:
  13634. description: 报价单位ID
  13635. type: integer
  13636. logincode:
  13637. description: 登录代码(账户)
  13638. type: string
  13639. marketid:
  13640. description: 市场id
  13641. type: integer
  13642. offamount:
  13643. description: 优惠金额
  13644. type: number
  13645. operatetype:
  13646. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13647. type: integer
  13648. payamount:
  13649. description: 支付金额(金额)
  13650. type: number
  13651. payflag:
  13652. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13653. type: integer
  13654. paylimitedtime:
  13655. description: 支付期限
  13656. type: string
  13657. paytime:
  13658. description: 付款时间
  13659. type: string
  13660. qtydecimalplace:
  13661. description: 成交量小数位
  13662. type: integer
  13663. sellaccountid:
  13664. description: 卖方账号ID[报价币种]
  13665. type: integer
  13666. sellorderid:
  13667. description: 卖方委托单号
  13668. type: string
  13669. tradeamount:
  13670. description: 成交金额(优惠后金额)
  13671. type: number
  13672. tradecharge:
  13673. description: 成交手续费(买方)
  13674. type: number
  13675. tradedate:
  13676. description: 交易日(yyyyMMdd)
  13677. type: string
  13678. tradeid:
  13679. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13680. type: string
  13681. trademode:
  13682. description: 交易模式
  13683. type: integer
  13684. tradeprice:
  13685. description: 成交价格(价格)
  13686. type: number
  13687. tradeqty:
  13688. description: 成交数量(数量)
  13689. type: number
  13690. tradetime:
  13691. description: 成交时间
  13692. type: string
  13693. userid:
  13694. description: 用户id
  13695. type: integer
  13696. userinfotype:
  13697. description: 账户类型 1-个人 2-企业
  13698. type: integer
  13699. type: object
  13700. models.QhjMyTeamEx:
  13701. properties:
  13702. accountname:
  13703. description: 用户名称
  13704. type: string
  13705. accountstatus:
  13706. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13707. type: integer
  13708. createtime:
  13709. description: 创建时间
  13710. type: string
  13711. mobile:
  13712. description: 手机号码
  13713. type: string
  13714. refereeuserid:
  13715. description: 推荐人id
  13716. type: integer
  13717. refernum:
  13718. description: 推荐码
  13719. type: string
  13720. subList:
  13721. items:
  13722. $ref: '#/definitions/models.QhjMyTeamEx'
  13723. type: array
  13724. userid:
  13725. description: 用户id
  13726. type: integer
  13727. userinfotype:
  13728. description: 用户类型 1-个人 2-企业
  13729. type: integer
  13730. type: object
  13731. models.QhjNodeAgreementConfig:
  13732. properties:
  13733. agreementcontent:
  13734. description: 协议内容
  13735. type: string
  13736. agreementid:
  13737. description: 协议ID
  13738. type: integer
  13739. agreementname:
  13740. description: 协议名称
  13741. type: string
  13742. agreementno:
  13743. description: 协议编号
  13744. type: string
  13745. agreementtype:
  13746. description: 协议类型 - 1:注册 2:登录 3:交易
  13747. type: integer
  13748. agreementversion:
  13749. description: 协议版本号
  13750. type: integer
  13751. configid:
  13752. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13753. type: integer
  13754. createtime:
  13755. description: 创建时间
  13756. type: string
  13757. goodsid:
  13758. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13759. type: integer
  13760. nodetype:
  13761. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13762. type: integer
  13763. type: object
  13764. models.QhjParentAreaList:
  13765. properties:
  13766. accountname:
  13767. description: 账户名称(机构名称)
  13768. type: string
  13769. userid:
  13770. description: 用户ID
  13771. type: integer
  13772. usertype:
  13773. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13774. type: integer
  13775. type: object
  13776. models.QhjPayOrder:
  13777. properties:
  13778. advanceratio:
  13779. description: 首付比率
  13780. type: number
  13781. buyaccountid:
  13782. description: 买方账号ID[报价币种]
  13783. type: integer
  13784. buyorderid:
  13785. description: 买方委托单号
  13786. type: string
  13787. createtime:
  13788. description: 创建时间
  13789. type: string
  13790. decimalplace:
  13791. description: 商品报价小数位
  13792. type: integer
  13793. enumdicname:
  13794. description: 单位名称
  13795. type: string
  13796. goodscode:
  13797. description: 商品代码
  13798. type: string
  13799. goodsid:
  13800. description: 商品ID
  13801. type: integer
  13802. goodsname:
  13803. description: 商品名称
  13804. type: string
  13805. goodunitid:
  13806. description: 商品单位id
  13807. type: integer
  13808. marketid:
  13809. description: 市场ID
  13810. type: integer
  13811. offamount:
  13812. description: 优惠金额
  13813. type: number
  13814. operatetype:
  13815. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13816. type: integer
  13817. payamount:
  13818. description: 支付金额
  13819. type: number
  13820. payflag:
  13821. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13822. type: integer
  13823. paylimitedtime:
  13824. description: 支付期限
  13825. type: string
  13826. paytime:
  13827. description: 付款时间
  13828. type: string
  13829. qtydecimalplace:
  13830. description: 成交量小数位
  13831. type: integer
  13832. sellaccountid:
  13833. description: 卖方账号ID[报价币种]
  13834. type: integer
  13835. sellorderid:
  13836. description: 卖方委托单号
  13837. type: string
  13838. tradeamount:
  13839. description: 成交金额(优惠后金额)
  13840. type: number
  13841. tradecharge:
  13842. description: 成交手续费(买方)
  13843. type: number
  13844. tradedate:
  13845. description: 交易日(yyyyMMdd)
  13846. type: string
  13847. tradeid:
  13848. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13849. type: string
  13850. tradeprice:
  13851. description: 成交价格
  13852. type: number
  13853. tradeqty:
  13854. description: 成交数量
  13855. type: number
  13856. type: object
  13857. models.QhjPickArea:
  13858. properties:
  13859. address:
  13860. description: 详细地址
  13861. type: string
  13862. cityid:
  13863. description: 市
  13864. type: integer
  13865. cityname:
  13866. description: 城市名称
  13867. type: string
  13868. countryid:
  13869. description: 国家
  13870. type: integer
  13871. countryname:
  13872. description: 国家名称
  13873. type: string
  13874. districtid:
  13875. description: 地区
  13876. type: integer
  13877. districtname:
  13878. description: 地区名称
  13879. type: string
  13880. fromuserid:
  13881. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13882. type: integer
  13883. fromusername:
  13884. description: 所属机构名称
  13885. type: string
  13886. provinceid:
  13887. description: 省
  13888. type: integer
  13889. provincename:
  13890. description: 省名称
  13891. type: string
  13892. suborgtype:
  13893. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13894. type: integer
  13895. userid:
  13896. description: 机构用户ID 其他做市关系,都设置为 1
  13897. type: integer
  13898. username:
  13899. description: 机构用户名称(门店门称)
  13900. type: string
  13901. type: object
  13902. models.QhjPickGoods:
  13903. properties:
  13904. enumdicname:
  13905. description: 单位名称(提货商品)
  13906. type: string
  13907. goodsid:
  13908. description: 商品id
  13909. type: integer
  13910. imageaddress:
  13911. description: 图片
  13912. type: string
  13913. modifierid:
  13914. description: 修改人
  13915. type: integer
  13916. modifiername:
  13917. description: 修改人名称
  13918. type: string
  13919. modifysrc:
  13920. description: 修改来源 - 1:管理端 2:终端
  13921. type: integer
  13922. pickupgoodsagreeunit:
  13923. description: 合约乘数
  13924. type: number
  13925. pickupgoodsdesc:
  13926. description: 描述
  13927. type: string
  13928. pickupgoodsid:
  13929. description: 提货商品ID
  13930. type: string
  13931. pickupgoodsname:
  13932. description: 提货商品名称
  13933. type: string
  13934. pickupgoodsstatus:
  13935. description: 状态 - 1:正常 2:停用 3:注销
  13936. type: integer
  13937. pickupgoodsunitid:
  13938. description: 单位ID
  13939. type: integer
  13940. pickupratio:
  13941. description: 提货系数
  13942. type: number
  13943. preparedays:
  13944. description: 备货期(天)
  13945. type: integer
  13946. remark:
  13947. description: 备注
  13948. type: string
  13949. updatetime:
  13950. description: 更新时间
  13951. type: string
  13952. type: object
  13953. models.QhjRSTriggerLog:
  13954. properties:
  13955. accountid:
  13956. description: 用户资金账户
  13957. type: integer
  13958. accountname:
  13959. description: 账号名称(ACCOUNTID对应的名称)
  13960. type: string
  13961. currencyid:
  13962. description: 币种id
  13963. type: integer
  13964. currencyname:
  13965. description: 币种名称
  13966. type: string
  13967. decimalplace:
  13968. description: 商品报价小数位
  13969. type: integer
  13970. enumdicname:
  13971. description: 单位名称
  13972. type: string
  13973. goodscode:
  13974. description: 定投商品代码
  13975. type: string
  13976. goodsid:
  13977. description: 定投商品ID
  13978. type: integer
  13979. goodsname:
  13980. description: 定投商品名称
  13981. type: string
  13982. goodunitid:
  13983. description: 定投商品单位id
  13984. type: integer
  13985. logid:
  13986. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13987. type: string
  13988. logincode:
  13989. description: 账号(登录代码)
  13990. type: string
  13991. qtydecimalplace:
  13992. description: 成交量小数位
  13993. type: integer
  13994. regularlycycle:
  13995. description: 定投频率 - 1:每周 2:每月
  13996. type: integer
  13997. regularlycyclevalue:
  13998. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13999. type: string
  14000. regularlymode:
  14001. description: 定投方式 - 1:按数量 2:按金额
  14002. type: integer
  14003. regularlymodevalue:
  14004. description: 定投方式值 - 数量或金额
  14005. type: number
  14006. regularlystrategyid:
  14007. description: 定投策略ID
  14008. type: integer
  14009. retcode:
  14010. description: 错误码
  14011. type: string
  14012. tradeid:
  14013. description: 成交单ID
  14014. type: string
  14015. triggeramount:
  14016. description: 触发金额
  14017. type: number
  14018. triggerqty:
  14019. description: 触发数量
  14020. type: number
  14021. triggerstatus:
  14022. description: 触发状态 - 1:成功 2:失败
  14023. type: integer
  14024. triggertime:
  14025. description: 触发时间
  14026. type: string
  14027. triggertradedate:
  14028. description: 触发交易日
  14029. type: string
  14030. userid:
  14031. description: 所属用户ID
  14032. type: integer
  14033. userinfotype:
  14034. description: 用户类型 1-个人 2-企业
  14035. type: integer
  14036. username:
  14037. description: 用户名称(userid对应的名称)
  14038. type: string
  14039. type: object
  14040. models.QhjRStrategy:
  14041. properties:
  14042. accountid:
  14043. description: 用户资金账户
  14044. type: integer
  14045. accountname:
  14046. description: 账号名称(ACCOUNTID对应的名称)
  14047. type: string
  14048. currencyid:
  14049. description: 币种id
  14050. type: integer
  14051. currencyname:
  14052. description: 币种名称
  14053. type: string
  14054. decimalplace:
  14055. description: 商品报价小数位
  14056. type: integer
  14057. enumdicname:
  14058. description: 单位名称
  14059. type: string
  14060. goodscode:
  14061. description: 定投商品代码
  14062. type: string
  14063. goodsid:
  14064. description: 定投商品ID
  14065. type: integer
  14066. goodsname:
  14067. description: 定投商品名称
  14068. type: string
  14069. goodunitid:
  14070. description: 定投商品单位id
  14071. type: integer
  14072. lasteffecttradedate:
  14073. description: 最新生效交易日
  14074. type: string
  14075. laststoptradedate:
  14076. description: 最新暂停交易日
  14077. type: string
  14078. lasttriggertradedate:
  14079. description: 最新触发交易日
  14080. type: string
  14081. logincode:
  14082. description: 账号(登录代码)
  14083. type: string
  14084. nexttriggeramount:
  14085. description: 下次触发金额
  14086. type: number
  14087. nexttriggerdate:
  14088. description: 下次触发日期
  14089. type: string
  14090. nexttriggerqty:
  14091. description: 下次触发数量 [按小数位放大值]
  14092. type: number
  14093. qtydecimalplace:
  14094. description: 成交量小数位
  14095. type: integer
  14096. regularlycycle:
  14097. description: 定投频率 - 1:每周 2:每月
  14098. type: integer
  14099. regularlycyclevalue:
  14100. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14101. type: string
  14102. regularlymode:
  14103. description: 定投方式 - 1:按数量 2:按金额
  14104. type: integer
  14105. regularlymodevalue:
  14106. description: 定投方式值 - 数量或金额
  14107. type: number
  14108. regularlystrategyid:
  14109. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14110. type: integer
  14111. regularlystrategystatus:
  14112. description: 策略状态 - 1:正常 2:暂停 3:终止
  14113. type: integer
  14114. remark:
  14115. description: 备注
  14116. type: string
  14117. triggersuccesstimes:
  14118. description: 累计定投成功次数
  14119. type: string
  14120. triggertotalamount:
  14121. description: 累计定投金额(成功)
  14122. type: number
  14123. triggertotalqty:
  14124. description: 累计定投数量(成功) [按小数位放大值]
  14125. type: number
  14126. triggertotaltimes:
  14127. description: 累计定投总次数
  14128. type: string
  14129. updatesrc:
  14130. description: 更新来源 - 1:管理端 2:终端
  14131. type: integer
  14132. updatetime:
  14133. description: 更新时间
  14134. type: string
  14135. updatorid:
  14136. description: 更新人
  14137. type: string
  14138. userid:
  14139. description: 所属用户ID
  14140. type: integer
  14141. userinfotype:
  14142. description: 用户类型 1-个人 2-企业
  14143. type: integer
  14144. username:
  14145. description: 用户名称(userid对应的名称)
  14146. type: string
  14147. type: object
  14148. models.QhjReckonPriceLog:
  14149. properties:
  14150. decimalplace:
  14151. description: 商品报价小数位
  14152. type: integer
  14153. goodscode:
  14154. description: 商品代码
  14155. type: string
  14156. goodsid:
  14157. description: 商品ID
  14158. type: integer
  14159. goodsname:
  14160. description: 商品名称
  14161. type: string
  14162. lastreckonprice:
  14163. description: 上日结算价
  14164. type: number
  14165. nextdnlimitprice:
  14166. description: 下个交易日跌停价
  14167. type: number
  14168. nexttrade:
  14169. description: 下个交易日
  14170. type: string
  14171. nextuplimitprice:
  14172. description: 下个交易日涨停价
  14173. type: number
  14174. reckonprice:
  14175. description: 今日结算价(定投价)
  14176. type: number
  14177. reckontime:
  14178. description: 结算时间
  14179. type: string
  14180. totalholderqty:
  14181. description: 总持仓数
  14182. type: integer
  14183. totalstock:
  14184. description: 总库存
  14185. type: integer
  14186. tradedate:
  14187. description: 交易日
  14188. type: string
  14189. updowncount:
  14190. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14191. type: integer
  14192. updownflag:
  14193. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14194. type: integer
  14195. updownrate:
  14196. description: 今日涨跌幅
  14197. type: number
  14198. updownrate_2d:
  14199. description: 连续两日涨跌幅
  14200. type: number
  14201. updownrate_3d:
  14202. description: 连续三日涨跌幅
  14203. type: number
  14204. type: object
  14205. models.QhjScoreLog:
  14206. properties:
  14207. accountid:
  14208. description: 账户ID
  14209. type: integer
  14210. createtime:
  14211. description: 创建时间(时间)
  14212. type: string
  14213. goodsid:
  14214. description: 商品ID
  14215. type: integer
  14216. hasuploaded:
  14217. description: 是否已同步(千海金) 0:未同步 1;已同步
  14218. type: integer
  14219. logid:
  14220. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14221. type: string
  14222. marketid:
  14223. description: 市场ID
  14224. type: integer
  14225. relatedamount:
  14226. description: 关联金额
  14227. type: number
  14228. relatedorderid:
  14229. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14230. type: string
  14231. scoreconfigvalue1:
  14232. description: 积分配置1
  14233. type: integer
  14234. scoreconfigvalue2:
  14235. description: 积分配置1
  14236. type: integer
  14237. scoretype:
  14238. description: 积分类型 - 1:提货积分
  14239. type: integer
  14240. scorevalue:
  14241. description: 积分
  14242. type: number
  14243. tradedate:
  14244. description: 交易日(yyyyMMdd)
  14245. type: string
  14246. uploadedtime:
  14247. description: 同步时间
  14248. type: string
  14249. userid:
  14250. description: 用户ID
  14251. type: integer
  14252. type: object
  14253. models.QhjSiteColumnDetail:
  14254. properties:
  14255. author:
  14256. description: 作者
  14257. type: string
  14258. brief:
  14259. description: 简介
  14260. type: string
  14261. columnid:
  14262. description: 所属栏目
  14263. type: integer
  14264. context:
  14265. description: 内容
  14266. type: string
  14267. coverimage:
  14268. description: 封面图片
  14269. type: string
  14270. creaedate:
  14271. description: 创建时间
  14272. type: string
  14273. creatorid:
  14274. description: 创建人
  14275. type: integer
  14276. hits:
  14277. description: 点击数
  14278. type: integer
  14279. id:
  14280. description: ID(SEQ_SITE_COLUMNDETAIL)
  14281. type: integer
  14282. isshow:
  14283. description: 是否展示 - 0:不展示 1:展示
  14284. type: integer
  14285. istop:
  14286. description: 是否置顶 - 0:不置 1:置顶
  14287. type: integer
  14288. modifierid:
  14289. description: 操作人
  14290. type: integer
  14291. publishdate:
  14292. description: 发布日期
  14293. type: string
  14294. status:
  14295. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14296. type: integer
  14297. title:
  14298. description: 标题
  14299. type: string
  14300. updatedate:
  14301. description: 修改时间
  14302. type: string
  14303. userid:
  14304. description: 用户ID(默认为0, 核心为为机构用户ID)
  14305. type: integer
  14306. username:
  14307. description: 用户名称
  14308. type: string
  14309. type: object
  14310. models.QhjTeamOrder:
  14311. properties:
  14312. accountid:
  14313. description: 账户ID[报价币种]
  14314. type: integer
  14315. accountname:
  14316. description: 账户名称
  14317. type: string
  14318. agreeunit:
  14319. description: 合约乘数
  14320. type: number
  14321. buyorsell:
  14322. description: 方向 - 0:买 1:卖
  14323. type: integer
  14324. decimalplace:
  14325. description: 报价小数位
  14326. type: integer
  14327. enumdicname:
  14328. description: 单位名称
  14329. type: string
  14330. goodscode:
  14331. description: 商品代码(内部)
  14332. type: string
  14333. goodsid:
  14334. description: 商品ID
  14335. type: integer
  14336. goodsname:
  14337. description: 商品名称
  14338. type: string
  14339. goodunitid:
  14340. description: 报价单位ID
  14341. type: integer
  14342. marketid:
  14343. description: 市场ID
  14344. type: integer
  14345. marketname:
  14346. description: 市场名称
  14347. type: string
  14348. qtydecimalplace:
  14349. description: 成交量小数位
  14350. type: integer
  14351. refereeuserid:
  14352. description: 推荐人ID
  14353. type: integer
  14354. tradeamount:
  14355. description: 成交金额[账户币种,用于所有权]
  14356. type: number
  14357. tradedate:
  14358. description: 交易日(yyyyMMdd)
  14359. type: string
  14360. trademode:
  14361. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14362. 21:竞拍-大宗式 22:受托竞价
  14363. type: integer
  14364. tradeprice:
  14365. description: 成交价格
  14366. type: number
  14367. tradeqty:
  14368. description: 成交数量
  14369. type: number
  14370. tradetime:
  14371. description: 成交时间
  14372. type: string
  14373. userid:
  14374. description: 用户ID
  14375. type: integer
  14376. type: object
  14377. models.QhjTradeGoodsPickup:
  14378. properties:
  14379. accountid:
  14380. description: 账户ID
  14381. type: integer
  14382. address:
  14383. description: 提货人详细地址
  14384. type: string
  14385. amount:
  14386. description: 提货金额
  14387. type: number
  14388. artradedate:
  14389. description: 自动收货交易日(yyyyMMdd)
  14390. type: string
  14391. auditer:
  14392. description: 审核人
  14393. type: integer
  14394. auditsrc:
  14395. description: 更新来源 - 1:管理端 2:终端
  14396. type: integer
  14397. audittime:
  14398. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14399. type: string
  14400. audittradedate:
  14401. description: 审核交易日(yyyyMMdd)
  14402. type: string
  14403. cardnum:
  14404. description: 提货人证件号码
  14405. type: string
  14406. cardtypeid:
  14407. description: 提货人证件类型
  14408. type: integer
  14409. checkremark:
  14410. description: 审核备注
  14411. type: string
  14412. cityid:
  14413. description: 市
  14414. type: integer
  14415. cityname:
  14416. description: 城市名称
  14417. type: string
  14418. confirmtime:
  14419. description: 取货时间 或 收货时间
  14420. type: string
  14421. countryid:
  14422. description: 国家
  14423. type: integer
  14424. countryname:
  14425. description: 国家名称
  14426. type: string
  14427. decimalplace:
  14428. description: 商品报价小数位
  14429. type: integer
  14430. districtid:
  14431. description: 地区
  14432. type: integer
  14433. districtname:
  14434. description: 地区名称
  14435. type: string
  14436. enumdicname:
  14437. description: 单位名称(提货商品)
  14438. type: string
  14439. expresscompany:
  14440. description: 物流公司
  14441. type: string
  14442. expressnum:
  14443. description: 物流单号
  14444. type: string
  14445. goodsagreeunit:
  14446. description: 交易商品乘数
  14447. type: number
  14448. goodscode:
  14449. description: 商品代码
  14450. type: string
  14451. goodsid:
  14452. description: 商品ID
  14453. type: integer
  14454. goodsname:
  14455. description: 商品名称
  14456. type: string
  14457. goodsqty:
  14458. description: 交易商品手数(69模式按成交量小数位放大取整)
  14459. type: number
  14460. handlestatus:
  14461. description: 处理状态
  14462. type: integer
  14463. logincode:
  14464. description: 账号(登录代码, 有可能为空)
  14465. type: string
  14466. marketid:
  14467. description: 市场ID
  14468. type: integer
  14469. phonenum:
  14470. description: 提货人联系方式
  14471. type: string
  14472. pickupgoodsagreeunit:
  14473. description: 提货商品合约乘数
  14474. type: number
  14475. pickupgoodsid:
  14476. description: 提货商品ID
  14477. type: string
  14478. pickupgoodsname:
  14479. description: 提货商品名称
  14480. type: string
  14481. pickupgoodsqty:
  14482. description: 提货商品手数(数量)
  14483. type: number
  14484. pickupgoodsunitid:
  14485. description: 单位ID(提货商品)
  14486. type: integer
  14487. pickupratio:
  14488. description: 提货系数
  14489. type: number
  14490. preparedays:
  14491. description: 备货期(天)-提货单明细表
  14492. type: integer
  14493. provinceid:
  14494. description: 省
  14495. type: integer
  14496. provincename:
  14497. description: 省名称
  14498. type: string
  14499. qty:
  14500. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14501. type: number
  14502. qtydecimalplace:
  14503. description: 商品数量小数位
  14504. type: integer
  14505. recivername:
  14506. description: 提货人姓名
  14507. type: string
  14508. reqtime:
  14509. description: 提货申请时间
  14510. type: string
  14511. storeuserid:
  14512. description: 门店用户ID (千海金)
  14513. type: integer
  14514. storeusername:
  14515. description: 门店用户名称
  14516. type: string
  14517. takemode:
  14518. description: 提货方式 - 2:自提 3:配送(邮寄)
  14519. type: integer
  14520. takeorderid:
  14521. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14522. type: string
  14523. takeorderstatus:
  14524. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14525. 7:已拒绝 8:已撤销
  14526. type: integer
  14527. takeremark:
  14528. description: 提货备注
  14529. type: string
  14530. tradedate:
  14531. description: 交易日(yyyyMMdd)
  14532. type: string
  14533. updatetime:
  14534. description: 更新时间
  14535. type: string
  14536. userid:
  14537. description: 用户ID
  14538. type: integer
  14539. userinfotype:
  14540. description: 客户类型 1-个人 2-企业
  14541. type: integer
  14542. username:
  14543. description: 用户名称
  14544. type: string
  14545. type: object
  14546. models.QhjUserNodeCfgAndStatus:
  14547. properties:
  14548. agreementcontent:
  14549. description: 协议内容
  14550. type: string
  14551. agreementid:
  14552. description: 协议ID
  14553. type: integer
  14554. agreementname:
  14555. description: 协议名称
  14556. type: string
  14557. agreementno:
  14558. description: 协议编号
  14559. type: string
  14560. agreementtype:
  14561. description: 协议类型 - 1:注册 2:登录 3:交易
  14562. type: integer
  14563. agreementversion:
  14564. description: 协议版本号
  14565. type: integer
  14566. configid:
  14567. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14568. type: integer
  14569. createtime:
  14570. description: 创建时间
  14571. type: string
  14572. goodsid:
  14573. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14574. type: integer
  14575. nodetype:
  14576. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14577. type: integer
  14578. signtimestamp:
  14579. description: 签约状态时间戳(最近一次)
  14580. type: string
  14581. tradedate:
  14582. description: 签约交易日(yyyyMMdd)
  14583. type: string
  14584. userid:
  14585. description: 客户ID
  14586. type: integer
  14587. type: object
  14588. models.Qhjgoodsex:
  14589. properties:
  14590. canfinance:
  14591. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14592. type: integer
  14593. canregularlybuy:
  14594. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14595. type: integer
  14596. defaulttradeuserid:
  14597. description: 默认交易用户ID
  14598. type: integer
  14599. deliverygoodsid:
  14600. description: 现货品种ID
  14601. type: integer
  14602. goodsid:
  14603. description: 商品ID(自增ID SEQ_GOODS)
  14604. type: integer
  14605. minamount:
  14606. description: 最小购买金额
  14607. type: number
  14608. regularlybuyminamount:
  14609. description: 定投最小金额
  14610. type: number
  14611. regularlybuyminqty:
  14612. description: 定投最小数量
  14613. type: number
  14614. spotgoodsbrandid:
  14615. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14616. type: integer
  14617. visibilityforenterprise:
  14618. description: 企业客户是否可见 - 0:不可见 1:可见
  14619. type: integer
  14620. visibilityforpersonal:
  14621. description: 个人客户是否可见 - 0:不可见 1:可见
  14622. type: integer
  14623. wrstandardid:
  14624. description: 现货商品ID
  14625. type: integer
  14626. type: object
  14627. models.QueryErrorInfosRsp:
  14628. properties:
  14629. description:
  14630. description: 异常描述
  14631. type: string
  14632. errorcode:
  14633. description: 异常代码
  14634. type: string
  14635. errorid:
  14636. description: 异常ID
  14637. type: integer
  14638. modulecode:
  14639. description: 所属模块
  14640. type: string
  14641. operatecode:
  14642. description: 所属操作
  14643. type: string
  14644. rownumber:
  14645. description: 行号
  14646. type: string
  14647. required:
  14648. - errorid
  14649. type: object
  14650. models.QueryHedgeOrderDetailRsp:
  14651. properties:
  14652. accountid:
  14653. description: 账户ID
  14654. type: integer
  14655. buyorsell:
  14656. description: 买卖 - 0:买 1:卖
  14657. type: integer
  14658. cancellogincode:
  14659. description: 撤单人
  14660. type: string
  14661. channelbuildtype:
  14662. description: 开平标志 - 0:无 1:建仓 2:平仓
  14663. type: integer
  14664. channelinnerorderstatus:
  14665. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14666. 9:全部成交
  14667. type: integer
  14668. channeloperatetype:
  14669. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14670. type: integer
  14671. closetype:
  14672. description: 平仓方式 - 0:无 1:平今 2:平昨
  14673. type: integer
  14674. curexchangerate:
  14675. description: 当前汇率
  14676. type: number
  14677. decimalplace:
  14678. description: 商品报价小数位
  14679. type: integer
  14680. exchangefullname:
  14681. description: 外部交易所全称
  14682. type: string
  14683. goodscode:
  14684. description: 商品代码(内部)
  14685. type: string
  14686. goodsid:
  14687. description: 商品ID
  14688. type: integer
  14689. goodsname:
  14690. description: 商品名称
  14691. type: string
  14692. marketid:
  14693. description: 市场ID
  14694. type: integer
  14695. openfreezemargin:
  14696. description: 冻结保证金(冻结交易金额)
  14697. type: number
  14698. orderid:
  14699. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14700. type: string
  14701. orderlogincode:
  14702. description: 委托人
  14703. type: string
  14704. orderprice:
  14705. description: 委托价格(账户)
  14706. type: number
  14707. orderqty:
  14708. description: 委托数量
  14709. type: integer
  14710. ordertime:
  14711. description: 委托时间
  14712. type: string
  14713. pricemode:
  14714. description: '取价方式 - 1:市价 2: 限价'
  14715. type: integer
  14716. tradedate:
  14717. description: 交易日(yyyyMMdd)
  14718. type: string
  14719. tradeqty:
  14720. description: 成交数量
  14721. type: integer
  14722. type: object
  14723. models.QueryHedgeTradeDetailRsp:
  14724. properties:
  14725. accountid:
  14726. description: 账号ID
  14727. type: integer
  14728. buyorsell:
  14729. description: 方向 - 0:买 1:卖
  14730. type: integer
  14731. channelbuildtype:
  14732. description: 委托单据类型 0:无 1:建仓 2:平仓
  14733. type: integer
  14734. closecharge:
  14735. description: 平仓手续费(账户)
  14736. type: number
  14737. closecharge2:
  14738. description: 平仓手续费(商品)
  14739. type: number
  14740. closepl:
  14741. description: 平仓盈亏(账户)
  14742. type: number
  14743. closepl2:
  14744. description: 平仓盈亏(商品)
  14745. type: number
  14746. closepl3:
  14747. description: 平仓盈亏(账户)(逐笔)
  14748. type: number
  14749. closepl4:
  14750. description: 平仓盈亏(商品)(逐笔)
  14751. type: number
  14752. closetype:
  14753. description: 平仓方式 - 0:无 1:平今 2:平昨
  14754. type: integer
  14755. curexchangerate:
  14756. description: 当前汇率
  14757. type: number
  14758. decimalplace:
  14759. description: 商品报价小数位
  14760. type: integer
  14761. exchangefullname:
  14762. description: 外部交易所全称
  14763. type: string
  14764. goodscode:
  14765. description: 商品代码(内部)
  14766. type: string
  14767. goodsid:
  14768. description: 商品ID
  14769. type: integer
  14770. goodsname:
  14771. description: 商品名称
  14772. type: string
  14773. marketid:
  14774. description: 市场ID
  14775. type: integer
  14776. opencharge:
  14777. description: 建仓手续费(账户)
  14778. type: number
  14779. opencharge2:
  14780. description: 建仓手续费(商品)
  14781. type: number
  14782. orderid:
  14783. description: 委托单号
  14784. type: string
  14785. orderlogincode:
  14786. description: 委托人
  14787. type: string
  14788. tradeamount:
  14789. description: 成交金额(账户)
  14790. type: number
  14791. tradedate:
  14792. description: 交易日(yyyyMMdd)
  14793. type: string
  14794. tradeid:
  14795. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14796. type: string
  14797. tradeprice:
  14798. description: 成交价格
  14799. type: number
  14800. tradeqty:
  14801. description: 成交数量
  14802. type: integer
  14803. tradetime:
  14804. description: 成交时间
  14805. type: string
  14806. tradetype:
  14807. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14808. type: integer
  14809. type: object
  14810. models.QuotePrimaryMenu:
  14811. properties:
  14812. Index:
  14813. description: 序号
  14814. type: integer
  14815. Key:
  14816. description: 键名
  14817. type: string
  14818. Name:
  14819. description: 菜单名称
  14820. type: string
  14821. SubMenus:
  14822. description: 子菜单
  14823. items:
  14824. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14825. type: array
  14826. SubTitleType:
  14827. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14828. type: integer
  14829. TradeModes:
  14830. description: 包含市场交易类型
  14831. type: string
  14832. type: object
  14833. models.QuoteSecondaryMenu:
  14834. properties:
  14835. ExExchangeCode:
  14836. description: 外部交易所代码
  14837. type: string
  14838. ExExchangeID:
  14839. description: 外部交易所ID
  14840. type: integer
  14841. GoodsGroupIDs:
  14842. description: 商品组ID列表
  14843. items:
  14844. type: integer
  14845. type: array
  14846. Index:
  14847. description: 序号
  14848. type: integer
  14849. MarketID:
  14850. description: 市场ID
  14851. type: integer
  14852. MenuTitle:
  14853. description: 菜单标题(市场名称或外部交易所名称)
  14854. type: string
  14855. TradeMode:
  14856. description: 交易模式
  14857. type: integer
  14858. type: object
  14859. models.RelatedTaAccount:
  14860. properties:
  14861. accountid:
  14862. description: 资金账户ID
  14863. type: integer
  14864. type: object
  14865. models.RoleMenu:
  14866. properties:
  14867. hasright:
  14868. description: 是否有权限 0-没有权限 1-有权限
  14869. type: integer
  14870. iconame:
  14871. description: 菜单图标
  14872. type: string
  14873. menutype:
  14874. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14875. type: integer
  14876. parentcode:
  14877. description: 上级资源代码
  14878. type: string
  14879. remark:
  14880. description: 菜单备注
  14881. type: string
  14882. resourcecode:
  14883. description: 菜单代码
  14884. type: string
  14885. resourcelevel:
  14886. description: 级别
  14887. type: integer
  14888. resourcename:
  14889. description: 菜单名称
  14890. type: string
  14891. roleid:
  14892. description: 角色id
  14893. type: integer
  14894. sort:
  14895. description: 排序
  14896. type: integer
  14897. subMenu:
  14898. description: 子级菜单(结构同上层一样, swag解析不出来)
  14899. items:
  14900. $ref: '#/definitions/models.RoleMenu'
  14901. type: array
  14902. url:
  14903. description: URL
  14904. type: string
  14905. userid:
  14906. description: 用户id
  14907. type: integer
  14908. type: object
  14909. models.SearchGoods:
  14910. properties:
  14911. goodscode:
  14912. description: 商品代码(内部)
  14913. type: string
  14914. goodsid:
  14915. description: 商品ID(自增ID SEQ_GOODS)
  14916. type: integer
  14917. goodsname:
  14918. description: 商品名称
  14919. type: string
  14920. marketid:
  14921. description: 所属市场ID
  14922. type: integer
  14923. marketname:
  14924. description: 市场名称
  14925. type: string
  14926. trademode:
  14927. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14928. 21:竞拍-大宗式 22:受托竞价
  14929. type: integer
  14930. required:
  14931. - goodscode
  14932. - goodsid
  14933. - goodsname
  14934. - marketid
  14935. - trademode
  14936. type: object
  14937. models.Systemparam:
  14938. properties:
  14939. loginid:
  14940. description: 更新用户账号,登录账号
  14941. type: string
  14942. modifyflag:
  14943. description: 修改标志0 不允许修改 1 允许修改
  14944. type: integer
  14945. paramcode:
  14946. description: 参数代码
  14947. type: string
  14948. paramname:
  14949. description: 参数名
  14950. type: string
  14951. paramtype:
  14952. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14953. type: integer
  14954. paramvalue:
  14955. description: 参数值
  14956. type: string
  14957. paramvalue2:
  14958. description: 参数值(CLOB)
  14959. type: string
  14960. regexpress:
  14961. description: 正则表达式
  14962. type: string
  14963. remark:
  14964. description: 备注
  14965. type: string
  14966. serverip:
  14967. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14968. type: string
  14969. showflag:
  14970. description: 是否显示0 不显示 1 显示
  14971. type: integer
  14972. updatetime:
  14973. description: 更新时间
  14974. type: string
  14975. userid:
  14976. description: 更新用户ID
  14977. type: integer
  14978. required:
  14979. - paramcode
  14980. type: object
  14981. models.Szdz3convertconfig:
  14982. properties:
  14983. canin:
  14984. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14985. type: integer
  14986. canout:
  14987. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14988. type: integer
  14989. converttype:
  14990. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14991. 6:交易转花生米(不设置)
  14992. type: integer
  14993. createtime:
  14994. description: 创建时间
  14995. type: string
  14996. creatorid:
  14997. description: 创建人
  14998. type: integer
  14999. daymaxvalue:
  15000. description: 当日最大转入限制
  15001. type: number
  15002. freezedays:
  15003. description: 冻结天数 [5:花生米转交易]
  15004. type: integer
  15005. innergoodsid:
  15006. description: 内部商品ID[交易]
  15007. type: integer
  15008. inratio:
  15009. description: 目标值
  15010. type: integer
  15011. modifierid:
  15012. description: 修改人
  15013. type: integer
  15014. modifytime:
  15015. description: 修改时间
  15016. type: string
  15017. outergoodscode:
  15018. description: 外部商品代码[JD\PD]
  15019. type: string
  15020. outratio:
  15021. description: 源值
  15022. type: integer
  15023. pddecimalplace:
  15024. description: PD小数位
  15025. type: integer
  15026. timemaxvalue:
  15027. description: 单次最大转入限制
  15028. type: number
  15029. timeminvalue:
  15030. description: 单次最小转入限制
  15031. type: number
  15032. required:
  15033. - converttype
  15034. - innergoodsid
  15035. - outergoodscode
  15036. type: object
  15037. models.Szdz3searchwhitelist:
  15038. properties:
  15039. createtime:
  15040. description: 创建时间
  15041. type: string
  15042. creatorid:
  15043. description: 创建人
  15044. type: integer
  15045. modifierid:
  15046. description: 修改人
  15047. type: integer
  15048. modifytime:
  15049. description: 修改时间
  15050. type: string
  15051. userid:
  15052. description: 用户ID
  15053. type: integer
  15054. required:
  15055. - userid
  15056. type: object
  15057. models.TBGoods:
  15058. properties:
  15059. agreeunit:
  15060. description: 合约乘数
  15061. type: number
  15062. enumdicname:
  15063. description: 单位名称
  15064. type: string
  15065. goodscode:
  15066. description: 商品代码(内部)
  15067. type: string
  15068. goodsid:
  15069. description: 商品ID(自增ID SEQ_GOODS)
  15070. type: integer
  15071. goodsname:
  15072. description: 商品名称
  15073. type: string
  15074. type: object
  15075. models.TBGoodsGroup:
  15076. properties:
  15077. GDLST:
  15078. description: 商品列表
  15079. items:
  15080. $ref: '#/definitions/models.TBGoods'
  15081. type: array
  15082. convertratio:
  15083. description: 折算系数
  15084. type: number
  15085. enumdicname:
  15086. description: 单位名称
  15087. type: string
  15088. exexchangecode:
  15089. description: 交易所代码
  15090. type: string
  15091. exexchangename:
  15092. description: 交易所名称
  15093. type: string
  15094. goodsgroupid:
  15095. description: 商品组ID(自增ID)
  15096. type: integer
  15097. goodsgroupname:
  15098. description: 商品组名称
  15099. type: string
  15100. goodunitid:
  15101. description: 报价单位ID
  15102. type: integer
  15103. type: object
  15104. models.TBMiddleGoods:
  15105. properties:
  15106. GPLST:
  15107. description: 期货品种列表
  15108. items:
  15109. $ref: '#/definitions/models.TBGoodsGroup'
  15110. type: array
  15111. WDLST:
  15112. description: 商品信息列表(现货品类)
  15113. items:
  15114. $ref: '#/definitions/models.TBWrstandard'
  15115. type: array
  15116. areauserid:
  15117. description: 机构用户ID
  15118. type: integer
  15119. enumdicname:
  15120. description: 单位名称
  15121. type: string
  15122. goodsunitid:
  15123. description: 套保品种单位id
  15124. type: integer
  15125. middlegoodscode:
  15126. description: 套保品种代码
  15127. type: string
  15128. middlegoodsid:
  15129. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15130. type: integer
  15131. middlegoodsname:
  15132. description: 套保品种名称
  15133. type: string
  15134. needarbitrageratio:
  15135. description: 套利比率
  15136. type: number
  15137. needhedgeratio:
  15138. description: 套保比率
  15139. type: number
  15140. type: object
  15141. models.TBWrstandard:
  15142. properties:
  15143. convertratio:
  15144. description: 折算系数
  15145. type: number
  15146. deliverygoodsname:
  15147. description: 品种名称
  15148. type: string
  15149. enumdicname:
  15150. description: 单位名称
  15151. type: string
  15152. vatrate:
  15153. description: 增值税率
  15154. type: number
  15155. wrstandardcode:
  15156. description: 现货商品代码
  15157. type: string
  15158. wrstandardid:
  15159. description: 现货商品ID(SEQ_WRSTANDARD)
  15160. type: integer
  15161. wrstandardname:
  15162. description: 现货商品名称
  15163. type: string
  15164. type: object
  15165. models.Taaccount:
  15166. properties:
  15167. accountflag:
  15168. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15169. type: integer
  15170. accountid:
  15171. description: 资金账户ID
  15172. type: integer
  15173. accountname:
  15174. description: 账户名称
  15175. type: string
  15176. balance:
  15177. description: 期初余额
  15178. type: number
  15179. capitalbalance:
  15180. description: 本金余额[外部子账户实际出入金余额]
  15181. type: number
  15182. changeflag:
  15183. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15184. type: integer
  15185. changetime:
  15186. description: 账户状态变更时间
  15187. type: string
  15188. closepl:
  15189. description: 今日平仓盈亏
  15190. type: number
  15191. creditdecrease:
  15192. description: 今日授信减少
  15193. type: number
  15194. creditincrease:
  15195. description: 今日授信增加
  15196. type: number
  15197. curamount:
  15198. description: 总市值(从持仓中统计)
  15199. type: number
  15200. currencyid:
  15201. description: 货币ID
  15202. type: integer
  15203. currentbalance:
  15204. description: 期末余额
  15205. type: number
  15206. freezecharge:
  15207. description: 手续费冻结
  15208. type: number
  15209. freezemargin:
  15210. description: 冻结保证金
  15211. type: number
  15212. fromaccountid:
  15213. description: 所属上级账户
  15214. type: integer
  15215. inamount:
  15216. description: 今日入金金额(包括三方入金)
  15217. type: number
  15218. ismain:
  15219. description: 是否母账号 0:不是母账户 1:是母账户
  15220. type: integer
  15221. ismarketaccount:
  15222. description: 是否机构接单账号 0:不是 1:是
  15223. type: integer
  15224. isreckonaccount:
  15225. description: 是否机构分润账号 0:不是 1:是
  15226. type: integer
  15227. mortgagecredit:
  15228. description: 授信金额
  15229. type: number
  15230. orifreezecharge:
  15231. description: 期初手续费冻结
  15232. type: number
  15233. orifreezemargin:
  15234. description: 期初冻结保证金
  15235. type: number
  15236. orimortgagecredit:
  15237. description: 期初授信金额
  15238. type: number
  15239. oriothercredit:
  15240. description: 期初其它授信金额
  15241. type: number
  15242. oriotherfreezemargin:
  15243. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15244. type: number
  15245. orioutamountfreeze:
  15246. description: 期初出金冻结
  15247. type: number
  15248. oriusedmargin:
  15249. description: 期初占用保证金
  15250. type: number
  15251. othercredit:
  15252. description: 其它授信金额
  15253. type: number
  15254. othercreditdecrease:
  15255. description: 今日其它授信减少
  15256. type: number
  15257. othercreditincrease:
  15258. description: 今日其它授信增加
  15259. type: number
  15260. otherfreezemargin:
  15261. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15262. type: number
  15263. otherincome:
  15264. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15265. type: number
  15266. otherpay:
  15267. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15268. type: number
  15269. outamount:
  15270. description: 今日出金金额(包括三方出金)
  15271. type: number
  15272. outamountfreeze:
  15273. description: 出金冻结
  15274. type: number
  15275. outthreshold:
  15276. description: 出金阈值
  15277. type: number
  15278. parentaccountid:
  15279. description: 所属根账号
  15280. type: integer
  15281. paycharge:
  15282. description: 今日手续费支出
  15283. type: number
  15284. relatedaccountstatus:
  15285. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15286. type: integer
  15287. relateduserid:
  15288. description: 关联用户
  15289. type: integer
  15290. remainamount:
  15291. description: 融资额(从融资合同中统计)
  15292. type: number
  15293. serivcegroup:
  15294. description: 服务分组
  15295. type: integer
  15296. signstatus:
  15297. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15298. type: integer
  15299. sublevelpath:
  15300. description: 账号层级路径(逗号分隔,首尾加逗号)
  15301. type: string
  15302. taaccounttype:
  15303. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15304. type: integer
  15305. thirdinamount:
  15306. description: 今日三方入金
  15307. type: number
  15308. thirdoutamount:
  15309. description: 今日三方出金
  15310. type: number
  15311. tradestatus:
  15312. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15313. type: integer
  15314. tradestatuschangetime:
  15315. description: 激活时间
  15316. type: string
  15317. transferamount:
  15318. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15319. type: number
  15320. usedmargin:
  15321. description: 占用保证金
  15322. type: number
  15323. userid:
  15324. description: 用户ID
  15325. type: integer
  15326. required:
  15327. - accountid
  15328. - userid
  15329. type: object
  15330. models.Tablecolumnconfig:
  15331. properties:
  15332. aligntype:
  15333. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15334. type: integer
  15335. autoid:
  15336. description: AutoID
  15337. type: integer
  15338. columnfield:
  15339. description: 列字段
  15340. type: string
  15341. columntitle:
  15342. description: 列Title
  15343. type: string
  15344. columnwidth:
  15345. description: 列宽
  15346. type: string
  15347. formatterstring:
  15348. description: 格式化字符
  15349. type: string
  15350. formattertype:
  15351. description: 格式化类型
  15352. type: string
  15353. groupname:
  15354. description: 表头分组名称
  15355. type: string
  15356. isshow:
  15357. description: 是否显示 - 0:不显示 1:显示
  15358. type: integer
  15359. needsummary:
  15360. description: 是否需要汇总 - 0:不需要 1:需要
  15361. type: integer
  15362. orderindex:
  15363. description: 顺序
  15364. type: integer
  15365. remark:
  15366. description: 备注
  15367. type: string
  15368. summarytype:
  15369. description: 汇总类型 - 1:加总 2:最后一个
  15370. type: integer
  15371. tablekey:
  15372. description: 列表Key
  15373. type: string
  15374. required:
  15375. - autoid
  15376. type: object
  15377. models.TjmdHolderDetailTradeInfo:
  15378. properties:
  15379. agreeunit:
  15380. description: 合约乘数
  15381. type: number
  15382. buyaccountid:
  15383. description: 买方账户
  15384. type: string
  15385. buyusername:
  15386. description: 买方
  15387. type: string
  15388. delistingdate:
  15389. description: 最后结算日
  15390. type: string
  15391. expiredate:
  15392. description: 到期结算价定价日
  15393. type: string
  15394. exprieprice:
  15395. description: 到期清算价格
  15396. type: string
  15397. goodscode:
  15398. description: 商品代码
  15399. type: string
  15400. goodsid:
  15401. description: 商品ID
  15402. type: integer
  15403. goodsname:
  15404. description: 商品名称(交易标的)
  15405. type: string
  15406. lasttradedate:
  15407. description: 最后交易日
  15408. type: string
  15409. listingdate:
  15410. description: 开始交易日
  15411. type: string
  15412. openprice:
  15413. description: 成交价
  15414. type: number
  15415. openqty:
  15416. description: 交易数量
  15417. type: integer
  15418. sellaccountid:
  15419. description: 卖方账户
  15420. type: string
  15421. sellusername:
  15422. description: 卖方
  15423. type: string
  15424. tradeamount:
  15425. description: 初始名义价值
  15426. type: number
  15427. tradedate:
  15428. description: 成交日期
  15429. type: string
  15430. tradeid:
  15431. description: 成交编号
  15432. type: string
  15433. type: object
  15434. models.TjmdMarketSection:
  15435. properties:
  15436. marketsectionid:
  15437. description: 市场版块ID(SEQ_MARKETSECTION)
  15438. type: integer
  15439. marketsectionname:
  15440. description: 市场版块名称
  15441. type: string
  15442. mlist:
  15443. description: 市场列表(板块下面有多少个市场)
  15444. items:
  15445. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15446. type: array
  15447. orderindex:
  15448. description: 排序
  15449. type: integer
  15450. pictureurl:
  15451. description: 图片url, 规格(90*90)
  15452. type: string
  15453. remark:
  15454. description: 备注
  15455. type: string
  15456. type: object
  15457. models.TjmdMarketSectionConfig:
  15458. properties:
  15459. auctionwrtype:
  15460. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15461. type: integer
  15462. canacceptquote:
  15463. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15464. type: integer
  15465. cangoodsexercise:
  15466. description: '[期权]是否可现货行权- 0:否 1:是'
  15467. type: integer
  15468. cangoodsexercisetype:
  15469. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15470. type: integer
  15471. canmanualquotestrike:
  15472. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15473. type: integer
  15474. canmutistage:
  15475. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15476. type: integer
  15477. canpreexercise:
  15478. description: '[期权]是否可预申报- 0:否 1:是'
  15479. type: integer
  15480. clearinterval:
  15481. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15482. type: integer
  15483. contracttmp:
  15484. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15485. type: string
  15486. exchareaid:
  15487. description: 所属交易所,可以没有
  15488. type: integer
  15489. financemarketid:
  15490. description: 融资回购市场ID [仓单贸易]
  15491. type: integer
  15492. goodstype:
  15493. description: 商品类型 - 1:交易商品 2:仓单商品
  15494. type: integer
  15495. hasrebate:
  15496. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15497. type: integer
  15498. hastradecredit:
  15499. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15500. type: integer
  15501. haswr:
  15502. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15503. type: integer
  15504. isdeductmargin:
  15505. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15506. type: integer
  15507. isrecordsource:
  15508. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15509. type: integer
  15510. isreleasemargin:
  15511. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15512. type: integer
  15513. isupdatereckonprice:
  15514. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15515. type: integer
  15516. listingmode:
  15517. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15518. type: integer
  15519. marginformula:
  15520. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15521. type: integer
  15522. marginformula2:
  15523. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15524. type: integer
  15525. marketid:
  15526. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15527. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15528. type: integer
  15529. marketname:
  15530. description: 市场名称
  15531. type: string
  15532. marketsectionid:
  15533. description: 市场版块ID(SEQ_MARKETSECTION)
  15534. type: integer
  15535. marketserviceid:
  15536. description: 市场服务ID
  15537. type: integer
  15538. marketstatus:
  15539. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15540. type: integer
  15541. markettype:
  15542. description: 市场类型- 1:非交易服务 2:交易服务
  15543. type: integer
  15544. matchermode:
  15545. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15546. type: integer
  15547. nowrquotaflag:
  15548. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15549. type: integer
  15550. openmethod:
  15551. description: 开盘模式 - 0 自动 1手动
  15552. type: integer
  15553. orderindex:
  15554. description: 排序
  15555. type: integer
  15556. otcuserid:
  15557. description: 场外期权做市商[场外期权]
  15558. type: integer
  15559. outersynctime:
  15560. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15561. type: string
  15562. paylaterflag:
  15563. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15564. type: integer
  15565. pendingflag:
  15566. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15567. type: integer
  15568. pendingtime:
  15569. description: 待开市时间[通道交易-对冲](HH:mm)
  15570. type: string
  15571. performancetempid:
  15572. description: 履约计划模板ID - 作废
  15573. type: integer
  15574. premiumquotemode:
  15575. description: 权利金报价方式 - 1:自动 2:手动
  15576. type: integer
  15577. rebateratio:
  15578. description: 返利比率[竞价式]
  15579. type: number
  15580. reckonorder:
  15581. description: 结算顺序
  15582. type: integer
  15583. reckonpricealgorithm:
  15584. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15585. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15586. type: integer
  15587. reckonpriceparam:
  15588. description: 结算价参数
  15589. type: integer
  15590. reckontime:
  15591. description: 结算时间[通道交易-对冲](HH:mm)
  15592. type: string
  15593. roleprioritytype:
  15594. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15595. type: integer
  15596. selllistingauditflag:
  15597. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15598. type: integer
  15599. trademarkettype:
  15600. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15601. type: integer
  15602. trademode:
  15603. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15604. 21:竞拍-大宗式 22:受托竞价
  15605. type: integer
  15606. tradeproperty:
  15607. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15608. 8:场外期权
  15609. type: integer
  15610. tradetype:
  15611. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15612. type: integer
  15613. updatereckonpriceinterval:
  15614. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15615. type: integer
  15616. type: object
  15617. models.TjmdQuoteGoods:
  15618. properties:
  15619. buyqty:
  15620. description: 买量(暂不做, 无值, 保留字段)
  15621. type: number
  15622. decimalplace:
  15623. description: 报价小数位
  15624. type: integer
  15625. goodscode:
  15626. description: 合约代码
  15627. type: string
  15628. goodsgroupid:
  15629. description: 商品组ID(自增ID)
  15630. type: integer
  15631. goodsgroupname:
  15632. description: 商品组名称
  15633. type: string
  15634. goodsid:
  15635. description: 合约id
  15636. type: integer
  15637. goodsname:
  15638. description: 合约名称
  15639. type: string
  15640. refgoodscode:
  15641. description: 标的合约代码
  15642. type: string
  15643. refgoodsid:
  15644. description: 标的合约id
  15645. type: integer
  15646. refgoodsname:
  15647. description: 标的合约名称
  15648. type: string
  15649. sellqty:
  15650. description: 卖量(暂不做, 无值, 保留字段)
  15651. type: number
  15652. type: object
  15653. models.TjmdTodayAccountMargin:
  15654. properties:
  15655. accountid:
  15656. description: 账号ID
  15657. type: integer
  15658. goodsid:
  15659. description: 商品ID
  15660. type: integer
  15661. infoc:
  15662. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15663. description: 配置参数
  15664. marketid:
  15665. description: 市场ID
  15666. type: integer
  15667. type: object
  15668. models.TjmdTradeOrderDetail:
  15669. properties:
  15670. buyorsell:
  15671. description: 买卖方向 0-买 1-卖
  15672. type: integer
  15673. goodsid:
  15674. description: 商品id
  15675. type: integer
  15676. marketmaxsub:
  15677. description: 市价最大偏移范围 [浮动价 - 点差]
  15678. type: number
  15679. orderid:
  15680. description: 委托单号
  15681. type: string
  15682. orderprice:
  15683. description: 委托价格
  15684. type: number
  15685. orderqty:
  15686. description: 委托数量
  15687. type: integer
  15688. pricemode:
  15689. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15690. type: integer
  15691. userid:
  15692. description: 用户id
  15693. type: integer
  15694. username:
  15695. description: 用户名称(已脱敏)
  15696. type: string
  15697. type: object
  15698. models.TjmdTransferApply:
  15699. properties:
  15700. applyid:
  15701. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15702. type: integer
  15703. applystatus:
  15704. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15705. type: integer
  15706. applytime:
  15707. description: 申请时间(时间)
  15708. type: string
  15709. auditremark:
  15710. description: 审核备注(拒绝原因?)
  15711. type: string
  15712. begindate:
  15713. description: 开始交易日(yyyymmdd)
  15714. type: string
  15715. buyorsell:
  15716. description: 买卖 - 0:买 1:卖
  15717. type: integer
  15718. enddate:
  15719. description: 结束交易日(yyyymmdd)
  15720. type: string
  15721. goodscode:
  15722. description: 商品代码
  15723. type: string
  15724. goodsid:
  15725. description: 商品ID
  15726. type: integer
  15727. goodsname:
  15728. description: 商品名称
  15729. type: string
  15730. marketid:
  15731. description: 市场ID
  15732. type: integer
  15733. qty:
  15734. description: 转让数量(数量)
  15735. type: number
  15736. tradeid:
  15737. description: 成交单号(关联持仓)
  15738. type: string
  15739. transferamount:
  15740. description: 转让总金额(金额)
  15741. type: number
  15742. transferprice:
  15743. description: 转让价格(协议价格)
  15744. type: number
  15745. type: object
  15746. models.TradeHolderDetail:
  15747. properties:
  15748. accountid:
  15749. description: 账号ID
  15750. type: integer
  15751. agreeunit:
  15752. description: 合约乘数
  15753. type: number
  15754. buyorsell:
  15755. description: 方向 - 0:买 1:卖
  15756. type: integer
  15757. currencyid:
  15758. description: 商品币种id
  15759. type: integer
  15760. currencyname:
  15761. description: 币种名称
  15762. type: string
  15763. decimalplace:
  15764. description: 商品价格小数位
  15765. type: integer
  15766. enumdicname:
  15767. description: 商品单位名称
  15768. type: string
  15769. expirecycle:
  15770. description: 行权周期(天) - 1:滚动行权时填写
  15771. type: integer
  15772. expiredate:
  15773. description: 行权日(yyyyMMdd) - 到期日
  15774. type: string
  15775. expiretype:
  15776. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15777. type: integer
  15778. freezeqty:
  15779. description: 冻结数量
  15780. type: number
  15781. goodscode:
  15782. description: 商品代码
  15783. type: string
  15784. goodsid:
  15785. description: 商品ID
  15786. type: integer
  15787. goodsname:
  15788. description: 商品名称
  15789. type: string
  15790. goodunitid:
  15791. description: 商品单位id
  15792. type: integer
  15793. holderamount:
  15794. description: 持仓金额
  15795. type: number
  15796. holdercredit:
  15797. description: 持仓授信金额
  15798. type: number
  15799. holderdays:
  15800. description: 剩余冻结天数
  15801. type: integer
  15802. holderprice:
  15803. description: 持仓价格
  15804. type: number
  15805. holderqty:
  15806. description: 持仓数量
  15807. type: number
  15808. isconfirmexercise:
  15809. description: 是否确认行权- 0:否 1:是
  15810. type: integer
  15811. ispreexercise:
  15812. description: 是否预申报- 0:否 1:是 2:不可行权
  15813. type: integer
  15814. marketid:
  15815. description: 市场id
  15816. type: integer
  15817. marketname:
  15818. description: 市场名称
  15819. type: string
  15820. openprice:
  15821. description: 建仓价格
  15822. type: number
  15823. openqty:
  15824. description: 建仓数量
  15825. type: number
  15826. optiontype:
  15827. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15828. type: integer
  15829. preexerciseprice:
  15830. description: 预申报价格
  15831. type: number
  15832. premium:
  15833. description: 权利金
  15834. type: number
  15835. qtydecimalplace:
  15836. description: 商品成交量小数位
  15837. type: integer
  15838. refgoodscode:
  15839. description: 标的合约代码
  15840. type: string
  15841. refgoodsid:
  15842. description: 标的合约id
  15843. type: integer
  15844. releaseamount:
  15845. description: 释放持仓金额
  15846. type: number
  15847. releaseholdercredit:
  15848. description: 释放持仓授信金额
  15849. type: number
  15850. taname:
  15851. description: 资金账号名称
  15852. type: string
  15853. tradeamount:
  15854. description: 成交金额
  15855. type: number
  15856. tradedate:
  15857. description: 交易日(yyyyMMdd)
  15858. type: string
  15859. tradeid:
  15860. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15861. type: string
  15862. trademode:
  15863. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15864. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15865. type: integer
  15866. tradeproperty:
  15867. description: 交易属性
  15868. type: integer
  15869. tradetime:
  15870. description: 交易时间
  15871. type: string
  15872. userid:
  15873. description: 用户id
  15874. type: integer
  15875. username:
  15876. description: 用户名称
  15877. type: string
  15878. type: object
  15879. models.Unlinkermcphedgeplan:
  15880. properties:
  15881. accountid:
  15882. description: 期货账户ID - 作废
  15883. type: integer
  15884. accountname:
  15885. description: 交易用户
  15886. type: string
  15887. applyid:
  15888. description: 申请人
  15889. type: integer
  15890. applysrc:
  15891. description: 申请来源 - 1:管理端 2:终端
  15892. type: integer
  15893. applytime:
  15894. description: 申请时间
  15895. type: string
  15896. areauserid:
  15897. description: '[企业ID]机构ID'
  15898. type: integer
  15899. auditid:
  15900. description: 审核人
  15901. type: integer
  15902. auditremark:
  15903. description: 审核备注
  15904. type: string
  15905. auditsrc:
  15906. description: 审核来源 - 1:管理端 2:终端
  15907. type: integer
  15908. audittime:
  15909. description: 审核时间
  15910. type: string
  15911. audittradedate:
  15912. description: 审核交易日(yyyyMMdd)
  15913. type: string
  15914. biztype:
  15915. description: 业务类型 - 1:套保
  15916. type: integer
  15917. contracttype:
  15918. description: 计划类型 - 1:采购 -1:销售
  15919. type: integer
  15920. convertfactor:
  15921. description: 标仓系数 - 作废
  15922. type: number
  15923. createtime:
  15924. description: 创建时间
  15925. type: string
  15926. currencyid:
  15927. description: 结算币种ID - 作废
  15928. type: integer
  15929. deliverygoodsid:
  15930. description: 现货品种ID
  15931. type: integer
  15932. enumdicname:
  15933. description: 结算币种
  15934. type: string
  15935. hedgeplanid:
  15936. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  15937. type: integer
  15938. hedgeplanno:
  15939. description: '[计划编号]套保计划编号,模糊查询'
  15940. type: string
  15941. hedgeplanstatus:
  15942. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  15943. type: integer
  15944. isrelated:
  15945. description: 是否已关联计划项目 - 0:否 1:是
  15946. type: integer
  15947. planqty:
  15948. description: '[计划量]计划数量'
  15949. type: number
  15950. plantime:
  15951. description: 计划时间
  15952. type: string
  15953. producttype:
  15954. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  15955. type: integer
  15956. remark:
  15957. description: 备注
  15958. type: string
  15959. spotgoodsdesc:
  15960. description: 商品型号
  15961. type: string
  15962. tradedate:
  15963. description: 交易日(yyyyMMdd)
  15964. type: string
  15965. tradeuserid:
  15966. description: 交易用户ID
  15967. type: integer
  15968. updatetime:
  15969. description: 更新时间
  15970. type: string
  15971. wrstandardid:
  15972. description: 现货商品ID
  15973. type: integer
  15974. wrstandardname:
  15975. description: 现货商品,模糊查询
  15976. type: string
  15977. required:
  15978. - areauserid
  15979. type: object
  15980. models.UserCollectConfig:
  15981. properties:
  15982. accountstatus:
  15983. description: 账户状态 - 1:正常 2:停用 3:注销
  15984. type: integer
  15985. collectaccountname:
  15986. description: 收款人账户名称
  15987. type: string
  15988. collectaccountno:
  15989. description: 收款人账户
  15990. type: string
  15991. collectbankname:
  15992. description: 收款人开户行
  15993. type: string
  15994. collectbranchbankname:
  15995. description: 收款人开户支行
  15996. type: string
  15997. collectconfigid:
  15998. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15999. type: string
  16000. remark:
  16001. description: 备注
  16002. type: string
  16003. userid:
  16004. description: 收款人用户ID
  16005. type: integer
  16006. type: object
  16007. models.UserReceiveInfo:
  16008. properties:
  16009. address:
  16010. description: 提货人详细地址
  16011. type: string
  16012. autoid:
  16013. description: AutoID
  16014. type: integer
  16015. cardnum:
  16016. description: 证件号码(加密存储)
  16017. type: string
  16018. cardtypeid:
  16019. description: 证件类型
  16020. type: integer
  16021. cityid:
  16022. description: 市
  16023. type: integer
  16024. cityname:
  16025. description: 城市名称
  16026. type: string
  16027. countryid:
  16028. description: 国家
  16029. type: integer
  16030. countryname:
  16031. description: 国家名称
  16032. type: string
  16033. districtid:
  16034. description: 地区
  16035. type: integer
  16036. districtname:
  16037. description: 地区名称
  16038. type: string
  16039. hasencrypt:
  16040. description: 数据是否已加密 - 0:未加密 1:已加密
  16041. type: integer
  16042. isdefault:
  16043. description: 是否默认地址 - 0:否 1:是
  16044. type: integer
  16045. phonenum:
  16046. description: 提货人联系方式(加密存储)
  16047. type: string
  16048. provinceid:
  16049. description: 省
  16050. type: integer
  16051. provincename:
  16052. description: 省名称
  16053. type: string
  16054. receivername:
  16055. description: 提货人姓名
  16056. type: string
  16057. takeremark:
  16058. description: 提货备注
  16059. type: string
  16060. userid:
  16061. description: 用户ID
  16062. type: integer
  16063. type: object
  16064. models.Useraccount:
  16065. properties:
  16066. accountname:
  16067. description: 账户名称(机构名称)
  16068. type: string
  16069. accountstatus:
  16070. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16071. type: integer
  16072. applysrc:
  16073. description: 申请来源 - 1:管理端 2:终端
  16074. type: integer
  16075. auditremark:
  16076. description: 审核备注
  16077. type: string
  16078. auditsrc:
  16079. description: 审核来源 - 1:管理端 2:终端
  16080. type: integer
  16081. audittime:
  16082. description: 审核时间
  16083. type: string
  16084. audituserid:
  16085. description: 审核人
  16086. type: integer
  16087. broker:
  16088. description: 所属经纪人ID
  16089. type: integer
  16090. canceltime:
  16091. description: 销户时间
  16092. type: string
  16093. canceluserid:
  16094. description: 销户人
  16095. type: integer
  16096. canrecommend:
  16097. description: 是否可推荐 - 0:不可 1;可
  16098. type: integer
  16099. createtime:
  16100. description: 创建时间
  16101. type: string
  16102. creatorid:
  16103. description: 创建人
  16104. type: integer
  16105. hasauth:
  16106. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16107. type: integer
  16108. isanonymous:
  16109. description: 是否匿名下单 - 0:否 1:是
  16110. type: integer
  16111. maxinvestornum:
  16112. description: 最大用户数(经纪会员下投资者个数)
  16113. type: integer
  16114. memberuserid:
  16115. description: 所属会员ID
  16116. type: integer
  16117. modifierid:
  16118. description: 修改人
  16119. type: integer
  16120. modifyremark:
  16121. description: 变更备注
  16122. type: string
  16123. modifystatus:
  16124. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16125. type: integer
  16126. modifytime:
  16127. description: 修改时间
  16128. type: string
  16129. parenttopuser:
  16130. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16131. type: string
  16132. parentuserid:
  16133. description: 所属机构ID
  16134. type: integer
  16135. reckonaccountid:
  16136. description: 默认结算资金账号ID(机构分润使用) 作废
  16137. type: integer
  16138. refercount:
  16139. description: 推荐总人数
  16140. type: integer
  16141. refereeuserid:
  16142. description: 推荐人ID
  16143. type: integer
  16144. refernum:
  16145. description: 推荐码
  16146. type: string
  16147. rootuserid:
  16148. description: 根用户ID
  16149. type: integer
  16150. subaccountlevel:
  16151. description: 子账户层数
  16152. type: integer
  16153. subarealevelpath:
  16154. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16155. type: string
  16156. userid:
  16157. description: 用户ID
  16158. type: integer
  16159. usertype:
  16160. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16161. type: integer
  16162. required:
  16163. - userid
  16164. type: object
  16165. models.Userfavoritegoods:
  16166. properties:
  16167. goodsid:
  16168. description: 商品ID
  16169. type: integer
  16170. required:
  16171. - goodsid
  16172. type: object
  16173. models.Userinfo:
  16174. properties:
  16175. address:
  16176. description: 地址
  16177. type: string
  16178. attachment1:
  16179. description: 附件1
  16180. type: string
  16181. attachment2:
  16182. description: 附件2
  16183. type: string
  16184. bankaccount:
  16185. description: 银行帐号 (加密存储)
  16186. type: string
  16187. bankaccountname:
  16188. description: 收款人名称
  16189. type: string
  16190. bankcardfrontphotourl:
  16191. description: 银行卡正面照地址
  16192. type: string
  16193. bankid:
  16194. description: 银行编码
  16195. type: string
  16196. bankname:
  16197. description: 银行名称
  16198. type: string
  16199. biznature:
  16200. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16201. type: integer
  16202. bizscope:
  16203. description: 企业经营范围(企业)
  16204. type: string
  16205. cardbackphotourl:
  16206. description: 证件背面图片地址
  16207. type: string
  16208. cardfrontphotourl:
  16209. description: 证件正面图片地址
  16210. type: string
  16211. cardnum:
  16212. description: 证件号码(加密存储)
  16213. type: string
  16214. cardtypeid:
  16215. description: 证件类型ID
  16216. type: integer
  16217. cityid:
  16218. description: 市
  16219. type: integer
  16220. company:
  16221. description: 公司(个人)
  16222. type: string
  16223. contactname:
  16224. description: 联系人
  16225. type: string
  16226. countryid:
  16227. description: 国家
  16228. type: integer
  16229. createtime:
  16230. description: 创建时间
  16231. type: string
  16232. creatorid:
  16233. description: 创建人
  16234. type: integer
  16235. customername:
  16236. description: 客户名称(企业名称)
  16237. type: string
  16238. districtid:
  16239. description: 地区
  16240. type: integer
  16241. email:
  16242. description: 邮件(加密存储)
  16243. type: string
  16244. fax:
  16245. description: 传真(加密存储)
  16246. type: string
  16247. halfbodyphotourl:
  16248. description: 半身照地址
  16249. type: string
  16250. hasencrypt:
  16251. description: 数据是否已加密 - 0:未加密 1:已加密
  16252. type: integer
  16253. headurl:
  16254. description: 头像地址
  16255. type: string
  16256. legalcardbackphotourl:
  16257. description: 法人身份证背面照地址
  16258. type: string
  16259. legalcardfrontphotourl:
  16260. description: 法人身份证正面照地址
  16261. type: string
  16262. legalpersonname:
  16263. description: 法人姓名(企业)
  16264. type: string
  16265. mobile:
  16266. description: 手机号码(加密存储)
  16267. type: string
  16268. mobile2:
  16269. description: 手机号码[明文-尚志]
  16270. type: string
  16271. modifierid:
  16272. description: 修改人
  16273. type: integer
  16274. modifiertime:
  16275. description: 修改时间
  16276. type: string
  16277. needinvoice:
  16278. description: 是否需要发票 - 0:不需要 1:需要
  16279. type: integer
  16280. nickname:
  16281. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16282. type: string
  16283. openmode:
  16284. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16285. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16286. type: integer
  16287. otherurl:
  16288. description: 其它图片地址[使用分号分隔]
  16289. type: string
  16290. postalcode:
  16291. description: 邮政编码
  16292. type: string
  16293. provinceid:
  16294. description: 省
  16295. type: integer
  16296. qq:
  16297. description: QQ(加密存储
  16298. type: string
  16299. remark:
  16300. description: 备注
  16301. type: string
  16302. sex:
  16303. description: '用户性别 0: 女 1: 男'
  16304. type: integer
  16305. signpdfurl:
  16306. description: 签约pdf文件
  16307. type: string
  16308. telphone:
  16309. description: 联系电话(加密存储)
  16310. type: string
  16311. userid:
  16312. description: 用户ID
  16313. type: integer
  16314. userinfotype:
  16315. description: 用户信息类型 - 1:个人 2:企业
  16316. type: integer
  16317. userstatus:
  16318. description: 用户状态 - 1:正常 2:注销
  16319. type: integer
  16320. usertype:
  16321. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16322. type: integer
  16323. wechat:
  16324. description: 微信(加密存储)
  16325. type: string
  16326. wskhinfo:
  16327. description: 开户申请信息(JSON)
  16328. type: string
  16329. required:
  16330. - userid
  16331. type: object
  16332. models.WRSConverTDetail:
  16333. properties:
  16334. convertratio:
  16335. description: 套保系数
  16336. type: number
  16337. deliverygoodscode:
  16338. description: 现货商品代码
  16339. type: string
  16340. deliverygoodsid:
  16341. description: 现货品种ID
  16342. type: integer
  16343. deliverygoodsname:
  16344. description: 现货商品名称
  16345. type: string
  16346. enumdicname:
  16347. description: 单位名称
  16348. type: string
  16349. goodsunitid:
  16350. description: 套保品种单位id
  16351. type: integer
  16352. middlegoodscode:
  16353. description: 套保品种代码
  16354. type: string
  16355. middlegoodsid:
  16356. description: 套保品种ID
  16357. type: integer
  16358. middlegoodsname:
  16359. description: 套保品种名称
  16360. type: string
  16361. modifytime:
  16362. description: 修改时间
  16363. type: string
  16364. wrstandardid:
  16365. description: 品类ID
  16366. type: integer
  16367. type: object
  16368. models.WRStandardInfo:
  16369. properties:
  16370. areauserid:
  16371. description: 所属机构
  16372. type: integer
  16373. convertfactor:
  16374. description: 标仓系数
  16375. type: number
  16376. createtime:
  16377. description: 创建时间
  16378. type: string
  16379. creatorid:
  16380. description: 创建人
  16381. type: integer
  16382. deliverygoodsid:
  16383. description: 品种ID
  16384. type: integer
  16385. deliverygoodsname:
  16386. description: 交割商品名称
  16387. type: string
  16388. factoryitemjson:
  16389. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16390. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16391. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16392. 逗号分隔'
  16393. type: string
  16394. isvalid:
  16395. description: 是否有效 - 0:无效 1:有效
  16396. type: integer
  16397. minivalue:
  16398. description: 最小变动值
  16399. type: integer
  16400. minivaluedp:
  16401. description: 最小变动值小数位
  16402. type: integer
  16403. realminivalue:
  16404. description: 实际最小变动值
  16405. type: integer
  16406. realminivaluedp:
  16407. description: 实际最小变动值小数位
  16408. type: integer
  16409. remark:
  16410. description: 备注
  16411. type: string
  16412. unitid:
  16413. description: 单位ID
  16414. type: integer
  16415. unitname:
  16416. description: 单位
  16417. type: string
  16418. updatetime:
  16419. description: 更新时间
  16420. type: string
  16421. updatorid:
  16422. description: 更新人
  16423. type: integer
  16424. wrsstatus:
  16425. description: 状态 - 作废 - 0:未激活 1:正常
  16426. type: integer
  16427. wrstandardcode:
  16428. description: 现货品类代码
  16429. type: string
  16430. wrstandardid:
  16431. description: 现货品类ID(SEQ_WRSTANDARD)
  16432. type: integer
  16433. wrstandardname:
  16434. description: 现货品类名称
  16435. type: string
  16436. required:
  16437. - wrstandardid
  16438. type: object
  16439. models.WRTradeBargainApply:
  16440. properties:
  16441. accountid:
  16442. description: 摘牌资金账号
  16443. type: integer
  16444. applyprice:
  16445. description: 申请价格(议价价格)
  16446. type: string
  16447. applyqty:
  16448. description: 摘牌数量(议价数量)
  16449. type: number
  16450. applyremark:
  16451. description: 申请备注
  16452. type: string
  16453. applystatus:
  16454. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16455. type: integer
  16456. applytime:
  16457. description: 申请时间(议价时间)
  16458. type: string
  16459. begindate:
  16460. description: 开始交易日(yyyymmdd)
  16461. type: string
  16462. buyorsell:
  16463. description: 买卖(挂牌类型) - 0:买 1:卖
  16464. type: integer
  16465. confirmremark:
  16466. description: 确认备注
  16467. type: string
  16468. confirmtime:
  16469. description: 确认时间
  16470. type: string
  16471. confirmuserid:
  16472. description: 确认人
  16473. type: integer
  16474. deliverygoodscode:
  16475. description: 品种代码
  16476. type: string
  16477. deliverygoodsid:
  16478. description: 品种ID
  16479. type: integer
  16480. deliverygoodsname:
  16481. description: 品种名称
  16482. type: string
  16483. deliverymonth:
  16484. description: 交收月
  16485. type: string
  16486. enddate:
  16487. description: 结束交易日(yyyymmdd)
  16488. type: string
  16489. enumdicname:
  16490. description: 单位名称
  16491. type: string
  16492. fixedprice:
  16493. description: 挂牌价格
  16494. type: number
  16495. handlestatus:
  16496. description: 处理状态
  16497. type: integer
  16498. marginvalue:
  16499. description: 履约保证金比例
  16500. type: number
  16501. marketid:
  16502. description: 市场ID
  16503. type: integer
  16504. matchaccountid:
  16505. description: 挂牌方资金账号
  16506. type: integer
  16507. matchuserid:
  16508. description: 挂牌方用户id
  16509. type: integer
  16510. matchusername:
  16511. description: 挂牌方用户名称(已脱敏)
  16512. type: string
  16513. minivalue:
  16514. description: 现货商品最小变动值
  16515. type: integer
  16516. optioncompare:
  16517. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16518. type: string
  16519. orderqty:
  16520. description: 挂牌数量
  16521. type: integer
  16522. refprice:
  16523. description: 参考价格
  16524. type: string
  16525. retcode:
  16526. description: 委托返回代码
  16527. type: integer
  16528. templatename:
  16529. description: 履约方式(履约模板名称)
  16530. type: string
  16531. tradedate:
  16532. description: 交易日(yyyyMMdd)
  16533. type: string
  16534. userid:
  16535. description: 摘牌人用户ID(议价人ID)
  16536. type: integer
  16537. username:
  16538. description: 议价人名字(已脱敏)
  16539. type: string
  16540. validtime:
  16541. description: 有效期限
  16542. type: string
  16543. warehouseid:
  16544. description: 仓库ID
  16545. type: integer
  16546. warehousename:
  16547. description: 仓库名称
  16548. type: string
  16549. wrbargainid:
  16550. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16551. type: string
  16552. wrfactortypeid:
  16553. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16554. type: string
  16555. wrfactortypename:
  16556. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16557. type: string
  16558. wrstandardcode:
  16559. description: 现货商品代码
  16560. type: string
  16561. wrstandardid:
  16562. description: 现货商品ID
  16563. type: integer
  16564. wrstandardname:
  16565. description: 商品名称
  16566. type: string
  16567. wrtradeorderid:
  16568. description: 关联委托单ID
  16569. type: string
  16570. wrtypename:
  16571. description: 商品
  16572. type: string
  16573. type: object
  16574. models.Warehouseinfo:
  16575. properties:
  16576. address:
  16577. description: 详细地址
  16578. type: string
  16579. areauserid:
  16580. description: 所属机构
  16581. type: integer
  16582. autoid:
  16583. description: 自增ID
  16584. type: integer
  16585. cityid:
  16586. description: 市
  16587. type: integer
  16588. contactname:
  16589. description: 联系人
  16590. type: string
  16591. contactnum:
  16592. description: 联系电话
  16593. type: string
  16594. countryid:
  16595. description: 国家
  16596. type: integer
  16597. createtime:
  16598. description: 创建时间
  16599. type: string
  16600. districtid:
  16601. description: 区
  16602. type: integer
  16603. hasvideo:
  16604. description: 是否有视频 - 0:无 1:有
  16605. type: integer
  16606. provinceid:
  16607. description: 省
  16608. type: integer
  16609. remark:
  16610. description: 审核备注
  16611. type: string
  16612. videourl:
  16613. description: 视频地址
  16614. type: string
  16615. warehousecode:
  16616. description: 仓库代码
  16617. type: string
  16618. warehousename:
  16619. description: 仓库名称
  16620. type: string
  16621. warehousestatus:
  16622. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16623. type: integer
  16624. warehousetype:
  16625. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16626. type: integer
  16627. required:
  16628. - autoid
  16629. - warehousecode
  16630. type: object
  16631. models.WrAverageTradePrice:
  16632. properties:
  16633. averageprice:
  16634. description: 成交均价
  16635. type: number
  16636. tradedate:
  16637. description: 交易日yyyymm
  16638. type: string
  16639. type: object
  16640. models.WrBrandAndYears:
  16641. properties:
  16642. brandlst:
  16643. description: 品牌列表
  16644. items:
  16645. $ref: '#/definitions/models.DgFactoryItem'
  16646. type: array
  16647. yearslst:
  16648. description: 年份列表
  16649. items:
  16650. $ref: '#/definitions/models.DgFactoryItem'
  16651. type: array
  16652. type: object
  16653. models.WrBsGoodsInfo:
  16654. properties:
  16655. buyorsell:
  16656. description: 买卖方向 0-买 1-卖
  16657. type: integer
  16658. goodsid:
  16659. description: 交易合约ID
  16660. type: integer
  16661. lstitem:
  16662. description: 商品信息项
  16663. items:
  16664. $ref: '#/definitions/models.WrTypeItem'
  16665. type: array
  16666. lststep:
  16667. description: 履约规则
  16668. items:
  16669. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16670. type: array
  16671. type: object
  16672. models.WrBuybackDetail:
  16673. properties:
  16674. buybackamount:
  16675. description: 回购金额
  16676. type: number
  16677. buybackqty:
  16678. description: 回购数量
  16679. type: number
  16680. buybackreleasemargin:
  16681. description: 回购释放保证金
  16682. type: number
  16683. buybacktime:
  16684. description: 回购时间
  16685. type: string
  16686. errordesc:
  16687. description: 错误描述
  16688. type: string
  16689. handlestatus:
  16690. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16691. type: integer
  16692. relatedwrid:
  16693. description: 关联仓单ID
  16694. type: integer
  16695. scfcontractid:
  16696. description: SCF合同ID
  16697. type: string
  16698. scfwrbuybackid:
  16699. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16700. type: integer
  16701. tradedate:
  16702. description: 交易日(yyyyMMdd)
  16703. type: string
  16704. type: object
  16705. models.WrClientAdSpaceConfig:
  16706. properties:
  16707. adspaceid:
  16708. description: 广告位ID
  16709. type: integer
  16710. adspacename:
  16711. description: 广告位名称
  16712. type: string
  16713. adspacetype:
  16714. description: 广告位类型 - 1:固定广告位
  16715. type: integer
  16716. areauserid:
  16717. description: 所属机构ID
  16718. type: integer
  16719. createdate:
  16720. description: 创建时间
  16721. type: string
  16722. imagepath:
  16723. description: 图片
  16724. type: string
  16725. modifierid:
  16726. description: 操作人
  16727. type: integer
  16728. recsize:
  16729. description: 推荐尺寸
  16730. type: string
  16731. title:
  16732. description: 标题
  16733. type: string
  16734. updatedate:
  16735. description: 更新时间
  16736. type: string
  16737. urlcontent:
  16738. description: 链接(地址\商品ID\功能菜单Key\appid)
  16739. type: string
  16740. urltype:
  16741. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16742. type: integer
  16743. type: object
  16744. models.WrDeliveryAvalidHoldLB:
  16745. properties:
  16746. accountid:
  16747. description: 资金账号
  16748. type: integer
  16749. avalidqty:
  16750. description: 数量(可点选数量)
  16751. type: number
  16752. deliverygoodsid:
  16753. description: 品种id
  16754. type: integer
  16755. enumdicname:
  16756. description: 单位名称
  16757. type: string
  16758. goodsid:
  16759. description: x合约商品id
  16760. type: integer
  16761. ladingbillid:
  16762. description: 提单id
  16763. type: string
  16764. pgoodscode:
  16765. description: p商品代码(点价合约)
  16766. type: string
  16767. pgoodsid:
  16768. description: p商品id(点价合约)
  16769. type: integer
  16770. pgoodsname:
  16771. description: p商品名称(点价合约)
  16772. type: string
  16773. pricemove:
  16774. description: 升贴水
  16775. type: number
  16776. subnum:
  16777. description: 提单子id
  16778. type: integer
  16779. userid:
  16780. description: 用户id
  16781. type: integer
  16782. username:
  16783. description: 仓单持有人
  16784. type: string
  16785. warehousecode:
  16786. description: 仓库代码
  16787. type: string
  16788. warehouseid:
  16789. description: 仓库id
  16790. type: integer
  16791. warehousename:
  16792. description: 仓库名称
  16793. type: string
  16794. wrfactortypeid:
  16795. description: 仓单要素id
  16796. type: string
  16797. wrstandardcode:
  16798. description: 品代码
  16799. type: string
  16800. wrstandardid:
  16801. description: 品类d
  16802. type: integer
  16803. wrstandardname:
  16804. description: 品类名称
  16805. type: string
  16806. wrtypename:
  16807. description: 商品
  16808. type: string
  16809. xgoodscode:
  16810. description: x合约代码
  16811. type: string
  16812. xgoodsname:
  16813. description: x合约名称
  16814. type: string
  16815. type: object
  16816. models.WrDeliveryDetail:
  16817. properties:
  16818. accountid:
  16819. description: 账号ID
  16820. type: integer
  16821. averageprice:
  16822. description: 交割均价 = 交割金额 / 交割数量
  16823. type: number
  16824. begindate:
  16825. description: 开始交易日(yyyymmdd)
  16826. type: string
  16827. buyorsell:
  16828. description: 方向 - 0:买 1:卖
  16829. type: integer
  16830. deliveryamount:
  16831. description: 货款金额(X总货款+P总货款)
  16832. type: number
  16833. deliveryid:
  16834. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16835. type: string
  16836. deliveryorderid:
  16837. description: 申报单号
  16838. type: string
  16839. deliverypricemove:
  16840. description: 升贴水(升贴水总额)
  16841. type: number
  16842. deliveryqty:
  16843. description: 交收数量(点选数量)
  16844. type: number
  16845. deliverystatus:
  16846. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16847. type: integer
  16848. deliverytime:
  16849. description: 交割时间
  16850. type: string
  16851. deliverytotalamount:
  16852. description: 交收金额
  16853. type: number
  16854. enddate:
  16855. description: 结束交易日(yyyymmdd)
  16856. type: string
  16857. enumdicname:
  16858. description: 单位名称
  16859. type: string
  16860. matchaccountid:
  16861. description: 对手账号ID
  16862. type: integer
  16863. matchusername:
  16864. description: 对手方名称(仓单持有人)
  16865. type: string
  16866. p1goodsremainamount:
  16867. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16868. type: number
  16869. pdeliverycloseqty:
  16870. description: p合约平仓数量
  16871. type: number
  16872. pdeliveryprice:
  16873. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16874. type: number
  16875. pgoodscode:
  16876. description: 商品代码
  16877. type: string
  16878. pgoodsid:
  16879. description: p点选合约id
  16880. type: integer
  16881. pgoodsname:
  16882. description: 商品名称
  16883. type: string
  16884. ppricemode:
  16885. description: 点价价格方式 - 1:商品价 2:固定值
  16886. type: integer
  16887. tradedate:
  16888. description: 交易日(yyyymmdd)
  16889. type: string
  16890. userid:
  16891. description: 用户id
  16892. type: integer
  16893. username:
  16894. description: 用户名称
  16895. type: string
  16896. warehousename:
  16897. description: 仓库名称
  16898. type: string
  16899. wrfactortypeid:
  16900. description: 仓单要素类型ID
  16901. type: string
  16902. wrtypename:
  16903. description: 商品
  16904. type: string
  16905. xdeliverycloseqty:
  16906. description: 合约数量
  16907. type: number
  16908. xgoodsamount:
  16909. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16910. type: number
  16911. xgoodscode:
  16912. description: 商品代码
  16913. type: string
  16914. xgoodsid:
  16915. description: x交易合约ID
  16916. type: integer
  16917. xgoodsname:
  16918. description: 商品名称
  16919. type: string
  16920. type: object
  16921. models.WrDeliveryGoodsSection:
  16922. properties:
  16923. dglst:
  16924. description: 板块商品列表
  16925. items:
  16926. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16927. type: array
  16928. imagepath:
  16929. description: 图片地址
  16930. type: string
  16931. orderindex:
  16932. description: 排序
  16933. type: integer
  16934. sectionid:
  16935. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16936. = 1的版块1 - 云融指数
  16937. type: integer
  16938. sectionname:
  16939. description: 版块名称
  16940. type: string
  16941. sectiontype:
  16942. description: 版块类型 - 1:指数版块 2:普通版块
  16943. type: integer
  16944. type: object
  16945. models.WrDeliveryGoodsSectionConfig:
  16946. properties:
  16947. deliverygoodscode:
  16948. description: 现货商品代码
  16949. type: string
  16950. deliverygoodsid:
  16951. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16952. type: integer
  16953. deliverygoodsname:
  16954. description: 现货商品名称
  16955. type: string
  16956. orderindex:
  16957. description: 排序
  16958. type: integer
  16959. type: object
  16960. models.WrDraftUserInfo:
  16961. properties:
  16962. address:
  16963. description: 地址
  16964. type: string
  16965. attachment1:
  16966. description: 附件1
  16967. type: string
  16968. attachment2:
  16969. description: 附件2
  16970. type: string
  16971. attachment3:
  16972. description: 附件3
  16973. type: string
  16974. attachment4:
  16975. description: 附件4
  16976. type: string
  16977. attachment5:
  16978. description: 附件5
  16979. type: string
  16980. bankaccount:
  16981. description: 银行帐号 (加密存储)
  16982. type: string
  16983. bankaccountname:
  16984. description: 收款人名称
  16985. type: string
  16986. bankcardfrontphotourl:
  16987. description: 银行卡正面照地址
  16988. type: string
  16989. bankid:
  16990. description: 银行编码
  16991. type: string
  16992. bankname:
  16993. description: 银行名称
  16994. type: string
  16995. birthday:
  16996. description: 生日(个人:年月日)
  16997. type: string
  16998. biznature:
  16999. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17000. type: integer
  17001. bizscope:
  17002. description: 企业经营范围(企业)
  17003. type: string
  17004. biztype:
  17005. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17006. type: integer
  17007. cardbackphotourl:
  17008. description: 证件背面图片地址
  17009. type: string
  17010. cardfrontphotourl:
  17011. description: 证件正面图片地址
  17012. type: string
  17013. cardnum:
  17014. description: 证件号码(加密存储)
  17015. type: string
  17016. cardtypeid:
  17017. description: 证件类型ID
  17018. type: integer
  17019. cityid:
  17020. description: 市
  17021. type: integer
  17022. company:
  17023. description: 公司(个人)
  17024. type: string
  17025. contactcardbackphotourl:
  17026. description: 联系人证件背面图片地址
  17027. type: string
  17028. contactcardfrontphotourl:
  17029. description: 联系人证件正面图片地址
  17030. type: string
  17031. contactname:
  17032. description: 联系人
  17033. type: string
  17034. countryid:
  17035. description: 国家
  17036. type: integer
  17037. createtime:
  17038. description: 创建时间
  17039. type: string
  17040. creatorid:
  17041. description: 创建人
  17042. type: integer
  17043. creditquota:
  17044. description: 授信额度(金瑞)
  17045. type: number
  17046. customername:
  17047. description: 客户名称(企业名称)
  17048. type: string
  17049. districtid:
  17050. description: 地区
  17051. type: integer
  17052. email:
  17053. description: 邮件(加密存储)
  17054. type: string
  17055. fax:
  17056. description: 传真(加密存储)
  17057. type: string
  17058. halfbodyphotourl:
  17059. description: 半身照地址
  17060. type: string
  17061. hasencrypt:
  17062. description: 数据是否已加密 - 0:未加密 1:已加密
  17063. type: integer
  17064. headurl:
  17065. description: 头像地址
  17066. type: string
  17067. legalcardbackphotourl:
  17068. description: 法人身份证背面照地址
  17069. type: string
  17070. legalcardfrontphotourl:
  17071. description: 法人身份证正面照地址
  17072. type: string
  17073. legalpersonname:
  17074. description: 法人姓名(企业)
  17075. type: string
  17076. mobile:
  17077. description: 手机号码(加密存储)
  17078. type: string
  17079. mobile2:
  17080. description: 手机号码[明文-尚志]
  17081. type: string
  17082. modifierid:
  17083. description: 修改人
  17084. type: integer
  17085. modifiertime:
  17086. description: 修改时间
  17087. type: string
  17088. needinvoice:
  17089. description: 是否需要发票 - 0:不需要 1:需要
  17090. type: integer
  17091. nickname:
  17092. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17093. type: string
  17094. openmode:
  17095. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17096. 6:苹果手机端注册 7:PC交易端注册"
  17097. type: integer
  17098. otherurl:
  17099. description: 其它图片地址[使用分号分隔]
  17100. type: string
  17101. postalcode:
  17102. description: 邮政编码
  17103. type: string
  17104. provinceid:
  17105. description: 省
  17106. type: integer
  17107. proxystatementurl:
  17108. description: 授权委托书
  17109. type: string
  17110. qq:
  17111. description: QQ(加密存储
  17112. type: string
  17113. remark:
  17114. description: 备注
  17115. type: string
  17116. sex:
  17117. description: '用户性别 0: 女 1: 男'
  17118. type: integer
  17119. signpdfurl:
  17120. description: 签约pdf文件
  17121. type: string
  17122. taxpayernum:
  17123. description: 纳税人识别号
  17124. type: string
  17125. telphone:
  17126. description: 联系电话(加密存储)
  17127. type: string
  17128. userid:
  17129. description: 用户ID
  17130. type: integer
  17131. userinfotype:
  17132. description: 用户信息类型 - 1:个人 2:企业
  17133. type: integer
  17134. userstatus:
  17135. description: 用户状态 - 1:正常 2:注销
  17136. type: integer
  17137. usertype:
  17138. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17139. type: integer
  17140. wechat:
  17141. description: 微信(加密存储)
  17142. type: string
  17143. wskhinfo:
  17144. description: 开户申请信息(JSON)
  17145. type: string
  17146. type: object
  17147. models.WrFAProductDetail:
  17148. properties:
  17149. accountid:
  17150. description: 资金账号
  17151. type: integer
  17152. areauserid:
  17153. description: 金融机构ID
  17154. type: integer
  17155. financingdays:
  17156. description: 天数(天)
  17157. type: integer
  17158. interestminlen:
  17159. description: 最小起息天数
  17160. type: integer
  17161. interestrate:
  17162. description: 利率
  17163. type: number
  17164. interestratemode:
  17165. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17166. type: integer
  17167. interestsettlemode:
  17168. description: 结息方式 - 1:按日结息 3:按月结息
  17169. type: integer
  17170. interestsettlevalue:
  17171. description: 结息方式值
  17172. type: integer
  17173. isautoloan:
  17174. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17175. type: integer
  17176. loantag:
  17177. description: '放款标识: "放款快" 或者为空'
  17178. type: string
  17179. marginratio:
  17180. description: 保证金比率质押率 - [仓单质押]
  17181. type: number
  17182. productdetailid:
  17183. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17184. type: integer
  17185. productid:
  17186. description: 金融产品ID
  17187. type: integer
  17188. productname:
  17189. description: 产品名称
  17190. type: string
  17191. updatetime:
  17192. description: 更新时间
  17193. type: string
  17194. username:
  17195. description: 融出方
  17196. type: string
  17197. type: object
  17198. models.WrFactorTypeInfo:
  17199. properties:
  17200. deliverygoodscode:
  17201. description: 品种代码
  17202. type: string
  17203. deliverygoodsname:
  17204. description: 品种名称
  17205. type: string
  17206. dgfactoryitemid:
  17207. description: 选择项id
  17208. type: integer
  17209. dgfactoryitemtypeid:
  17210. description: 要素选择项ID (1-仓库 2-品牌)
  17211. type: integer
  17212. dgfactoryitemvalue:
  17213. description: 要素项值
  17214. type: string
  17215. itemtypename:
  17216. description: 要素项名称
  17217. type: string
  17218. optioncompare:
  17219. description: 选择比较串
  17220. type: string
  17221. warehouseid:
  17222. description: 仓库id
  17223. type: integer
  17224. wrfactortypeid:
  17225. description: 仓单要素ID
  17226. type: string
  17227. wrfactortypename:
  17228. description: 要素名称
  17229. type: string
  17230. wrfactortypename2:
  17231. description: 要素名称(不含仓库)
  17232. type: string
  17233. wrstandardcode:
  17234. description: 品类代码
  17235. type: string
  17236. wrstandardid:
  17237. description: 品类id
  17238. type: integer
  17239. wrstandardname:
  17240. description: 品类名称
  17241. type: string
  17242. type: object
  17243. models.WrFilterItem:
  17244. properties:
  17245. itemcode:
  17246. description: 代码
  17247. type: string
  17248. itemid:
  17249. description: 项id
  17250. type: integer
  17251. itemname:
  17252. description: 名称
  17253. type: string
  17254. itemtype:
  17255. description: 类型 1-品种 2-品类(商品) 3-仓库
  17256. type: integer
  17257. type: object
  17258. models.WrFinanceBuyApply:
  17259. properties:
  17260. applydate:
  17261. description: 申请时间
  17262. type: string
  17263. applystatus:
  17264. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17265. type: integer
  17266. applyuserid:
  17267. description: 申请人
  17268. type: integer
  17269. auditdate:
  17270. description: 审核时间
  17271. type: string
  17272. auditremark:
  17273. description: 审核备注
  17274. type: string
  17275. audituserid:
  17276. description: 审核人
  17277. type: integer
  17278. buyaccountid:
  17279. description: 买方资金账号
  17280. type: integer
  17281. buyorsell:
  17282. description: 买卖 - 0:买 1:卖
  17283. type: integer
  17284. buyuserid:
  17285. description: 买方用户ID
  17286. type: integer
  17287. buyusername:
  17288. description: 买方名称
  17289. type: string
  17290. buywrtradeorderid:
  17291. description: 融资方买委托单ID
  17292. type: string
  17293. deliverygoodscode:
  17294. description: 品种代码
  17295. type: string
  17296. deliverygoodsid:
  17297. description: 品种ID
  17298. type: integer
  17299. deliverygoodsname:
  17300. description: 品种名称
  17301. type: string
  17302. deliverymonth:
  17303. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17304. type: string
  17305. enumdicname:
  17306. description: 单位名称
  17307. type: string
  17308. financeaccountid:
  17309. description: 融资方资金帐户ID
  17310. type: integer
  17311. financeapplyid:
  17312. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17313. type: string
  17314. financeareauserid:
  17315. description: 融资方用户ID
  17316. type: string
  17317. financename:
  17318. description: 融出方名称
  17319. type: string
  17320. financetype:
  17321. description: 融资类型 1-融资回购
  17322. type: integer
  17323. financingdays:
  17324. description: 天数(天)
  17325. type: integer
  17326. freezebuymargin:
  17327. description: 冻结融资保证金(买方)
  17328. type: number
  17329. handleremark:
  17330. description: 处理备注
  17331. type: string
  17332. handlestatus:
  17333. description: 处理状态
  17334. type: integer
  17335. interestminlen:
  17336. description: 最小起息天数
  17337. type: integer
  17338. interestrate:
  17339. description: 利率
  17340. type: number
  17341. interestratemode:
  17342. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17343. type: integer
  17344. interestsettlemode:
  17345. description: 结息方式 - 1:按日结息 3:按月结息
  17346. type: integer
  17347. interestsettlevalue:
  17348. description: 结息方式值
  17349. type: integer
  17350. isautoloan:
  17351. description: 是否自动放款 - 0:手动 1:自动
  17352. type: integer
  17353. marginratio:
  17354. description: 保证金比率质押率 - [仓单质押]
  17355. type: number
  17356. marketid:
  17357. description: 市场ID
  17358. type: integer
  17359. minivalue:
  17360. description: 现货商品最小变动值
  17361. type: integer
  17362. optioncompare:
  17363. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17364. type: string
  17365. orderqty:
  17366. description: 委托数量(商品数量)
  17367. type: number
  17368. productdetailid:
  17369. description: 产品组合ID
  17370. type: integer
  17371. productid:
  17372. description: 金融产品ID
  17373. type: integer
  17374. productname:
  17375. description: 产品名称
  17376. type: string
  17377. remark:
  17378. description: 备注
  17379. type: string
  17380. scfcontractid:
  17381. description: 仓单回购合同ID
  17382. type: string
  17383. sellaccountid:
  17384. description: 卖方资金账号
  17385. type: integer
  17386. selluserid:
  17387. description: 卖方用户ID
  17388. type: integer
  17389. sellwrtradeorderid:
  17390. description: 卖方委托单ID
  17391. type: string
  17392. tradeamount:
  17393. description: 成交金额(借款金额)
  17394. type: number
  17395. tradedate:
  17396. description: 交易日(yyyyMMdd)
  17397. type: string
  17398. tradeprice:
  17399. description: 成交价格
  17400. type: number
  17401. warehouseid:
  17402. description: 仓库ID
  17403. type: integer
  17404. warehousename:
  17405. description: 仓库名称
  17406. type: string
  17407. wrfactortypeid:
  17408. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17409. type: string
  17410. wrfactortypename:
  17411. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17412. type: string
  17413. wrpricetype:
  17414. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17415. type: integer
  17416. wrstandardcode:
  17417. description: 现货商品代码
  17418. type: string
  17419. wrstandardid:
  17420. description: 现货商品ID
  17421. type: integer
  17422. wrstandardname:
  17423. description: 商品名称
  17424. type: string
  17425. wrtypename:
  17426. description: 商品
  17427. type: string
  17428. type: object
  17429. models.WrFriendApply:
  17430. properties:
  17431. applicantid:
  17432. description: 申请人
  17433. type: integer
  17434. applyname:
  17435. description: 申请人名称
  17436. type: string
  17437. applysrc:
  17438. description: 申请来源 - 1:管理端 2:终端
  17439. type: integer
  17440. applystatus:
  17441. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17442. type: integer
  17443. applytime:
  17444. description: 申请时间
  17445. type: string
  17446. auditname:
  17447. description: 审核人名称
  17448. type: string
  17449. auditorid:
  17450. description: 审核人
  17451. type: integer
  17452. auditremark:
  17453. description: 审核备注
  17454. type: string
  17455. auditsrc:
  17456. description: 审核来源 - 1:管理端 2:终端
  17457. type: integer
  17458. audittime:
  17459. description: 审核时间
  17460. type: string
  17461. friendapplyid:
  17462. description: 申请ID(SEQ_FRIENDAPPLY)
  17463. type: string
  17464. friendname:
  17465. description: 好友名字(已脱敏)
  17466. type: string
  17467. frienduserid:
  17468. description: 好友用户ID
  17469. type: string
  17470. remark:
  17471. description: 备注
  17472. type: string
  17473. userid:
  17474. description: 申请人用户ID
  17475. type: integer
  17476. type: object
  17477. models.WrFtDeliveryGoods:
  17478. properties:
  17479. deliverygoodscode:
  17480. description: 品种代码
  17481. type: string
  17482. deliverygoodsid:
  17483. description: 品种ID
  17484. type: integer
  17485. deliverygoodsname:
  17486. description: 品种名称
  17487. type: string
  17488. wdlst:
  17489. description: 商品列表
  17490. items:
  17491. $ref: '#/definitions/models.WrFtWrstandard'
  17492. type: array
  17493. type: object
  17494. models.WrFtWrstandard:
  17495. properties:
  17496. enumdicname:
  17497. description: 单位名称
  17498. type: string
  17499. minivalue:
  17500. description: 最小变动值
  17501. type: integer
  17502. wrstandardcode:
  17503. description: 现货商品代码
  17504. type: string
  17505. wrstandardid:
  17506. description: 现货商品ID
  17507. type: integer
  17508. wrstandardname:
  17509. description: 商品名称
  17510. type: string
  17511. type: object
  17512. models.WrGoodsInfo:
  17513. properties:
  17514. haswr:
  17515. description: 0:仓单预售 1:仓单贸易
  17516. type: integer
  17517. lstitem:
  17518. description: 商品信息项
  17519. items:
  17520. $ref: '#/definitions/models.WrTypeItem'
  17521. type: array
  17522. lststep:
  17523. description: 履约规则
  17524. items:
  17525. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17526. type: array
  17527. marketid:
  17528. description: 市场id
  17529. type: integer
  17530. type: object
  17531. models.WrGoodsPerformanceStep:
  17532. properties:
  17533. autoid:
  17534. description: AutoID
  17535. type: integer
  17536. isauto:
  17537. description: 是否自动 - 0:不自动 1:自动
  17538. type: integer
  17539. remark:
  17540. description: 备注
  17541. type: string
  17542. stepdate:
  17543. description: 天数信息(T+N)
  17544. type: string
  17545. stepdays:
  17546. description: 距离上一步天数
  17547. type: integer
  17548. stepindex:
  17549. description: 步骤序号
  17550. type: integer
  17551. stepinfo:
  17552. description: 步骤信息(步骤名称+步骤值)
  17553. type: string
  17554. steptypeid:
  17555. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17556. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17557. type: integer
  17558. steptypename:
  17559. description: 步骤名称
  17560. type: string
  17561. stepvalue:
  17562. description: 步骤值
  17563. type: number
  17564. templateid:
  17565. description: 履约计划模板ID
  17566. type: integer
  17567. type: object
  17568. models.WrHoldLB:
  17569. properties:
  17570. accountid:
  17571. description: 持有人帐户ID
  17572. type: integer
  17573. bannerpicurl:
  17574. description: Banner图
  17575. type: string
  17576. createtime:
  17577. description: 创建时间(过户时间)
  17578. type: string
  17579. deliverygoodscode:
  17580. description: 品种代码
  17581. type: string
  17582. deliverygoodsid:
  17583. description: 品种ID
  17584. type: integer
  17585. deliverygoodsname:
  17586. description: 品种名称
  17587. type: string
  17588. enableqty:
  17589. description: 可用数量
  17590. type: number
  17591. enumdicname:
  17592. description: 单位名称
  17593. type: string
  17594. freezerqty:
  17595. description: 冻结数量
  17596. type: number
  17597. ladingbillid:
  17598. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17599. type: string
  17600. minivalue:
  17601. description: 现货商品最小变动值
  17602. type: integer
  17603. optioncompare:
  17604. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17605. type: string
  17606. parentsubnum:
  17607. description: 拆分父子单号
  17608. type: integer
  17609. pledgeqty:
  17610. description: 质押数量
  17611. type: number
  17612. qty:
  17613. description: 数量
  17614. type: number
  17615. subnum:
  17616. description: 提单子单号
  17617. type: integer
  17618. thumurls:
  17619. description: 缩略图
  17620. type: string
  17621. tradedate:
  17622. description: 交易日(yyyyMMdd)
  17623. type: string
  17624. userid:
  17625. description: 持有人ID
  17626. type: integer
  17627. warehouseid:
  17628. description: 仓库ID
  17629. type: integer
  17630. warehousename:
  17631. description: 仓库名称
  17632. type: string
  17633. wrfactortypeid:
  17634. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17635. type: string
  17636. wrfactortypename:
  17637. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17638. type: string
  17639. wrholdeno:
  17640. description: 仓单编号
  17641. type: string
  17642. wrid:
  17643. description: 仓单变更ID
  17644. type: string
  17645. wrstandardcode:
  17646. description: 现货商品代码
  17647. type: string
  17648. wrstandardid:
  17649. description: 现货商品ID
  17650. type: integer
  17651. wrstandardname:
  17652. description: 商品名称
  17653. type: string
  17654. wrtypename:
  17655. description: 商品
  17656. type: string
  17657. type: object
  17658. models.WrMarketTradeConfig:
  17659. properties:
  17660. basisdownratio:
  17661. description: 浮动价基差下限比例(仓单贸易)
  17662. type: number
  17663. basisupratio:
  17664. description: 浮动价基差上限比例(仓单贸易)
  17665. type: number
  17666. buychargealgorithm:
  17667. description: 买方手续费收取方式 1:比率 2:固定
  17668. type: integer
  17669. buychargealgorithm2:
  17670. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17671. type: integer
  17672. buychargealgorithmvalue:
  17673. description: 买方手续费设置值(交易所部分)
  17674. type: number
  17675. buychargealgorithmvalue2:
  17676. description: 买方手续费设置值(会员部分)
  17677. type: number
  17678. buychargealgorithmvalue3:
  17679. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17680. type: number
  17681. buychargealgorithmvalue4:
  17682. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17683. type: number
  17684. buyfirstmarginalgorithm:
  17685. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17686. type: integer
  17687. buyfirstmarginvalue:
  17688. description: 买方出价保证金设置值 - [竞拍]
  17689. type: number
  17690. buymarginalgorithm:
  17691. description: 买方保证金方式 - 1:比率 2:固定
  17692. type: integer
  17693. buymarginvalue:
  17694. description: 买方保证金设置值
  17695. type: number
  17696. buyreleaseratio:
  17697. description: 买方释放比率[2:分步履约]
  17698. type: number
  17699. executemode:
  17700. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17701. type: integer
  17702. executeside:
  17703. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17704. type: integer
  17705. failedchargealgorithm:
  17706. description: 流拍手续费收取方式 1:比率 2:固定
  17707. type: integer
  17708. failedchargevalue:
  17709. description: 流拍手续费设置值
  17710. type: number
  17711. failedchargevalue2:
  17712. description: 流拍卖方手续费设置值
  17713. type: number
  17714. holddays:
  17715. description: 合同期限[2:分步履约]
  17716. type: integer
  17717. listingmode:
  17718. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17719. type: integer
  17720. marketid:
  17721. description: 市场ID-仓单贸易、竞拍、预售
  17722. type: integer
  17723. minqty:
  17724. description: 最小执行量[2:分步履约]
  17725. type: number
  17726. modifierid:
  17727. description: 修改人
  17728. type: integer
  17729. nowrquotaflag:
  17730. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17731. type: integer
  17732. performancetempid:
  17733. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17734. 立即执行(-1)
  17735. type: integer
  17736. performancetempid2:
  17737. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17738. 立即执行
  17739. type: integer
  17740. performancetempid2s:
  17741. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17742. - 履约方式: 立即执行
  17743. type: string
  17744. performancetempids:
  17745. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17746. - 履约方式: 立即执行(-1)
  17747. type: string
  17748. performanceway:
  17749. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17750. type: integer
  17751. sellchargealgorithm:
  17752. description: 卖方手续费收取方式 1:比率 2:固定
  17753. type: integer
  17754. sellchargealgorithm2:
  17755. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17756. type: integer
  17757. sellchargealgorithmvalue:
  17758. description: 卖方手续费设置值(交易所部分)
  17759. type: number
  17760. sellchargealgorithmvalue2:
  17761. description: 卖方手续费设置值(会员部分)
  17762. type: number
  17763. sellchargealgorithmvalue3:
  17764. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17765. type: number
  17766. sellchargealgorithmvalue4:
  17767. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17768. type: number
  17769. sellmarginalgorithm:
  17770. description: 卖方保证金方式 - 1:比率 2:固定
  17771. type: integer
  17772. sellmarginvalue:
  17773. description: 卖方保证金设置值
  17774. type: number
  17775. sellmarginvalue2:
  17776. description: 卖方保证金设置值(无仓单)
  17777. type: number
  17778. sellreleaseratio:
  17779. description: 卖方释放比率[2:分步履约]
  17780. type: number
  17781. updatetime:
  17782. description: 更新时间
  17783. type: string
  17784. type: object
  17785. models.WrOrderDetail:
  17786. properties:
  17787. accountid:
  17788. description: 交易账号(资金账号)
  17789. type: integer
  17790. allfriendsflag:
  17791. description: 是否全好友可见 - 0:否 1:是
  17792. type: integer
  17793. amount:
  17794. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17795. type: number
  17796. bannerpicurl:
  17797. description: Banner图
  17798. type: string
  17799. begindate:
  17800. description: 开始交易日(yyyymmdd)
  17801. type: string
  17802. buyorsell:
  17803. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17804. type: integer
  17805. canbargain:
  17806. description: 是否可议价 - 0:不可 1:可
  17807. type: integer
  17808. cancelqty:
  17809. description: 撤销数量
  17810. type: number
  17811. canpart:
  17812. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17813. type: integer
  17814. delistminqty:
  17815. description: 起摘数量
  17816. type: integer
  17817. deliverygoodscode:
  17818. description: 品种代码
  17819. type: string
  17820. deliverygoodsid:
  17821. description: 品种ID
  17822. type: integer
  17823. deliverygoodsname:
  17824. description: 品种名称
  17825. type: string
  17826. deliverymonth:
  17827. description: 交收月
  17828. type: string
  17829. enddate:
  17830. description: 结束交易日(yyyymmdd)
  17831. type: string
  17832. enumdicname:
  17833. description: 单位名称
  17834. type: string
  17835. fixedprice:
  17836. description: 固定价格 - [挂牌]
  17837. type: number
  17838. freezecharge:
  17839. description: 冻结手续费
  17840. type: number
  17841. freezemargin:
  17842. description: 冻结保证金(保证金)
  17843. type: number
  17844. futupricemove:
  17845. description: 期货升贴水
  17846. type: number
  17847. futushow:
  17848. description: 期货合约/升贴水
  17849. type: string
  17850. goodscode:
  17851. description: 期货合约
  17852. type: string
  17853. goodsid:
  17854. description: 期货商品id
  17855. type: integer
  17856. goodsname:
  17857. description: 商品名称
  17858. type: string
  17859. haswr:
  17860. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17861. type: integer
  17862. isspecified:
  17863. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17864. type: integer
  17865. ladingbillid:
  17866. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17867. type: string
  17868. marginvalue:
  17869. description: 保证金设置值(履约保证金)
  17870. type: number
  17871. marketid:
  17872. description: 市场ID
  17873. type: integer
  17874. matchusername:
  17875. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17876. type: string
  17877. minivalue:
  17878. description: 现货商品最小变动值
  17879. type: integer
  17880. optioncompare:
  17881. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17882. type: string
  17883. orderqty:
  17884. description: 委托数量
  17885. type: number
  17886. ordertime:
  17887. description: 委托时间(挂牌时间)
  17888. type: string
  17889. performancetemplateid:
  17890. description: 履约模板id
  17891. type: integer
  17892. pricemove:
  17893. description: 升贴水(浮动价时填写) - [挂牌]
  17894. type: number
  17895. taname:
  17896. description: 交易用户名称(资金账号名称)
  17897. type: string
  17898. thumurls:
  17899. description: 缩略图
  17900. type: string
  17901. tradedate:
  17902. description: 交易日(yyyyMMdd)
  17903. type: string
  17904. tradeprice:
  17905. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17906. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17907. type: number
  17908. tradeqty:
  17909. description: 成交数量
  17910. type: number
  17911. userid:
  17912. description: 用户ID
  17913. type: integer
  17914. validtime:
  17915. description: 挂牌有效期
  17916. type: string
  17917. validtype:
  17918. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17919. type: integer
  17920. warehouseid:
  17921. description: 仓库ID
  17922. type: integer
  17923. warehousename:
  17924. description: 仓库名称
  17925. type: string
  17926. wrfactortypeid:
  17927. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17928. type: string
  17929. wrfactortypename:
  17930. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17931. type: string
  17932. wrpricetype:
  17933. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17934. type: integer
  17935. wrstandardcode:
  17936. description: 现货商品代码
  17937. type: string
  17938. wrstandardid:
  17939. description: 现货商品ID
  17940. type: integer
  17941. wrstandardname:
  17942. description: 商品名称
  17943. type: string
  17944. wrtradeorderid:
  17945. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17946. type: string
  17947. wrtradeorderstatus:
  17948. 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:撤单解冻贷款失败
  17949. type: integer
  17950. wrtradetype:
  17951. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17952. type: integer
  17953. wrtypename:
  17954. description: 商品
  17955. type: string
  17956. type: object
  17957. models.WrOrderQuote:
  17958. properties:
  17959. bannerpicurl:
  17960. description: Banner图
  17961. type: string
  17962. buyprice:
  17963. description: 买价
  17964. type: number
  17965. buypricemove:
  17966. description: 买升贴水(基差)
  17967. type: number
  17968. buyqty:
  17969. description: 买量
  17970. type: number
  17971. deliverygoodscode:
  17972. description: 品种代码
  17973. type: string
  17974. deliverygoodsid:
  17975. description: 品种id
  17976. type: integer
  17977. deliverygoodsname:
  17978. description: 品种名称
  17979. type: string
  17980. deliverymonth:
  17981. description: 交收月
  17982. type: string
  17983. enumdicname:
  17984. description: 单位名称
  17985. type: string
  17986. goodscode:
  17987. description: 商品合约(浮动价列表才有)
  17988. type: string
  17989. goodsid:
  17990. description: 商品id(浮动价列表才有)
  17991. type: integer
  17992. minivalue:
  17993. description: 现货商品最小变动值
  17994. type: integer
  17995. pictureurls:
  17996. description: 详情图片(逗号分隔)
  17997. type: string
  17998. sellprice:
  17999. description: 卖价
  18000. type: number
  18001. sellpricemove:
  18002. description: 卖升贴水(基差)
  18003. type: number
  18004. sellqty:
  18005. description: 卖量
  18006. type: number
  18007. thumurls:
  18008. description: 缩略图片(1:1)(逗号分隔)
  18009. type: string
  18010. warehousecode:
  18011. description: 仓库代码
  18012. type: string
  18013. warehouseid:
  18014. description: 仓库id
  18015. type: integer
  18016. warehousename:
  18017. description: 仓库名称
  18018. type: string
  18019. wrfactortypeid:
  18020. description: 仓单要素id
  18021. type: string
  18022. wrfactortypename:
  18023. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18024. type: string
  18025. wrgoodsname:
  18026. description: 商品(商品名称+仓库要素名称 拼接)
  18027. type: string
  18028. wrstandardcode:
  18029. description: 商品代码
  18030. type: string
  18031. wrstandardid:
  18032. description: 商品id
  18033. type: integer
  18034. wrstandardname:
  18035. description: 商品名称
  18036. type: string
  18037. type: object
  18038. models.WrOrderQuoteDetail:
  18039. properties:
  18040. buyorsell:
  18041. description: 买卖 - 0:买 1:卖
  18042. type: integer
  18043. delistminqty:
  18044. description: 起摘数量
  18045. type: number
  18046. deliverymonth:
  18047. description: 交收月
  18048. type: string
  18049. enumdicname:
  18050. description: 单位名称
  18051. type: string
  18052. fixedprice:
  18053. description: 买(卖)价
  18054. type: number
  18055. marketid:
  18056. description: 市场id
  18057. type: integer
  18058. minivalue:
  18059. description: 现货商品最小变动值
  18060. type: integer
  18061. orderqty:
  18062. description: 买(卖)量(=委托量-成交量)
  18063. type: number
  18064. ordertime:
  18065. description: 委托时间
  18066. type: string
  18067. pricemove:
  18068. description: 买(卖)升贴水- 基差
  18069. type: number
  18070. userid:
  18071. description: 购买方(销售方)用户ID
  18072. type: integer
  18073. username:
  18074. description: 购买方(销售方)
  18075. type: string
  18076. wrtradeorderid:
  18077. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18078. type: string
  18079. type: object
  18080. models.WrOutInApply:
  18081. properties:
  18082. applyid:
  18083. description: 申请单id
  18084. type: string
  18085. applystatus:
  18086. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18087. 8:已撤销
  18088. type: integer
  18089. applytime:
  18090. description: 申请时间
  18091. type: string
  18092. applytype:
  18093. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18094. type: integer
  18095. bannerpicurl:
  18096. description: Banner图
  18097. type: string
  18098. begindate:
  18099. description: 开始交易日(yyyymmdd)
  18100. type: string
  18101. deliverygoodscode:
  18102. description: 品种代码
  18103. type: string
  18104. deliverygoodsid:
  18105. description: 品种ID
  18106. type: integer
  18107. deliverygoodsname:
  18108. description: 品种名称
  18109. type: string
  18110. enddate:
  18111. description: 结束交易日(yyyymmdd)
  18112. type: string
  18113. enumdicname:
  18114. description: 单位名称
  18115. type: string
  18116. expresscompany:
  18117. description: 物流公司
  18118. type: string
  18119. expressnum:
  18120. description: 物流单号
  18121. type: string
  18122. minivalue:
  18123. description: 现货商品最小变动值
  18124. type: integer
  18125. optioncompare:
  18126. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18127. type: string
  18128. qty:
  18129. description: 数量
  18130. type: integer
  18131. userid:
  18132. description: 用户id
  18133. type: integer
  18134. warehouseid:
  18135. description: 仓库ID
  18136. type: integer
  18137. warehousename:
  18138. description: 仓库名称
  18139. type: string
  18140. wrfactortypeid:
  18141. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18142. type: string
  18143. wrfactortypename:
  18144. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18145. type: string
  18146. wrstandardcode:
  18147. description: 现货商品代码
  18148. type: string
  18149. wrstandardid:
  18150. description: 现货商品ID
  18151. type: integer
  18152. wrstandardname:
  18153. description: 商品名称
  18154. type: string
  18155. wrtypename:
  18156. description: 商品
  18157. type: string
  18158. type: object
  18159. models.WrPerformancePlan:
  18160. properties:
  18161. activatemonth:
  18162. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18163. type: string
  18164. amount:
  18165. description: 履约金额(总金额)
  18166. type: number
  18167. begindate:
  18168. description: 开始交易日(yyyymmdd)
  18169. type: string
  18170. buyaccountid:
  18171. description: 买方账号
  18172. type: integer
  18173. buyerfreezeamount:
  18174. description: 履约冻结(买履约)
  18175. type: number
  18176. buyerfreezeamountremain:
  18177. description: 履约冻结剩余(买履约)
  18178. type: number
  18179. buyorsell:
  18180. description: 买卖方向 0-买 1-卖
  18181. type: integer
  18182. buypaidamount:
  18183. description: 买方已冻/已扣金额 (已付金额)
  18184. type: number
  18185. buyusername:
  18186. description: 买方名字
  18187. type: string
  18188. contractid:
  18189. description: 合同ID
  18190. type: integer
  18191. createtime:
  18192. description: 创建时间
  18193. type: string
  18194. creatorid:
  18195. description: 创建人
  18196. type: integer
  18197. curstepdeadline:
  18198. description: 当前步骤到期时间
  18199. type: string
  18200. curstepid:
  18201. description: 当前步骤ID
  18202. type: string
  18203. curstepname:
  18204. description: 当前步骤名称
  18205. type: string
  18206. deliverygoodscode:
  18207. description: 品种代码
  18208. type: string
  18209. deliverygoodsid:
  18210. description: 品种ID
  18211. type: integer
  18212. deliverygoodsname:
  18213. description: 品种名称
  18214. type: string
  18215. enddate:
  18216. description: 结束交易日(yyyymmdd)
  18217. type: string
  18218. enumdicname:
  18219. description: 单位名称
  18220. type: string
  18221. expressfee:
  18222. description: 运费
  18223. type: number
  18224. expressfeeconfirmed:
  18225. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18226. type: integer
  18227. hasovershort:
  18228. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18229. type: integer
  18230. haswr:
  18231. description: 类型 0-仓单预售 1-仓单贸易
  18232. type: integer
  18233. marketid:
  18234. description: 市场ID
  18235. type: integer
  18236. middleaccountid:
  18237. description: 中间商资金账号ID
  18238. type: integer
  18239. middleuserid:
  18240. description: 中间商用户ID
  18241. type: integer
  18242. minivalue:
  18243. description: 现货商品最小变动值
  18244. type: integer
  18245. optioncompare:
  18246. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18247. type: string
  18248. overshortamount:
  18249. description: 溢短金额
  18250. type: number
  18251. overshortqty:
  18252. description: 溢短数量
  18253. type: number
  18254. paymenttype:
  18255. description: 付款方式 - 1:冻结 2:扣款
  18256. type: integer
  18257. performanceplanid:
  18258. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18259. type: string
  18260. performancestatus:
  18261. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18262. 9:超时待处理 10:超时关闭
  18263. type: integer
  18264. performancetype:
  18265. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18266. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18267. type: integer
  18268. qty:
  18269. description: 履约数量
  18270. type: number
  18271. relatedorderid:
  18272. description: 关联单号(履约类型的关联单号)
  18273. type: string
  18274. remark:
  18275. description: 备注
  18276. type: string
  18277. sellaccountid:
  18278. description: 卖方账号
  18279. type: integer
  18280. sellerfreezeamount:
  18281. description: 履约冻结(卖履约)
  18282. type: number
  18283. sellerfreezeamountremain:
  18284. description: 履约冻结剩余(卖履约)
  18285. type: number
  18286. sellreceivedamount:
  18287. description: 卖方已收金额
  18288. type: number
  18289. sellusername:
  18290. description: 卖方名字
  18291. type: string
  18292. shipremark:
  18293. description: 发货备注[物流单号]
  18294. type: string
  18295. starttime:
  18296. description: 开始时间
  18297. type: string
  18298. steptypeid:
  18299. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18300. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18301. type: integer
  18302. typename:
  18303. description: 履约类型 名称
  18304. type: string
  18305. unpaidamount:
  18306. description: 剩余款(待支付金额)
  18307. type: number
  18308. userid:
  18309. description: 用户id
  18310. type: integer
  18311. warehouseid:
  18312. description: 仓库ID
  18313. type: integer
  18314. warehousename:
  18315. description: 仓库名称
  18316. type: string
  18317. wrfactortypeid:
  18318. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18319. type: string
  18320. wrfactortypename:
  18321. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18322. type: string
  18323. wrstandardcode:
  18324. description: 现货商品代码
  18325. type: string
  18326. wrstandardid:
  18327. description: 现货商品ID
  18328. type: integer
  18329. wrstandardname:
  18330. description: 商品名称
  18331. type: string
  18332. wrtransferuserid:
  18333. description: 仓单受让用户
  18334. type: integer
  18335. wrtypename:
  18336. description: 商品
  18337. type: string
  18338. required:
  18339. - userid
  18340. type: object
  18341. models.WrPerformancePlanStep:
  18342. properties:
  18343. delaydays:
  18344. description: 延期申请天数
  18345. type: integer
  18346. deliverygoodscode:
  18347. description: 品种代码
  18348. type: string
  18349. deliverygoodsid:
  18350. description: 品种ID
  18351. type: integer
  18352. deliverygoodsname:
  18353. description: 品种名称
  18354. type: string
  18355. endtime:
  18356. description: 结束日期
  18357. type: string
  18358. enumdicname:
  18359. description: 单位名称
  18360. type: string
  18361. executeside:
  18362. description: 步骤执行方 - 1:买方 2:卖方
  18363. type: integer
  18364. handlestatus:
  18365. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18366. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18367. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18368. type: integer
  18369. isauto:
  18370. description: 是否自动 - 0:不自动 1:自动
  18371. type: integer
  18372. islastreceivestep:
  18373. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18374. type: integer
  18375. minivalue:
  18376. description: 现货商品最小变动值
  18377. type: integer
  18378. optioncompare:
  18379. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18380. type: string
  18381. overdays:
  18382. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18383. type: integer
  18384. performancestepid:
  18385. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18386. type: string
  18387. planid:
  18388. description: 所属履约计划ID
  18389. type: string
  18390. realamount:
  18391. description: 实际完成金额
  18392. type: number
  18393. relatedorderid:
  18394. description: 关联单号
  18395. type: string
  18396. remaindays:
  18397. description: 剩余天数
  18398. type: integer
  18399. remark:
  18400. description: 错误备注
  18401. type: string
  18402. starttime:
  18403. description: 开始日期
  18404. type: string
  18405. stepamount:
  18406. description: 步骤金额
  18407. type: number
  18408. stepdays:
  18409. description: 距离上一步天数(分钟)
  18410. type: integer
  18411. stepindex:
  18412. description: 步骤序号
  18413. type: integer
  18414. steplanchtype:
  18415. description: 步骤启动类型 - 1:系统自动 2:手动
  18416. type: integer
  18417. stepremark:
  18418. description: 步骤备注
  18419. type: string
  18420. stepstatus:
  18421. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18422. type: integer
  18423. steptypeid:
  18424. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18425. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18426. type: integer
  18427. steptypename:
  18428. description: 步骤名称
  18429. type: string
  18430. stepvalue:
  18431. description: 步骤值
  18432. type: number
  18433. warehouseid:
  18434. description: 仓库ID
  18435. type: integer
  18436. warehousename:
  18437. description: 仓库名称
  18438. type: string
  18439. wrfactortypeid:
  18440. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18441. type: string
  18442. wrfactortypename:
  18443. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18444. type: string
  18445. wrstandardcode:
  18446. description: 现货商品代码
  18447. type: string
  18448. wrstandardid:
  18449. description: 现货商品ID
  18450. type: integer
  18451. wrstandardname:
  18452. description: 商品名称
  18453. type: string
  18454. wrtypename:
  18455. description: 商品
  18456. type: string
  18457. type: object
  18458. models.WrPerformanceStepType:
  18459. properties:
  18460. canauto:
  18461. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18462. type: integer
  18463. steptypeid:
  18464. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18465. type: integer
  18466. steptypename:
  18467. description: 步骤类型名称
  18468. type: string
  18469. type: object
  18470. models.WrPerformanceTemplateEx:
  18471. properties:
  18472. autoid:
  18473. description: AutoID 模板id
  18474. type: integer
  18475. createtime:
  18476. description: 创建时间
  18477. type: string
  18478. creatorid:
  18479. description: 创建人
  18480. type: integer
  18481. lstStep:
  18482. description: 步骤信息列表
  18483. items:
  18484. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18485. type: array
  18486. paymenttype:
  18487. description: 支付方式 - 1:冻结 2:扣款
  18488. type: integer
  18489. takemode:
  18490. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18491. type: integer
  18492. templatename:
  18493. description: 模板名称
  18494. type: string
  18495. templatetype:
  18496. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18497. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18498. type: integer
  18499. userid:
  18500. description: 所属用户
  18501. type: integer
  18502. type: object
  18503. models.WrPosition:
  18504. properties:
  18505. accountid:
  18506. description: 帐户ID
  18507. type: integer
  18508. buyexcuteqty:
  18509. description: 采购履约中数量
  18510. type: number
  18511. creditcurqty:
  18512. description: 授信当前数量(预售仓单:预售当前量)
  18513. type: number
  18514. creditenableqty:
  18515. description: '授信可用数量(预售仓单: 可用数量)'
  18516. type: number
  18517. creditfreezeqty:
  18518. description: '授信冻结数量(预售仓单: 当前数量)'
  18519. type: number
  18520. credittotalqty:
  18521. description: 授信总数量(预售仓单:预售总量)
  18522. type: number
  18523. credittradeqty:
  18524. description: 授信成交数量(预售仓单:成交总量)
  18525. type: number
  18526. deliverygoodscode:
  18527. description: 品种代码
  18528. type: string
  18529. deliverygoodsid:
  18530. description: 品种ID
  18531. type: integer
  18532. deliverygoodsname:
  18533. description: 品种名称
  18534. type: string
  18535. enalbeqty:
  18536. description: 可用数量
  18537. type: number
  18538. enumdicname:
  18539. description: 单位名称
  18540. type: string
  18541. freezeqty:
  18542. description: 总冻结数量
  18543. type: number
  18544. haswr:
  18545. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18546. type: integer
  18547. minivalue:
  18548. description: 现货商品最小变动值
  18549. type: integer
  18550. modifytime:
  18551. description: 修改时间(过户时间)
  18552. type: string
  18553. optioncompare:
  18554. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18555. type: string
  18556. pledgeqty:
  18557. description: 质押数量
  18558. type: number
  18559. querytype:
  18560. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18561. type: integer
  18562. sellexcuteqty:
  18563. description: 销售履约中数量
  18564. type: number
  18565. totalqty:
  18566. description: 总数量(库存数量)
  18567. type: number
  18568. warehouseid:
  18569. description: 仓库ID
  18570. type: integer
  18571. warehousename:
  18572. description: 仓库名称
  18573. type: string
  18574. wrfactortypeid:
  18575. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18576. type: string
  18577. wrfactortypename:
  18578. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18579. type: string
  18580. wrpositionid:
  18581. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18582. type: string
  18583. wrpositionno:
  18584. description: 仓单编号
  18585. type: string
  18586. wrstandardcode:
  18587. description: 现货商品代码
  18588. type: string
  18589. wrstandardid:
  18590. description: 现货商品ID
  18591. type: integer
  18592. wrstandardname:
  18593. description: 商品名称
  18594. type: string
  18595. wrtypename:
  18596. description: 商品
  18597. type: string
  18598. wruserid:
  18599. description: 持有人ID
  18600. type: integer
  18601. type: object
  18602. models.WrPreSaleInfo:
  18603. properties:
  18604. bannerpicurl:
  18605. description: Banner图
  18606. type: string
  18607. baseqty:
  18608. description: 中签基数
  18609. type: number
  18610. createtime:
  18611. description: 创建时间
  18612. type: string
  18613. deliverygoodsid:
  18614. description: 现货品种ID
  18615. type: integer
  18616. enddate:
  18617. description: 预售结束日期
  18618. type: string
  18619. enumdicname:
  18620. description: 单位名称
  18621. type: string
  18622. lotteryflag:
  18623. description: 摇号标识 - 0:未摇号 1:已摇号
  18624. type: integer
  18625. lotteryqty:
  18626. description: 摇号总量
  18627. type: number
  18628. luckyqty:
  18629. description: 已中签量
  18630. type: number
  18631. marketid:
  18632. description: 市场ID
  18633. type: integer
  18634. maxbuyqty:
  18635. description: 单人最大申购量
  18636. type: number
  18637. maxluckyqty:
  18638. description: 单人最大中签量
  18639. type: number
  18640. pictureurls:
  18641. description: 详情图片(逗号分隔)
  18642. type: string
  18643. placeqty:
  18644. description: 已配售量
  18645. type: number
  18646. presaleapplyid:
  18647. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18648. example: "0"
  18649. type: string
  18650. presaleqty:
  18651. description: 预售总量
  18652. type: number
  18653. presalestatus:
  18654. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18655. type: integer
  18656. sellaccountid:
  18657. description: 发行方资金账户ID
  18658. type: integer
  18659. selluserid:
  18660. description: 发行方用户ID
  18661. type: integer
  18662. sellwrtradeorderid:
  18663. description: 发行方卖委托单ID
  18664. type: string
  18665. startdate:
  18666. description: 预售开始日期
  18667. type: string
  18668. takestartdate:
  18669. description: 提货开始日期
  18670. type: string
  18671. thumurls:
  18672. description: 缩略图片(1:1)(逗号分隔)
  18673. type: string
  18674. tradedate:
  18675. description: 交易日
  18676. type: string
  18677. unitid:
  18678. description: 单位ID
  18679. type: integer
  18680. unitprice:
  18681. description: 商品单价
  18682. type: number
  18683. username:
  18684. description: 发行方用户名称
  18685. type: string
  18686. warehousecode:
  18687. description: 仓库代码(仓库简称)
  18688. type: string
  18689. warehouseid:
  18690. description: 仓库ID
  18691. type: integer
  18692. warehousename:
  18693. description: 仓库名称
  18694. type: string
  18695. wrfactortypeid:
  18696. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18697. example: "0"
  18698. type: string
  18699. wrstandardid:
  18700. description: 现货商品ID
  18701. type: integer
  18702. wrstandardname:
  18703. description: 现货商品名称
  18704. type: string
  18705. type: object
  18706. models.WrQuoteOrderMyq:
  18707. properties:
  18708. buyorsell:
  18709. description: 买卖 - 0:买 1:卖
  18710. type: integer
  18711. canbargain:
  18712. description: 是否可议价 - 0:不可 1:可
  18713. type: integer
  18714. canpart:
  18715. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18716. type: integer
  18717. delistminqty:
  18718. description: 起摘数量
  18719. type: number
  18720. deliverygoodscode:
  18721. description: 品种代码
  18722. type: string
  18723. deliverygoodsid:
  18724. description: 品种ID
  18725. type: integer
  18726. deliverygoodsname:
  18727. description: 品种名称
  18728. type: string
  18729. deliverymonth:
  18730. description: 交收月
  18731. type: string
  18732. enumdicname:
  18733. description: 单位名称
  18734. type: string
  18735. fixedprice:
  18736. description: 买(卖)价
  18737. type: number
  18738. goodscode:
  18739. description: 商品合约代码
  18740. type: string
  18741. marginflag:
  18742. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18743. type: integer
  18744. marginvalue:
  18745. description: 保证金设置值
  18746. type: number
  18747. minivalue:
  18748. description: 现货商品最小变动值
  18749. type: integer
  18750. orderqty:
  18751. description: 买(卖)量(=委托量-成交量)
  18752. type: number
  18753. ordertime:
  18754. description: 委托时间
  18755. type: string
  18756. performancetemplateid:
  18757. description: 履约模板id
  18758. type: integer
  18759. pricemove:
  18760. description: 买(卖)升贴水- 基差
  18761. type: number
  18762. templatename:
  18763. description: 履约模板名称
  18764. type: string
  18765. userid:
  18766. description: 购买方(销售方)用户ID
  18767. type: integer
  18768. username:
  18769. description: 购买方(销售方)
  18770. type: string
  18771. validtime:
  18772. description: 有效期限
  18773. type: string
  18774. validtype:
  18775. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18776. type: integer
  18777. warehousename:
  18778. description: 仓库名称
  18779. type: string
  18780. wrfactortypeid:
  18781. description: 仓单要素id
  18782. type: string
  18783. wrstandardcode:
  18784. description: 现货商品代码
  18785. type: string
  18786. wrstandardid:
  18787. description: 现货商品ID
  18788. type: integer
  18789. wrstandardname:
  18790. description: 商品名称
  18791. type: string
  18792. wrtradeorderid:
  18793. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18794. type: string
  18795. wrtypename:
  18796. description: 商品
  18797. type: string
  18798. type: object
  18799. models.WrReckonSpotGoodsTradeSum:
  18800. properties:
  18801. begindate:
  18802. description: 开始日期(结果含开始日期) yyyymmdd
  18803. type: string
  18804. enddate:
  18805. description: 结束日期(结果含结束日期) yyyymmdd
  18806. type: string
  18807. istoday:
  18808. description: 是否当日
  18809. type: boolean
  18810. marketid:
  18811. description: 市场ID
  18812. type: integer
  18813. price:
  18814. description: 价格 = 日成交金额 / 日成交数量
  18815. type: string
  18816. reckondate:
  18817. description: 日期 格式 yyyymmdd
  18818. type: string
  18819. tradeamount:
  18820. description: 日成交金额(当日单方向成交金额)
  18821. type: number
  18822. tradeqty:
  18823. description: 日成交数量(当日单方向成交数量)
  18824. type: number
  18825. wrstandardid:
  18826. description: 现货商品ID
  18827. type: integer
  18828. type: object
  18829. models.WrScfContract:
  18830. properties:
  18831. borroweruserid:
  18832. description: 借款用户ID
  18833. type: integer
  18834. buybackwrpositionqty:
  18835. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18836. type: number
  18837. closeinterest:
  18838. description: 已结利息 -> 已结费用
  18839. type: number
  18840. currisklevel:
  18841. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18842. type: integer
  18843. deadline:
  18844. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18845. type: string
  18846. deliverygoodscode:
  18847. description: 品种代码
  18848. type: string
  18849. deliverygoodsid:
  18850. description: 品种ID
  18851. type: integer
  18852. deliverygoodsname:
  18853. description: 品种名称
  18854. type: string
  18855. enumdicname:
  18856. description: 单位名称
  18857. type: string
  18858. financingdays:
  18859. description: 天数(天)
  18860. type: integer
  18861. initmargin:
  18862. description: 保证金 - [仓单回购]
  18863. type: number
  18864. interestamount:
  18865. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18866. type: number
  18867. interestdebt:
  18868. description: 利息欠款(记录负数) -> 费用欠款
  18869. type: number
  18870. interestminlen:
  18871. description: 最小起息天数
  18872. type: integer
  18873. interestrate:
  18874. description: 利率
  18875. type: number
  18876. interestratemode:
  18877. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18878. type: integer
  18879. interestsettlemode:
  18880. description: 结息方式 - 1:按日结息 3:按月结息
  18881. type: integer
  18882. interestsettlevalue:
  18883. description: 结息方式值
  18884. type: integer
  18885. isautoloan:
  18886. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18887. type: integer
  18888. lastcloseinterestday:
  18889. description: 最近结息日(yyyyMMdd)
  18890. type: string
  18891. lenderamount:
  18892. description: 贷款金额 -> 借款金额
  18893. type: number
  18894. lenderuserid:
  18895. description: 贷款方用户ID -> 融出方用户ID
  18896. type: integer
  18897. lenderusername:
  18898. description: 融出方
  18899. type: string
  18900. marginratio:
  18901. description: 保证金比率质押率 - [仓单质押]
  18902. type: number
  18903. marketid:
  18904. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18905. type: integer
  18906. minivalue:
  18907. description: 现货商品最小变动值
  18908. type: integer
  18909. optioncompare:
  18910. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18911. type: string
  18912. pricemove:
  18913. description: 估值升贴水值
  18914. type: number
  18915. productdetailid:
  18916. description: 产品组合ID
  18917. type: integer
  18918. productid:
  18919. description: 金融产品ID
  18920. type: integer
  18921. productname:
  18922. description: 产品名称
  18923. type: string
  18924. remainamount:
  18925. description: 合同剩余金额 -> 剩余金额
  18926. type: number
  18927. remainwrpositionqty:
  18928. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18929. type: number
  18930. remark:
  18931. description: 备注
  18932. type: string
  18933. scfcontractid:
  18934. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18935. type: string
  18936. scfcontractstatus:
  18937. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18938. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18939. type: integer
  18940. scfcontracttype:
  18941. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18942. type: integer
  18943. startinterestday:
  18944. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18945. type: string
  18946. totalinterest:
  18947. description: 已计利息 -> 已计费用
  18948. type: number
  18949. unpaidinterest:
  18950. description: 未结费用
  18951. type: number
  18952. updatetime:
  18953. description: 更新时间
  18954. type: string
  18955. warehouseid:
  18956. description: 仓库ID
  18957. type: integer
  18958. warehousename:
  18959. description: 仓库名称
  18960. type: string
  18961. wrfactortypeid:
  18962. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18963. type: string
  18964. wrfactortypename:
  18965. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18966. type: string
  18967. wrqty:
  18968. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18969. type: number
  18970. wrstandardcode:
  18971. description: 现货商品代码
  18972. type: string
  18973. wrstandardid:
  18974. description: 现货商品ID
  18975. type: integer
  18976. wrstandardname:
  18977. description: 商品名称
  18978. type: string
  18979. wrtypename:
  18980. description: 商品
  18981. type: string
  18982. type: object
  18983. models.WrScfContractInterest:
  18984. properties:
  18985. closeinterest:
  18986. description: 已结利息
  18987. type: number
  18988. closeintereststatus:
  18989. description: 结息状态 - 1:未结 2:已结
  18990. type: integer
  18991. closetime:
  18992. description: 结息时间
  18993. type: string
  18994. closetradedate:
  18995. description: 结息交易日
  18996. type: string
  18997. creatorid:
  18998. description: 操作人ID
  18999. type: integer
  19000. dayrate:
  19001. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19002. type: number
  19003. interest:
  19004. description: 利息
  19005. type: number
  19006. interestamount:
  19007. description: 计息金额
  19008. type: number
  19009. interestday:
  19010. description: 计息日(yyyyMMdd)
  19011. type: string
  19012. scfcontractid:
  19013. description: SCF合同ID
  19014. type: string
  19015. scfcontractinterestid:
  19016. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19017. type: integer
  19018. updatetime:
  19019. description: 更新时间
  19020. type: string
  19021. type: object
  19022. models.WrSearchUser:
  19023. properties:
  19024. userid:
  19025. description: 用户ID
  19026. type: integer
  19027. username:
  19028. description: 用户名称(已脱敏)
  19029. type: string
  19030. username2:
  19031. description: 用户名称(未脱敏)
  19032. type: string
  19033. usertype:
  19034. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19035. type: integer
  19036. required:
  19037. - username
  19038. type: object
  19039. models.WrSiteColumnDetail:
  19040. properties:
  19041. brief:
  19042. description: 简介
  19043. type: string
  19044. context:
  19045. description: 内容
  19046. type: string
  19047. coverimage:
  19048. description: 封面图片
  19049. type: string
  19050. creaedate:
  19051. description: 创建时间
  19052. type: string
  19053. id:
  19054. description: ID(SEQ_SITE_COLUMNDETAIL)
  19055. type: integer
  19056. istop:
  19057. description: 是否置顶 - 0:不置 1:置顶
  19058. type: integer
  19059. publishdate:
  19060. description: 发布日期
  19061. type: string
  19062. title:
  19063. description: 标题
  19064. type: string
  19065. updatedate:
  19066. description: 修改时间
  19067. type: string
  19068. type: object
  19069. models.WrSpecialMatchOrder:
  19070. properties:
  19071. amount:
  19072. description: 金额 = 数量 * 价格
  19073. type: number
  19074. buyorsell:
  19075. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19076. type: integer
  19077. cancelqty:
  19078. description: 撤销数量
  19079. type: number
  19080. deliverygoodscode:
  19081. description: 品种代码
  19082. type: string
  19083. deliverygoodsid:
  19084. description: 品种ID
  19085. type: integer
  19086. deliverygoodsname:
  19087. description: 品种名称
  19088. type: string
  19089. enumdicname:
  19090. description: 单位名称
  19091. type: string
  19092. fixedprice:
  19093. description: 固定价格(价格)
  19094. type: number
  19095. haswr:
  19096. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19097. type: integer
  19098. isspecified:
  19099. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19100. type: integer
  19101. marketid:
  19102. description: 市场ID
  19103. type: integer
  19104. matchuserid:
  19105. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19106. type: integer
  19107. matchusername:
  19108. description: 指定方
  19109. type: string
  19110. minivalue:
  19111. description: 现货商品最小变动值
  19112. type: integer
  19113. optioncompare:
  19114. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19115. type: string
  19116. orderqty:
  19117. description: 委托数量
  19118. type: number
  19119. ordertime:
  19120. description: 委托时间
  19121. type: string
  19122. pricemove:
  19123. description: 升贴水(浮动价时填写) - [挂牌]
  19124. type: number
  19125. tradedate:
  19126. description: 交易日(yyyyMMdd)
  19127. type: string
  19128. tradeprice:
  19129. description: 成交价格
  19130. type: number
  19131. tradeqty:
  19132. description: 成交数量
  19133. type: number
  19134. userid:
  19135. description: 用户ID
  19136. type: integer
  19137. username:
  19138. description: 发起方
  19139. type: string
  19140. warehouseid:
  19141. description: 仓库ID
  19142. type: integer
  19143. warehousename:
  19144. description: 仓库名称
  19145. type: string
  19146. wrfactortypeid:
  19147. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19148. type: string
  19149. wrfactortypename:
  19150. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19151. type: string
  19152. wrpricetype:
  19153. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19154. type: integer
  19155. wrstandardcode:
  19156. description: 现货商品代码
  19157. type: string
  19158. wrstandardid:
  19159. description: 现货商品ID
  19160. type: integer
  19161. wrstandardname:
  19162. description: 商品名称
  19163. type: string
  19164. wrtradeorderid:
  19165. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19166. type: string
  19167. wrtradeorderstatus:
  19168. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19169. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19170. type: integer
  19171. wrtradetype:
  19172. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19173. type: integer
  19174. wrtypename:
  19175. description: 商品
  19176. type: string
  19177. type: object
  19178. models.WrSpotGroupTradeSum:
  19179. properties:
  19180. deliverygoodscode:
  19181. description: 现货品种代码
  19182. type: string
  19183. deliverygoodsid:
  19184. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19185. type: integer
  19186. deliverygoodsname:
  19187. description: 现货品种名称
  19188. type: string
  19189. lastavgprice:
  19190. description: 上上个交易日价格(前2天价格)
  19191. type: string
  19192. lastreckondate:
  19193. description: 上上个交易日(前2天交易日)
  19194. type: string
  19195. reckondate:
  19196. description: 上个交易日(前1天交易日)
  19197. type: string
  19198. todayavgprice:
  19199. description: 上个交易日价格(前1天价格)
  19200. type: string
  19201. updown:
  19202. description: 涨跌
  19203. type: string
  19204. updownratio:
  19205. description: 涨幅(已格式化, 直接显示即可)
  19206. type: string
  19207. type: object
  19208. models.WrSpotGroupTradeSumDetail:
  19209. properties:
  19210. deliverygoodsid:
  19211. description: 现货商品id
  19212. type: integer
  19213. price:
  19214. description: 价格
  19215. type: number
  19216. reckondate:
  19217. description: 日期(yyymmdd, 如:20211031)
  19218. type: string
  19219. type: object
  19220. models.WrSpotGroupTradeSumEx:
  19221. properties:
  19222. lst:
  19223. description: 指数列表
  19224. items:
  19225. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19226. type: array
  19227. prereckondate:
  19228. description: 上上个交易日(yyymmdd)
  19229. type: string
  19230. reckondate:
  19231. description: 上个交易日(yyyymmdd)
  19232. type: string
  19233. type: object
  19234. models.WrStandardFactoryItem:
  19235. properties:
  19236. dgfactoryitemid:
  19237. description: 选择项id
  19238. type: integer
  19239. dgfactoryitemvalue:
  19240. description: 要素项值
  19241. type: string
  19242. warehouseid:
  19243. description: 仓库id
  19244. type: integer
  19245. type: object
  19246. models.WrStandardFactoryItemEx:
  19247. properties:
  19248. dgfactoryitemtypeid:
  19249. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19250. type: integer
  19251. itemlst:
  19252. description: 要素项列表
  19253. items:
  19254. $ref: '#/definitions/models.WrStandardFactoryItem'
  19255. type: array
  19256. itemtypename:
  19257. description: 要素项类型名称
  19258. type: string
  19259. wrstandardid:
  19260. description: 品类
  19261. type: integer
  19262. type: object
  19263. models.WrTradeDetail:
  19264. properties:
  19265. accountid:
  19266. description: 资金账号
  19267. type: integer
  19268. bannerpicurl:
  19269. description: Banner图
  19270. type: string
  19271. begindate:
  19272. description: 开始交易日(yyyymmdd)
  19273. type: string
  19274. buyorsell:
  19275. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19276. type: integer
  19277. chargevalue:
  19278. description: 手续费
  19279. type: number
  19280. deliverygoodscode:
  19281. description: 品种代码
  19282. type: string
  19283. deliverygoodsid:
  19284. description: 品种ID
  19285. type: integer
  19286. deliverygoodsname:
  19287. description: 品种名称
  19288. type: string
  19289. deliverymonth:
  19290. description: 交收月
  19291. type: string
  19292. enddate:
  19293. description: 结束交易日(yyyymmdd)
  19294. type: string
  19295. enumdicname:
  19296. description: 单位名称
  19297. type: string
  19298. haswr:
  19299. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19300. type: integer
  19301. marketid:
  19302. description: 市场ID
  19303. type: integer
  19304. matchaccountid:
  19305. description: 对手账号
  19306. type: integer
  19307. matchusername:
  19308. description: 对手方
  19309. type: string
  19310. minivalue:
  19311. description: 现货商品最小变动值
  19312. type: integer
  19313. optioncompare:
  19314. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19315. type: string
  19316. thumurls:
  19317. description: 缩略图
  19318. type: string
  19319. tradedate:
  19320. description: 交易日(yyyyMMdd)
  19321. type: string
  19322. tradeprice:
  19323. description: 成交价格
  19324. type: number
  19325. tradeqty:
  19326. description: 成交数量
  19327. type: number
  19328. tradetime:
  19329. description: 成交时间
  19330. type: string
  19331. userid:
  19332. description: 用户ID
  19333. type: integer
  19334. warehouseid:
  19335. description: 仓库ID
  19336. type: integer
  19337. warehousename:
  19338. description: 仓库名称
  19339. type: string
  19340. wrfactortypeid:
  19341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19342. type: string
  19343. wrfactortypename:
  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. wrtradedetailid:
  19356. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19357. type: string
  19358. wrtradetype:
  19359. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19360. type: integer
  19361. wrtypename:
  19362. description: 商品
  19363. type: string
  19364. type: object
  19365. models.WrTradeOrderDetail:
  19366. properties:
  19367. buyorsell:
  19368. description: 买卖方向 0-买 1-卖
  19369. type: integer
  19370. goodsid:
  19371. description: 商品id
  19372. type: integer
  19373. orderid:
  19374. description: 委托单号
  19375. type: string
  19376. orderprice:
  19377. description: 委托价格
  19378. type: number
  19379. orderqty:
  19380. description: 委托数量
  19381. type: integer
  19382. userid:
  19383. description: 用户id
  19384. type: integer
  19385. username:
  19386. description: 用户名称(已脱敏)
  19387. type: string
  19388. type: object
  19389. models.WrTypeItem:
  19390. properties:
  19391. name:
  19392. description: 名称
  19393. type: string
  19394. value:
  19395. description: 值
  19396. type: string
  19397. type: object
  19398. models.WrUserFriend:
  19399. properties:
  19400. friendname:
  19401. description: 朋友名称(已脱敏)
  19402. type: string
  19403. frienduserid:
  19404. description: 朋友id
  19405. type: integer
  19406. isfriend:
  19407. description: 是否好友 0-不是 1-是
  19408. type: integer
  19409. userid:
  19410. description: 用户id
  19411. type: integer
  19412. type: object
  19413. models.WrUserReceiptInfo:
  19414. properties:
  19415. address:
  19416. description: 地址[发票类型:企业]
  19417. type: string
  19418. autoid:
  19419. description: AutoID
  19420. type: integer
  19421. contactinfo:
  19422. description: 联系方式
  19423. type: string
  19424. idnum:
  19425. description: 身份证号码[发票类型:个人]
  19426. type: string
  19427. isdefault:
  19428. description: 是否默认地址 - 0:否 1:是
  19429. type: integer
  19430. receiptaccount:
  19431. description: 发票帐号[发票类型:企业]
  19432. type: string
  19433. receiptbank:
  19434. description: 发票开户行[发票类型:企业]
  19435. type: string
  19436. receipttype:
  19437. description: 发票类型 - 1:个人 2:企业
  19438. type: integer
  19439. taxpayerid:
  19440. description: 纳税人识别号
  19441. type: string
  19442. userid:
  19443. description: 用户ID
  19444. type: integer
  19445. username:
  19446. description: 户名(个人姓名或企业名称)
  19447. type: string
  19448. type: object
  19449. models.XHBRAND:
  19450. properties:
  19451. brandid:
  19452. description: 品牌id
  19453. type: integer
  19454. brandname:
  19455. description: 品牌名称
  19456. type: string
  19457. isvalid:
  19458. description: 是否有效 0-无效 1-有效
  19459. type: integer
  19460. type: object
  19461. models.XHDeliveryGoods:
  19462. properties:
  19463. areauserid:
  19464. description: 所属机构
  19465. type: integer
  19466. bdlst:
  19467. description: 品牌列表
  19468. items:
  19469. $ref: '#/definitions/models.XHBRAND'
  19470. type: array
  19471. deliverygoodscode:
  19472. description: 现货品种代码
  19473. type: string
  19474. deliverygoodsid:
  19475. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19476. type: integer
  19477. deliverygoodsname:
  19478. description: 现货品种名称
  19479. type: string
  19480. dgstatus:
  19481. description: 品种状态 - 作废 - 0:未激活 1:正常
  19482. type: integer
  19483. filterSubEmpty:
  19484. description: 过滤下级为空的
  19485. type: integer
  19486. isvalid:
  19487. description: 是否有效 - 0:无效 1:有效
  19488. type: integer
  19489. remark:
  19490. description: 备注
  19491. type: string
  19492. unitid:
  19493. description: 单位id(目前看,数据库中是空值)
  19494. type: integer
  19495. wdlst:
  19496. description: 品类(现货商品)列表
  19497. items:
  19498. $ref: '#/definitions/models.XHWrstandard'
  19499. type: array
  19500. type: object
  19501. models.XHMiddleGoods:
  19502. properties:
  19503. GPLST:
  19504. description: 期货品种列表
  19505. items:
  19506. $ref: '#/definitions/models.TBGoodsGroup'
  19507. type: array
  19508. convertratio:
  19509. description: 拆算系数
  19510. type: number
  19511. costratio:
  19512. description: 成本权重
  19513. type: number
  19514. deliverygoodsid:
  19515. description: 现货商品id
  19516. type: integer
  19517. enumdicname:
  19518. description: 单位名称
  19519. type: string
  19520. middlegoodscode:
  19521. description: 套保品种代码
  19522. type: string
  19523. middlegoodsid:
  19524. description: 套保品种id
  19525. type: integer
  19526. middlegoodsname:
  19527. description: 套保品种名称
  19528. type: string
  19529. unitid:
  19530. description: 单位id
  19531. type: integer
  19532. type: object
  19533. models.XHWrstandard:
  19534. properties:
  19535. bannerpicurl:
  19536. description: banner图
  19537. type: string
  19538. deliverygoodsid:
  19539. description: 品种ID
  19540. type: integer
  19541. enumdicname:
  19542. description: 单位名称
  19543. type: string
  19544. mglst:
  19545. description: 套保品列表
  19546. items:
  19547. $ref: '#/definitions/models.XHMiddleGoods'
  19548. type: array
  19549. pictureurls:
  19550. description: 详情图片(逗号分隔)
  19551. type: string
  19552. thumurls:
  19553. description: 缩略图片(1:1)(逗号分隔)
  19554. type: string
  19555. unitid:
  19556. description: 单位id
  19557. type: integer
  19558. vatrate:
  19559. description: 增值税率
  19560. type: number
  19561. wrstandardcode:
  19562. description: 现货商品代码
  19563. type: string
  19564. wrstandardid:
  19565. description: 现货商品ID(SEQ_WRSTANDARD)
  19566. type: integer
  19567. wrstandardname:
  19568. description: 现货商品名称
  19569. type: string
  19570. type: object
  19571. models.XhcpSellBackApplyEx:
  19572. properties:
  19573. applyremark:
  19574. description: 申请备注
  19575. type: string
  19576. expirytype:
  19577. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19578. type: integer
  19579. goodsspec:
  19580. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19581. type: integer
  19582. holeflag:
  19583. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19584. type: integer
  19585. isunopened:
  19586. description: 是否原封 - 1:否 2:是
  19587. type: integer
  19588. mpflag:
  19589. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19590. type: integer
  19591. openflag:
  19592. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19593. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19594. type: integer
  19595. phonenum:
  19596. description: 联系电话
  19597. type: string
  19598. userid:
  19599. description: 所属用户ID
  19600. type: integer
  19601. zpflag:
  19602. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19603. type: integer
  19604. required:
  19605. - userid
  19606. type: object
  19607. models.Xhcpsellbackapply:
  19608. properties:
  19609. applyid:
  19610. description: 申请人
  19611. type: integer
  19612. applyremark:
  19613. description: 申请备注
  19614. type: string
  19615. applysrc:
  19616. description: 申请来源 - 1:管理端 2:终端
  19617. type: integer
  19618. applystatus:
  19619. description: 申请状态 - 1:待确认 2:已处理
  19620. type: integer
  19621. applytime:
  19622. description: 申请时间
  19623. type: string
  19624. auditremark:
  19625. description: 审核备注
  19626. type: string
  19627. auditsrc:
  19628. description: 审核来源 - 1:管理端 2:终端
  19629. type: integer
  19630. expirytype:
  19631. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19632. type: integer
  19633. goodsspec:
  19634. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19635. type: integer
  19636. holeflag:
  19637. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19638. type: integer
  19639. isunopened:
  19640. description: 是否原封 - 1:否 2:是
  19641. type: integer
  19642. mpflag:
  19643. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19644. type: integer
  19645. openflag:
  19646. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19647. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19648. type: integer
  19649. phonenum:
  19650. description: 联系电话
  19651. type: string
  19652. sellbackapplyid:
  19653. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19654. type: string
  19655. userid:
  19656. description: 所属用户ID
  19657. type: integer
  19658. zpflag:
  19659. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19660. type: integer
  19661. required:
  19662. - userid
  19663. type: object
  19664. order.QueryHisTradeDetailRsp:
  19665. properties:
  19666. accountid:
  19667. description: 账户ID[报价币种]
  19668. type: integer
  19669. advanceratio:
  19670. description: 首付比率
  19671. type: number
  19672. buildtype:
  19673. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19674. type: integer
  19675. buyorsell:
  19676. description: 方向 - 0:买 1:卖
  19677. type: integer
  19678. charge:
  19679. description: 手续费
  19680. type: number
  19681. closecharge:
  19682. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19683. type: number
  19684. closeexchagechargevalue:
  19685. description: 平仓交易所手续费设置值
  19686. type: number
  19687. closefeealgorithm:
  19688. description: 平仓手续费收取方式 1:比率 2:固定
  19689. type: integer
  19690. closememberchargevalue:
  19691. description: 平仓会员手续费设置值
  19692. type: number
  19693. closepl:
  19694. description: 平仓盈亏
  19695. type: number
  19696. closepl2:
  19697. description: 平仓盈亏[逐笔]
  19698. type: number
  19699. closeqty:
  19700. description: 平仓数量(先建后平操作 需要记录)
  19701. type: number
  19702. creditamount:
  19703. description: 授信金额
  19704. type: number
  19705. decimalplace:
  19706. description: 商品报价小数位
  19707. type: integer
  19708. enumdicname:
  19709. description: 单位名称
  19710. type: string
  19711. gcaccountid:
  19712. description: 账户ID[合约币种]
  19713. type: integer
  19714. goodscode:
  19715. description: 商品代码
  19716. type: string
  19717. goodsid:
  19718. description: 商品ID
  19719. type: integer
  19720. goodsname:
  19721. description: 商品名称
  19722. type: string
  19723. goodunitid:
  19724. description: 商品单位id
  19725. type: integer
  19726. histradedate:
  19727. description: 历史交易日
  19728. type: string
  19729. intclosepl:
  19730. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19731. type: integer
  19732. isconfirmexercise:
  19733. description: 是否确认行权- 0:否 1:是
  19734. type: integer
  19735. ismain:
  19736. description: 是否主单 - 0:不是 1:是
  19737. type: integer
  19738. ispreexercise:
  19739. description: 是否预申报- 0:否 1:是
  19740. type: integer
  19741. isreckoned:
  19742. description: 是否结算 - 0:未结算 1:已结算
  19743. type: integer
  19744. isvaliddata:
  19745. description: 是否有效 - 0:无效 1:有效
  19746. type: integer
  19747. listingselecttype:
  19748. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19749. type: integer
  19750. marketid:
  19751. description: 市场ID
  19752. type: integer
  19753. marketname:
  19754. description: 市场名称
  19755. type: string
  19756. matchaccountid:
  19757. description: 对手账号id
  19758. type: integer
  19759. memberuserid:
  19760. description: 会员id 个人投资者 需要填写
  19761. type: integer
  19762. opencharge:
  19763. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19764. type: number
  19765. openexchagechargevalue:
  19766. description: 建仓交易所手续费设置值
  19767. type: number
  19768. openfeealgorithm:
  19769. description: 建仓手续费收取方式 1:比率 2:固定
  19770. type: integer
  19771. openmemberchargevalue:
  19772. description: 建仓会员手续费设置值
  19773. type: number
  19774. openqty:
  19775. description: 开仓数量(先建后平操作 需要记录)
  19776. type: number
  19777. optiontype:
  19778. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19779. type: integer
  19780. orderid:
  19781. description: 委托单号
  19782. type: string
  19783. payamount:
  19784. description: 支付金额(付款金额)
  19785. type: number
  19786. performanceplanid:
  19787. description: 履约计划ID[期权]
  19788. type: integer
  19789. performancestatus:
  19790. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19791. type: integer
  19792. preexerciseprice:
  19793. description: 预申报价格
  19794. type: number
  19795. premium:
  19796. description: 权利金 - [持仓单的权利金]
  19797. type: number
  19798. qtydecimalplace:
  19799. description: 商品报价小数位
  19800. type: integer
  19801. recvamount:
  19802. description: 到账金额 = 成交金额 - 手续费
  19803. type: number
  19804. relatedouttradeid:
  19805. description: 关联外部成交单ID
  19806. type: integer
  19807. status:
  19808. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19809. type: integer
  19810. totalamount:
  19811. description: 订单总额 = 成交金额 + 手续费
  19812. type: number
  19813. tradeamount:
  19814. description: 成交金额[账户币种,用于所有权]
  19815. type: number
  19816. tradedate:
  19817. description: 交易日(yyyyMMdd)
  19818. type: string
  19819. tradeid:
  19820. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19821. type: string
  19822. trademode:
  19823. description: 交易模式
  19824. type: integer
  19825. tradeprice:
  19826. description: 成交价格
  19827. type: number
  19828. tradeproperty:
  19829. description: 交易属性
  19830. type: integer
  19831. tradeqty:
  19832. description: 成交数量
  19833. type: number
  19834. tradetime:
  19835. description: 成交时间
  19836. type: string
  19837. tradetype:
  19838. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19839. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19840. type: integer
  19841. required:
  19842. - accountid
  19843. - buyorsell
  19844. - goodsid
  19845. - histradedate
  19846. - marketid
  19847. - memberuserid
  19848. - orderid
  19849. - tradeamount
  19850. - tradedate
  19851. - tradeid
  19852. - tradeprice
  19853. - tradeqty
  19854. - tradetime
  19855. type: object
  19856. order.QueryHisTradeOrderDetailRsp:
  19857. properties:
  19858. accountid:
  19859. description: 账户ID[报价币种]
  19860. type: integer
  19861. buildtype:
  19862. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19863. type: integer
  19864. buyorsell:
  19865. description: 买卖 - 0:买 1:卖
  19866. type: integer
  19867. cancelorderid:
  19868. description: 撤单单号(撤单时填写)
  19869. type: string
  19870. cancelqty:
  19871. description: 撤单数量
  19872. type: number
  19873. clientordertime:
  19874. description: 客户端委托时间
  19875. type: string
  19876. clientticket:
  19877. description: 客户端流水号
  19878. type: string
  19879. clienttype:
  19880. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19881. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19882. type: integer
  19883. closeexchagechargevalue:
  19884. description: 平仓交易所手续费设置值
  19885. type: number
  19886. closefeealgorithm:
  19887. description: 平仓手续费收取方式 1:比率 2:固定
  19888. type: integer
  19889. closefreezecharge:
  19890. description: 平仓冻结手续费(先建后平操作,需要记录)
  19891. type: number
  19892. closememberchargevalue:
  19893. description: 平仓会员手续费设置值
  19894. type: number
  19895. closeqty:
  19896. description: 平仓数量(先建后平操作 需要记录)
  19897. type: number
  19898. closetradeqty:
  19899. description: 平仓成交数量(先建后平操作,需要记录)
  19900. type: number
  19901. closeunfreezecharge:
  19902. description: 平仓解冻手续费(先建后平操作,需要记录)
  19903. type: number
  19904. decimalplace:
  19905. description: 商品报价小数位
  19906. type: integer
  19907. delistingtype:
  19908. description: 摘牌类型 - 1:价格最优 2:点选成交
  19909. type: integer
  19910. enumdicname:
  19911. description: 单位名称
  19912. type: string
  19913. freezecharge:
  19914. description: 冻结手续费
  19915. type: number
  19916. freezemargin:
  19917. description: 冻结保证金(冻结交易金额)
  19918. type: number
  19919. gcaccountid:
  19920. description: 账户ID[合约币种]
  19921. type: integer
  19922. goodscode:
  19923. description: 商品代码
  19924. type: string
  19925. goodsid:
  19926. description: 商品ID
  19927. type: integer
  19928. goodsname:
  19929. description: 商品名称
  19930. type: string
  19931. goodunitid:
  19932. description: 商品单位id
  19933. type: integer
  19934. histradedate:
  19935. description: 历史交易日
  19936. type: string
  19937. isconfirmexercise:
  19938. description: 是否确认行权- 0:否 1:是
  19939. type: integer
  19940. ispreexercise:
  19941. description: 是否预申报- 0:否 1:是
  19942. type: integer
  19943. isvaliddata:
  19944. description: 是否有效 - 0:无效 1:有效
  19945. type: integer
  19946. listingselecttype:
  19947. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19948. type: integer
  19949. marginalgorithm:
  19950. description: 保证金收取方式 1:比率 2:固定
  19951. type: integer
  19952. marginvalue:
  19953. description: 即市保证金设置值
  19954. type: number
  19955. marketid:
  19956. description: 市场ID
  19957. type: integer
  19958. marketmaxsub:
  19959. description: 市价最大偏移范围
  19960. type: number
  19961. marketname:
  19962. description: 市场名称
  19963. type: string
  19964. memberuserid:
  19965. description: 所属会员UserID
  19966. type: integer
  19967. openexchagechargevalue:
  19968. description: 建仓交易所手续费设置值
  19969. type: number
  19970. openfeealgorithm:
  19971. description: 建仓手续费收取方式 1:比率 2:固定
  19972. type: integer
  19973. openfreezecharge:
  19974. description: 开仓冻结手续费(先建后平操作,需要记录)
  19975. type: number
  19976. openmemberchargevalue:
  19977. description: 建仓会员手续费设置值
  19978. type: number
  19979. openqty:
  19980. description: 开仓数量(先建后平操作,需要记录)
  19981. type: number
  19982. opentradeqty:
  19983. description: 开仓成交数量(先建后平操作,需要记录)
  19984. type: number
  19985. openunfreezecharge:
  19986. description: 开仓解冻手续费(先建后平操作,需要记录)
  19987. type: number
  19988. operatetype:
  19989. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19990. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19991. 15:管理端协议转让
  19992. type: integer
  19993. operatorid:
  19994. description: 登录账号(LoginID)
  19995. type: integer
  19996. optiontype:
  19997. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19998. type: integer
  19999. orderid:
  20000. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20001. type: string
  20002. orderprice:
  20003. description: 委托价格
  20004. type: number
  20005. orderqty:
  20006. description: 委托数量
  20007. type: number
  20008. ordersrc:
  20009. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20010. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20011. type: integer
  20012. orderstatus:
  20013. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20014. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20015. 16:成交失败违约(荷兰式竞拍专用)
  20016. type: integer
  20017. ordertime:
  20018. description: 委托时间
  20019. type: string
  20020. preexerciseprice:
  20021. description: 预申报价格
  20022. type: number
  20023. premium:
  20024. description: 权利金
  20025. type: number
  20026. preorderid:
  20027. description: 关联预埋单号(止盈止损单时填写)
  20028. type: string
  20029. pricemode:
  20030. description: '取价方式 - 1:市价 2: 限价'
  20031. type: integer
  20032. qtydecimalplace:
  20033. description: 成交量小数位
  20034. type: integer
  20035. quoteid:
  20036. description: 报价单ID
  20037. type: integer
  20038. relatedid:
  20039. description: 关联单号(交割单)
  20040. type: string
  20041. retcode:
  20042. description: 错误代码
  20043. type: integer
  20044. sessionid:
  20045. description: 会话ID
  20046. type: integer
  20047. tradedate:
  20048. description: 交易日(yyyyMMdd)
  20049. type: string
  20050. trademode:
  20051. description: 交易模式
  20052. type: integer
  20053. tradeproperty:
  20054. description: 交易属性
  20055. type: integer
  20056. tradeqty:
  20057. description: 成交数量
  20058. type: number
  20059. unfreezecharge:
  20060. description: 解冻手续费
  20061. type: number
  20062. unfreezemargin:
  20063. description: 解冻保证金
  20064. type: number
  20065. updatetime:
  20066. description: 更新时间
  20067. type: string
  20068. uuid:
  20069. description: 发起端唯一id
  20070. type: string
  20071. validtime:
  20072. description: 有效期限
  20073. type: string
  20074. validtype:
  20075. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20076. type: integer
  20077. volumetype:
  20078. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20079. type: integer
  20080. required:
  20081. - accountid
  20082. - buildtype
  20083. - buyorsell
  20084. - goodsid
  20085. - histradedate
  20086. - marketid
  20087. - memberuserid
  20088. - operatetype
  20089. - orderid
  20090. - orderqty
  20091. - ordertime
  20092. - pricemode
  20093. - tradedate
  20094. - validtype
  20095. type: object
  20096. order.QueryTradeDetailRsp:
  20097. properties:
  20098. accountid:
  20099. description: 账户ID[报价币种]
  20100. type: integer
  20101. advanceratio:
  20102. description: 首付比率
  20103. type: number
  20104. buildtype:
  20105. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20106. type: integer
  20107. buyorsell:
  20108. description: 方向 - 0:买 1:卖
  20109. type: integer
  20110. charge:
  20111. description: 手续费
  20112. type: number
  20113. closecharge:
  20114. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20115. type: number
  20116. closeexchagechargevalue:
  20117. description: 平仓交易所手续费设置值
  20118. type: number
  20119. closefeealgorithm:
  20120. description: 平仓手续费收取方式 1:比率 2:固定
  20121. type: integer
  20122. closememberchargevalue:
  20123. description: 平仓会员手续费设置值
  20124. type: number
  20125. closepl:
  20126. description: 平仓盈亏
  20127. type: number
  20128. closepl2:
  20129. description: 平仓盈亏[逐笔]
  20130. type: number
  20131. closeqty:
  20132. description: 平仓数量(先建后平操作 需要记录)
  20133. type: number
  20134. creditamount:
  20135. description: 授信金额
  20136. type: number
  20137. decimalplace:
  20138. description: 商品报价小数位
  20139. type: integer
  20140. enumdicname:
  20141. description: 单位名称
  20142. type: string
  20143. gcaccountid:
  20144. description: 账户ID[合约币种]
  20145. type: integer
  20146. goodscode:
  20147. description: 商品代码
  20148. type: string
  20149. goodsid:
  20150. description: 商品ID
  20151. type: integer
  20152. goodsname:
  20153. description: 商品名称
  20154. type: string
  20155. goodunitid:
  20156. description: 商品单位id
  20157. type: integer
  20158. intclosepl:
  20159. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20160. type: integer
  20161. isconfirmexercise:
  20162. description: 是否确认行权- 0:否 1:是
  20163. type: integer
  20164. ismain:
  20165. description: 是否主单 - 0:不是 1:是
  20166. type: integer
  20167. ispreexercise:
  20168. description: 是否预申报- 0:否 1:是
  20169. type: integer
  20170. isreckoned:
  20171. description: 是否结算 - 0:未结算 1:已结算
  20172. type: integer
  20173. listingselecttype:
  20174. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20175. type: integer
  20176. marketid:
  20177. description: 市场ID
  20178. type: integer
  20179. marketname:
  20180. description: 市场名称
  20181. type: string
  20182. matchaccountid:
  20183. description: 对手账号id
  20184. type: integer
  20185. memberuserid:
  20186. description: 会员id 个人投资者 需要填写
  20187. type: integer
  20188. opencharge:
  20189. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20190. type: number
  20191. openexchagechargevalue:
  20192. description: 建仓交易所手续费设置值
  20193. type: number
  20194. openfeealgorithm:
  20195. description: 建仓手续费收取方式 1:比率 2:固定
  20196. type: integer
  20197. openmemberchargevalue:
  20198. description: 建仓会员手续费设置值
  20199. type: number
  20200. openqty:
  20201. description: 开仓数量(先建后平操作 需要记录)
  20202. type: number
  20203. optiontype:
  20204. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20205. type: integer
  20206. orderid:
  20207. description: 委托单号
  20208. type: string
  20209. payamount:
  20210. description: 支付金额(付款金额)
  20211. type: number
  20212. performanceplanid:
  20213. description: 履约计划ID[期权]
  20214. type: integer
  20215. performancestatus:
  20216. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20217. type: integer
  20218. preexerciseprice:
  20219. description: 预申报价格
  20220. type: number
  20221. premium:
  20222. description: 权利金 - [持仓单的权利金]
  20223. type: number
  20224. qtydecimalplace:
  20225. description: 商品报价小数位
  20226. type: integer
  20227. recvamount:
  20228. description: 到账金额 = 成交金额 - 手续费
  20229. type: number
  20230. relatedouttradeid:
  20231. description: 关联外部成交单ID
  20232. type: integer
  20233. status:
  20234. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20235. type: integer
  20236. totalamount:
  20237. description: 订单总额 = 成交金额 + 手续费
  20238. type: number
  20239. tradeamount:
  20240. description: 成交金额[账户币种,用于所有权]
  20241. type: number
  20242. tradedate:
  20243. description: 交易日(yyyyMMdd)
  20244. type: string
  20245. tradeid:
  20246. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20247. type: string
  20248. trademode:
  20249. description: 交易模式
  20250. type: integer
  20251. tradeprice:
  20252. description: 成交价格
  20253. type: number
  20254. tradeproperty:
  20255. description: 交易属性
  20256. type: integer
  20257. tradeqty:
  20258. description: 成交数量
  20259. type: number
  20260. tradetime:
  20261. description: 成交时间
  20262. type: string
  20263. tradetype:
  20264. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20265. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20266. type: integer
  20267. required:
  20268. - accountid
  20269. - buyorsell
  20270. - goodsid
  20271. - marketid
  20272. - memberuserid
  20273. - orderid
  20274. - tradeamount
  20275. - tradedate
  20276. - tradeid
  20277. - tradeprice
  20278. - tradeqty
  20279. - tradetime
  20280. type: object
  20281. order.QueryTradeOrderDetailRsp:
  20282. properties:
  20283. accountid:
  20284. description: 账户ID[报价币种]
  20285. type: integer
  20286. buildtype:
  20287. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20288. type: integer
  20289. buyorsell:
  20290. description: 买卖 - 0:买 1:卖
  20291. type: integer
  20292. cancelorderid:
  20293. description: 撤单单号(撤单时填写)
  20294. type: string
  20295. cancelqty:
  20296. description: 撤单数量
  20297. type: number
  20298. clienttype:
  20299. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20300. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20301. type: integer
  20302. closefreezecharge:
  20303. description: 平仓冻结手续费(先建后平操作,需要记录)
  20304. type: number
  20305. closeqty:
  20306. description: 平仓数量(先建后平操作 需要记录)
  20307. type: number
  20308. closetradeqty:
  20309. description: 平仓成交数量(先建后平操作,需要记录)
  20310. type: number
  20311. closeunfreezecharge:
  20312. description: 平仓解冻手续费(先建后平操作,需要记录)
  20313. type: number
  20314. decimalplace:
  20315. description: 商品报价小数位
  20316. type: integer
  20317. delistingtype:
  20318. description: 摘牌类型 - 1:价格最优 2:点选成交
  20319. type: integer
  20320. enableqty:
  20321. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20322. type: number
  20323. enumdicname:
  20324. description: 单位名称
  20325. type: string
  20326. freezecharge:
  20327. description: 冻结手续费
  20328. type: number
  20329. freezemargin:
  20330. description: 冻结保证金(冻结交易金额)
  20331. type: number
  20332. goodscode:
  20333. description: 商品代码
  20334. type: string
  20335. goodsid:
  20336. description: 商品ID
  20337. type: integer
  20338. goodsname:
  20339. description: 商品名称
  20340. type: string
  20341. goodunitid:
  20342. description: 商品单位id
  20343. type: integer
  20344. listingselecttype:
  20345. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20346. type: integer
  20347. marketid:
  20348. description: 市场ID
  20349. type: integer
  20350. marketname:
  20351. description: 市场名称
  20352. type: string
  20353. openfreezecharge:
  20354. description: 开仓冻结手续费(先建后平操作,需要记录)
  20355. type: number
  20356. openqty:
  20357. description: 开仓数量(先建后平操作,需要记录)
  20358. type: number
  20359. opentradeqty:
  20360. description: 开仓成交数量(先建后平操作,需要记录)
  20361. type: number
  20362. openunfreezecharge:
  20363. description: 开仓解冻手续费(先建后平操作,需要记录)
  20364. type: number
  20365. operatetype:
  20366. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20367. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20368. 15:管理端协议转让
  20369. type: integer
  20370. operatorid:
  20371. description: 登录账号(LoginID)
  20372. type: integer
  20373. orderid:
  20374. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20375. type: string
  20376. orderprice:
  20377. description: 委托价格
  20378. type: number
  20379. orderqty:
  20380. description: 委托数量
  20381. type: number
  20382. ordersrc:
  20383. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20384. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20385. type: integer
  20386. orderstatus:
  20387. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20388. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20389. 16:成交失败违约(荷兰式竞拍专用)
  20390. type: integer
  20391. ordertime:
  20392. description: 委托时间
  20393. type: string
  20394. preorderid:
  20395. description: 关联预埋单号(止盈止损单时填写)
  20396. type: string
  20397. pricemode:
  20398. description: '取价方式 - 1:市价 2: 限价'
  20399. type: integer
  20400. qtydecimalplace:
  20401. description: 商品报价小数位
  20402. type: integer
  20403. relatedid:
  20404. description: 关联单号(交割单)
  20405. type: string
  20406. tradedate:
  20407. description: 交易日(yyyyMMdd)
  20408. type: string
  20409. trademode:
  20410. description: 交易模式
  20411. type: integer
  20412. tradeqty:
  20413. description: 成交数量
  20414. type: number
  20415. unfreezecharge:
  20416. description: 解冻手续费
  20417. type: number
  20418. unfreezemargin:
  20419. description: 解冻保证金
  20420. type: number
  20421. validtime:
  20422. description: 有效期限
  20423. type: string
  20424. validtype:
  20425. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20426. type: integer
  20427. volumetype:
  20428. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20429. type: integer
  20430. required:
  20431. - accountid
  20432. - buildtype
  20433. - buyorsell
  20434. - goodsid
  20435. - marketid
  20436. - operatetype
  20437. - orderqty
  20438. - ordertime
  20439. - pricemode
  20440. - tradedate
  20441. - validtype
  20442. type: object
  20443. order.QueryTradePositionRsp:
  20444. properties:
  20445. accountid:
  20446. description: 资金账户
  20447. type: integer
  20448. agreeunit:
  20449. description: 合约单位
  20450. type: number
  20451. averageprice:
  20452. description: 持仓均价
  20453. type: number
  20454. buyorsell:
  20455. description: 方向 - 0:买 1:卖
  20456. type: integer
  20457. closetotalqty:
  20458. description: 平仓总数量
  20459. type: number
  20460. curholderamount:
  20461. description: 当前持仓总金额[商品币种]
  20462. type: number
  20463. curpositionqty:
  20464. description: 当前持仓总数量
  20465. type: number
  20466. currencyid:
  20467. description: 报价货币ID
  20468. type: integer
  20469. curtdposition:
  20470. description: 期末今日头寸
  20471. type: number
  20472. decimalplace:
  20473. description: 报价小数位
  20474. type: integer
  20475. enableqty:
  20476. description: 可用量
  20477. type: number
  20478. fretdposition:
  20479. description: 冻结今日头寸
  20480. type: number
  20481. frozenqty:
  20482. description: 持仓冻结数量
  20483. type: number
  20484. goodscode:
  20485. description: 商品代码
  20486. type: string
  20487. goodsid:
  20488. description: 商品Id
  20489. type: integer
  20490. goodsname:
  20491. description: 商品名称
  20492. type: string
  20493. goodunit:
  20494. description: 报价单位
  20495. type: string
  20496. goodunitid:
  20497. description: 报价单位ID
  20498. type: integer
  20499. holderamount:
  20500. description: 期初持仓总金额[商品币种]
  20501. type: number
  20502. lastprice:
  20503. description: 最新价
  20504. type: number
  20505. marketamount:
  20506. description: 市值
  20507. type: number
  20508. marketid:
  20509. description: 所属市场ID
  20510. type: integer
  20511. openreqqty:
  20512. description: 开仓申请数量(用于比较最大持仓数量)
  20513. type: number
  20514. opentotalqty:
  20515. description: 开仓总数量
  20516. type: number
  20517. otherfrozenqty:
  20518. description: 持仓其他冻结数量(交割冻结)
  20519. type: number
  20520. positionpl:
  20521. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20522. * 合约单位
  20523. type: number
  20524. positionplrate:
  20525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20526. type: number
  20527. positionqty:
  20528. description: 期初持仓数量
  20529. type: number
  20530. qtydecimalplace:
  20531. description: 成交量小数位
  20532. type: integer
  20533. refgoodscode:
  20534. description: 参考商品代码
  20535. type: string
  20536. refgoodsid:
  20537. description: 参考商品ID
  20538. type: integer
  20539. tnqty:
  20540. description: T+N冻结总量
  20541. type: number
  20542. tnusedqty:
  20543. description: T+N使用量(可以使用T+N的冻结数量)
  20544. type: number
  20545. trademode:
  20546. description: 交易模式
  20547. type: integer
  20548. tradeproperty:
  20549. description: 交易属性
  20550. type: integer
  20551. usedmargin:
  20552. description: 占用保证金[商品币种]
  20553. type: number
  20554. required:
  20555. - goodsid
  20556. type: object
  20557. pb.GoodsMarginCfgStruct:
  20558. properties:
  20559. CustomerTypeID:
  20560. description: 投资者客户类型
  20561. type: integer
  20562. GoodsID:
  20563. description: 商品ID
  20564. type: integer
  20565. IsDefault:
  20566. description: 是否默认标志位
  20567. type: integer
  20568. LockMarginValue:
  20569. description: 锁仓保证金
  20570. type: number
  20571. MarginAlgorithm:
  20572. description: 保证金计算方式
  20573. type: integer
  20574. MarketMarginValue:
  20575. description: 即市保证金值
  20576. type: number
  20577. RealMarginAlgorithm:
  20578. description: 实付保证金计算方式
  20579. type: integer
  20580. RealMarginValue:
  20581. description: 实付比例
  20582. type: number
  20583. ReckonMarginValue:
  20584. description: 结算保证金值
  20585. type: number
  20586. type: object
  20587. quote.HistoryData:
  20588. properties:
  20589. c:
  20590. description: 收盘价
  20591. type: number
  20592. f:
  20593. description: 是否补充数据
  20594. type: boolean
  20595. h:
  20596. description: 最高价
  20597. type: number
  20598. hv:
  20599. description: 持仓量
  20600. type: integer
  20601. l:
  20602. description: 最低价
  20603. type: number
  20604. o:
  20605. description: 开盘价
  20606. type: number
  20607. s:
  20608. description: 结算价,日线周期(包括)以上才有
  20609. type: number
  20610. ts:
  20611. description: 时间
  20612. type: string
  20613. tt:
  20614. description: 总金额
  20615. type: number
  20616. tv:
  20617. description: 总量(成交量)
  20618. type: integer
  20619. type: object
  20620. quote.HistoryTikData:
  20621. properties:
  20622. AV:
  20623. description: 卖量
  20624. type: integer
  20625. Ask:
  20626. description: 卖价
  20627. type: number
  20628. BV:
  20629. description: 买量
  20630. type: integer
  20631. Bid:
  20632. description: 买价
  20633. type: number
  20634. HI:
  20635. description: 单笔持仓
  20636. type: integer
  20637. HV:
  20638. description: 持仓量
  20639. type: integer
  20640. PE:
  20641. description: 现价
  20642. type: number
  20643. TDR:
  20644. description: 交易方向,0:买 1:卖
  20645. type: integer
  20646. TK:
  20647. description: 交易类型
  20648. type: integer
  20649. TS:
  20650. description: 行情时间文本
  20651. type: string
  20652. TT:
  20653. description: 现金额
  20654. type: number
  20655. Vol:
  20656. description: 现量
  20657. type: integer
  20658. type: object
  20659. quote.QueryQuoteDayRsp:
  20660. properties:
  20661. ask:
  20662. description: 卖1
  20663. type: number
  20664. ask2:
  20665. description: 卖2
  20666. type: number
  20667. ask3:
  20668. description: 卖3
  20669. type: number
  20670. ask4:
  20671. description: 卖4
  20672. type: number
  20673. ask5:
  20674. description: 卖5
  20675. type: number
  20676. ask6:
  20677. description: 卖6
  20678. type: number
  20679. ask7:
  20680. description: 卖7
  20681. type: number
  20682. ask8:
  20683. description: 卖8
  20684. type: number
  20685. ask9:
  20686. description: 卖9
  20687. type: number
  20688. ask10:
  20689. description: 卖10
  20690. type: number
  20691. askorderid:
  20692. description: 卖单号1
  20693. type: integer
  20694. askorderid2:
  20695. description: 卖单号2
  20696. type: integer
  20697. askorderid3:
  20698. description: 卖单号3
  20699. type: integer
  20700. askorderid4:
  20701. description: 卖单号4
  20702. type: integer
  20703. askorderid5:
  20704. description: 卖单号5
  20705. type: integer
  20706. askordervolume:
  20707. description: 卖单量1
  20708. type: integer
  20709. askordervolume2:
  20710. description: 卖单量2
  20711. type: integer
  20712. askordervolume3:
  20713. description: 卖单量3
  20714. type: integer
  20715. askordervolume4:
  20716. description: 卖单量4
  20717. type: integer
  20718. askordervolume5:
  20719. description: 卖单量5
  20720. type: integer
  20721. askordervolume6:
  20722. description: 卖单量6
  20723. type: integer
  20724. askordervolume7:
  20725. description: 卖单量7
  20726. type: integer
  20727. askordervolume8:
  20728. description: 卖单量8
  20729. type: integer
  20730. askordervolume9:
  20731. description: 卖单量9
  20732. type: integer
  20733. askordervolume10:
  20734. description: 卖单量10
  20735. type: integer
  20736. askqueueinfo:
  20737. description: 大利市卖港股用
  20738. type: string
  20739. askvolume:
  20740. description: 卖量1
  20741. type: integer
  20742. askvolume2:
  20743. description: 卖量2
  20744. type: integer
  20745. askvolume3:
  20746. description: 卖量3
  20747. type: integer
  20748. askvolume4:
  20749. description: 卖量4
  20750. type: integer
  20751. askvolume5:
  20752. description: 卖量5
  20753. type: integer
  20754. askvolume6:
  20755. description: 卖量6
  20756. type: integer
  20757. askvolume7:
  20758. description: 卖量7
  20759. type: integer
  20760. askvolume8:
  20761. description: 卖量8
  20762. type: integer
  20763. askvolume9:
  20764. description: 卖量9
  20765. type: integer
  20766. askvolume10:
  20767. description: 卖量10
  20768. type: integer
  20769. averageprice:
  20770. description: 均价
  20771. type: number
  20772. bid:
  20773. description: 买1
  20774. type: number
  20775. bid2:
  20776. description: 买2
  20777. type: number
  20778. bid3:
  20779. description: 买3
  20780. type: number
  20781. bid4:
  20782. description: 买4
  20783. type: number
  20784. bid5:
  20785. description: 买5
  20786. type: number
  20787. bid6:
  20788. description: 买6
  20789. type: number
  20790. bid7:
  20791. description: 买7
  20792. type: number
  20793. bid8:
  20794. description: 买8
  20795. type: number
  20796. bid9:
  20797. description: 买9
  20798. type: number
  20799. bid10:
  20800. description: 买10
  20801. type: number
  20802. bidorderid:
  20803. description: 买单号1
  20804. type: integer
  20805. bidorderid2:
  20806. description: 买单号2
  20807. type: integer
  20808. bidorderid3:
  20809. description: 买单号3
  20810. type: integer
  20811. bidorderid4:
  20812. description: 买单号4
  20813. type: integer
  20814. bidorderid5:
  20815. description: 买单号5
  20816. type: integer
  20817. bidordervolume:
  20818. description: 买单量1
  20819. type: integer
  20820. bidordervolume2:
  20821. description: 买单量2
  20822. type: integer
  20823. bidordervolume3:
  20824. description: 买单量3
  20825. type: integer
  20826. bidordervolume4:
  20827. description: 买单量4
  20828. type: integer
  20829. bidordervolume5:
  20830. description: 买单量5
  20831. type: integer
  20832. bidordervolume6:
  20833. description: 买单量6
  20834. type: integer
  20835. bidordervolume7:
  20836. description: 买单量7
  20837. type: integer
  20838. bidordervolume8:
  20839. description: 买单量8
  20840. type: integer
  20841. bidordervolume9:
  20842. description: 买单量9
  20843. type: integer
  20844. bidordervolume10:
  20845. description: 买单量10
  20846. type: integer
  20847. bidqueueinfo:
  20848. description: 大利市买港股用
  20849. type: string
  20850. bidvolume:
  20851. description: 买量1
  20852. type: integer
  20853. bidvolume2:
  20854. description: 买量2
  20855. type: integer
  20856. bidvolume3:
  20857. description: 买量3
  20858. type: integer
  20859. bidvolume4:
  20860. description: 买量4
  20861. type: integer
  20862. bidvolume5:
  20863. description: 买量5
  20864. type: integer
  20865. bidvolume6:
  20866. description: 买量6
  20867. type: integer
  20868. bidvolume7:
  20869. description: 买量7
  20870. type: integer
  20871. bidvolume8:
  20872. description: 买量8
  20873. type: integer
  20874. bidvolume9:
  20875. description: 买量9
  20876. type: integer
  20877. bidvolume10:
  20878. description: 买量10
  20879. type: integer
  20880. calloptionpremiums:
  20881. description: 认购期权1
  20882. type: integer
  20883. calloptionpremiums2:
  20884. description: 认购期权2
  20885. type: integer
  20886. calloptionpremiums3:
  20887. description: 认购期权3
  20888. type: integer
  20889. calloptionpremiums4:
  20890. description: 认购期权4
  20891. type: integer
  20892. calloptionpremiums5:
  20893. description: 认购期权5
  20894. type: integer
  20895. cleartime:
  20896. description: 清盘时间
  20897. type: integer
  20898. exchangecode:
  20899. description: 交易所代码
  20900. type: integer
  20901. exchangedate:
  20902. description: 交易日
  20903. type: integer
  20904. goodscode:
  20905. description: 商品代码
  20906. type: string
  20907. grepmarketprice:
  20908. description: 暗盘价 港股专用
  20909. type: number
  20910. highest:
  20911. description: 最高价
  20912. type: number
  20913. holdincrement:
  20914. description: 单笔持仓
  20915. type: integer
  20916. holdvolume:
  20917. description: 持仓
  20918. type: integer
  20919. iep:
  20920. description: 平衡价 港股专用
  20921. type: number
  20922. iev:
  20923. description: 平衡量 港股专用
  20924. type: number
  20925. inventory:
  20926. description: 库存
  20927. type: integer
  20928. iscleared:
  20929. description: 是否清盘标志
  20930. type: integer
  20931. issettled:
  20932. description: 是否结算标志
  20933. type: integer
  20934. last:
  20935. description: 最新价
  20936. type: number
  20937. lastlot:
  20938. description: 最新成交手数
  20939. type: integer
  20940. lasttime:
  20941. description: 行情时间(只有现价变化行情时间才变化)
  20942. type: string
  20943. lastturnover:
  20944. description: 最新成交金额
  20945. type: number
  20946. lastvolume:
  20947. description: 最新成交量
  20948. type: integer
  20949. limitdown:
  20950. description: 跌停价
  20951. type: number
  20952. limitup:
  20953. description: 涨停价
  20954. type: number
  20955. lowest:
  20956. description: 最低价
  20957. type: number
  20958. nontotalholdervolume:
  20959. description: 非交易持仓量
  20960. type: integer
  20961. nontotallot:
  20962. description: 非交易总手数
  20963. type: integer
  20964. nontotalturnover:
  20965. description: 非交易总金额
  20966. type: integer
  20967. nontotalvolume:
  20968. description: 非交易总量
  20969. type: integer
  20970. opened:
  20971. description: 开盘价
  20972. type: number
  20973. opentime:
  20974. description: 开盘时间
  20975. type: string
  20976. orderid:
  20977. description: 序号
  20978. type: integer
  20979. preclose:
  20980. description: 昨收
  20981. type: number
  20982. preholdvolume:
  20983. description: 昨持仓
  20984. type: integer
  20985. presettle:
  20986. description: 昨结价
  20987. type: number
  20988. publictradetype:
  20989. description: 公共交易标志类型 港股专用
  20990. type: string
  20991. putoptionpremiums:
  20992. description: 认沽期权1
  20993. type: integer
  20994. putoptionpremiums2:
  20995. description: 认沽期权2
  20996. type: integer
  20997. putoptionpremiums3:
  20998. description: 认沽期权3
  20999. type: integer
  21000. putoptionpremiums4:
  21001. description: 认沽期权4
  21002. type: integer
  21003. putoptionpremiums5:
  21004. description: 认沽期权5
  21005. type: integer
  21006. settle:
  21007. description: 结算价
  21008. type: number
  21009. strikeprice:
  21010. description: 发行价
  21011. type: number
  21012. totalaskvolume:
  21013. description: 内盘
  21014. type: integer
  21015. totalbidvolume:
  21016. description: 外盘
  21017. type: integer
  21018. totallot:
  21019. description: 总手数
  21020. type: integer
  21021. totalturnover:
  21022. description: 总金额
  21023. type: number
  21024. totalvolume:
  21025. description: 总量
  21026. type: integer
  21027. utclasttime:
  21028. description: utc的行情时间
  21029. type: string
  21030. type: object
  21031. quote.QueryTSDataRsp:
  21032. properties:
  21033. Count:
  21034. description: 交易日应有数据个数
  21035. type: integer
  21036. decimalPlace:
  21037. description: 小数位
  21038. type: integer
  21039. endTime:
  21040. description: 结束时间
  21041. type: string
  21042. goodsCode:
  21043. description: 商品代码
  21044. type: string
  21045. historyDatas:
  21046. description: 历史数据
  21047. items:
  21048. $ref: '#/definitions/quote.HistoryData'
  21049. type: array
  21050. outGoodsCode:
  21051. description: 外部商品代码
  21052. type: string
  21053. preSettle:
  21054. description: 昨结价
  21055. type: number
  21056. runSteps:
  21057. description: 交易日开休市计划
  21058. items:
  21059. $ref: '#/definitions/quote.TSDataRunStep'
  21060. type: array
  21061. startTime:
  21062. description: 开始时间
  21063. type: string
  21064. tradeDate:
  21065. description: 交易日
  21066. type: string
  21067. type: object
  21068. quote.TSDataRunStep:
  21069. properties:
  21070. end:
  21071. description: 真实结束时间
  21072. type: string
  21073. endflag:
  21074. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21075. type: integer
  21076. endtime:
  21077. description: 结束时间(HH:mm)
  21078. type: string
  21079. endweekday:
  21080. description: 结束周几
  21081. type: integer
  21082. groupid:
  21083. description: 分组ID
  21084. type: integer
  21085. runstep:
  21086. description: 运行阶段 - 2:连续交易
  21087. type: integer
  21088. sectionid:
  21089. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21090. 结束时间=结算时间 结束周几=结算周几
  21091. type: integer
  21092. start:
  21093. description: 真实开始时间
  21094. type: string
  21095. startflag:
  21096. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21097. type: integer
  21098. starttime:
  21099. description: 起始时间(HH:mm)
  21100. type: string
  21101. startweekday:
  21102. description: 起始周几
  21103. type: integer
  21104. tradeweekday:
  21105. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21106. type: integer
  21107. type: object
  21108. szdz.QueryConvertLogRsp:
  21109. properties:
  21110. accountid:
  21111. description: 资金账户ID
  21112. type: integer
  21113. clientticket:
  21114. description: 客户端流水号
  21115. type: string
  21116. converttype:
  21117. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21118. type: integer
  21119. createtime:
  21120. description: 记账时间
  21121. type: string
  21122. daymaxvalue:
  21123. description: 配置当日最大转入限制
  21124. type: number
  21125. daymaxvalue2:
  21126. description: 配置当日最大转入限制(转入)
  21127. type: number
  21128. goodscode:
  21129. description: 商品代码
  21130. type: string
  21131. goodsname:
  21132. description: 商品名称
  21133. type: string
  21134. handlestatus:
  21135. description: 处理状态
  21136. type: integer
  21137. innergoodsid:
  21138. description: 内部商品ID
  21139. type: integer
  21140. inratio:
  21141. description: 配置转入比值
  21142. type: integer
  21143. invalue:
  21144. description: 目标值
  21145. type: number
  21146. logid:
  21147. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21148. type: integer
  21149. mobile:
  21150. description: 手机号码(加密存储)
  21151. type: string
  21152. outergoodscode:
  21153. description: 外部商品代码[JD\PD]
  21154. type: string
  21155. outratio:
  21156. description: 配置转出比值
  21157. type: integer
  21158. outvalue:
  21159. description: 源值
  21160. type: number
  21161. pddecimalplace:
  21162. description: PD小数位
  21163. type: integer
  21164. qty:
  21165. description: 数量
  21166. type: string
  21167. remark:
  21168. description: 备注
  21169. type: string
  21170. sessionid:
  21171. description: 会话ID
  21172. type: integer
  21173. timemaxvalue:
  21174. description: 配置单次最大转入限制
  21175. type: number
  21176. timemaxvalue2:
  21177. description: 配置单次最大转入限制(转入)
  21178. type: number
  21179. timeminvalue:
  21180. description: 配置单次最小数量限制
  21181. type: number
  21182. timeminvalue2:
  21183. description: 配置单次最小数量限制(转入)
  21184. type: number
  21185. tradedate:
  21186. description: 交易日(yyyyMMdd)
  21187. type: string
  21188. userid:
  21189. description: 用户ID
  21190. type: integer
  21191. required:
  21192. - logid
  21193. type: object
  21194. szdz.QueryGoodsPickupRsp:
  21195. properties:
  21196. accountid:
  21197. description: 账户ID
  21198. type: integer
  21199. address:
  21200. description: 提货人详细地址
  21201. type: string
  21202. auditer:
  21203. description: 审核人
  21204. type: integer
  21205. audittime:
  21206. description: 审核时间
  21207. type: string
  21208. cardnum:
  21209. description: 提货人证件号码
  21210. type: string
  21211. cardtypeid:
  21212. description: 提货人证件类型
  21213. type: integer
  21214. checkremark:
  21215. description: 审核备注
  21216. type: string
  21217. goodscode:
  21218. description: 商品代码
  21219. type: string
  21220. goodsid:
  21221. description: 商品ID
  21222. type: integer
  21223. goodsname:
  21224. description: 商品名称
  21225. type: string
  21226. handlestatus:
  21227. description: 处理状态
  21228. type: integer
  21229. marketid:
  21230. description: 市场ID
  21231. type: integer
  21232. phonenum:
  21233. description: 提货人联系方式
  21234. type: string
  21235. qty:
  21236. description: 提货数量
  21237. type: number
  21238. recivername:
  21239. description: 提货人姓名
  21240. type: string
  21241. reqtime:
  21242. description: 更新时间
  21243. type: string
  21244. takemode:
  21245. description: 提货方式 - 2:自提 3:配送
  21246. type: integer
  21247. takeorderid:
  21248. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21249. type: string
  21250. takeorderstatus:
  21251. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21252. type: integer
  21253. takeremark:
  21254. description: 提货备注
  21255. type: string
  21256. tradedate:
  21257. description: 交易日(yyyyMMdd)
  21258. type: string
  21259. userid:
  21260. description: 用户ID
  21261. type: integer
  21262. required:
  21263. - takeorderid
  21264. type: object
  21265. szdz.QueryRecieptOrderRsp:
  21266. properties:
  21267. accountName:
  21268. description: 所属账号名称(已脱敏)
  21269. type: string
  21270. accountid:
  21271. description: 资金账号
  21272. type: integer
  21273. buyorsell:
  21274. description: 方向 - 0:买 1:卖
  21275. type: integer
  21276. enableqty:
  21277. description: 可摘数量
  21278. type: integer
  21279. goodscode:
  21280. description: 商品代码
  21281. type: string
  21282. goodsid:
  21283. description: 商品ID
  21284. type: integer
  21285. goodsname:
  21286. description: 商品名称
  21287. type: string
  21288. orderid:
  21289. description: 委托单号
  21290. type: string
  21291. orderprice:
  21292. description: 委托价格
  21293. type: number
  21294. ordertime:
  21295. description: 委托时间
  21296. type: string
  21297. tradedate:
  21298. description: 交易日(yyyyMMdd)
  21299. type: string
  21300. required:
  21301. - ordertime
  21302. type: object
  21303. szdz.QuerySZDZTradePositionRsp:
  21304. properties:
  21305. accountid:
  21306. description: 账号Id
  21307. type: integer
  21308. agreeunit:
  21309. description: 合约单位
  21310. type: number
  21311. averageprice:
  21312. description: 持仓均价
  21313. type: number
  21314. buyorsell:
  21315. description: 方向 - 0:买 1:卖
  21316. type: integer
  21317. closetotalqty:
  21318. description: 平仓总数量
  21319. type: integer
  21320. curholderamount:
  21321. description: 当前持仓总金额
  21322. type: number
  21323. curpositionqty:
  21324. description: 当前持仓总数量
  21325. type: integer
  21326. currencyid:
  21327. description: 报价货币ID
  21328. type: integer
  21329. curtdposition:
  21330. description: 期末今日头寸
  21331. type: integer
  21332. decimalplace:
  21333. description: 报价小数位
  21334. type: integer
  21335. enableqty:
  21336. description: 可用量
  21337. type: integer
  21338. fretdposition:
  21339. description: 冻结今日头寸
  21340. type: integer
  21341. frozenqty:
  21342. description: 持仓冻结数量
  21343. type: integer
  21344. goodscode:
  21345. description: 商品代码(内部)
  21346. type: string
  21347. goodsid:
  21348. description: 商品Id
  21349. type: integer
  21350. goodsname:
  21351. description: 商品名称
  21352. type: string
  21353. goodunit:
  21354. description: 报价单位
  21355. type: string
  21356. goodunitid:
  21357. description: 报价单位ID
  21358. type: integer
  21359. holderamount:
  21360. description: 期初持仓总金额
  21361. type: number
  21362. marketid:
  21363. description: 市场ID
  21364. type: integer
  21365. openreqqty:
  21366. description: 开仓申请数量
  21367. type: integer
  21368. opentotalqty:
  21369. description: 开仓总数量
  21370. type: integer
  21371. otherfrozenqty:
  21372. description: 持仓其他冻结数量(交割冻结)
  21373. type: integer
  21374. positionqty:
  21375. description: 期初持仓数量
  21376. type: integer
  21377. szdz3freezqty:
  21378. description: 尚志大宗转换冻结总数量
  21379. type: integer
  21380. tnqty:
  21381. description: T+N冻结总量
  21382. type: integer
  21383. tnusedqty:
  21384. description: T+N使用量
  21385. type: integer
  21386. trademode:
  21387. description: 交易模式
  21388. type: integer
  21389. usedmargin:
  21390. description: 占用保证金
  21391. type: number
  21392. type: object
  21393. taaccount.QueryAmountLogRsp:
  21394. properties:
  21395. OPERATETYPENAME:
  21396. description: 资金操作类型名称
  21397. type: string
  21398. accountid:
  21399. description: 资金账户ID
  21400. type: integer
  21401. agoodscode:
  21402. description: 竞拍商品代码
  21403. type: string
  21404. agoodsname:
  21405. description: 竞拍商品名称
  21406. type: string
  21407. amount:
  21408. description: 资金金额
  21409. type: number
  21410. amountadjusttype:
  21411. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21412. type: integer
  21413. autoid:
  21414. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21415. type: integer
  21416. balance:
  21417. description: 期初余额
  21418. type: number
  21419. businesscode:
  21420. description: 业务编号
  21421. type: integer
  21422. createtime:
  21423. description: 发生时间
  21424. type: string
  21425. currencyid:
  21426. description: 币种ID
  21427. type: integer
  21428. currentbalance:
  21429. description: 期末余额(变动后金额)
  21430. type: number
  21431. dgoodscode:
  21432. description: 交割商品代码
  21433. type: string
  21434. dgoodsname:
  21435. description: 交割商品名称
  21436. type: string
  21437. goodscode:
  21438. description: 商品代码
  21439. type: string
  21440. goodsid:
  21441. description: 商品ID
  21442. type: integer
  21443. goodsname:
  21444. description: 商品名称
  21445. type: string
  21446. marketid:
  21447. description: 市场ID
  21448. type: integer
  21449. marketname:
  21450. description: 市场名称
  21451. type: string
  21452. moneyticket:
  21453. description: 资金流水号:银行端流水号
  21454. type: integer
  21455. operatetype:
  21456. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21457. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21458. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21459. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21460. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21461. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21462. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21463. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21464. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21465. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21466. type: integer
  21467. relationorderid:
  21468. description: 关联单号
  21469. type: string
  21470. remark:
  21471. description: 备注
  21472. type: string
  21473. trademode:
  21474. description: 交易模式
  21475. type: integer
  21476. required:
  21477. - accountid
  21478. - amount
  21479. - amountadjusttype
  21480. - autoid
  21481. - balance
  21482. - createtime
  21483. - currentbalance
  21484. - operatetype
  21485. type: object
  21486. taaccount.QueryHisAmountLogRsp:
  21487. properties:
  21488. OPERATETYPENAME:
  21489. description: 资金操作类型名称
  21490. type: string
  21491. accountid:
  21492. description: 资金账户ID
  21493. type: integer
  21494. agoodscode:
  21495. description: 竞拍商品代码
  21496. type: string
  21497. agoodsname:
  21498. description: 竞拍商品名称
  21499. type: string
  21500. amount:
  21501. description: 资金金额
  21502. type: number
  21503. amountadjusttype:
  21504. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21505. type: integer
  21506. autoid:
  21507. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21508. type: integer
  21509. balance:
  21510. description: 期初余额
  21511. type: number
  21512. businesscode:
  21513. description: 业务编号
  21514. type: integer
  21515. createtime:
  21516. description: 发生时间
  21517. type: string
  21518. currencyid:
  21519. description: 币种ID
  21520. type: integer
  21521. currentbalance:
  21522. description: 期末余额(变动后金额)
  21523. type: number
  21524. dgoodscode:
  21525. description: 交割商品代码
  21526. type: string
  21527. dgoodsname:
  21528. description: 交割商品名称
  21529. type: string
  21530. goodscode:
  21531. description: 商品代码
  21532. type: string
  21533. goodsid:
  21534. description: 商品ID
  21535. type: integer
  21536. goodsname:
  21537. description: 商品名称
  21538. type: string
  21539. histradedate:
  21540. description: 历史交易日
  21541. type: string
  21542. isvaliddata:
  21543. description: 是否有效 - 0:无效 1:有效
  21544. type: integer
  21545. marketid:
  21546. description: 市场ID
  21547. type: integer
  21548. marketname:
  21549. description: 市场名称
  21550. type: string
  21551. moneyticket:
  21552. description: 资金流水号:银行端流水号
  21553. type: integer
  21554. operatetype:
  21555. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21556. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21557. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21558. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21559. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21560. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21561. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21562. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21563. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21564. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21565. type: integer
  21566. relationorderid:
  21567. description: 关联单号
  21568. type: string
  21569. remark:
  21570. description: 备注
  21571. type: string
  21572. trademode:
  21573. description: 交易模式
  21574. type: integer
  21575. required:
  21576. - accountid
  21577. - amount
  21578. - amountadjusttype
  21579. - autoid
  21580. - balance
  21581. - createtime
  21582. - currentbalance
  21583. - histradedate
  21584. - operatetype
  21585. type: object
  21586. trade.QueryRecieptOrderRsp:
  21587. properties:
  21588. accountName:
  21589. description: 所属账号名称(已脱敏)
  21590. type: string
  21591. accountid:
  21592. description: 资金账号
  21593. type: integer
  21594. buyorsell:
  21595. description: 方向 - 0:买 1:卖
  21596. type: integer
  21597. enableqty:
  21598. description: 可摘数量
  21599. type: integer
  21600. goodscode:
  21601. description: 商品代码
  21602. type: string
  21603. goodsid:
  21604. description: 商品ID
  21605. type: integer
  21606. goodsname:
  21607. description: 商品名称
  21608. type: string
  21609. orderid:
  21610. description: 委托单号
  21611. type: string
  21612. orderprice:
  21613. description: 委托价格
  21614. type: number
  21615. ordertime:
  21616. description: 委托时间
  21617. type: string
  21618. tradedate:
  21619. description: 交易日(yyyyMMdd)
  21620. type: string
  21621. required:
  21622. - ordertime
  21623. type: object
  21624. user.LoginQueryRsp:
  21625. properties:
  21626. areaRoles:
  21627. description: 所属角色信息
  21628. items:
  21629. $ref: '#/definitions/models.Arearole'
  21630. type: array
  21631. externalExchanges:
  21632. description: 外部交易所
  21633. items:
  21634. $ref: '#/definitions/models.Externalexchange'
  21635. type: array
  21636. goodsgroups:
  21637. description: 商品组
  21638. items:
  21639. $ref: '#/definitions/models.Goodsgroup'
  21640. type: array
  21641. loginAccount:
  21642. $ref: '#/definitions/models.Loginaccount'
  21643. description: 登录账号
  21644. markets:
  21645. description: 市场
  21646. items:
  21647. $ref: '#/definitions/models.Market'
  21648. type: array
  21649. systemParams:
  21650. description: 系统参数
  21651. items:
  21652. $ref: '#/definitions/models.Systemparam'
  21653. type: array
  21654. userAccount:
  21655. $ref: '#/definitions/models.Useraccount'
  21656. description: 用户账号
  21657. userInfo:
  21658. $ref: '#/definitions/models.Userinfo'
  21659. description: 用户信息
  21660. username:
  21661. description: 用户姓名
  21662. type: string
  21663. type: object
  21664. info:
  21665. contact: {}
  21666. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21667. termsOfService: http://www.muchinfo.cn
  21668. title: MTP2.0 查询服务 API
  21669. version: "1.0"
  21670. paths:
  21671. /CPTrade/QueryCPTradeMyBidInfos:
  21672. get:
  21673. parameters:
  21674. - description: 资金账户
  21675. in: query
  21676. name: accountid
  21677. required: true
  21678. type: integer
  21679. - description: 预售市场ID
  21680. in: query
  21681. name: marketid
  21682. type: integer
  21683. - description: 预售商品ID
  21684. in: query
  21685. name: goodsid
  21686. type: integer
  21687. produces:
  21688. - application/json
  21689. responses:
  21690. "200":
  21691. description: OK
  21692. schema:
  21693. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21694. "500":
  21695. description: Internal Server Error
  21696. schema:
  21697. $ref: '#/definitions/app.Response'
  21698. security:
  21699. - ApiKeyAuth: []
  21700. summary: 查询产能预售我的出价信息
  21701. tags:
  21702. - 产能预售
  21703. /CPTrade/QueryCPTradeOrderDetail:
  21704. get:
  21705. parameters:
  21706. - description: 预售商品ID
  21707. in: query
  21708. name: goodsid
  21709. type: integer
  21710. - description: 预售市场ID
  21711. in: query
  21712. name: marketid
  21713. type: integer
  21714. - description: 预售商品ID列表 - 格式:1,2,3
  21715. in: query
  21716. name: goodsids
  21717. type: string
  21718. produces:
  21719. - application/json
  21720. responses:
  21721. "200":
  21722. description: OK
  21723. schema:
  21724. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21725. "500":
  21726. description: Internal Server Error
  21727. schema:
  21728. $ref: '#/definitions/app.Response'
  21729. security:
  21730. - ApiKeyAuth: []
  21731. summary: 查询产能预售委托单信息
  21732. tags:
  21733. - 产能预售
  21734. /CPTrade/QueryMyCPTradeGoods:
  21735. get:
  21736. parameters:
  21737. - description: 资金账户
  21738. in: query
  21739. name: accountid
  21740. required: true
  21741. type: integer
  21742. produces:
  21743. - application/json
  21744. responses:
  21745. "200":
  21746. description: OK
  21747. schema:
  21748. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21749. "500":
  21750. description: Internal Server Error
  21751. schema:
  21752. $ref: '#/definitions/app.Response'
  21753. security:
  21754. - ApiKeyAuth: []
  21755. summary: 查询我的预售信息
  21756. tags:
  21757. - 产能预售
  21758. /CPTrade/QueryPositionCancel:
  21759. get:
  21760. parameters:
  21761. - description: 账户ID
  21762. in: query
  21763. name: userid
  21764. required: true
  21765. type: integer
  21766. - description: 注销ID
  21767. in: query
  21768. name: cancelid
  21769. type: integer
  21770. - description: 资金账户ID
  21771. in: query
  21772. name: accountid
  21773. type: integer
  21774. produces:
  21775. - application/json
  21776. responses:
  21777. "200":
  21778. description: OK
  21779. schema:
  21780. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21781. "500":
  21782. description: Internal Server Error
  21783. schema:
  21784. $ref: '#/definitions/app.Response'
  21785. security:
  21786. - ApiKeyAuth: []
  21787. summary: 查询远期订单注销申请信息
  21788. tags:
  21789. - 产能预售
  21790. /CPTrade/QueryPreasleApply:
  21791. get:
  21792. parameters:
  21793. - description: 账户ID
  21794. in: query
  21795. name: userid
  21796. required: true
  21797. type: integer
  21798. - description: 申请ID
  21799. in: query
  21800. name: applyid
  21801. type: integer
  21802. - description: 资金账户ID
  21803. in: query
  21804. name: accountid
  21805. type: integer
  21806. produces:
  21807. - application/json
  21808. responses:
  21809. "200":
  21810. description: OK
  21811. schema:
  21812. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21813. "500":
  21814. description: Internal Server Error
  21815. schema:
  21816. $ref: '#/definitions/app.Response'
  21817. security:
  21818. - ApiKeyAuth: []
  21819. summary: 查询产能预售申请信息
  21820. tags:
  21821. - 产能预售
  21822. /CPTrade/QueryPresaleGoodsEx:
  21823. get:
  21824. parameters:
  21825. - description: 预售商品ID
  21826. in: query
  21827. name: goodsid
  21828. type: integer
  21829. - description: 预售市场ID
  21830. in: query
  21831. name: marketid
  21832. type: integer
  21833. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21834. in: query
  21835. name: presalemode
  21836. type: integer
  21837. - description: 预售商品ID列表 - 格式:1,2,3
  21838. in: query
  21839. name: goodsids
  21840. type: string
  21841. - description: 预售商品代码
  21842. in: query
  21843. name: goodscode
  21844. type: string
  21845. produces:
  21846. - application/json
  21847. responses:
  21848. "200":
  21849. description: OK
  21850. schema:
  21851. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21852. "500":
  21853. description: Internal Server Error
  21854. schema:
  21855. $ref: '#/definitions/app.Response'
  21856. security:
  21857. - ApiKeyAuth: []
  21858. summary: 查询产能预售商品扩展信息
  21859. tags:
  21860. - 产能预售
  21861. /CPTrade/QueryUserGoodsData:
  21862. get:
  21863. parameters:
  21864. - description: 资金账户ID
  21865. in: query
  21866. name: accountid
  21867. required: true
  21868. type: integer
  21869. produces:
  21870. - application/json
  21871. responses:
  21872. "200":
  21873. description: OK
  21874. schema:
  21875. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21876. "500":
  21877. description: Internal Server Error
  21878. schema:
  21879. $ref: '#/definitions/app.Response'
  21880. security:
  21881. - ApiKeyAuth: []
  21882. summary: 查询远期订单信息
  21883. tags:
  21884. - 产能预售
  21885. /Common/GetAllEnums:
  21886. get:
  21887. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21888. parameters:
  21889. - description: 起始自增ID
  21890. in: query
  21891. name: autoid
  21892. type: integer
  21893. produces:
  21894. - application/json
  21895. responses:
  21896. "200":
  21897. description: OK
  21898. schema:
  21899. $ref: '#/definitions/models.Enumdicitem'
  21900. "500":
  21901. description: Internal Server Error
  21902. schema:
  21903. $ref: '#/definitions/app.Response'
  21904. summary: 获取所有枚举信息
  21905. tags:
  21906. - 通用服务
  21907. /Common/GetClientMenus:
  21908. get:
  21909. parameters:
  21910. - description: 登录账号
  21911. in: query
  21912. name: loginID
  21913. required: true
  21914. type: integer
  21915. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21916. in: query
  21917. name: clientType
  21918. type: integer
  21919. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21920. in: query
  21921. name: name
  21922. type: string
  21923. produces:
  21924. - application/json
  21925. responses:
  21926. "200":
  21927. description: OK
  21928. schema:
  21929. items:
  21930. $ref: '#/definitions/common.ClientMenu'
  21931. type: array
  21932. "500":
  21933. description: Internal Server Error
  21934. schema:
  21935. $ref: '#/definitions/app.Response'
  21936. security:
  21937. - ApiKeyAuth: []
  21938. summary: 获取交易端菜单
  21939. tags:
  21940. - 通用服务
  21941. /Common/GetDivisions:
  21942. get:
  21943. produces:
  21944. - application/json
  21945. responses:
  21946. "200":
  21947. description: OK
  21948. schema:
  21949. $ref: '#/definitions/models.Division'
  21950. "500":
  21951. description: Internal Server Error
  21952. schema:
  21953. $ref: '#/definitions/app.Response'
  21954. summary: 查询区域信息
  21955. tags:
  21956. - 通用服务
  21957. /Common/GetPCWebMenus:
  21958. get:
  21959. parameters:
  21960. - description: 登录账号
  21961. in: query
  21962. name: loginID
  21963. required: true
  21964. type: integer
  21965. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21966. in: query
  21967. name: name
  21968. type: string
  21969. produces:
  21970. - application/json
  21971. responses:
  21972. "200":
  21973. description: OK
  21974. schema:
  21975. items:
  21976. $ref: '#/definitions/common.PCWebMenu'
  21977. type: array
  21978. "500":
  21979. description: Internal Server Error
  21980. schema:
  21981. $ref: '#/definitions/app.Response'
  21982. security:
  21983. - ApiKeyAuth: []
  21984. summary: 获取PCWeb交易端菜单
  21985. tags:
  21986. - 通用服务
  21987. /Common/GetServerTime:
  21988. get:
  21989. produces:
  21990. - application/json
  21991. responses:
  21992. "200":
  21993. description: OK
  21994. schema:
  21995. $ref: '#/definitions/app.Response'
  21996. "500":
  21997. description: Internal Server Error
  21998. schema:
  21999. $ref: '#/definitions/app.Response'
  22000. summary: 获取服务器时间
  22001. tags:
  22002. - 通用服务
  22003. /Common/NoticeReaded:
  22004. post:
  22005. parameters:
  22006. - description: 登录账号
  22007. in: query
  22008. name: loginID
  22009. required: true
  22010. type: integer
  22011. - description: 通知公告ID
  22012. in: query
  22013. name: noticeID
  22014. required: true
  22015. type: integer
  22016. produces:
  22017. - application/json
  22018. responses:
  22019. "200":
  22020. description: OK
  22021. schema:
  22022. $ref: '#/definitions/app.Response'
  22023. "500":
  22024. description: Internal Server Error
  22025. schema:
  22026. $ref: '#/definitions/app.Response'
  22027. security:
  22028. - ApiKeyAuth: []
  22029. summary: 通知公告设置已读请求
  22030. tags:
  22031. - 通用服务
  22032. /Common/QueryErrorInfos:
  22033. get:
  22034. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22035. parameters:
  22036. - description: 起始行号前索引
  22037. in: query
  22038. name: rowNumber
  22039. type: string
  22040. produces:
  22041. - application/json
  22042. responses:
  22043. "200":
  22044. description: OK
  22045. schema:
  22046. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22047. "500":
  22048. description: Internal Server Error
  22049. schema:
  22050. $ref: '#/definitions/app.Response'
  22051. summary: 获取数据库错误信息
  22052. tags:
  22053. - 通用服务
  22054. /Common/QueryImageConfigs:
  22055. get:
  22056. parameters:
  22057. - description: 用户id
  22058. in: query
  22059. name: userId
  22060. type: integer
  22061. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22062. in: query
  22063. name: imageType
  22064. type: integer
  22065. produces:
  22066. - application/json
  22067. responses:
  22068. "200":
  22069. description: OK
  22070. schema:
  22071. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22072. "500":
  22073. description: Internal Server Error
  22074. schema:
  22075. $ref: '#/definitions/app.Response'
  22076. summary: 查询轮播图配置信息
  22077. tags:
  22078. - 通用服务
  22079. /Common/QueryNotice:
  22080. get:
  22081. parameters:
  22082. - description: 页码
  22083. in: query
  22084. name: page
  22085. type: integer
  22086. - description: 每页条数
  22087. in: query
  22088. name: pagesize
  22089. type: integer
  22090. - description: 登录账号
  22091. in: query
  22092. name: loginID
  22093. required: true
  22094. type: integer
  22095. - description: 消息类型 - 1:公告通知 2:系统消息
  22096. in: query
  22097. name: msgType
  22098. type: integer
  22099. - description: 是否只获取未读信息
  22100. in: query
  22101. name: onlyUnRead
  22102. type: boolean
  22103. - description: 自增ID,传入后会返回这个ID后面的记录
  22104. in: query
  22105. name: lastID
  22106. type: integer
  22107. produces:
  22108. - application/json
  22109. responses:
  22110. "200":
  22111. description: OK
  22112. schema:
  22113. $ref: '#/definitions/common.QueryNoticeRsp'
  22114. "500":
  22115. description: Internal Server Error
  22116. schema:
  22117. $ref: '#/definitions/app.Response'
  22118. security:
  22119. - ApiKeyAuth: []
  22120. summary: 通知公告系统消息查询
  22121. tags:
  22122. - 通用服务
  22123. /Common/QueryProvincesAndCities:
  22124. get:
  22125. parameters:
  22126. - description: 省ID
  22127. in: query
  22128. name: provinceID
  22129. type: integer
  22130. produces:
  22131. - application/json
  22132. responses:
  22133. "200":
  22134. description: OK
  22135. schema:
  22136. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22137. "500":
  22138. description: Internal Server Error
  22139. schema:
  22140. $ref: '#/definitions/app.Response'
  22141. summary: 查询省市信息(不包括区)
  22142. tags:
  22143. - 通用服务
  22144. /Common/QueryTableDefine:
  22145. get:
  22146. parameters:
  22147. - description: 表key
  22148. in: query
  22149. name: tableKey
  22150. type: string
  22151. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22152. in: query
  22153. name: tableType
  22154. type: integer
  22155. produces:
  22156. - application/json
  22157. responses:
  22158. "200":
  22159. description: OK
  22160. schema:
  22161. $ref: '#/definitions/common.QueryTableDefineRsp'
  22162. "500":
  22163. description: Internal Server Error
  22164. schema:
  22165. $ref: '#/definitions/app.Response'
  22166. summary: 查询交易端列表头信息
  22167. tags:
  22168. - 通用服务
  22169. /Common/QueryTraderMenu:
  22170. get:
  22171. parameters:
  22172. - description: 登录账号
  22173. in: query
  22174. name: loginid
  22175. required: true
  22176. type: integer
  22177. produces:
  22178. - application/json
  22179. responses:
  22180. "200":
  22181. description: OK
  22182. schema:
  22183. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22184. "500":
  22185. description: Internal Server Error
  22186. schema:
  22187. $ref: '#/definitions/app.Response'
  22188. summary: 查询交易端菜单
  22189. tags:
  22190. - 通用服务
  22191. /Delivery/QueryDeliveryRelation:
  22192. get:
  22193. parameters:
  22194. - description: 商品ID
  22195. in: query
  22196. name: goodsid
  22197. type: integer
  22198. - description: 品种ID
  22199. in: query
  22200. name: deliverygoodsid
  22201. type: integer
  22202. - description: 市场ID
  22203. in: query
  22204. name: marketid
  22205. type: integer
  22206. produces:
  22207. - application/json
  22208. responses:
  22209. "200":
  22210. description: OK
  22211. schema:
  22212. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22213. "500":
  22214. description: Internal Server Error
  22215. schema:
  22216. $ref: '#/definitions/app.Response'
  22217. security:
  22218. - ApiKeyAuth: []
  22219. summary: 查询商品交割关系表
  22220. tags:
  22221. - 交割服务
  22222. /Ermcp/GetErmcpGoods:
  22223. get:
  22224. parameters:
  22225. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22226. in: query
  22227. name: userid
  22228. type: integer
  22229. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22230. in: query
  22231. name: lastUpdateTime
  22232. type: string
  22233. produces:
  22234. - application/json
  22235. responses:
  22236. "200":
  22237. description: OK
  22238. schema:
  22239. $ref: '#/definitions/models.ErmcpGoods'
  22240. "500":
  22241. description: Internal Server Error
  22242. schema:
  22243. $ref: '#/definitions/app.Response'
  22244. security:
  22245. - ApiKeyAuth: []
  22246. summary: 查询企业风管期货商品信息
  22247. tags:
  22248. - 企业风险管理(app)
  22249. /Ermcp/GetErmcpGoodsSortByPosition:
  22250. get:
  22251. parameters:
  22252. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22253. in: query
  22254. name: sortIndex
  22255. type: string
  22256. produces:
  22257. - application/json
  22258. responses:
  22259. "200":
  22260. description: OK
  22261. schema:
  22262. $ref: '#/definitions/models.Goodssortbypreposition'
  22263. "500":
  22264. description: Internal Server Error
  22265. schema:
  22266. $ref: '#/definitions/app.Response'
  22267. security:
  22268. - ApiKeyAuth: []
  22269. summary: 查询企业风管期货主力、次主力商品信息
  22270. tags:
  22271. - 企业风险管理(app)
  22272. /Ermcp/GetErmcpOutAccountStatus:
  22273. get:
  22274. parameters:
  22275. - description: 登录账号
  22276. in: query
  22277. name: loginID
  22278. required: true
  22279. type: integer
  22280. produces:
  22281. - application/json
  22282. responses:
  22283. "200":
  22284. description: OK
  22285. schema:
  22286. $ref: '#/definitions/models.Hedgemarketopenlog'
  22287. "500":
  22288. description: Internal Server Error
  22289. schema:
  22290. $ref: '#/definitions/app.Response'
  22291. security:
  22292. - ApiKeyAuth: []
  22293. summary: 获取目标登录账号当前对冲账号在线状态
  22294. tags:
  22295. - 企业风险管理(app)
  22296. /Ermcp/GetErmcpRoleFuncMenuLists:
  22297. get:
  22298. parameters:
  22299. - description: 登录账号
  22300. in: query
  22301. name: loginID
  22302. required: true
  22303. type: integer
  22304. produces:
  22305. - application/json
  22306. responses:
  22307. "200":
  22308. description: OK
  22309. schema:
  22310. $ref: '#/definitions/models.Funcmenulist'
  22311. "500":
  22312. description: Internal Server Error
  22313. schema:
  22314. $ref: '#/definitions/app.Response'
  22315. security:
  22316. - ApiKeyAuth: []
  22317. summary: 获取企业风管终端权限
  22318. tags:
  22319. - 企业风险管理(app)
  22320. /Ermcp/QueryAccMgrBizGroupSet:
  22321. get:
  22322. parameters:
  22323. - description: 用户ID
  22324. in: query
  22325. name: userid
  22326. required: true
  22327. type: integer
  22328. - description: 现货商品id
  22329. in: query
  22330. name: deliverygoodsid
  22331. type: integer
  22332. produces:
  22333. - application/json
  22334. responses:
  22335. "200":
  22336. description: OK
  22337. schema:
  22338. items:
  22339. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22340. type: array
  22341. "500":
  22342. description: Internal Server Error
  22343. schema:
  22344. $ref: '#/definitions/app.Response'
  22345. security:
  22346. - ApiKeyAuth: []
  22347. summary: 查询业务类型分组(账户管理/账户设置)
  22348. tags:
  22349. - 企业风险管理(app)
  22350. /Ermcp/QueryAccMgrLoginUser:
  22351. get:
  22352. parameters:
  22353. - description: 用户ID
  22354. in: query
  22355. name: userid
  22356. required: true
  22357. type: integer
  22358. - description: 用户类型 2-机构 7-企业成员
  22359. in: query
  22360. name: usertype
  22361. type: integer
  22362. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22363. in: query
  22364. name: querytype
  22365. required: true
  22366. type: integer
  22367. produces:
  22368. - application/json
  22369. responses:
  22370. "200":
  22371. description: OK
  22372. schema:
  22373. items:
  22374. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22375. type: array
  22376. "500":
  22377. description: Internal Server Error
  22378. schema:
  22379. $ref: '#/definitions/app.Response'
  22380. security:
  22381. - ApiKeyAuth: []
  22382. summary: 查询账户管理登录账号(账户管理/登录账号)
  22383. tags:
  22384. - 企业风险管理(app)
  22385. /Ermcp/QueryAccMgrMainAccountInfo:
  22386. get:
  22387. parameters:
  22388. - description: 用户ID
  22389. in: query
  22390. name: userid
  22391. type: integer
  22392. - description: 主账号id
  22393. in: query
  22394. name: accountid
  22395. type: integer
  22396. produces:
  22397. - application/json
  22398. responses:
  22399. "200":
  22400. description: OK
  22401. schema:
  22402. items:
  22403. $ref: '#/definitions/models.MainAccountInfo'
  22404. type: array
  22405. "500":
  22406. description: Internal Server Error
  22407. schema:
  22408. $ref: '#/definitions/app.Response'
  22409. security:
  22410. - ApiKeyAuth: []
  22411. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22412. tags:
  22413. - 企业风险管理(app)
  22414. /Ermcp/QueryAccMgrRole:
  22415. get:
  22416. parameters:
  22417. - description: 用户ID
  22418. in: query
  22419. name: userid
  22420. required: true
  22421. type: integer
  22422. produces:
  22423. - application/json
  22424. responses:
  22425. "200":
  22426. description: OK
  22427. schema:
  22428. items:
  22429. $ref: '#/definitions/models.ErmcpRole'
  22430. type: array
  22431. "500":
  22432. description: Internal Server Error
  22433. schema:
  22434. $ref: '#/definitions/app.Response'
  22435. security:
  22436. - ApiKeyAuth: []
  22437. summary: 查询账户管理角色设置(账户管理/角色设置)
  22438. tags:
  22439. - 企业风险管理(app)
  22440. /Ermcp/QueryAccMgrRoleMenu:
  22441. get:
  22442. parameters:
  22443. - description: 用户ID
  22444. in: query
  22445. name: userid
  22446. required: true
  22447. type: integer
  22448. - description: 角色id(可多个,逗号隔开)
  22449. in: query
  22450. name: roleid
  22451. type: string
  22452. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22453. in: query
  22454. name: menutype
  22455. type: integer
  22456. produces:
  22457. - application/json
  22458. responses:
  22459. "200":
  22460. description: OK
  22461. schema:
  22462. items:
  22463. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22464. type: array
  22465. "500":
  22466. description: Internal Server Error
  22467. schema:
  22468. $ref: '#/definitions/app.Response'
  22469. security:
  22470. - ApiKeyAuth: []
  22471. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22472. tags:
  22473. - 企业风险管理(app)
  22474. /Ermcp/QueryAccMgrTaAccountInfo:
  22475. get:
  22476. parameters:
  22477. - description: 用户ID
  22478. in: query
  22479. name: userid
  22480. required: true
  22481. type: integer
  22482. - description: 账号id
  22483. in: query
  22484. name: accountid
  22485. type: integer
  22486. produces:
  22487. - application/json
  22488. responses:
  22489. "200":
  22490. description: OK
  22491. schema:
  22492. items:
  22493. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22494. type: array
  22495. "500":
  22496. description: Internal Server Error
  22497. schema:
  22498. $ref: '#/definitions/app.Response'
  22499. security:
  22500. - ApiKeyAuth: []
  22501. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22502. tags:
  22503. - 企业风险管理(app)
  22504. /Ermcp/QueryAccMgrTaaccount:
  22505. get:
  22506. parameters:
  22507. - description: 用户ID
  22508. in: query
  22509. name: userid
  22510. required: true
  22511. type: integer
  22512. produces:
  22513. - application/json
  22514. responses:
  22515. "200":
  22516. description: OK
  22517. schema:
  22518. items:
  22519. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22520. type: array
  22521. "500":
  22522. description: Internal Server Error
  22523. schema:
  22524. $ref: '#/definitions/app.Response'
  22525. security:
  22526. - ApiKeyAuth: []
  22527. summary: 查询账户管理期货账号(账户管理/期货账号)
  22528. tags:
  22529. - 企业风险管理(app)
  22530. /Ermcp/QueryAvaildGoodsGroup:
  22531. get:
  22532. parameters:
  22533. - description: 所属机构ID
  22534. in: query
  22535. name: userid
  22536. required: true
  22537. type: integer
  22538. produces:
  22539. - application/json
  22540. responses:
  22541. "200":
  22542. description: OK
  22543. schema:
  22544. items:
  22545. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22546. type: array
  22547. "500":
  22548. description: Internal Server Error
  22549. schema:
  22550. $ref: '#/definitions/app.Response'
  22551. security:
  22552. - ApiKeyAuth: []
  22553. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22554. tags:
  22555. - 企业风险管理(app)
  22556. /Ermcp/QueryBusinessDj:
  22557. get:
  22558. parameters:
  22559. - description: 用户ID
  22560. in: query
  22561. name: UserId
  22562. required: true
  22563. type: integer
  22564. - description: 用户类型 2-机构 7-企业成员
  22565. in: query
  22566. name: usertype
  22567. type: integer
  22568. - description: 现货合同ID, 不填则查所有
  22569. in: query
  22570. name: relatedid
  22571. type: string
  22572. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22573. in: query
  22574. name: applystatus
  22575. type: string
  22576. produces:
  22577. - application/json
  22578. responses:
  22579. "200":
  22580. description: OK
  22581. schema:
  22582. items:
  22583. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22584. type: array
  22585. "500":
  22586. description: Internal Server Error
  22587. schema:
  22588. $ref: '#/definitions/app.Response'
  22589. security:
  22590. - ApiKeyAuth: []
  22591. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22592. tags:
  22593. - 企业风险管理(app)
  22594. /Ermcp/QueryBusinessFp:
  22595. get:
  22596. parameters:
  22597. - description: 用户ID
  22598. in: query
  22599. name: UserId
  22600. required: true
  22601. type: integer
  22602. - description: 用户类型 2-机构 7-企业成员
  22603. in: query
  22604. name: usertype
  22605. type: integer
  22606. - description: 现货合同ID, 不填则查所有
  22607. in: query
  22608. name: relatedid
  22609. type: string
  22610. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22611. in: query
  22612. name: applystatus
  22613. type: string
  22614. produces:
  22615. - application/json
  22616. responses:
  22617. "200":
  22618. description: OK
  22619. schema:
  22620. items:
  22621. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22622. type: array
  22623. "500":
  22624. description: Internal Server Error
  22625. schema:
  22626. $ref: '#/definitions/app.Response'
  22627. security:
  22628. - ApiKeyAuth: []
  22629. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22630. tags:
  22631. - 企业风险管理(app)
  22632. /Ermcp/QueryBusinessJs:
  22633. get:
  22634. parameters:
  22635. - description: 用户ID
  22636. in: query
  22637. name: UserId
  22638. required: true
  22639. type: integer
  22640. - description: 用户类型 2-机构 7-企业成员
  22641. in: query
  22642. name: usertype
  22643. type: integer
  22644. - description: 现货合同ID, 不填则查所有
  22645. in: query
  22646. name: relatedid
  22647. type: string
  22648. - description: 操作申请id
  22649. in: query
  22650. name: operateapplyid
  22651. type: string
  22652. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22653. in: query
  22654. name: applystatus
  22655. type: string
  22656. produces:
  22657. - application/json
  22658. responses:
  22659. "200":
  22660. description: OK
  22661. schema:
  22662. items:
  22663. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22664. type: array
  22665. "500":
  22666. description: Internal Server Error
  22667. schema:
  22668. $ref: '#/definitions/app.Response'
  22669. security:
  22670. - ApiKeyAuth: []
  22671. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22672. tags:
  22673. - 企业风险管理(app)
  22674. /Ermcp/QueryBusinessJsEx:
  22675. get:
  22676. parameters:
  22677. - description: 用户ID
  22678. in: query
  22679. name: UserId
  22680. required: true
  22681. type: integer
  22682. - description: 用户类型 2-机构 7-企业成员
  22683. in: query
  22684. name: usertype
  22685. type: integer
  22686. - description: 现货合同ID, 不填则查所有
  22687. in: query
  22688. name: relatedid
  22689. type: string
  22690. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22691. in: query
  22692. name: applystatus
  22693. type: string
  22694. produces:
  22695. - application/json
  22696. responses:
  22697. "200":
  22698. description: OK
  22699. schema:
  22700. items:
  22701. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22702. type: array
  22703. "500":
  22704. description: Internal Server Error
  22705. schema:
  22706. $ref: '#/definitions/app.Response'
  22707. security:
  22708. - ApiKeyAuth: []
  22709. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22710. tags:
  22711. - 企业风险管理(app)
  22712. /Ermcp/QueryBusinessKx:
  22713. get:
  22714. parameters:
  22715. - description: 用户ID
  22716. in: query
  22717. name: UserId
  22718. required: true
  22719. type: integer
  22720. - description: 用户类型 2-机构 7-企业成员
  22721. in: query
  22722. name: usertype
  22723. type: integer
  22724. - description: 现货合同ID, 不填则查所有
  22725. in: query
  22726. name: relatedid
  22727. type: string
  22728. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22729. in: query
  22730. name: applystatus
  22731. type: string
  22732. produces:
  22733. - application/json
  22734. responses:
  22735. "200":
  22736. description: OK
  22737. schema:
  22738. items:
  22739. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22740. type: array
  22741. "500":
  22742. description: Internal Server Error
  22743. schema:
  22744. $ref: '#/definitions/app.Response'
  22745. security:
  22746. - ApiKeyAuth: []
  22747. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22748. tags:
  22749. - 企业风险管理(app)
  22750. /Ermcp/QueryChangeLog:
  22751. get:
  22752. parameters:
  22753. - description: 合同ID
  22754. in: query
  22755. name: RelatedId
  22756. required: true
  22757. type: string
  22758. produces:
  22759. - application/json
  22760. responses:
  22761. "200":
  22762. description: OK
  22763. schema:
  22764. items:
  22765. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22766. type: array
  22767. "500":
  22768. description: Internal Server Error
  22769. schema:
  22770. $ref: '#/definitions/app.Response'
  22771. security:
  22772. - ApiKeyAuth: []
  22773. summary: 查询变更记录
  22774. tags:
  22775. - 企业风险管理(app)
  22776. /Ermcp/QueryErmcpHisOrderDetails:
  22777. get:
  22778. parameters:
  22779. - description: 资金账户ID
  22780. in: query
  22781. name: accountID
  22782. required: true
  22783. type: integer
  22784. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22785. in: query
  22786. name: startDate
  22787. type: string
  22788. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22789. in: query
  22790. name: endDate
  22791. type: string
  22792. produces:
  22793. - application/json
  22794. responses:
  22795. "200":
  22796. description: OK
  22797. schema:
  22798. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22799. "500":
  22800. description: Internal Server Error
  22801. schema:
  22802. $ref: '#/definitions/app.Response'
  22803. security:
  22804. - ApiKeyAuth: []
  22805. summary: 获取企业风管期货历史委托单信息
  22806. tags:
  22807. - 企业风险管理(app)
  22808. /Ermcp/QueryErmcpHisTradeDetails:
  22809. get:
  22810. parameters:
  22811. - description: 资金账户ID
  22812. in: query
  22813. name: accountID
  22814. required: true
  22815. type: integer
  22816. - description: 商品ID
  22817. in: query
  22818. name: goodsID
  22819. type: integer
  22820. - description: 买卖方向,0:买 1:卖
  22821. in: query
  22822. name: buyOrSell
  22823. type: integer
  22824. - description: 关联委托单号
  22825. in: query
  22826. name: orderID
  22827. type: integer
  22828. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22829. in: query
  22830. name: startDate
  22831. type: string
  22832. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22833. in: query
  22834. name: endDate
  22835. type: string
  22836. produces:
  22837. - application/json
  22838. responses:
  22839. "200":
  22840. description: OK
  22841. schema:
  22842. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22843. "500":
  22844. description: Internal Server Error
  22845. schema:
  22846. $ref: '#/definitions/app.Response'
  22847. security:
  22848. - ApiKeyAuth: []
  22849. summary: 获取企业风管期货历史成交单信息
  22850. tags:
  22851. - 企业风险管理(app)
  22852. /Ermcp/QueryErmcpInnerHolderDetails:
  22853. get:
  22854. parameters:
  22855. - description: 资金账户ID
  22856. in: query
  22857. name: accountID
  22858. required: true
  22859. type: integer
  22860. - description: 商品ID
  22861. in: query
  22862. name: goodsID
  22863. type: integer
  22864. - description: 买卖方向,0:买 1:卖
  22865. in: query
  22866. name: buyOrSell
  22867. type: integer
  22868. produces:
  22869. - application/json
  22870. responses:
  22871. "200":
  22872. description: OK
  22873. schema:
  22874. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22875. "500":
  22876. description: Internal Server Error
  22877. schema:
  22878. $ref: '#/definitions/app.Response'
  22879. security:
  22880. - ApiKeyAuth: []
  22881. summary: 获取企业风管期货内部持仓单信息
  22882. tags:
  22883. - 企业风险管理(app)
  22884. /Ermcp/QueryErmcpOrderDetails:
  22885. get:
  22886. parameters:
  22887. - description: 资金账户ID
  22888. in: query
  22889. name: accountID
  22890. required: true
  22891. type: integer
  22892. produces:
  22893. - application/json
  22894. responses:
  22895. "200":
  22896. description: OK
  22897. schema:
  22898. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22899. "500":
  22900. description: Internal Server Error
  22901. schema:
  22902. $ref: '#/definitions/app.Response'
  22903. security:
  22904. - ApiKeyAuth: []
  22905. summary: 获取企业风管期货委托单信息
  22906. tags:
  22907. - 企业风险管理(app)
  22908. /Ermcp/QueryErmcpTradeDetails:
  22909. get:
  22910. parameters:
  22911. - description: 资金账户ID
  22912. in: query
  22913. name: accountID
  22914. required: true
  22915. type: integer
  22916. - description: 商品ID
  22917. in: query
  22918. name: goodsID
  22919. type: integer
  22920. - description: 买卖方向,0:买 1:卖
  22921. in: query
  22922. name: buyOrSell
  22923. type: integer
  22924. - description: 关联委托单号
  22925. in: query
  22926. name: orderID
  22927. type: integer
  22928. produces:
  22929. - application/json
  22930. responses:
  22931. "200":
  22932. description: OK
  22933. schema:
  22934. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22935. "500":
  22936. description: Internal Server Error
  22937. schema:
  22938. $ref: '#/definitions/app.Response'
  22939. security:
  22940. - ApiKeyAuth: []
  22941. summary: 获取企业风管期货成交单信息
  22942. tags:
  22943. - 企业风险管理(app)
  22944. /Ermcp/QueryErmcpTradePosition:
  22945. get:
  22946. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22947. parameters:
  22948. - description: 资金账户ID
  22949. in: query
  22950. name: accountID
  22951. required: true
  22952. type: integer
  22953. - description: 所属市场ID
  22954. in: query
  22955. name: marketID
  22956. type: integer
  22957. produces:
  22958. - application/json
  22959. responses:
  22960. "200":
  22961. description: OK
  22962. schema:
  22963. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22964. "500":
  22965. description: Internal Server Error
  22966. schema:
  22967. $ref: '#/definitions/app.Response'
  22968. security:
  22969. - ApiKeyAuth: []
  22970. summary: 获取企业风管期货持仓头寸信息
  22971. tags:
  22972. - 企业风险管理(app)
  22973. /Ermcp/QueryExposureDetail:
  22974. get:
  22975. parameters:
  22976. - description: 所属机构ID
  22977. in: query
  22978. name: areaUserId
  22979. required: true
  22980. type: integer
  22981. - description: 套保商品
  22982. in: query
  22983. name: middleGoodsId
  22984. required: true
  22985. type: integer
  22986. produces:
  22987. - application/json
  22988. responses:
  22989. "200":
  22990. description: OK
  22991. schema:
  22992. items:
  22993. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22994. type: array
  22995. "500":
  22996. description: Internal Server Error
  22997. schema:
  22998. $ref: '#/definitions/app.Response'
  22999. security:
  23000. - ApiKeyAuth: []
  23001. summary: 查询敞口现货明细
  23002. tags:
  23003. - 企业风险管理(app)
  23004. /Ermcp/QueryExposureGoods:
  23005. get:
  23006. parameters:
  23007. - description: 套保商品id
  23008. in: query
  23009. name: middlegoodsid
  23010. required: true
  23011. type: integer
  23012. produces:
  23013. - application/json
  23014. responses:
  23015. "200":
  23016. description: OK
  23017. schema:
  23018. items:
  23019. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23020. type: array
  23021. "500":
  23022. description: Internal Server Error
  23023. schema:
  23024. $ref: '#/definitions/app.Response'
  23025. security:
  23026. - ApiKeyAuth: []
  23027. summary: 查询敞口主力合约
  23028. tags:
  23029. - 企业风险管理(app)
  23030. /Ermcp/QueryExposureHedgePosition:
  23031. get:
  23032. parameters:
  23033. - description: 用户id
  23034. in: query
  23035. name: userid
  23036. required: true
  23037. type: integer
  23038. produces:
  23039. - application/json
  23040. responses:
  23041. "200":
  23042. description: OK
  23043. schema:
  23044. items:
  23045. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23046. type: array
  23047. "500":
  23048. description: Internal Server Error
  23049. schema:
  23050. $ref: '#/definitions/app.Response'
  23051. security:
  23052. - ApiKeyAuth: []
  23053. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23054. tags:
  23055. - 企业风险管理(app)
  23056. /Ermcp/QueryExposureHedgePositionDetail:
  23057. get:
  23058. parameters:
  23059. - description: 所属机构ID
  23060. in: query
  23061. name: userid
  23062. required: true
  23063. type: integer
  23064. - description: 商品id
  23065. in: query
  23066. name: goodsId
  23067. required: true
  23068. type: integer
  23069. produces:
  23070. - application/json
  23071. responses:
  23072. "200":
  23073. description: OK
  23074. schema:
  23075. items:
  23076. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23077. type: array
  23078. "500":
  23079. description: Internal Server Error
  23080. schema:
  23081. $ref: '#/definitions/app.Response'
  23082. security:
  23083. - ApiKeyAuth: []
  23084. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23085. tags:
  23086. - 企业风险管理(app)
  23087. /Ermcp/QueryExposureSpot:
  23088. get:
  23089. parameters:
  23090. - description: 所属机构ID
  23091. in: query
  23092. name: areaUserId
  23093. required: true
  23094. type: integer
  23095. produces:
  23096. - application/json
  23097. responses:
  23098. "200":
  23099. description: OK
  23100. schema:
  23101. items:
  23102. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23103. type: array
  23104. "500":
  23105. description: Internal Server Error
  23106. schema:
  23107. $ref: '#/definitions/app.Response'
  23108. security:
  23109. - ApiKeyAuth: []
  23110. summary: 查询敞口现货头寸(敞口/现货头寸)
  23111. tags:
  23112. - 企业风险管理(app)
  23113. /Ermcp/QueryExposureSpotDetail:
  23114. get:
  23115. parameters:
  23116. - description: 所属机构ID
  23117. in: query
  23118. name: areaUserId
  23119. required: true
  23120. type: integer
  23121. - description: 现货品种ID
  23122. in: query
  23123. name: wrstandardId
  23124. required: true
  23125. type: integer
  23126. produces:
  23127. - application/json
  23128. responses:
  23129. "200":
  23130. description: OK
  23131. schema:
  23132. items:
  23133. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23134. type: array
  23135. "500":
  23136. description: Internal Server Error
  23137. schema:
  23138. $ref: '#/definitions/app.Response'
  23139. security:
  23140. - ApiKeyAuth: []
  23141. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23142. tags:
  23143. - 企业风险管理(app)
  23144. /Ermcp/QueryFuturesCompany:
  23145. get:
  23146. produces:
  23147. - application/json
  23148. responses:
  23149. "200":
  23150. description: OK
  23151. schema:
  23152. items:
  23153. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23154. type: array
  23155. "500":
  23156. description: Internal Server Error
  23157. schema:
  23158. $ref: '#/definitions/app.Response'
  23159. security:
  23160. - ApiKeyAuth: []
  23161. summary: 查询期货公司
  23162. tags:
  23163. - 企业风险管理(app)
  23164. /Ermcp/QueryGGConvertConfig:
  23165. get:
  23166. parameters:
  23167. - description: 品种id(不填则查所有)
  23168. in: query
  23169. name: goodsgroupid
  23170. type: integer
  23171. produces:
  23172. - application/json
  23173. responses:
  23174. "200":
  23175. description: OK
  23176. schema:
  23177. items:
  23178. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23179. type: array
  23180. "500":
  23181. description: Internal Server Error
  23182. schema:
  23183. $ref: '#/definitions/app.Response'
  23184. security:
  23185. - ApiKeyAuth: []
  23186. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23187. tags:
  23188. - 企业风险管理(app)
  23189. /Ermcp/QueryGoodsBrand:
  23190. get:
  23191. parameters:
  23192. - description: 用户ID
  23193. in: query
  23194. name: userid
  23195. required: true
  23196. type: integer
  23197. - description: 现货商品ID
  23198. in: query
  23199. name: wrstandardid
  23200. type: integer
  23201. produces:
  23202. - application/json
  23203. responses:
  23204. "200":
  23205. description: OK
  23206. schema:
  23207. items:
  23208. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23209. type: array
  23210. "500":
  23211. description: Internal Server Error
  23212. schema:
  23213. $ref: '#/definitions/app.Response'
  23214. security:
  23215. - ApiKeyAuth: []
  23216. summary: 查询商品品牌
  23217. tags:
  23218. - 企业风险管理(app)
  23219. /Ermcp/QueryGoodsModel:
  23220. get:
  23221. parameters:
  23222. - description: 用户ID
  23223. in: query
  23224. name: userid
  23225. required: true
  23226. type: integer
  23227. produces:
  23228. - application/json
  23229. responses:
  23230. "200":
  23231. description: OK
  23232. schema:
  23233. items:
  23234. $ref: '#/definitions/models.ErmcpGoodsModel'
  23235. type: array
  23236. "500":
  23237. description: Internal Server Error
  23238. schema:
  23239. $ref: '#/definitions/app.Response'
  23240. security:
  23241. - ApiKeyAuth: []
  23242. summary: 查询商品型号
  23243. tags:
  23244. - 企业风险管理(app)
  23245. /Ermcp/QueryHisExposure:
  23246. get:
  23247. parameters:
  23248. - description: 用户id
  23249. in: query
  23250. name: userid
  23251. required: true
  23252. type: integer
  23253. - description: 每个品种记录数
  23254. in: query
  23255. name: lastNum
  23256. required: true
  23257. type: integer
  23258. produces:
  23259. - application/json
  23260. responses:
  23261. "200":
  23262. description: OK
  23263. schema:
  23264. items:
  23265. $ref: '#/definitions/ermcp.HisExposureRsp'
  23266. type: array
  23267. "500":
  23268. description: Internal Server Error
  23269. schema:
  23270. $ref: '#/definitions/app.Response'
  23271. security:
  23272. - ApiKeyAuth: []
  23273. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23274. tags:
  23275. - 企业风险管理(app)
  23276. /Ermcp/QueryMiddleGoods:
  23277. get:
  23278. parameters:
  23279. - description: 所属机构ID
  23280. in: query
  23281. name: userid
  23282. required: true
  23283. type: integer
  23284. - description: 状态 0-停用 1-正常
  23285. in: query
  23286. name: status
  23287. required: true
  23288. type: integer
  23289. produces:
  23290. - application/json
  23291. responses:
  23292. "200":
  23293. description: OK
  23294. schema:
  23295. items:
  23296. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23297. type: array
  23298. "500":
  23299. description: Internal Server Error
  23300. schema:
  23301. $ref: '#/definitions/app.Response'
  23302. security:
  23303. - ApiKeyAuth: []
  23304. summary: 查询套保品种(菜单:套保品种)
  23305. tags:
  23306. - 企业风险管理(app)
  23307. /Ermcp/QueryMiddleGoodsChangeLog:
  23308. get:
  23309. parameters:
  23310. - description: 所属机构ID
  23311. in: query
  23312. name: userid
  23313. required: true
  23314. type: integer
  23315. - description: 套保品种id
  23316. in: query
  23317. name: middlegoodsid
  23318. required: true
  23319. type: integer
  23320. produces:
  23321. - application/json
  23322. responses:
  23323. "200":
  23324. description: OK
  23325. schema:
  23326. items:
  23327. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23328. type: array
  23329. "500":
  23330. description: Internal Server Error
  23331. schema:
  23332. $ref: '#/definitions/app.Response'
  23333. security:
  23334. - ApiKeyAuth: []
  23335. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23336. tags:
  23337. - 企业风险管理(app)
  23338. /Ermcp/QueryMiddleGoodsDetail:
  23339. get:
  23340. parameters:
  23341. - description: 所属机构ID
  23342. in: query
  23343. name: userid
  23344. required: true
  23345. type: integer
  23346. - description: 套保品种id
  23347. in: query
  23348. name: middlegoodsid
  23349. type: integer
  23350. produces:
  23351. - application/json
  23352. responses:
  23353. "200":
  23354. description: OK
  23355. schema:
  23356. items:
  23357. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23358. type: array
  23359. "500":
  23360. description: Internal Server Error
  23361. schema:
  23362. $ref: '#/definitions/app.Response'
  23363. security:
  23364. - ApiKeyAuth: []
  23365. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23366. tags:
  23367. - 企业风险管理(app)
  23368. /Ermcp/QueryPendingAuditInfo:
  23369. get:
  23370. parameters:
  23371. - description: 用户ID
  23372. in: query
  23373. name: UserId
  23374. required: true
  23375. type: integer
  23376. produces:
  23377. - application/json
  23378. responses:
  23379. "200":
  23380. description: OK
  23381. schema:
  23382. items:
  23383. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23384. type: array
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23392. tags:
  23393. - 企业风险管理(app)
  23394. /Ermcp/QueryRealtimeExposure:
  23395. get:
  23396. parameters:
  23397. - description: 所属机构ID
  23398. in: query
  23399. name: userid
  23400. required: true
  23401. type: integer
  23402. produces:
  23403. - application/json
  23404. responses:
  23405. "200":
  23406. description: OK
  23407. schema:
  23408. items:
  23409. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23410. type: array
  23411. "500":
  23412. description: Internal Server Error
  23413. schema:
  23414. $ref: '#/definitions/app.Response'
  23415. security:
  23416. - ApiKeyAuth: []
  23417. summary: 查询实时敞口
  23418. tags:
  23419. - 企业风险管理(app)
  23420. /Ermcp/QueryRealtimeExposurePosition:
  23421. get:
  23422. parameters:
  23423. - description: 用户id
  23424. in: query
  23425. name: userid
  23426. required: true
  23427. type: integer
  23428. - description: 套保商品ID
  23429. in: query
  23430. name: middleGoodsId
  23431. required: true
  23432. type: integer
  23433. produces:
  23434. - application/json
  23435. responses:
  23436. "200":
  23437. description: OK
  23438. schema:
  23439. items:
  23440. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23441. type: array
  23442. "500":
  23443. description: Internal Server Error
  23444. schema:
  23445. $ref: '#/definitions/app.Response'
  23446. security:
  23447. - ApiKeyAuth: []
  23448. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23449. tags:
  23450. - 企业风险管理(app)
  23451. /Ermcp/QueryRoleMenu:
  23452. get:
  23453. parameters:
  23454. - description: 登录ID
  23455. in: query
  23456. name: loginid
  23457. required: true
  23458. type: integer
  23459. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23460. in: query
  23461. name: menutype
  23462. type: integer
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. items:
  23470. $ref: '#/definitions/models.RoleMenu'
  23471. type: array
  23472. "500":
  23473. description: Internal Server Error
  23474. schema:
  23475. $ref: '#/definitions/app.Response'
  23476. security:
  23477. - ApiKeyAuth: []
  23478. summary: 查询角色菜单和权限
  23479. tags:
  23480. - 企业风险管理(app)
  23481. /Ermcp/QueryTradeConfigTMP:
  23482. get:
  23483. parameters:
  23484. - description: 所属机构id
  23485. in: query
  23486. name: areauserid
  23487. type: integer
  23488. produces:
  23489. - application/json
  23490. responses:
  23491. "200":
  23492. description: OK
  23493. schema:
  23494. items:
  23495. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23496. type: array
  23497. "500":
  23498. description: Internal Server Error
  23499. schema:
  23500. $ref: '#/definitions/app.Response'
  23501. security:
  23502. - ApiKeyAuth: []
  23503. summary: 查询交易模板配置
  23504. tags:
  23505. - 企业风险管理(app)
  23506. /Ermcp/QueryUserInfo:
  23507. get:
  23508. parameters:
  23509. - description: 所属机构用户ID
  23510. in: query
  23511. name: MemberUserID
  23512. required: true
  23513. type: integer
  23514. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23515. in: query
  23516. name: queryType
  23517. required: true
  23518. type: integer
  23519. produces:
  23520. - application/json
  23521. responses:
  23522. "200":
  23523. description: OK
  23524. schema:
  23525. items:
  23526. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23527. type: array
  23528. "500":
  23529. description: Internal Server Error
  23530. schema:
  23531. $ref: '#/definitions/app.Response'
  23532. security:
  23533. - ApiKeyAuth: []
  23534. summary: 查询客户资料
  23535. tags:
  23536. - 企业风险管理(app)
  23537. /Ermcp/QueryWarehouseInfo:
  23538. get:
  23539. parameters:
  23540. - description: 用户ID
  23541. in: query
  23542. name: userid
  23543. required: true
  23544. type: integer
  23545. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23546. in: query
  23547. name: status
  23548. type: string
  23549. produces:
  23550. - application/json
  23551. responses:
  23552. "200":
  23553. description: OK
  23554. schema:
  23555. items:
  23556. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23557. type: array
  23558. "500":
  23559. description: Internal Server Error
  23560. schema:
  23561. $ref: '#/definitions/app.Response'
  23562. security:
  23563. - ApiKeyAuth: []
  23564. summary: 查询仓库信息
  23565. tags:
  23566. - 企业风险管理(app)
  23567. /Ermcp3/QryAreaExpourseContractDetail:
  23568. get:
  23569. parameters:
  23570. - description: 用户ID
  23571. in: query
  23572. name: userid
  23573. required: true
  23574. type: integer
  23575. - description: 套保商品id
  23576. in: query
  23577. name: middlegoodsid
  23578. required: true
  23579. type: integer
  23580. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23581. in: query
  23582. name: cycletype
  23583. required: true
  23584. type: integer
  23585. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23586. 全(0)【原值】
  23587. in: query
  23588. name: cycletime
  23589. required: true
  23590. type: string
  23591. produces:
  23592. - application/json
  23593. responses:
  23594. "200":
  23595. description: OK
  23596. schema:
  23597. items:
  23598. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23599. type: array
  23600. "500":
  23601. description: Internal Server Error
  23602. schema:
  23603. $ref: '#/definitions/app.Response'
  23604. security:
  23605. - ApiKeyAuth: []
  23606. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23607. tags:
  23608. - 企业风险管理v3(app)
  23609. /Ermcp3/QryAreaExpourseFutuDetail:
  23610. get:
  23611. parameters:
  23612. - description: 用户ID
  23613. in: query
  23614. name: userid
  23615. required: true
  23616. type: integer
  23617. - description: 套保商品id
  23618. in: query
  23619. name: middlegoodsid
  23620. required: true
  23621. type: integer
  23622. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23623. in: query
  23624. name: cycletype
  23625. required: true
  23626. type: integer
  23627. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23628. 全(0)【原值】
  23629. in: query
  23630. name: cycletime
  23631. required: true
  23632. type: string
  23633. produces:
  23634. - application/json
  23635. responses:
  23636. "200":
  23637. description: OK
  23638. schema:
  23639. items:
  23640. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23641. type: array
  23642. "500":
  23643. description: Internal Server Error
  23644. schema:
  23645. $ref: '#/definitions/app.Response'
  23646. security:
  23647. - ApiKeyAuth: []
  23648. summary: 查询敞口期货明细(敞口报表/期货明细)
  23649. tags:
  23650. - 企业风险管理v3(app)
  23651. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23652. get:
  23653. parameters:
  23654. - description: 用户ID
  23655. in: query
  23656. name: userid
  23657. required: true
  23658. type: integer
  23659. - description: 套保商品id
  23660. in: query
  23661. name: middlegoodsid
  23662. required: true
  23663. type: integer
  23664. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23665. in: query
  23666. name: cycletype
  23667. required: true
  23668. type: integer
  23669. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23670. 全(0)【原值】
  23671. in: query
  23672. name: cycletime
  23673. required: true
  23674. type: string
  23675. produces:
  23676. - application/json
  23677. responses:
  23678. "200":
  23679. description: OK
  23680. schema:
  23681. items:
  23682. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23683. type: array
  23684. "500":
  23685. description: Internal Server Error
  23686. schema:
  23687. $ref: '#/definitions/app.Response'
  23688. security:
  23689. - ApiKeyAuth: []
  23690. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23691. tags:
  23692. - 企业风险管理v3(app)
  23693. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23694. get:
  23695. parameters:
  23696. - description: 用户ID
  23697. in: query
  23698. name: userid
  23699. required: true
  23700. type: integer
  23701. - description: 套保商品id
  23702. in: query
  23703. name: middlegoodsid
  23704. required: true
  23705. type: integer
  23706. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23707. in: query
  23708. name: cycletype
  23709. required: true
  23710. type: integer
  23711. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23712. 全(0)【原值】
  23713. in: query
  23714. name: cycletime
  23715. required: true
  23716. type: string
  23717. produces:
  23718. - application/json
  23719. responses:
  23720. "200":
  23721. description: OK
  23722. schema:
  23723. items:
  23724. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23725. type: array
  23726. "500":
  23727. description: Internal Server Error
  23728. schema:
  23729. $ref: '#/definitions/app.Response'
  23730. security:
  23731. - ApiKeyAuth: []
  23732. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23733. tags:
  23734. - 企业风险管理v3(app)
  23735. /Ermcp3/QryAreaExpourseReport:
  23736. get:
  23737. parameters:
  23738. - description: 用户ID
  23739. in: query
  23740. name: userid
  23741. required: true
  23742. type: integer
  23743. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23744. in: query
  23745. name: querytype
  23746. required: true
  23747. type: integer
  23748. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23749. in: query
  23750. name: cycletype
  23751. required: true
  23752. type: integer
  23753. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23754. 全(0)【原值】
  23755. in: query
  23756. name: cycletime
  23757. required: true
  23758. type: string
  23759. produces:
  23760. - application/json
  23761. responses:
  23762. "200":
  23763. description: OK
  23764. schema:
  23765. items:
  23766. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23767. type: array
  23768. "500":
  23769. description: Internal Server Error
  23770. schema:
  23771. $ref: '#/definitions/app.Response'
  23772. security:
  23773. - ApiKeyAuth: []
  23774. summary: 查询敞口报表
  23775. tags:
  23776. - 企业风险管理v3(app)
  23777. /Ermcp3/QryAreaSpotplReport:
  23778. get:
  23779. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23780. parameters:
  23781. - description: 用户ID
  23782. in: query
  23783. name: userid
  23784. required: true
  23785. type: integer
  23786. - description: 查询类型 1-报表 2-报表明细
  23787. in: query
  23788. name: querytype
  23789. required: true
  23790. type: integer
  23791. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23792. in: query
  23793. name: cycletype
  23794. required: true
  23795. type: integer
  23796. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23797. 全(0)【原值】
  23798. in: query
  23799. name: cycletime
  23800. required: true
  23801. type: string
  23802. - description: 现货品种id(明细必填)
  23803. in: query
  23804. name: deliverygoodsid
  23805. type: integer
  23806. - description: 币种id(明细必填)
  23807. in: query
  23808. name: currencyid
  23809. type: integer
  23810. - description: 日/周/月报表汇总维度 1:品种+品类
  23811. in: query
  23812. name: sumflag
  23813. type: integer
  23814. produces:
  23815. - application/json
  23816. responses:
  23817. "200":
  23818. description: OK
  23819. schema:
  23820. items:
  23821. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23822. type: array
  23823. "500":
  23824. description: Internal Server Error
  23825. schema:
  23826. $ref: '#/definitions/app.Response'
  23827. security:
  23828. - ApiKeyAuth: []
  23829. summary: 查询现货报表
  23830. tags:
  23831. - 企业风险管理v3(app)
  23832. /Ermcp3/QryAreaStockReport:
  23833. get:
  23834. parameters:
  23835. - description: 用户ID
  23836. in: query
  23837. name: userid
  23838. required: true
  23839. type: integer
  23840. - description: 查询类型 1-报表 2-报表明细
  23841. in: query
  23842. name: querytype
  23843. required: true
  23844. type: integer
  23845. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23846. in: query
  23847. name: cycletype
  23848. required: true
  23849. type: integer
  23850. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23851. 全(0)【原值】
  23852. in: query
  23853. name: cycletime
  23854. required: true
  23855. type: string
  23856. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23857. in: query
  23858. name: sumfields
  23859. type: string
  23860. - description: 品种ID
  23861. in: query
  23862. name: deliverygoodsid
  23863. type: integer
  23864. - description: 品类ID
  23865. in: query
  23866. name: wrstandardid
  23867. type: integer
  23868. - description: 品牌ID
  23869. in: query
  23870. name: spotgoodsbrandid
  23871. type: integer
  23872. - description: 仓库ID
  23873. in: query
  23874. name: warehouseinfoid
  23875. type: integer
  23876. produces:
  23877. - application/json
  23878. responses:
  23879. "200":
  23880. description: OK
  23881. schema:
  23882. items:
  23883. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23884. type: array
  23885. "500":
  23886. description: Internal Server Error
  23887. schema:
  23888. $ref: '#/definitions/app.Response'
  23889. security:
  23890. - ApiKeyAuth: []
  23891. summary: 查询库存报表
  23892. tags:
  23893. - 企业风险管理v3(app)
  23894. /Ermcp3/QryAreaSumPL:
  23895. get:
  23896. parameters:
  23897. - description: 用户ID
  23898. in: query
  23899. name: userid
  23900. required: true
  23901. type: integer
  23902. - description: 查询类型 1-报表 2-报表明细
  23903. in: query
  23904. name: querytype
  23905. required: true
  23906. type: integer
  23907. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23908. in: query
  23909. name: cycletype
  23910. required: true
  23911. type: integer
  23912. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23913. 全(0)【原值】
  23914. in: query
  23915. name: cycletime
  23916. required: true
  23917. type: string
  23918. - description: 币种id(明细必填)
  23919. in: query
  23920. name: currencyid
  23921. type: integer
  23922. produces:
  23923. - application/json
  23924. responses:
  23925. "200":
  23926. description: OK
  23927. schema:
  23928. items:
  23929. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23930. type: array
  23931. "500":
  23932. description: Internal Server Error
  23933. schema:
  23934. $ref: '#/definitions/app.Response'
  23935. security:
  23936. - ApiKeyAuth: []
  23937. summary: 查询汇总损益表
  23938. tags:
  23939. - 企业风险管理v3(app)
  23940. /Ermcp3/QryFinanceReport:
  23941. get:
  23942. parameters:
  23943. - description: 用户ID
  23944. in: query
  23945. name: userid
  23946. required: true
  23947. type: integer
  23948. - description: 查询类型 1-报表 2-报表明细
  23949. in: query
  23950. name: querytype
  23951. required: true
  23952. type: integer
  23953. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23954. in: query
  23955. name: cycletype
  23956. required: true
  23957. type: integer
  23958. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23959. 全(0)【原值】
  23960. in: query
  23961. name: cycletime
  23962. required: true
  23963. type: string
  23964. - description: 币种id(报表明细必填)
  23965. in: query
  23966. name: currencyid
  23967. type: integer
  23968. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23969. in: query
  23970. name: sumfields
  23971. type: string
  23972. produces:
  23973. - application/json
  23974. responses:
  23975. "200":
  23976. description: OK
  23977. schema:
  23978. items:
  23979. $ref: '#/definitions/models.Ermcp3FinanceReport'
  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. - 企业风险管理v3(app)
  23990. /Ermcp3/QrySCMiddleGoodsReport:
  23991. get:
  23992. parameters:
  23993. - description: 用户ID
  23994. in: query
  23995. name: userid
  23996. required: true
  23997. type: integer
  23998. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23999. in: query
  24000. name: cycletype
  24001. required: true
  24002. type: integer
  24003. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24004. 全(0)【原值】
  24005. in: query
  24006. name: cycletime
  24007. required: true
  24008. type: string
  24009. - description: 合同id
  24010. in: query
  24011. name: spotcontractid
  24012. type: integer
  24013. - description: 套保品种id
  24014. in: query
  24015. name: middlegoodsid
  24016. type: integer
  24017. - description: 现货品种id
  24018. in: query
  24019. name: deliverygoodsid
  24020. type: integer
  24021. - description: 现货商品id
  24022. in: query
  24023. name: wrstandardid
  24024. type: integer
  24025. - description: 合同编号(模糊匹配)
  24026. in: query
  24027. name: contractno
  24028. type: string
  24029. produces:
  24030. - application/json
  24031. responses:
  24032. "200":
  24033. description: OK
  24034. schema:
  24035. items:
  24036. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  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. - 企业风险管理v3(app)
  24047. /Ermcp3/QryTaFutureDataReport:
  24048. get:
  24049. parameters:
  24050. - description: 用户ID
  24051. in: query
  24052. name: userid
  24053. required: true
  24054. type: integer
  24055. - description: 查询类型 1-报表 2-报表明细
  24056. in: query
  24057. name: querytype
  24058. required: true
  24059. type: integer
  24060. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24061. in: query
  24062. name: cycletype
  24063. required: true
  24064. type: integer
  24065. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24066. 全(0)【原值】
  24067. in: query
  24068. name: cycletime
  24069. required: true
  24070. type: string
  24071. - description: 币种id(查明细必填)
  24072. in: query
  24073. name: currencyid
  24074. type: integer
  24075. - description: 品种id(查明细必填)
  24076. in: query
  24077. name: goodsgroupid
  24078. type: integer
  24079. - description: 商品id(查明细必填)
  24080. in: query
  24081. name: goodsid
  24082. type: integer
  24083. - description: 买卖方向(查明细必填)
  24084. in: query
  24085. name: buyorsell
  24086. type: integer
  24087. produces:
  24088. - application/json
  24089. responses:
  24090. "200":
  24091. description: OK
  24092. schema:
  24093. items:
  24094. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24095. type: array
  24096. "500":
  24097. description: Internal Server Error
  24098. schema:
  24099. $ref: '#/definitions/app.Response'
  24100. security:
  24101. - ApiKeyAuth: []
  24102. summary: 查询期货报表
  24103. tags:
  24104. - 企业风险管理v3(app)
  24105. /Ermcp3/QueryAreaStock:
  24106. get:
  24107. parameters:
  24108. - description: 用户ID
  24109. in: query
  24110. name: userid
  24111. required: true
  24112. type: integer
  24113. produces:
  24114. - application/json
  24115. responses:
  24116. "200":
  24117. description: OK
  24118. schema:
  24119. items:
  24120. $ref: '#/definitions/models.Ermcp3AreaStock'
  24121. type: array
  24122. "500":
  24123. description: Internal Server Error
  24124. schema:
  24125. $ref: '#/definitions/app.Response'
  24126. security:
  24127. - ApiKeyAuth: []
  24128. summary: 查询机构库存(库存管理/当前库存)
  24129. tags:
  24130. - 企业风险管理v3(app)
  24131. /Ermcp3/QueryAreaStockApply:
  24132. get:
  24133. parameters:
  24134. - description: 用户ID
  24135. in: query
  24136. name: userid
  24137. required: true
  24138. type: integer
  24139. - description: 用户类型 2-机构 7-企业成员
  24140. in: query
  24141. name: usertype
  24142. type: integer
  24143. - description: 现货商品ID
  24144. in: query
  24145. name: deliverygoodsid
  24146. type: integer
  24147. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24148. in: query
  24149. name: inouttype
  24150. type: string
  24151. - description: 合同ID
  24152. in: query
  24153. name: spotcontractid
  24154. type: integer
  24155. - description: 品类ID
  24156. in: query
  24157. name: wrstandardid
  24158. type: integer
  24159. - description: 品牌ID
  24160. in: query
  24161. name: spotgoodsbrandid
  24162. type: integer
  24163. - description: 仓库ID
  24164. in: query
  24165. name: warehouseinfoid
  24166. type: integer
  24167. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24168. in: query
  24169. name: applystatus
  24170. type: string
  24171. produces:
  24172. - application/json
  24173. responses:
  24174. "200":
  24175. description: OK
  24176. schema:
  24177. items:
  24178. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24179. type: array
  24180. "500":
  24181. description: Internal Server Error
  24182. schema:
  24183. $ref: '#/definitions/app.Response'
  24184. security:
  24185. - ApiKeyAuth: []
  24186. summary: 查询库存申请(出入库记录|库存审核)
  24187. tags:
  24188. - 企业风险管理v3(app)
  24189. /Ermcp3/QueryAreaStockApplySum:
  24190. get:
  24191. parameters:
  24192. - description: 合同ID
  24193. in: query
  24194. name: spotcontractid
  24195. required: true
  24196. type: integer
  24197. produces:
  24198. - application/json
  24199. responses:
  24200. "200":
  24201. description: OK
  24202. schema:
  24203. items:
  24204. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24205. type: array
  24206. "500":
  24207. description: Internal Server Error
  24208. schema:
  24209. $ref: '#/definitions/app.Response'
  24210. security:
  24211. - ApiKeyAuth: []
  24212. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24213. tags:
  24214. - 企业风险管理v3(app)
  24215. /Ermcp3/QueryDGFactoryItem:
  24216. get:
  24217. parameters:
  24218. - description: 用户id
  24219. in: query
  24220. name: userid
  24221. type: integer
  24222. - description: 用户类型 2-机构 7-企业成员
  24223. in: query
  24224. name: usertype
  24225. type: integer
  24226. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24227. in: query
  24228. name: dgfactoryitemid
  24229. type: integer
  24230. - description: 现货品种ID
  24231. in: query
  24232. name: deliverygoodsid
  24233. type: integer
  24234. - description: 要素项类型
  24235. in: query
  24236. name: dgfactoryitemtypeid
  24237. type: integer
  24238. - description: 顺序
  24239. in: query
  24240. name: orderindex
  24241. type: integer
  24242. produces:
  24243. - application/json
  24244. responses:
  24245. "200":
  24246. description: OK
  24247. schema:
  24248. items:
  24249. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24250. type: array
  24251. "500":
  24252. description: Internal Server Error
  24253. schema:
  24254. $ref: '#/definitions/app.Response'
  24255. security:
  24256. - ApiKeyAuth: []
  24257. summary: 查询品种要素定义项
  24258. tags:
  24259. - 企业风险管理v3(app)
  24260. /Ermcp3/QueryDeliveryGoods:
  24261. get:
  24262. parameters:
  24263. - description: 用户id
  24264. in: query
  24265. name: userid
  24266. required: true
  24267. type: integer
  24268. - description: 用户类型 2-机构 7-企业成员
  24269. in: query
  24270. name: usertype
  24271. type: integer
  24272. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24273. in: query
  24274. name: excludecfg
  24275. type: integer
  24276. produces:
  24277. - application/json
  24278. responses:
  24279. "200":
  24280. description: OK
  24281. schema:
  24282. items:
  24283. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24284. type: array
  24285. "500":
  24286. description: Internal Server Error
  24287. schema:
  24288. $ref: '#/definitions/app.Response'
  24289. security:
  24290. - ApiKeyAuth: []
  24291. summary: 查询现货商品
  24292. tags:
  24293. - 企业风险管理v3(app)
  24294. /Ermcp3/QueryDeliveryGoodsDetail:
  24295. get:
  24296. parameters:
  24297. - description: 用户id
  24298. in: query
  24299. name: userid
  24300. required: true
  24301. type: integer
  24302. - description: 用户类型 2-机构 7-企业成员
  24303. in: query
  24304. name: usertype
  24305. type: integer
  24306. - description: 现货商品id
  24307. in: query
  24308. name: deliverygoodsid
  24309. type: integer
  24310. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24311. in: query
  24312. name: filtersubempty
  24313. type: integer
  24314. produces:
  24315. - application/json
  24316. responses:
  24317. "200":
  24318. description: OK
  24319. schema:
  24320. items:
  24321. $ref: '#/definitions/models.XHDeliveryGoods'
  24322. type: array
  24323. "500":
  24324. description: Internal Server Error
  24325. schema:
  24326. $ref: '#/definitions/app.Response'
  24327. security:
  24328. - ApiKeyAuth: []
  24329. summary: 查询现货商品详情
  24330. tags:
  24331. - 企业风险管理v3(app)
  24332. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24333. get:
  24334. parameters:
  24335. - description: 合同id
  24336. in: query
  24337. name: spotcontractid
  24338. required: true
  24339. type: string
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. items:
  24347. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24348. type: array
  24349. "500":
  24350. description: Internal Server Error
  24351. schema:
  24352. $ref: '#/definitions/app.Response'
  24353. security:
  24354. - ApiKeyAuth: []
  24355. summary: 查询现货合同期现配置信息
  24356. tags:
  24357. - 企业风险管理v3(app)
  24358. /Ermcp3/QueryExposureDetail:
  24359. get:
  24360. parameters:
  24361. - description: 用户id
  24362. in: query
  24363. name: userid
  24364. required: true
  24365. type: integer
  24366. - description: 用户类型 2-机构 7-企业成员
  24367. in: query
  24368. name: usertype
  24369. type: integer
  24370. - description: 套保商品
  24371. in: query
  24372. name: middlegoodsid
  24373. required: true
  24374. type: integer
  24375. produces:
  24376. - application/json
  24377. responses:
  24378. "200":
  24379. description: OK
  24380. schema:
  24381. items:
  24382. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24383. type: array
  24384. "500":
  24385. description: Internal Server Error
  24386. schema:
  24387. $ref: '#/definitions/app.Response'
  24388. security:
  24389. - ApiKeyAuth: []
  24390. summary: 查询敞口现货明细
  24391. tags:
  24392. - 企业风险管理v3(app)
  24393. /Ermcp3/QueryExposureSpot:
  24394. get:
  24395. parameters:
  24396. - description: 用户id
  24397. in: query
  24398. name: userid
  24399. required: true
  24400. type: integer
  24401. - description: 用户类型 2-机构 7-企业成员
  24402. in: query
  24403. name: usertype
  24404. type: integer
  24405. produces:
  24406. - application/json
  24407. responses:
  24408. "200":
  24409. description: OK
  24410. schema:
  24411. items:
  24412. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24413. type: array
  24414. "500":
  24415. description: Internal Server Error
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. security:
  24419. - ApiKeyAuth: []
  24420. summary: 查询敞口现货头寸(敞口/现货头寸)
  24421. tags:
  24422. - 企业风险管理v3(app)
  24423. /Ermcp3/QueryExposureSpotDetail:
  24424. get:
  24425. parameters:
  24426. - description: 用户id
  24427. in: query
  24428. name: userid
  24429. required: true
  24430. type: integer
  24431. - description: 用户类型 2-机构 7-企业成员
  24432. in: query
  24433. name: usertype
  24434. type: integer
  24435. - description: 现货商品ID
  24436. in: query
  24437. name: wrstandardid
  24438. required: true
  24439. type: integer
  24440. produces:
  24441. - application/json
  24442. responses:
  24443. "200":
  24444. description: OK
  24445. schema:
  24446. items:
  24447. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24448. type: array
  24449. "500":
  24450. description: Internal Server Error
  24451. schema:
  24452. $ref: '#/definitions/app.Response'
  24453. security:
  24454. - ApiKeyAuth: []
  24455. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24456. tags:
  24457. - 企业风险管理v3(app)
  24458. /Ermcp3/QueryGoodsGroup:
  24459. get:
  24460. parameters:
  24461. - description: 用户id
  24462. in: query
  24463. name: userid
  24464. required: true
  24465. type: integer
  24466. - description: 用户类型 2-机构 7-企业成员
  24467. in: query
  24468. name: usertype
  24469. type: integer
  24470. - description: 排除套保品中已关联的商品组 1-排除
  24471. in: query
  24472. name: excludecfg
  24473. type: integer
  24474. produces:
  24475. - application/json
  24476. responses:
  24477. "200":
  24478. description: OK
  24479. schema:
  24480. items:
  24481. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24482. type: array
  24483. "500":
  24484. description: Internal Server Error
  24485. schema:
  24486. $ref: '#/definitions/app.Response'
  24487. security:
  24488. - ApiKeyAuth: []
  24489. summary: 查询期货商品组
  24490. tags:
  24491. - 企业风险管理v3(app)
  24492. /Ermcp3/QueryGoodsWrstandard:
  24493. get:
  24494. parameters:
  24495. - description: 用户id
  24496. in: query
  24497. name: userid
  24498. required: true
  24499. type: integer
  24500. - description: 用户类型 2-机构 7-企业成员
  24501. in: query
  24502. name: usertype
  24503. type: integer
  24504. - description: 现货商品id
  24505. in: query
  24506. name: deliverygoodsid
  24507. type: integer
  24508. produces:
  24509. - application/json
  24510. responses:
  24511. "200":
  24512. description: OK
  24513. schema:
  24514. items:
  24515. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24516. type: array
  24517. "500":
  24518. description: Internal Server Error
  24519. schema:
  24520. $ref: '#/definitions/app.Response'
  24521. security:
  24522. - ApiKeyAuth: []
  24523. summary: 查询商品品类
  24524. tags:
  24525. - 企业风险管理v3(app)
  24526. /Ermcp3/QueryGoodsbrand:
  24527. get:
  24528. parameters:
  24529. - description: 用户id
  24530. in: query
  24531. name: userid
  24532. required: true
  24533. type: integer
  24534. - description: 用户类型 2-机构 7-企业成员
  24535. in: query
  24536. name: usertype
  24537. type: integer
  24538. produces:
  24539. - application/json
  24540. responses:
  24541. "200":
  24542. description: OK
  24543. schema:
  24544. items:
  24545. $ref: '#/definitions/models.Ermcp3Brand'
  24546. type: array
  24547. "500":
  24548. description: Internal Server Error
  24549. schema:
  24550. $ref: '#/definitions/app.Response'
  24551. security:
  24552. - ApiKeyAuth: []
  24553. summary: 查询商品品牌
  24554. tags:
  24555. - 企业风险管理v3(app)
  24556. /Ermcp3/QueryHPMiddleGoods:
  24557. get:
  24558. parameters:
  24559. - description: 用户ID(填登录用户的userid)
  24560. in: query
  24561. name: userid
  24562. required: true
  24563. type: integer
  24564. - description: 买卖方向 0-买 1-卖
  24565. in: query
  24566. name: buyorsell
  24567. required: true
  24568. type: integer
  24569. - description: 商品组id
  24570. in: query
  24571. name: goodsgroupid
  24572. required: true
  24573. type: integer
  24574. - description: 套保计划编号(模糊匹配)
  24575. in: query
  24576. name: hedgeplanno
  24577. type: string
  24578. - description: 现货商品名称(模糊匹配)
  24579. in: query
  24580. name: wrstandardname
  24581. type: string
  24582. produces:
  24583. - application/json
  24584. responses:
  24585. "200":
  24586. description: OK
  24587. schema:
  24588. items:
  24589. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24590. type: array
  24591. "500":
  24592. description: Internal Server Error
  24593. schema:
  24594. $ref: '#/definitions/app.Response'
  24595. security:
  24596. - ApiKeyAuth: []
  24597. summary: 查询可关联套保计划
  24598. tags:
  24599. - 企业风险管理v3(app)
  24600. /Ermcp3/QueryHedgePlan:
  24601. get:
  24602. parameters:
  24603. - description: 用户ID
  24604. in: query
  24605. name: userid
  24606. required: true
  24607. type: integer
  24608. - description: 用户类型 2-机构 7-企业成员
  24609. in: query
  24610. name: usertype
  24611. type: integer
  24612. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24613. in: query
  24614. name: hedgeplanstatus
  24615. required: true
  24616. type: string
  24617. produces:
  24618. - application/json
  24619. responses:
  24620. "200":
  24621. description: OK
  24622. schema:
  24623. items:
  24624. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24625. type: array
  24626. "500":
  24627. description: Internal Server Error
  24628. schema:
  24629. $ref: '#/definitions/app.Response'
  24630. security:
  24631. - ApiKeyAuth: []
  24632. summary: 查询套保计划
  24633. tags:
  24634. - 企业风险管理v3(app)
  24635. /Ermcp3/QueryInnerTradeLink:
  24636. get:
  24637. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24638. parameters:
  24639. - description: 外部成交单号
  24640. in: query
  24641. name: outtradeid
  24642. required: true
  24643. type: integer
  24644. produces:
  24645. - application/json
  24646. responses:
  24647. "200":
  24648. description: OK
  24649. schema:
  24650. items:
  24651. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24652. type: array
  24653. "500":
  24654. description: Internal Server Error
  24655. schema:
  24656. $ref: '#/definitions/app.Response'
  24657. security:
  24658. - ApiKeyAuth: []
  24659. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24660. tags:
  24661. - 企业风险管理v3(app)
  24662. /Ermcp3/QueryMiddleGoodsDetail:
  24663. get:
  24664. parameters:
  24665. - description: 用户id
  24666. in: query
  24667. name: userid
  24668. required: true
  24669. type: integer
  24670. - description: 用户类型 2-机构 7-企业成员
  24671. in: query
  24672. name: usertype
  24673. type: integer
  24674. - description: 套保品种id
  24675. in: query
  24676. name: middlegoodsid
  24677. type: integer
  24678. produces:
  24679. - application/json
  24680. responses:
  24681. "200":
  24682. description: OK
  24683. schema:
  24684. items:
  24685. $ref: '#/definitions/models.TBMiddleGoods'
  24686. type: array
  24687. "500":
  24688. description: Internal Server Error
  24689. schema:
  24690. $ref: '#/definitions/app.Response'
  24691. security:
  24692. - ApiKeyAuth: []
  24693. summary: 查询套保品种详情(套保品种/商品详情)
  24694. tags:
  24695. - 企业风险管理v3(app)
  24696. /Ermcp3/QueryOutTradeLink:
  24697. get:
  24698. description: 页面 app 现货->期现关联->外部成交单关联
  24699. parameters:
  24700. - description: 用户ID(填登录用户的userid)
  24701. in: query
  24702. name: userid
  24703. required: true
  24704. type: integer
  24705. - description: 外部订单号(模糊匹配)
  24706. in: query
  24707. name: outtradeid
  24708. type: string
  24709. - description: 合约名称/代码(模糊匹配)
  24710. in: query
  24711. name: goodsname
  24712. type: string
  24713. - description: 关联状态 0-未关联 1-已关联
  24714. in: query
  24715. name: hasinnerorder
  24716. type: integer
  24717. produces:
  24718. - application/json
  24719. responses:
  24720. "200":
  24721. description: OK
  24722. schema:
  24723. items:
  24724. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24725. type: array
  24726. "500":
  24727. description: Internal Server Error
  24728. schema:
  24729. $ref: '#/definitions/app.Response'
  24730. security:
  24731. - ApiKeyAuth: []
  24732. summary: 查询外部成交单关联
  24733. tags:
  24734. - 企业风险管理v3(app)
  24735. /Ermcp3/QueryPaAreaAuditCfg:
  24736. get:
  24737. parameters:
  24738. - description: 用户id
  24739. in: query
  24740. name: userid
  24741. required: true
  24742. type: integer
  24743. produces:
  24744. - application/json
  24745. responses:
  24746. "200":
  24747. description: OK
  24748. schema:
  24749. items:
  24750. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24751. type: array
  24752. "500":
  24753. description: Internal Server Error
  24754. schema:
  24755. $ref: '#/definitions/app.Response'
  24756. security:
  24757. - ApiKeyAuth: []
  24758. summary: 查询审核设置
  24759. tags:
  24760. - 企业风险管理v3(app)
  24761. /Ermcp3/QueryPaAreaSubject:
  24762. get:
  24763. parameters:
  24764. - description: 用户id
  24765. in: query
  24766. name: userid
  24767. required: true
  24768. type: integer
  24769. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24770. in: query
  24771. name: subjectid
  24772. type: integer
  24773. - description: 主体类型 - 1:交易主体 2:业务部门
  24774. in: query
  24775. name: subjecttype
  24776. type: integer
  24777. - description: '主体状态 - 1:正常 2: 停用'
  24778. in: query
  24779. name: subjectstatus
  24780. type: integer
  24781. produces:
  24782. - application/json
  24783. responses:
  24784. "200":
  24785. description: OK
  24786. schema:
  24787. items:
  24788. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24789. type: array
  24790. "500":
  24791. description: Internal Server Error
  24792. schema:
  24793. $ref: '#/definitions/app.Response'
  24794. security:
  24795. - ApiKeyAuth: []
  24796. summary: 查询交易主体
  24797. tags:
  24798. - 企业风险管理v3(app)
  24799. /Ermcp3/QueryPaTradeLink:
  24800. get:
  24801. description: 页面 app 现货->期现关联->期现单据关联
  24802. parameters:
  24803. - description: 用户ID
  24804. in: query
  24805. name: userid
  24806. required: true
  24807. type: integer
  24808. produces:
  24809. - application/json
  24810. responses:
  24811. "200":
  24812. description: OK
  24813. schema:
  24814. items:
  24815. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24816. type: array
  24817. "500":
  24818. description: Internal Server Error
  24819. schema:
  24820. $ref: '#/definitions/app.Response'
  24821. security:
  24822. - ApiKeyAuth: []
  24823. summary: 查询期现单据关联
  24824. tags:
  24825. - 企业风险管理v3(app)
  24826. /Ermcp3/QueryPaTradeLinkDetail:
  24827. get:
  24828. description: 页面 app 现货->期现关联->关联记录
  24829. parameters:
  24830. - description: 用户ID(填登录用户的userid)
  24831. in: query
  24832. name: userid
  24833. required: true
  24834. type: integer
  24835. - description: 关联状态 1:成功 2:失败 3:解绑
  24836. in: query
  24837. name: linkstatus
  24838. type: integer
  24839. - description: 期货订单号(模糊匹配)
  24840. in: query
  24841. name: tradeid
  24842. type: string
  24843. - description: 现货编号(模糊匹配)
  24844. in: query
  24845. name: contractno
  24846. type: string
  24847. - description: 期货账户(模糊匹配)
  24848. in: query
  24849. name: taname
  24850. type: string
  24851. produces:
  24852. - application/json
  24853. responses:
  24854. "200":
  24855. description: OK
  24856. schema:
  24857. items:
  24858. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24859. type: array
  24860. "500":
  24861. description: Internal Server Error
  24862. schema:
  24863. $ref: '#/definitions/app.Response'
  24864. security:
  24865. - ApiKeyAuth: []
  24866. summary: 查询期现关联记录
  24867. tags:
  24868. - 企业风险管理v3(app)
  24869. /Ermcp3/QueryParamChangeApp:
  24870. get:
  24871. description: |-
  24872. 原型页面:
  24873. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24874. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24875. parameters:
  24876. - description: 用户ID
  24877. in: query
  24878. name: userid
  24879. required: true
  24880. type: integer
  24881. - description: 现货品种id
  24882. in: query
  24883. name: deliverygoodsid
  24884. type: integer
  24885. - description: 现货商品id
  24886. in: query
  24887. name: wrstandardid
  24888. type: integer
  24889. - description: 套保商品id
  24890. in: query
  24891. name: middlegoodsid
  24892. type: integer
  24893. - description: 操作类型 1:新增 2:修改
  24894. in: query
  24895. name: operatetype
  24896. type: integer
  24897. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24898. in: query
  24899. name: paramchangetype
  24900. type: integer
  24901. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24902. in: query
  24903. name: ftstatus
  24904. type: string
  24905. produces:
  24906. - application/json
  24907. responses:
  24908. "200":
  24909. description: OK
  24910. schema:
  24911. items:
  24912. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24913. type: array
  24914. "500":
  24915. description: Internal Server Error
  24916. schema:
  24917. $ref: '#/definitions/app.Response'
  24918. security:
  24919. - ApiKeyAuth: []
  24920. summary: 查询现货商品参数变更申请(流水)
  24921. tags:
  24922. - 企业风险管理v3(app)
  24923. /Ermcp3/QueryRootUserAccount:
  24924. get:
  24925. parameters:
  24926. - description: 用户ID
  24927. in: query
  24928. name: userid
  24929. required: true
  24930. type: integer
  24931. produces:
  24932. - application/json
  24933. responses:
  24934. "200":
  24935. description: OK
  24936. schema:
  24937. items:
  24938. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24939. type: array
  24940. "500":
  24941. description: Internal Server Error
  24942. schema:
  24943. $ref: '#/definitions/app.Response'
  24944. security:
  24945. - ApiKeyAuth: []
  24946. summary: 查询顶级用户信息
  24947. tags:
  24948. - 企业风险管理v3(app)
  24949. /Ermcp3/QuerySCMiddleGoods:
  24950. get:
  24951. description: |-
  24952. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24953. 现货编号 即 合同编号
  24954. parameters:
  24955. - description: 用户ID(填登录用户的userid)
  24956. in: query
  24957. name: userid
  24958. required: true
  24959. type: integer
  24960. - description: 买卖方向 0-买 1-卖
  24961. in: query
  24962. name: buyorsell
  24963. required: true
  24964. type: integer
  24965. - description: 商品组id
  24966. in: query
  24967. name: goodsgroupid
  24968. required: true
  24969. type: integer
  24970. - description: 业务类型 1:套保 2:套利
  24971. in: query
  24972. name: biztype
  24973. type: integer
  24974. - description: 现货编号(模糊匹配)
  24975. in: query
  24976. name: contractno
  24977. type: string
  24978. - description: 对手方(模糊匹配)
  24979. in: query
  24980. name: customername
  24981. type: string
  24982. - description: 现货商品名称(模糊匹配)
  24983. in: query
  24984. name: wrstandardname
  24985. type: string
  24986. produces:
  24987. - application/json
  24988. responses:
  24989. "200":
  24990. description: OK
  24991. schema:
  24992. items:
  24993. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24994. type: array
  24995. "500":
  24996. description: Internal Server Error
  24997. schema:
  24998. $ref: '#/definitions/app.Response'
  24999. security:
  25000. - ApiKeyAuth: []
  25001. summary: 查询现货订单
  25002. tags:
  25003. - 企业风险管理v3(app)
  25004. /Ermcp3/QuerySpotContract:
  25005. get:
  25006. parameters:
  25007. - description: 用户id(当指定contractid, userid可不填)
  25008. in: query
  25009. name: userid
  25010. required: true
  25011. type: integer
  25012. - description: 用户类型 2-机构 7-企业成员
  25013. in: query
  25014. name: usertype
  25015. type: integer
  25016. - description: 合同类型 1-采购, -1-销售
  25017. in: query
  25018. name: contracttype
  25019. type: integer
  25020. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25021. in: query
  25022. name: querytype
  25023. type: string
  25024. - description: 合同ID(SpotContractId)
  25025. in: query
  25026. name: contractid
  25027. type: string
  25028. - description: 合同编号(模糊匹配)
  25029. in: query
  25030. name: contractno
  25031. type: string
  25032. - description: 商品名称(模糊匹配)
  25033. in: query
  25034. name: wrstandardname
  25035. type: string
  25036. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25037. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25038. in: query
  25039. name: status
  25040. type: string
  25041. - description: 是否只查今日的合同 1-查今日合同
  25042. in: query
  25043. name: istoday
  25044. type: integer
  25045. produces:
  25046. - application/json
  25047. responses:
  25048. "200":
  25049. description: OK
  25050. schema:
  25051. items:
  25052. $ref: '#/definitions/models.Ermcp3Contract'
  25053. type: array
  25054. "500":
  25055. description: Internal Server Error
  25056. schema:
  25057. $ref: '#/definitions/app.Response'
  25058. security:
  25059. - ApiKeyAuth: []
  25060. summary: 查询现货合同
  25061. tags:
  25062. - 企业风险管理v3(app)
  25063. /Ermcp3/QuerySpotContractBS:
  25064. get:
  25065. parameters:
  25066. - description: 用户id
  25067. in: query
  25068. name: userid
  25069. required: true
  25070. type: integer
  25071. - description: 用户类型 2-机构 7-企业成员
  25072. in: query
  25073. name: usertype
  25074. type: integer
  25075. - description: 合同类型 1-采购, -1-销售
  25076. in: query
  25077. name: contracttype
  25078. required: true
  25079. type: integer
  25080. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25081. in: query
  25082. name: querytype
  25083. type: integer
  25084. - description: 合同ID(SpotContractId)
  25085. in: query
  25086. name: contractid
  25087. type: string
  25088. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25089. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25090. in: query
  25091. name: status
  25092. type: string
  25093. - description: 是否只查今日的合同 1-查今日合同
  25094. in: query
  25095. name: istoday
  25096. type: integer
  25097. produces:
  25098. - application/json
  25099. responses:
  25100. "200":
  25101. description: OK
  25102. schema:
  25103. items:
  25104. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25105. type: array
  25106. "500":
  25107. description: Internal Server Error
  25108. schema:
  25109. $ref: '#/definitions/app.Response'
  25110. security:
  25111. - ApiKeyAuth: []
  25112. summary: 查询合同(采购/销售)
  25113. tags:
  25114. - 企业风险管理v3(app)
  25115. /Ermcp3/QuerySpotGoodsPrice:
  25116. get:
  25117. parameters:
  25118. - description: 用户ID
  25119. in: query
  25120. name: userid
  25121. required: true
  25122. type: integer
  25123. produces:
  25124. - application/json
  25125. responses:
  25126. "200":
  25127. description: OK
  25128. schema:
  25129. items:
  25130. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25131. type: array
  25132. "500":
  25133. description: Internal Server Error
  25134. schema:
  25135. $ref: '#/definitions/app.Response'
  25136. security:
  25137. - ApiKeyAuth: []
  25138. summary: 查询现货市价(现货市价)
  25139. tags:
  25140. - 企业风险管理v3(app)
  25141. /Ermcp3/QuerySpotGoodsPriceLog:
  25142. get:
  25143. parameters:
  25144. - description: 用户ID
  25145. in: query
  25146. name: userid
  25147. required: true
  25148. type: integer
  25149. - description: 现货商品ID
  25150. in: query
  25151. name: deliverygoodsid
  25152. required: true
  25153. type: integer
  25154. - description: 品牌ID
  25155. in: query
  25156. name: brandid
  25157. type: integer
  25158. - description: 品类ID
  25159. in: query
  25160. name: wrstandardid
  25161. type: integer
  25162. produces:
  25163. - application/json
  25164. responses:
  25165. "200":
  25166. description: OK
  25167. schema:
  25168. items:
  25169. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25170. type: array
  25171. "500":
  25172. description: Internal Server Error
  25173. schema:
  25174. $ref: '#/definitions/app.Response'
  25175. security:
  25176. - ApiKeyAuth: []
  25177. summary: 查询现货市价详情(现货市价/详情)
  25178. tags:
  25179. - 企业风险管理v3(app)
  25180. /Ermcp3/QuerySubTaaccount:
  25181. get:
  25182. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25183. parameters:
  25184. - description: 母账号id
  25185. in: query
  25186. name: parentaccountid
  25187. type: integer
  25188. - description: 母账号代码
  25189. in: query
  25190. name: parentaccountcode
  25191. type: string
  25192. produces:
  25193. - application/json
  25194. responses:
  25195. "200":
  25196. description: OK
  25197. schema:
  25198. items:
  25199. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25200. type: array
  25201. "500":
  25202. description: Internal Server Error
  25203. schema:
  25204. $ref: '#/definitions/app.Response'
  25205. security:
  25206. - ApiKeyAuth: []
  25207. summary: 查询期货子账户
  25208. tags:
  25209. - 企业风险管理v3(app)
  25210. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25211. get:
  25212. parameters:
  25213. - description: 套期项目ID
  25214. in: query
  25215. name: hedgeditemid
  25216. required: true
  25217. type: integer
  25218. produces:
  25219. - application/json
  25220. responses:
  25221. "200":
  25222. description: OK
  25223. schema:
  25224. items:
  25225. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25226. type: array
  25227. "500":
  25228. description: Internal Server Error
  25229. schema:
  25230. $ref: '#/definitions/app.Response'
  25231. security:
  25232. - ApiKeyAuth: []
  25233. summary: 现货成交明细查询
  25234. tags:
  25235. - 企业风险管理v8
  25236. /Ermcp8/QueryERMCP2HedgedItemspot:
  25237. get:
  25238. parameters:
  25239. - description: 套期项目ID
  25240. in: query
  25241. name: hedgeditemid
  25242. required: true
  25243. type: integer
  25244. produces:
  25245. - application/json
  25246. responses:
  25247. "200":
  25248. description: OK
  25249. schema:
  25250. items:
  25251. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25252. type: array
  25253. "500":
  25254. description: Internal Server Error
  25255. schema:
  25256. $ref: '#/definitions/app.Response'
  25257. security:
  25258. - ApiKeyAuth: []
  25259. summary: 套期计划明细查询
  25260. tags:
  25261. - 企业风险管理v8
  25262. /Ermcp8/QueryERMCPJRLinkPos:
  25263. get:
  25264. parameters:
  25265. - description: 套期项目ID
  25266. in: query
  25267. name: hedgeditemid
  25268. required: true
  25269. type: integer
  25270. produces:
  25271. - application/json
  25272. responses:
  25273. "200":
  25274. description: OK
  25275. schema:
  25276. items:
  25277. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25278. type: array
  25279. "500":
  25280. description: Internal Server Error
  25281. schema:
  25282. $ref: '#/definitions/app.Response'
  25283. security:
  25284. - ApiKeyAuth: []
  25285. summary: 期货持仓明细查询
  25286. tags:
  25287. - 企业风险管理v8
  25288. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25289. get:
  25290. parameters:
  25291. - description: 套期项目ID
  25292. in: query
  25293. name: hedgeditemid
  25294. required: true
  25295. type: integer
  25296. produces:
  25297. - application/json
  25298. responses:
  25299. "200":
  25300. description: OK
  25301. schema:
  25302. items:
  25303. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25304. type: array
  25305. "500":
  25306. description: Internal Server Error
  25307. schema:
  25308. $ref: '#/definitions/app.Response'
  25309. security:
  25310. - ApiKeyAuth: []
  25311. summary: 期货成交单明细查询
  25312. tags:
  25313. - 企业风险管理v8
  25314. /Ermcp8/QueryErmcp2AreaExposure:
  25315. get:
  25316. parameters:
  25317. - description: 用户ID
  25318. in: query
  25319. name: userid
  25320. required: true
  25321. type: string
  25322. produces:
  25323. - application/json
  25324. responses:
  25325. "200":
  25326. description: OK
  25327. schema:
  25328. items:
  25329. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25330. type: array
  25331. "500":
  25332. description: Internal Server Error
  25333. schema:
  25334. $ref: '#/definitions/app.Response'
  25335. security:
  25336. - ApiKeyAuth: []
  25337. summary: 企业敞口查询
  25338. tags:
  25339. - 企业风险管理v8
  25340. /Ermcp8/QueryErmcp2HedgedItem:
  25341. get:
  25342. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25343. parameters:
  25344. - description: 用户ID
  25345. in: query
  25346. name: userid
  25347. required: true
  25348. type: string
  25349. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25350. in: query
  25351. name: hedgedtype
  25352. type: integer
  25353. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25354. in: query
  25355. name: hedgeditemstatus
  25356. type: integer
  25357. produces:
  25358. - application/json
  25359. responses:
  25360. "200":
  25361. description: OK
  25362. schema:
  25363. items:
  25364. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25365. type: array
  25366. "500":
  25367. description: Internal Server Error
  25368. schema:
  25369. $ref: '#/definitions/app.Response'
  25370. security:
  25371. - ApiKeyAuth: []
  25372. summary: 查询被套期项目信息
  25373. tags:
  25374. - 企业风险管理v8
  25375. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25376. get:
  25377. parameters:
  25378. - description: 用户ID
  25379. in: query
  25380. name: userid
  25381. required: true
  25382. type: integer
  25383. - description: 套保品种ID
  25384. in: query
  25385. name: middlegoodsid
  25386. required: true
  25387. type: integer
  25388. produces:
  25389. - application/json
  25390. responses:
  25391. "200":
  25392. description: OK
  25393. schema:
  25394. items:
  25395. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25396. type: array
  25397. "500":
  25398. description: Internal Server Error
  25399. schema:
  25400. $ref: '#/definitions/app.Response'
  25401. security:
  25402. - ApiKeyAuth: []
  25403. summary: 敞口明细 - 计划变动明细
  25404. tags:
  25405. - 企业风险管理v8
  25406. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25407. get:
  25408. parameters:
  25409. - description: 用户ID
  25410. in: query
  25411. name: userid
  25412. required: true
  25413. type: integer
  25414. - description: 套保品种ID
  25415. in: query
  25416. name: middlegoodsid
  25417. required: true
  25418. type: integer
  25419. produces:
  25420. - application/json
  25421. responses:
  25422. "200":
  25423. description: OK
  25424. schema:
  25425. items:
  25426. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25427. type: array
  25428. "500":
  25429. description: Internal Server Error
  25430. schema:
  25431. $ref: '#/definitions/app.Response'
  25432. security:
  25433. - ApiKeyAuth: []
  25434. summary: 敞口明细 - 现货变动明细查询
  25435. tags:
  25436. - 企业风险管理v8
  25437. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25438. get:
  25439. parameters:
  25440. - description: 用户ID
  25441. in: query
  25442. name: userid
  25443. required: true
  25444. type: integer
  25445. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25446. in: query
  25447. name: spottype
  25448. required: true
  25449. type: integer
  25450. produces:
  25451. - application/json
  25452. responses:
  25453. "200":
  25454. description: OK
  25455. schema:
  25456. items:
  25457. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25458. type: array
  25459. "500":
  25460. description: Internal Server Error
  25461. schema:
  25462. $ref: '#/definitions/app.Response'
  25463. security:
  25464. - ApiKeyAuth: []
  25465. summary: 可关联项目查询
  25466. tags:
  25467. - 企业风险管理v8
  25468. /Ermcp8/QueryErmcp8HedgeditemReport:
  25469. get:
  25470. parameters:
  25471. - description: 用户ID
  25472. in: query
  25473. name: userid
  25474. required: true
  25475. type: integer
  25476. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25477. in: query
  25478. name: cycletype
  25479. type: integer
  25480. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25481. 全(0)【原值】
  25482. in: query
  25483. name: cycletime
  25484. required: true
  25485. type: string
  25486. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25487. in: query
  25488. name: hedgedtype
  25489. type: integer
  25490. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25491. in: query
  25492. name: hedgeditemstatus
  25493. type: integer
  25494. - description: 项目编号,模糊查询
  25495. in: query
  25496. name: hedgeditemnum
  25497. type: string
  25498. - description: 现货商品ID
  25499. in: query
  25500. name: wrstandardid
  25501. type: integer
  25502. produces:
  25503. - application/json
  25504. responses:
  25505. "200":
  25506. description: OK
  25507. schema:
  25508. items:
  25509. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  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. - 企业风险管理v8
  25520. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25521. get:
  25522. parameters:
  25523. - description: 用户ID
  25524. in: query
  25525. name: userid
  25526. required: true
  25527. type: string
  25528. produces:
  25529. - application/json
  25530. responses:
  25531. "200":
  25532. description: OK
  25533. schema:
  25534. items:
  25535. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25536. type: array
  25537. "500":
  25538. description: Internal Server Error
  25539. schema:
  25540. $ref: '#/definitions/app.Response'
  25541. security:
  25542. - ApiKeyAuth: []
  25543. summary: 查询执行中项目查询信息
  25544. tags:
  25545. - 企业风险管理v8
  25546. /Ermcp8/QueryInternalEnableTradeDetail:
  25547. get:
  25548. parameters:
  25549. - description: 企业ID
  25550. in: query
  25551. name: areauserid
  25552. required: true
  25553. type: integer
  25554. - description: 期货合约ID
  25555. in: query
  25556. name: goodsid
  25557. required: true
  25558. type: integer
  25559. produces:
  25560. - application/json
  25561. responses:
  25562. "200":
  25563. description: OK
  25564. schema:
  25565. items:
  25566. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25567. type: array
  25568. "500":
  25569. description: Internal Server Error
  25570. schema:
  25571. $ref: '#/definitions/app.Response'
  25572. security:
  25573. - ApiKeyAuth: []
  25574. summary: 内部成交单可关联项目查询
  25575. tags:
  25576. - 企业风险管理v8
  25577. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25578. get:
  25579. parameters:
  25580. - description: 用户编号
  25581. in: query
  25582. name: userid
  25583. required: true
  25584. type: integer
  25585. - description: 起始日期(格式yyyymmdd)
  25586. in: query
  25587. name: begindate
  25588. type: string
  25589. - description: 终止日期(格式yyyymmdd)
  25590. in: query
  25591. name: enddate
  25592. type: string
  25593. - description: 合约代码
  25594. in: query
  25595. name: goodscode
  25596. type: string
  25597. - description: 合约名称
  25598. in: query
  25599. name: goodsname
  25600. type: string
  25601. - description: 成交单号
  25602. in: query
  25603. name: tradeid
  25604. type: integer
  25605. - description: 方向 - 0:买 1:卖
  25606. in: query
  25607. name: buyorsell
  25608. type: integer
  25609. - description: 套期主体
  25610. in: query
  25611. name: accountname
  25612. type: string
  25613. produces:
  25614. - application/json
  25615. responses:
  25616. "200":
  25617. description: OK
  25618. schema:
  25619. items:
  25620. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25621. type: array
  25622. "500":
  25623. description: Internal Server Error
  25624. schema:
  25625. $ref: '#/definitions/app.Response'
  25626. security:
  25627. - ApiKeyAuth: []
  25628. summary: 内部未关联成交单查询
  25629. tags:
  25630. - 企业风险管理v8
  25631. /Ermcp8/QueryPatradeLinkDetail:
  25632. get:
  25633. parameters:
  25634. - description: 用户ID
  25635. in: query
  25636. name: userid
  25637. required: true
  25638. type: integer
  25639. - description: 套保品种ID
  25640. in: query
  25641. name: middlegoodsid
  25642. required: true
  25643. type: integer
  25644. produces:
  25645. - application/json
  25646. responses:
  25647. "200":
  25648. description: OK
  25649. schema:
  25650. items:
  25651. $ref: '#/definitions/models.Patradelinkdetail'
  25652. type: array
  25653. "500":
  25654. description: Internal Server Error
  25655. schema:
  25656. $ref: '#/definitions/app.Response'
  25657. security:
  25658. - ApiKeyAuth: []
  25659. summary: 敞口明细 - 期货变动明细
  25660. tags:
  25661. - 企业风险管理v8
  25662. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25663. get:
  25664. parameters:
  25665. - description: 企业ID
  25666. in: query
  25667. name: areauserid
  25668. required: true
  25669. type: integer
  25670. - description: 计划类型 - 1:采购 -1:销售
  25671. in: query
  25672. name: contracttype
  25673. type: integer
  25674. - description: 计划编号,模糊查询
  25675. in: query
  25676. name: hedgeplanno
  25677. type: string
  25678. - description: 现货商品,模糊查询
  25679. in: query
  25680. name: wrstandardname
  25681. type: string
  25682. produces:
  25683. - application/json
  25684. responses:
  25685. "200":
  25686. description: OK
  25687. schema:
  25688. items:
  25689. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25690. type: array
  25691. "500":
  25692. description: Internal Server Error
  25693. schema:
  25694. $ref: '#/definitions/app.Response'
  25695. security:
  25696. - ApiKeyAuth: []
  25697. summary: 未关联购销计划
  25698. tags:
  25699. - 企业风险管理v8
  25700. /Ermcp8/QueryUnLinkSpotContract:
  25701. get:
  25702. parameters:
  25703. - description: 用户ID
  25704. in: query
  25705. name: userid
  25706. required: true
  25707. type: integer
  25708. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25709. in: query
  25710. name: pricetype
  25711. type: integer
  25712. - description: 合同编号, 模拟查询
  25713. in: query
  25714. name: contractno
  25715. type: string
  25716. - description: 对手方, 模拟查询
  25717. in: query
  25718. name: customername
  25719. type: string
  25720. - description: 项合同类型 - 1:采购 -1:销售
  25721. in: query
  25722. name: contracttype
  25723. type: integer
  25724. produces:
  25725. - application/json
  25726. responses:
  25727. "200":
  25728. description: OK
  25729. schema:
  25730. items:
  25731. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25732. type: array
  25733. "500":
  25734. description: Internal Server Error
  25735. schema:
  25736. $ref: '#/definitions/app.Response'
  25737. security:
  25738. - ApiKeyAuth: []
  25739. summary: 未关联合同查询
  25740. tags:
  25741. - 企业风险管理v8
  25742. /Erms2/QueryArbitrageStrategy:
  25743. get:
  25744. parameters:
  25745. - description: 账户ID
  25746. in: query
  25747. name: userid
  25748. required: true
  25749. type: integer
  25750. - description: 商品组ID(品种ID)
  25751. in: query
  25752. name: goodsgroupid
  25753. type: string
  25754. produces:
  25755. - application/json
  25756. responses:
  25757. "200":
  25758. description: OK
  25759. schema:
  25760. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25761. "500":
  25762. description: Internal Server Error
  25763. schema:
  25764. $ref: '#/definitions/app.Response'
  25765. security:
  25766. - ApiKeyAuth: []
  25767. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25768. tags:
  25769. - 风险管理
  25770. /Erms2/QueryInnerTradeDetail:
  25771. get:
  25772. parameters:
  25773. - description: 资金账户
  25774. in: query
  25775. name: accountid
  25776. required: true
  25777. type: integer
  25778. produces:
  25779. - application/json
  25780. responses:
  25781. "200":
  25782. description: OK
  25783. schema:
  25784. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25785. "500":
  25786. description: Internal Server Error
  25787. schema:
  25788. $ref: '#/definitions/app.Response'
  25789. security:
  25790. - ApiKeyAuth: []
  25791. summary: 查询内部成交单信息
  25792. tags:
  25793. - 风险管理
  25794. /Erms2/QuerySpotContract:
  25795. get:
  25796. parameters:
  25797. - description: 策略申请ID
  25798. in: query
  25799. name: asapplyid
  25800. required: true
  25801. type: integer
  25802. - description: 现货合同ID
  25803. in: query
  25804. name: spotcontractid
  25805. type: integer
  25806. produces:
  25807. - application/json
  25808. responses:
  25809. "200":
  25810. description: OK
  25811. schema:
  25812. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  25813. "500":
  25814. description: Internal Server Error
  25815. schema:
  25816. $ref: '#/definitions/app.Response'
  25817. security:
  25818. - ApiKeyAuth: []
  25819. summary: 查询现货合同表信息(指定策略ID、未结束的)
  25820. tags:
  25821. - 风险管理
  25822. /Erms3/AddErms2ASApply:
  25823. post:
  25824. parameters:
  25825. - description: 申请参数
  25826. in: body
  25827. name: jsonBody
  25828. required: true
  25829. schema:
  25830. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  25831. produces:
  25832. - application/json
  25833. responses:
  25834. "200":
  25835. description: OK
  25836. schema:
  25837. $ref: '#/definitions/app.Response'
  25838. "500":
  25839. description: Internal Server Error
  25840. schema:
  25841. $ref: '#/definitions/app.Response'
  25842. security:
  25843. - ApiKeyAuth: []
  25844. summary: 新增期现套利业务申请
  25845. tags:
  25846. - 风险管理v3
  25847. /Erms3/AddErms2SpotTradeApply:
  25848. post:
  25849. parameters:
  25850. - description: 申请参数
  25851. in: body
  25852. name: jsonBody
  25853. required: true
  25854. schema:
  25855. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  25856. produces:
  25857. - application/json
  25858. responses:
  25859. "200":
  25860. description: OK
  25861. schema:
  25862. $ref: '#/definitions/app.Response'
  25863. "500":
  25864. description: Internal Server Error
  25865. schema:
  25866. $ref: '#/definitions/app.Response'
  25867. security:
  25868. - ApiKeyAuth: []
  25869. summary: 新增现货贸易业务申请
  25870. tags:
  25871. - 风险管理v3
  25872. /Erms3/AddSpotContractApply:
  25873. post:
  25874. parameters:
  25875. - description: 申请参数
  25876. in: body
  25877. name: jsonBody
  25878. required: true
  25879. schema:
  25880. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  25881. produces:
  25882. - application/json
  25883. responses:
  25884. "200":
  25885. description: OK
  25886. schema:
  25887. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  25888. "500":
  25889. description: Internal Server Error
  25890. schema:
  25891. $ref: '#/definitions/app.Response'
  25892. security:
  25893. - ApiKeyAuth: []
  25894. summary: 新增现货合同申请
  25895. tags:
  25896. - 风险管理v3
  25897. /Erms3/AddUserInfoApply:
  25898. post:
  25899. parameters:
  25900. - description: 用户信息
  25901. in: body
  25902. name: jsonBody
  25903. required: true
  25904. schema:
  25905. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  25906. produces:
  25907. - application/json
  25908. responses:
  25909. "200":
  25910. description: OK
  25911. schema:
  25912. $ref: '#/definitions/app.Response'
  25913. "500":
  25914. description: Internal Server Error
  25915. schema:
  25916. $ref: '#/definitions/app.Response'
  25917. security:
  25918. - ApiKeyAuth: []
  25919. summary: 新增客户申请
  25920. tags:
  25921. - 风险管理v3
  25922. /Erms3/DeleteUserInfoApply:
  25923. get:
  25924. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  25925. parameters:
  25926. - description: 用户ID
  25927. in: query
  25928. name: userID
  25929. required: true
  25930. type: integer
  25931. produces:
  25932. - application/json
  25933. responses:
  25934. "200":
  25935. description: OK
  25936. schema:
  25937. $ref: '#/definitions/app.Response'
  25938. "500":
  25939. description: Internal Server Error
  25940. schema:
  25941. $ref: '#/definitions/app.Response'
  25942. security:
  25943. - ApiKeyAuth: []
  25944. summary: 删除客户申请
  25945. tags:
  25946. - 风险管理v3
  25947. /Erms3/ModifyUserInfoApply:
  25948. post:
  25949. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  25950. int, "userstate": 2 }'
  25951. parameters:
  25952. - description: 用户信息
  25953. in: body
  25954. name: jsonBody
  25955. required: true
  25956. schema:
  25957. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  25958. produces:
  25959. - application/json
  25960. responses:
  25961. "200":
  25962. description: OK
  25963. schema:
  25964. $ref: '#/definitions/app.Response'
  25965. "500":
  25966. description: Internal Server Error
  25967. schema:
  25968. $ref: '#/definitions/app.Response'
  25969. security:
  25970. - ApiKeyAuth: []
  25971. summary: 修改客户申请
  25972. tags:
  25973. - 风险管理v3
  25974. /Erms3/QueryBusinessInfo:
  25975. get:
  25976. parameters:
  25977. - description: 资金账号ID列表,用逗号分隔
  25978. in: query
  25979. name: accountids
  25980. required: true
  25981. type: string
  25982. - description: 状态,0为未结束 1为已结束
  25983. in: query
  25984. name: status
  25985. required: true
  25986. type: integer
  25987. produces:
  25988. - application/json
  25989. responses:
  25990. "200":
  25991. description: OK
  25992. schema:
  25993. items:
  25994. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  25995. type: array
  25996. "500":
  25997. description: Internal Server Error
  25998. schema:
  25999. $ref: '#/definitions/app.Response'
  26000. security:
  26001. - ApiKeyAuth: []
  26002. summary: 查询业务表单数据
  26003. tags:
  26004. - 风险管理v3
  26005. /Erms3/QueryPendingAuditContract:
  26006. get:
  26007. parameters:
  26008. - description: 资金账号ID列表,逗号隔开
  26009. in: query
  26010. name: accountids
  26011. required: true
  26012. type: string
  26013. - description: 合同类型 1-采购 -1-销售
  26014. in: query
  26015. name: contracttype
  26016. required: true
  26017. type: integer
  26018. - description: 合同模式 1-普通 2-回购
  26019. in: query
  26020. name: contractmode
  26021. required: true
  26022. type: integer
  26023. produces:
  26024. - application/json
  26025. responses:
  26026. "200":
  26027. description: OK
  26028. schema:
  26029. items:
  26030. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26031. type: array
  26032. "500":
  26033. description: Internal Server Error
  26034. schema:
  26035. $ref: '#/definitions/app.Response'
  26036. security:
  26037. - ApiKeyAuth: []
  26038. summary: 查询待审核合同
  26039. tags:
  26040. - 风险管理v3
  26041. /Erms3/QueryPendingBusiness:
  26042. get:
  26043. parameters:
  26044. - description: 资金账号ID列表,逗号隔开
  26045. in: query
  26046. name: accountids
  26047. required: true
  26048. type: string
  26049. produces:
  26050. - application/json
  26051. responses:
  26052. "200":
  26053. description: OK
  26054. schema:
  26055. items:
  26056. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26057. type: array
  26058. "500":
  26059. description: Internal Server Error
  26060. schema:
  26061. $ref: '#/definitions/app.Response'
  26062. security:
  26063. - ApiKeyAuth: []
  26064. summary: 查询待审核基差贸易业务
  26065. tags:
  26066. - 风险管理v3
  26067. /Erms3/QuerySpotContractAppleForm:
  26068. get:
  26069. parameters:
  26070. - description: 登录账号
  26071. in: query
  26072. name: loginID
  26073. required: true
  26074. type: integer
  26075. produces:
  26076. - application/json
  26077. responses:
  26078. "200":
  26079. description: OK
  26080. schema:
  26081. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26082. "500":
  26083. description: Internal Server Error
  26084. schema:
  26085. $ref: '#/definitions/app.Response'
  26086. security:
  26087. - ApiKeyAuth: []
  26088. summary: 查询合同申请表单数据
  26089. tags:
  26090. - 风险管理v3
  26091. /Erms3/QuerySpotContractDetail:
  26092. get:
  26093. parameters:
  26094. - description: 资金账号ID列表,用逗号分隔
  26095. in: query
  26096. name: accountids
  26097. required: true
  26098. type: string
  26099. - description: 合同类型,1为采购合同 -1为销售合同
  26100. in: query
  26101. name: contracttype
  26102. required: true
  26103. type: integer
  26104. - description: 合同模式,1为普通合同 2为回购销售合同
  26105. in: query
  26106. name: contractmode
  26107. required: true
  26108. type: integer
  26109. - description: 状态,0为履约中 1为已完成
  26110. in: query
  26111. name: status
  26112. required: true
  26113. type: integer
  26114. produces:
  26115. - application/json
  26116. responses:
  26117. "200":
  26118. description: OK
  26119. schema:
  26120. items:
  26121. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26122. type: array
  26123. "500":
  26124. description: Internal Server Error
  26125. schema:
  26126. $ref: '#/definitions/app.Response'
  26127. security:
  26128. - ApiKeyAuth: []
  26129. summary: 查询合同详细信息
  26130. tags:
  26131. - 风险管理v3
  26132. /Erms3/QueryUserInfoApplies:
  26133. get:
  26134. parameters:
  26135. - description: 页码
  26136. in: query
  26137. name: page
  26138. type: integer
  26139. - description: 每页条数
  26140. in: query
  26141. name: pagesize
  26142. type: integer
  26143. - description: 客户名称,支持模糊查询
  26144. in: query
  26145. name: userName
  26146. type: string
  26147. produces:
  26148. - application/json
  26149. responses:
  26150. "200":
  26151. description: OK
  26152. schema:
  26153. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26154. "500":
  26155. description: Internal Server Error
  26156. schema:
  26157. $ref: '#/definitions/app.Response'
  26158. security:
  26159. - ApiKeyAuth: []
  26160. summary: 客户申请信息查询
  26161. tags:
  26162. - 风险管理v3
  26163. /Erms3/QueryUserInfos:
  26164. get:
  26165. parameters:
  26166. - description: 页码
  26167. in: query
  26168. name: page
  26169. type: integer
  26170. - description: 每页条数
  26171. in: query
  26172. name: pagesize
  26173. type: integer
  26174. - description: 客户名称,支持模糊查询
  26175. in: query
  26176. name: userName
  26177. type: string
  26178. produces:
  26179. - application/json
  26180. responses:
  26181. "200":
  26182. description: OK
  26183. schema:
  26184. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26185. "500":
  26186. description: Internal Server Error
  26187. schema:
  26188. $ref: '#/definitions/app.Response'
  26189. security:
  26190. - ApiKeyAuth: []
  26191. summary: 客户信息查询
  26192. tags:
  26193. - 风险管理v3
  26194. /HSBY/GetHsbyMyCount:
  26195. get:
  26196. description: 说明: 不包括已完成的数量。
  26197. parameters:
  26198. - description: 资金账户列表,格式:1,2,3
  26199. in: query
  26200. name: accountIDs
  26201. required: true
  26202. type: string
  26203. produces:
  26204. - application/json
  26205. responses:
  26206. "200":
  26207. description: OK
  26208. schema:
  26209. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26210. "500":
  26211. description: Internal Server Error
  26212. schema:
  26213. $ref: '#/definitions/app.Response'
  26214. security:
  26215. - ApiKeyAuth: []
  26216. summary: 获取我的订单与包裹数量
  26217. tags:
  26218. - 定制【海商报业】
  26219. /HSBY/QueryClientFixedADConfigs:
  26220. get:
  26221. produces:
  26222. - application/json
  26223. responses:
  26224. "200":
  26225. description: OK
  26226. schema:
  26227. $ref: '#/definitions/models.Clientfixedadconfig'
  26228. "500":
  26229. description: Internal Server Error
  26230. schema:
  26231. $ref: '#/definitions/app.Response'
  26232. security:
  26233. - ApiKeyAuth: []
  26234. summary: 获取终端固定广告配置
  26235. tags:
  26236. - 定制【海商报业】
  26237. /HSBY/QueryHsbyBuyMyTradeDetail:
  26238. get:
  26239. parameters:
  26240. - description: 页码
  26241. in: query
  26242. name: page
  26243. type: integer
  26244. - description: 每页条数
  26245. in: query
  26246. name: pagesize
  26247. type: integer
  26248. - description: 资金账户列表,格式:1,2,3
  26249. in: query
  26250. name: accountIDs
  26251. required: true
  26252. type: string
  26253. produces:
  26254. - application/json
  26255. responses:
  26256. "200":
  26257. description: OK
  26258. schema:
  26259. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26260. "500":
  26261. description: Internal Server Error
  26262. schema:
  26263. $ref: '#/definitions/app.Response'
  26264. security:
  26265. - ApiKeyAuth: []
  26266. summary: 查询"我的订单 - 已完成"单据信息
  26267. tags:
  26268. - 定制【海商报业】
  26269. /HSBY/QueryHsbyGoodsOrderDetails:
  26270. get:
  26271. description: 说明:查询结果已按委托价格和委托时间排序
  26272. parameters:
  26273. - description: 商品ID
  26274. in: query
  26275. name: goodsID
  26276. required: true
  26277. type: integer
  26278. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26279. in: query
  26280. name: accountIDs
  26281. type: string
  26282. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26283. in: query
  26284. name: buyOrSell
  26285. type: integer
  26286. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26287. in: query
  26288. name: price
  26289. type: number
  26290. - description: 档位,不传则默认为3档
  26291. in: query
  26292. name: speed
  26293. type: integer
  26294. produces:
  26295. - application/json
  26296. responses:
  26297. "200":
  26298. description: OK
  26299. schema:
  26300. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26301. "500":
  26302. description: Internal Server Error
  26303. schema:
  26304. $ref: '#/definitions/app.Response'
  26305. security:
  26306. - ApiKeyAuth: []
  26307. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26308. tags:
  26309. - 定制【海商报业】
  26310. /HSBY/QueryHsbyListingGoodsDetail:
  26311. get:
  26312. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26313. parameters:
  26314. - description: 商品ID
  26315. in: query
  26316. name: goodsID
  26317. required: true
  26318. type: integer
  26319. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26320. in: query
  26321. name: accountID
  26322. type: integer
  26323. produces:
  26324. - application/json
  26325. responses:
  26326. "200":
  26327. description: OK
  26328. schema:
  26329. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26330. "500":
  26331. description: Internal Server Error
  26332. schema:
  26333. $ref: '#/definitions/app.Response'
  26334. security:
  26335. - ApiKeyAuth: []
  26336. summary: 查询二级市场(挂牌点选)商品信息详情
  26337. tags:
  26338. - 定制【海商报业】
  26339. /HSBY/QueryHsbyMarketGoodsDetail:
  26340. get:
  26341. parameters:
  26342. - description: 委托单号
  26343. in: query
  26344. name: orderID
  26345. required: true
  26346. type: integer
  26347. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26348. in: query
  26349. name: accountID
  26350. type: integer
  26351. produces:
  26352. - application/json
  26353. responses:
  26354. "200":
  26355. description: OK
  26356. schema:
  26357. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26358. "500":
  26359. description: Internal Server Error
  26360. schema:
  26361. $ref: '#/definitions/app.Response'
  26362. security:
  26363. - ApiKeyAuth: []
  26364. summary: 查询三级市场(商城)商品信息详情
  26365. tags:
  26366. - 定制【海商报业】
  26367. /HSBY/QueryHsbyMarketGoodses:
  26368. get:
  26369. parameters:
  26370. - description: 页码
  26371. in: query
  26372. name: page
  26373. type: integer
  26374. - description: 每页条数
  26375. in: query
  26376. name: pagesize
  26377. type: integer
  26378. - description: 市场ID列表,格式:1,2,3
  26379. in: query
  26380. name: marketIDs
  26381. required: true
  26382. type: string
  26383. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26384. in: query
  26385. name: accountID
  26386. required: true
  26387. type: integer
  26388. - description: 类别ID
  26389. in: query
  26390. name: categoryID
  26391. type: integer
  26392. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26393. in: query
  26394. name: goodsIDs
  26395. type: string
  26396. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26397. in: query
  26398. name: couponTypeID
  26399. type: integer
  26400. produces:
  26401. - application/json
  26402. responses:
  26403. "200":
  26404. description: OK
  26405. schema:
  26406. $ref: '#/definitions/models.HsbyMarketGoods'
  26407. "500":
  26408. description: Internal Server Error
  26409. schema:
  26410. $ref: '#/definitions/app.Response'
  26411. security:
  26412. - ApiKeyAuth: []
  26413. summary: 查询特卖商品列表(三级商城)
  26414. tags:
  26415. - 定制【海商报业】
  26416. /HSBY/QueryHsbyMarkets:
  26417. get:
  26418. produces:
  26419. - application/json
  26420. responses:
  26421. "200":
  26422. description: OK
  26423. schema:
  26424. $ref: '#/definitions/models.HsbyMarketInfo'
  26425. "500":
  26426. description: Internal Server Error
  26427. schema:
  26428. $ref: '#/definitions/app.Response'
  26429. security:
  26430. - ApiKeyAuth: []
  26431. summary: 查询海商报业相关市场信息
  26432. tags:
  26433. - 定制【海商报业】
  26434. /HSBY/QueryHsbyMyBuyOrderDetails:
  26435. get:
  26436. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26437. parameters:
  26438. - description: 资金账户列表,格式:1,2,3
  26439. in: query
  26440. name: accountIDs
  26441. required: true
  26442. type: string
  26443. produces:
  26444. - application/json
  26445. responses:
  26446. "200":
  26447. description: OK
  26448. schema:
  26449. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26450. "500":
  26451. description: Internal Server Error
  26452. schema:
  26453. $ref: '#/definitions/app.Response'
  26454. security:
  26455. - ApiKeyAuth: []
  26456. summary: 查询“我的订单”信息
  26457. tags:
  26458. - 定制【海商报业】
  26459. /HSBY/QueryHsbyMyGoods:
  26460. get:
  26461. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26462. parameters:
  26463. - description: 资金账户列表,格式:1,2,3
  26464. in: query
  26465. name: accountIDs
  26466. required: true
  26467. type: string
  26468. produces:
  26469. - application/json
  26470. responses:
  26471. "200":
  26472. description: OK
  26473. schema:
  26474. $ref: '#/definitions/models.HsbyMyGoods'
  26475. "500":
  26476. description: Internal Server Error
  26477. schema:
  26478. $ref: '#/definitions/app.Response'
  26479. security:
  26480. - ApiKeyAuth: []
  26481. summary: 查询“我的商品”信息
  26482. tags:
  26483. - 定制【海商报业】
  26484. /HSBY/QueryHsbyMyPackages:
  26485. get:
  26486. parameters:
  26487. - description: 资金账户列表,格式:1,2,3
  26488. in: query
  26489. name: accountIDs
  26490. required: true
  26491. type: string
  26492. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26493. in: query
  26494. name: takeOrderStatus
  26495. type: integer
  26496. produces:
  26497. - application/json
  26498. responses:
  26499. "200":
  26500. description: OK
  26501. schema:
  26502. $ref: '#/definitions/models.HsbyMyPackage'
  26503. "500":
  26504. description: Internal Server Error
  26505. schema:
  26506. $ref: '#/definitions/app.Response'
  26507. security:
  26508. - ApiKeyAuth: []
  26509. summary: 查询我的包裹信息
  26510. tags:
  26511. - 定制【海商报业】
  26512. /HSBY/QueryHsbyPreGoodsDetail:
  26513. get:
  26514. parameters:
  26515. - description: 商品ID
  26516. in: query
  26517. name: goodsID
  26518. required: true
  26519. type: integer
  26520. - description: 资金账户,主要用于获取预售商品购买上限
  26521. in: query
  26522. name: accountID
  26523. type: integer
  26524. produces:
  26525. - application/json
  26526. responses:
  26527. "200":
  26528. description: OK
  26529. schema:
  26530. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26531. "500":
  26532. description: Internal Server Error
  26533. schema:
  26534. $ref: '#/definitions/app.Response'
  26535. security:
  26536. - ApiKeyAuth: []
  26537. summary: 查询一级市场(预售)商品信息详情
  26538. tags:
  26539. - 定制【海商报业】
  26540. /HSBY/QueryHsbyPreGoodses:
  26541. get:
  26542. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26543. parameters:
  26544. - description: 页码
  26545. in: query
  26546. name: page
  26547. type: integer
  26548. - description: 每页条数
  26549. in: query
  26550. name: pagesize
  26551. type: integer
  26552. - description: 市场ID列表,格式:1,2,3
  26553. in: query
  26554. name: marketIDs
  26555. required: true
  26556. type: string
  26557. - description: 目的地(省)ID
  26558. in: query
  26559. name: descProvinceID
  26560. type: integer
  26561. - description: 目的地(市)ID
  26562. in: query
  26563. name: descCityID
  26564. type: integer
  26565. produces:
  26566. - application/json
  26567. responses:
  26568. "200":
  26569. description: OK
  26570. schema:
  26571. $ref: '#/definitions/models.HsbyPreGoods'
  26572. "500":
  26573. description: Internal Server Error
  26574. schema:
  26575. $ref: '#/definitions/app.Response'
  26576. security:
  26577. - ApiKeyAuth: []
  26578. summary: 查询新品上市商品列表(一级市场预售)
  26579. tags:
  26580. - 定制【海商报业】
  26581. /HSBY/QueryHsbySellMyDetails:
  26582. get:
  26583. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26584. parameters:
  26585. - description: 页码
  26586. in: query
  26587. name: page
  26588. type: integer
  26589. - description: 每页条数
  26590. in: query
  26591. name: pagesize
  26592. type: integer
  26593. - description: 资金账户列表,格式:1,2,3
  26594. in: query
  26595. name: accountIDs
  26596. required: true
  26597. type: string
  26598. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26599. in: query
  26600. name: orderType
  26601. type: integer
  26602. produces:
  26603. - application/json
  26604. responses:
  26605. "200":
  26606. description: OK
  26607. schema:
  26608. $ref: '#/definitions/models.HsbySellMyDetail'
  26609. "500":
  26610. description: Internal Server Error
  26611. schema:
  26612. $ref: '#/definitions/app.Response'
  26613. security:
  26614. - ApiKeyAuth: []
  26615. summary: 查询"我的闲置"单据信息
  26616. tags:
  26617. - 定制【海商报业】
  26618. /HSBY/QueryHsbyTopGoodses:
  26619. get:
  26620. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26621. parameters:
  26622. - description: 页码
  26623. in: query
  26624. name: page
  26625. type: integer
  26626. - description: 每页条数
  26627. in: query
  26628. name: pagesize
  26629. type: integer
  26630. - description: 市场ID列表,格式:1,2,3
  26631. in: query
  26632. name: marketIDs
  26633. required: true
  26634. type: string
  26635. - description: 目的地(省)ID
  26636. in: query
  26637. name: descProvinceID
  26638. type: integer
  26639. - description: 目的地(市)ID
  26640. in: query
  26641. name: descCityID
  26642. type: integer
  26643. produces:
  26644. - application/json
  26645. responses:
  26646. "200":
  26647. description: OK
  26648. schema:
  26649. $ref: '#/definitions/models.HsbyTopGoods'
  26650. "500":
  26651. description: Internal Server Error
  26652. schema:
  26653. $ref: '#/definitions/app.Response'
  26654. security:
  26655. - ApiKeyAuth: []
  26656. summary: 查询热卖商品列表(二级市场挂牌点选)
  26657. tags:
  26658. - 定制【海商报业】
  26659. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26660. get:
  26661. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26662. parameters:
  26663. - description: 商品ID
  26664. in: query
  26665. name: goodsID
  26666. required: true
  26667. type: integer
  26668. produces:
  26669. - application/json
  26670. responses:
  26671. "200":
  26672. description: OK
  26673. schema:
  26674. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26675. "500":
  26676. description: Internal Server Error
  26677. schema:
  26678. $ref: '#/definitions/app.Response'
  26679. security:
  26680. - ApiKeyAuth: []
  26681. summary: 查询游客三级市场(商城)商品信息详情
  26682. tags:
  26683. - 定制【海商报业】
  26684. /HSBY/QueryHsbyVisitorMarketGoodses:
  26685. get:
  26686. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26687. parameters:
  26688. - description: 页码
  26689. in: query
  26690. name: page
  26691. type: integer
  26692. - description: 每页条数
  26693. in: query
  26694. name: pagesize
  26695. type: integer
  26696. - description: 市场ID列表,格式:1,2,3
  26697. in: query
  26698. name: marketIDs
  26699. required: true
  26700. type: string
  26701. - description: 类别ID
  26702. in: query
  26703. name: categoryID
  26704. type: integer
  26705. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26706. in: query
  26707. name: goodsIDs
  26708. type: string
  26709. produces:
  26710. - application/json
  26711. responses:
  26712. "200":
  26713. description: OK
  26714. schema:
  26715. $ref: '#/definitions/models.HsbyMarketGoods'
  26716. "500":
  26717. description: Internal Server Error
  26718. schema:
  26719. $ref: '#/definitions/app.Response'
  26720. security:
  26721. - ApiKeyAuth: []
  26722. summary: 查询游客特卖商品列表(三级商城)
  26723. tags:
  26724. - 定制【海商报业】
  26725. /HSBY/QueryMyCollectionOrders:
  26726. get:
  26727. parameters:
  26728. - description: 页码
  26729. in: query
  26730. name: page
  26731. type: integer
  26732. - description: 每页条数
  26733. in: query
  26734. name: pagesize
  26735. type: integer
  26736. - description: 资金账户,格式:1,2,3
  26737. in: query
  26738. name: accountIDs
  26739. required: true
  26740. type: string
  26741. produces:
  26742. - application/json
  26743. responses:
  26744. "200":
  26745. description: OK
  26746. schema:
  26747. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26748. "500":
  26749. description: Internal Server Error
  26750. schema:
  26751. $ref: '#/definitions/app.Response'
  26752. security:
  26753. - ApiKeyAuth: []
  26754. summary: 我的闲置中收款信息查询
  26755. tags:
  26756. - 定制【海商报业】
  26757. /HSBY/QueryMyCouponHolds:
  26758. get:
  26759. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26760. parameters:
  26761. - description: 资金账户列表,格式:1,2,3
  26762. in: query
  26763. name: accountIDs
  26764. required: true
  26765. type: string
  26766. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26767. in: query
  26768. name: holdStatus
  26769. type: string
  26770. produces:
  26771. - application/json
  26772. responses:
  26773. "200":
  26774. description: OK
  26775. schema:
  26776. $ref: '#/definitions/models.MyCouponHold'
  26777. "500":
  26778. description: Internal Server Error
  26779. schema:
  26780. $ref: '#/definitions/app.Response'
  26781. security:
  26782. - ApiKeyAuth: []
  26783. summary: 我的优惠卷持仓查询
  26784. tags:
  26785. - 定制【海商报业】
  26786. /HSBY/QueryMyCoupons:
  26787. get:
  26788. parameters:
  26789. - description: 资金账户列表,格式:1,2,3
  26790. in: query
  26791. name: accountIDs
  26792. required: true
  26793. type: string
  26794. - description: 商品ID, 一般与sellUserID配套传入
  26795. in: query
  26796. name: goodsID
  26797. type: integer
  26798. - description: 卖方UserID
  26799. in: query
  26800. name: sellUserID
  26801. type: integer
  26802. produces:
  26803. - application/json
  26804. responses:
  26805. "200":
  26806. description: OK
  26807. schema:
  26808. $ref: '#/definitions/models.MyCoupon'
  26809. "500":
  26810. description: Internal Server Error
  26811. schema:
  26812. $ref: '#/definitions/app.Response'
  26813. security:
  26814. - ApiKeyAuth: []
  26815. summary: 我的优惠卷查询
  26816. tags:
  26817. - 定制【海商报业】
  26818. /HSBY/QueryMyPayOrders:
  26819. get:
  26820. parameters:
  26821. - description: 页码
  26822. in: query
  26823. name: page
  26824. type: integer
  26825. - description: 每页条数
  26826. in: query
  26827. name: pagesize
  26828. type: integer
  26829. - description: 资金账户列表,格式:1,2,3
  26830. in: query
  26831. name: accountIDs
  26832. required: true
  26833. type: string
  26834. - description: 买方委托单号
  26835. in: query
  26836. name: buyOrderID
  26837. type: integer
  26838. - description: 卖方委托单号
  26839. in: query
  26840. name: sellOrderID
  26841. type: integer
  26842. produces:
  26843. - application/json
  26844. responses:
  26845. "200":
  26846. description: OK
  26847. schema:
  26848. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  26849. "500":
  26850. description: Internal Server Error
  26851. schema:
  26852. $ref: '#/definitions/app.Response'
  26853. security:
  26854. - ApiKeyAuth: []
  26855. summary: 获取我的订单中待付款信息
  26856. tags:
  26857. - 定制【海商报业】
  26858. /HSBY/QueryMyUsedCoupon:
  26859. get:
  26860. parameters:
  26861. - description: 资金账户列表,格式:1,2,3
  26862. in: query
  26863. name: accountIDs
  26864. required: true
  26865. type: string
  26866. produces:
  26867. - application/json
  26868. responses:
  26869. "200":
  26870. description: OK
  26871. schema:
  26872. $ref: '#/definitions/models.MyUsedCoupon'
  26873. "500":
  26874. description: Internal Server Error
  26875. schema:
  26876. $ref: '#/definitions/app.Response'
  26877. security:
  26878. - ApiKeyAuth: []
  26879. summary: 已使用优惠卷查询
  26880. tags:
  26881. - 定制【海商报业】
  26882. /HSBY/QueryProvincesAndCities:
  26883. get:
  26884. description: 查询结果只包括二级市场商品已关连的省市信息。
  26885. parameters:
  26886. - description: 省ID
  26887. in: query
  26888. name: provinceID
  26889. type: integer
  26890. produces:
  26891. - application/json
  26892. responses:
  26893. "200":
  26894. description: OK
  26895. schema:
  26896. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  26897. "500":
  26898. description: Internal Server Error
  26899. schema:
  26900. $ref: '#/definitions/app.Response'
  26901. security:
  26902. - ApiKeyAuth: []
  26903. summary: 查询省市信息(不包括区)
  26904. tags:
  26905. - 定制【海商报业】
  26906. /HSBY/SetHsbyMyPackagesStatus:
  26907. post:
  26908. parameters:
  26909. - description: 提货单号
  26910. in: query
  26911. name: takeOrderID
  26912. required: true
  26913. type: string
  26914. - description: 资金账号
  26915. in: query
  26916. name: accountID
  26917. required: true
  26918. type: integer
  26919. produces:
  26920. - application/json
  26921. responses:
  26922. "200":
  26923. description: OK
  26924. schema:
  26925. $ref: '#/definitions/app.Response'
  26926. "500":
  26927. description: Internal Server Error
  26928. schema:
  26929. $ref: '#/definitions/app.Response'
  26930. security:
  26931. - ApiKeyAuth: []
  26932. summary: 设置我的包裹已收货状态
  26933. tags:
  26934. - 定制【海商报业】
  26935. /Market/GetAllExExchanges:
  26936. get:
  26937. produces:
  26938. - application/json
  26939. responses:
  26940. "200":
  26941. description: OK
  26942. schema:
  26943. $ref: '#/definitions/models.Goods'
  26944. "500":
  26945. description: Internal Server Error
  26946. schema:
  26947. $ref: '#/definitions/app.Response'
  26948. security:
  26949. - ApiKeyAuth: []
  26950. summary: 获取所有外部交易所信息
  26951. tags:
  26952. - 通用市场
  26953. /Market/QueryGoodsesByLoginID:
  26954. get:
  26955. parameters:
  26956. - description: 登录账号
  26957. in: query
  26958. name: loginID
  26959. required: true
  26960. type: integer
  26961. - description: 市场ID列表,格式:1,2,3
  26962. in: query
  26963. name: marketIDs
  26964. type: string
  26965. produces:
  26966. - application/json
  26967. responses:
  26968. "200":
  26969. description: OK
  26970. schema:
  26971. $ref: '#/definitions/models.Goods'
  26972. "500":
  26973. description: Internal Server Error
  26974. schema:
  26975. $ref: '#/definitions/app.Response'
  26976. security:
  26977. - ApiKeyAuth: []
  26978. summary: 获取登录账号有权限的商品信息
  26979. tags:
  26980. - 通用市场
  26981. /Market/QueryMarketRun:
  26982. get:
  26983. parameters:
  26984. - description: 市场ID,不传返回所有
  26985. in: query
  26986. name: marketID
  26987. type: integer
  26988. produces:
  26989. - application/json
  26990. responses:
  26991. "200":
  26992. description: OK
  26993. schema:
  26994. $ref: '#/definitions/models.Marketrun'
  26995. "500":
  26996. description: Internal Server Error
  26997. schema:
  26998. $ref: '#/definitions/app.Response'
  26999. security:
  27000. - ApiKeyAuth: []
  27001. summary: 查询市场运行信息
  27002. tags:
  27003. - 通用市场
  27004. /Market/QueryMarketsByLoginID:
  27005. get:
  27006. parameters:
  27007. - description: 登录账号
  27008. in: query
  27009. name: loginID
  27010. required: true
  27011. type: integer
  27012. produces:
  27013. - application/json
  27014. responses:
  27015. "200":
  27016. description: OK
  27017. schema:
  27018. $ref: '#/definitions/models.Market'
  27019. "500":
  27020. description: Internal Server Error
  27021. schema:
  27022. $ref: '#/definitions/app.Response'
  27023. security:
  27024. - ApiKeyAuth: []
  27025. summary: 获取登录账号有权限的市场信息
  27026. tags:
  27027. - 通用市场
  27028. /Order/QueryHisTradeDetail:
  27029. get:
  27030. parameters:
  27031. - description: 资金账户 - 格式:1,2,3
  27032. in: query
  27033. name: accountID
  27034. required: true
  27035. type: string
  27036. - description: 成交单号
  27037. in: query
  27038. name: tradeID
  27039. type: integer
  27040. - description: 委托单号
  27041. in: query
  27042. name: orderID
  27043. type: integer
  27044. - description: 商品ID
  27045. in: query
  27046. name: goodsID
  27047. type: integer
  27048. - description: 交易模式 - 格式:1,2,3
  27049. in: query
  27050. name: tradeMode
  27051. type: string
  27052. - description: 委托单据类型
  27053. in: query
  27054. name: buildType
  27055. type: integer
  27056. - description: 成交类别 - 格式:1,2,3
  27057. in: query
  27058. name: tradeType
  27059. type: string
  27060. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27061. in: query
  27062. name: startDate
  27063. type: string
  27064. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27065. in: query
  27066. name: endDate
  27067. type: string
  27068. produces:
  27069. - application/json
  27070. responses:
  27071. "200":
  27072. description: OK
  27073. schema:
  27074. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27075. "500":
  27076. description: Internal Server Error
  27077. schema:
  27078. $ref: '#/definitions/app.Response'
  27079. security:
  27080. - ApiKeyAuth: []
  27081. summary: 历史成交单查询(合约市场)
  27082. tags:
  27083. - 通用单据
  27084. /Order/QueryHisTradeOrderDetail:
  27085. get:
  27086. parameters:
  27087. - description: 资金账户 - 格式:1,2,3
  27088. in: query
  27089. name: accountID
  27090. required: true
  27091. type: string
  27092. - description: 交易模式 - 格式:1,2,3
  27093. in: query
  27094. name: tradeMode
  27095. type: string
  27096. - description: 委托状态 - 格式:1,2,3
  27097. in: query
  27098. name: orderStatus
  27099. type: string
  27100. - description: 委托单号
  27101. in: query
  27102. name: orderID
  27103. type: integer
  27104. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27105. in: query
  27106. name: startDate
  27107. type: string
  27108. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27109. in: query
  27110. name: endDate
  27111. type: string
  27112. produces:
  27113. - application/json
  27114. responses:
  27115. "200":
  27116. description: OK
  27117. schema:
  27118. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27119. "500":
  27120. description: Internal Server Error
  27121. schema:
  27122. $ref: '#/definitions/app.Response'
  27123. security:
  27124. - ApiKeyAuth: []
  27125. summary: 历史委托单查询请求(合约市场)
  27126. tags:
  27127. - 通用单据
  27128. /Order/QueryTradeDetail:
  27129. get:
  27130. parameters:
  27131. - description: 资金账户 - 格式:1,2,3
  27132. in: query
  27133. name: accountID
  27134. required: true
  27135. type: string
  27136. - description: 成交单号
  27137. in: query
  27138. name: tradeID
  27139. type: integer
  27140. - description: 委托单号
  27141. in: query
  27142. name: orderID
  27143. type: integer
  27144. - description: 交易模式 - 格式:1,2,3
  27145. in: query
  27146. name: tradeMode
  27147. type: string
  27148. - description: 委托单据类型
  27149. in: query
  27150. name: buildType
  27151. type: integer
  27152. - description: 成交类别 - 格式:1,2,3
  27153. in: query
  27154. name: tradeType
  27155. type: string
  27156. - description: 商品ID
  27157. in: query
  27158. name: goodsID
  27159. type: integer
  27160. produces:
  27161. - application/json
  27162. responses:
  27163. "200":
  27164. description: OK
  27165. schema:
  27166. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27167. "500":
  27168. description: Internal Server Error
  27169. schema:
  27170. $ref: '#/definitions/app.Response'
  27171. security:
  27172. - ApiKeyAuth: []
  27173. summary: 成交单查询(合约市场)
  27174. tags:
  27175. - 通用单据
  27176. /Order/QueryTradeHolderDetail:
  27177. get:
  27178. parameters:
  27179. - description: 用户id
  27180. in: query
  27181. name: userid
  27182. type: integer
  27183. - description: 资金账号, 格式 1,2,3
  27184. in: query
  27185. name: accids
  27186. type: string
  27187. - description: 交易模式, 格式 1,2,3
  27188. in: query
  27189. name: trademodes
  27190. type: string
  27191. - description: 市场id, 格式 1,2,3
  27192. in: query
  27193. name: marketids
  27194. type: string
  27195. - description: 商品id
  27196. in: query
  27197. name: goodsid
  27198. type: integer
  27199. - description: 买卖方向 0-买 1-卖
  27200. in: query
  27201. name: buyorsell
  27202. type: integer
  27203. produces:
  27204. - application/json
  27205. responses:
  27206. "200":
  27207. description: OK
  27208. schema:
  27209. items:
  27210. $ref: '#/definitions/models.TradeHolderDetail'
  27211. type: array
  27212. "500":
  27213. description: Internal Server Error
  27214. schema:
  27215. $ref: '#/definitions/app.Response'
  27216. security:
  27217. - ApiKeyAuth: []
  27218. summary: 查询持仓明细
  27219. tags:
  27220. - 通用单据
  27221. /Order/QueryTradeOrderDetail:
  27222. get:
  27223. parameters:
  27224. - description: 资金账户 - 格式:1,2,3
  27225. in: query
  27226. name: accountID
  27227. required: true
  27228. type: string
  27229. - description: 交易模式 - 格式:1,2,3
  27230. in: query
  27231. name: tradeMode
  27232. type: string
  27233. - description: 委托状态 - 格式:1,2,3
  27234. in: query
  27235. name: orderStatus
  27236. type: string
  27237. - description: 委托单号
  27238. in: query
  27239. name: orderID
  27240. type: integer
  27241. produces:
  27242. - application/json
  27243. responses:
  27244. "200":
  27245. description: OK
  27246. schema:
  27247. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27248. "500":
  27249. description: Internal Server Error
  27250. schema:
  27251. $ref: '#/definitions/app.Response'
  27252. security:
  27253. - ApiKeyAuth: []
  27254. summary: 委托单查询请求(合约市场)
  27255. tags:
  27256. - 通用单据
  27257. /Order/QueryTradePosition:
  27258. get:
  27259. parameters:
  27260. - description: 资金账户 - 格式:1,2,3
  27261. in: query
  27262. name: accountID
  27263. required: true
  27264. type: string
  27265. - description: 交易模式 - 格式:1,2,3
  27266. in: query
  27267. name: tradeMode
  27268. type: string
  27269. produces:
  27270. - application/json
  27271. responses:
  27272. "200":
  27273. description: OK
  27274. schema:
  27275. $ref: '#/definitions/order.QueryTradePositionRsp'
  27276. "500":
  27277. description: Internal Server Error
  27278. schema:
  27279. $ref: '#/definitions/app.Response'
  27280. security:
  27281. - ApiKeyAuth: []
  27282. summary: 持仓汇总查询(合约市场)
  27283. tags:
  27284. - 通用单据
  27285. /Qhj/QueryAccountInOutApply:
  27286. get:
  27287. parameters:
  27288. - description: 用户ID
  27289. in: query
  27290. name: userid
  27291. required: true
  27292. type: integer
  27293. - description: 申请起始日期(格式yyyymmdd)
  27294. in: query
  27295. name: begindate
  27296. type: string
  27297. - description: 申请截止日期(格式yyyymmdd)
  27298. in: query
  27299. name: enddate
  27300. type: string
  27301. - description: 模糊搜索名称
  27302. in: query
  27303. name: likename
  27304. type: string
  27305. produces:
  27306. - application/json
  27307. responses:
  27308. "200":
  27309. description: OK
  27310. schema:
  27311. items:
  27312. $ref: '#/definitions/models.QhjAccountOutInApply'
  27313. type: array
  27314. "500":
  27315. description: Internal Server Error
  27316. schema:
  27317. $ref: '#/definitions/app.Response'
  27318. security:
  27319. - ApiKeyAuth: []
  27320. summary: 查询充值提现
  27321. tags:
  27322. - 大连千海金
  27323. /Qhj/QueryAreaFinanceConfig:
  27324. get:
  27325. parameters:
  27326. - description: 机构用户ID 其他做市关系,都设置为 1
  27327. in: query
  27328. name: userid
  27329. type: integer
  27330. produces:
  27331. - application/json
  27332. responses:
  27333. "200":
  27334. description: OK
  27335. schema:
  27336. items:
  27337. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27338. type: array
  27339. "500":
  27340. description: Internal Server Error
  27341. schema:
  27342. $ref: '#/definitions/app.Response'
  27343. security:
  27344. - ApiKeyAuth: []
  27345. summary: 查询企业配置表
  27346. tags:
  27347. - 大连千海金
  27348. /Qhj/QueryBankAccountSign:
  27349. get:
  27350. parameters:
  27351. - description: 用户ID
  27352. in: query
  27353. name: userid
  27354. required: true
  27355. type: integer
  27356. produces:
  27357. - application/json
  27358. responses:
  27359. "200":
  27360. description: OK
  27361. schema:
  27362. items:
  27363. $ref: '#/definitions/models.QhjBankAccountSign'
  27364. type: array
  27365. "500":
  27366. description: Internal Server Error
  27367. schema:
  27368. $ref: '#/definitions/app.Response'
  27369. security:
  27370. - ApiKeyAuth: []
  27371. summary: 查询签约银行信息(提现账户管理)
  27372. tags:
  27373. - 大连千海金
  27374. /Qhj/QueryBankInfo:
  27375. get:
  27376. produces:
  27377. - application/json
  27378. responses:
  27379. "200":
  27380. description: OK
  27381. schema:
  27382. items:
  27383. $ref: '#/definitions/models.QhjBankInfo'
  27384. type: array
  27385. "500":
  27386. description: Internal Server Error
  27387. schema:
  27388. $ref: '#/definitions/app.Response'
  27389. security:
  27390. - ApiKeyAuth: []
  27391. summary: 查询开户行
  27392. tags:
  27393. - 大连千海金
  27394. /Qhj/QueryBrokerApply:
  27395. get:
  27396. parameters:
  27397. - description: 所属机构ID
  27398. in: query
  27399. name: userid
  27400. type: integer
  27401. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27402. in: query
  27403. name: filterstatus
  27404. type: string
  27405. produces:
  27406. - application/json
  27407. responses:
  27408. "200":
  27409. description: OK
  27410. schema:
  27411. items:
  27412. $ref: '#/definitions/models.QhjBrokerApply'
  27413. type: array
  27414. "500":
  27415. description: Internal Server Error
  27416. schema:
  27417. $ref: '#/definitions/app.Response'
  27418. security:
  27419. - ApiKeyAuth: []
  27420. summary: 查询经纪人申请
  27421. tags:
  27422. - 大连千海金
  27423. /Qhj/QueryBrokerApplyEx:
  27424. get:
  27425. parameters:
  27426. - description: 所属机构ID
  27427. in: query
  27428. name: userid
  27429. type: integer
  27430. produces:
  27431. - application/json
  27432. responses:
  27433. "200":
  27434. description: OK
  27435. schema:
  27436. items:
  27437. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27438. type: array
  27439. "500":
  27440. description: Internal Server Error
  27441. schema:
  27442. $ref: '#/definitions/app.Response'
  27443. security:
  27444. - ApiKeyAuth: []
  27445. summary: 查询经纪人信息和申请记录
  27446. tags:
  27447. - 大连千海金
  27448. /Qhj/QueryBrokerRewardLog:
  27449. get:
  27450. parameters:
  27451. - description: 用户ID
  27452. in: query
  27453. name: userid
  27454. required: true
  27455. type: integer
  27456. - description: 开始交易日(yyyymmdd)
  27457. in: query
  27458. name: begindate
  27459. type: string
  27460. - description: 结束交易日(yyyymmdd)
  27461. in: query
  27462. name: enddate
  27463. type: string
  27464. produces:
  27465. - application/json
  27466. responses:
  27467. "200":
  27468. description: OK
  27469. schema:
  27470. items:
  27471. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27472. type: array
  27473. "500":
  27474. description: Internal Server Error
  27475. schema:
  27476. $ref: '#/definitions/app.Response'
  27477. security:
  27478. - ApiKeyAuth: []
  27479. summary: 查询奖励流水(我的奖励)
  27480. tags:
  27481. - 大连千海金
  27482. /Qhj/QueryContract:
  27483. get:
  27484. parameters:
  27485. - description: 用户ID
  27486. in: query
  27487. name: userid
  27488. type: integer
  27489. - description: scf合同id
  27490. in: query
  27491. name: scfcontractid
  27492. type: integer
  27493. produces:
  27494. - application/json
  27495. responses:
  27496. "200":
  27497. description: OK
  27498. schema:
  27499. items:
  27500. $ref: '#/definitions/models.QhjContract'
  27501. type: array
  27502. "500":
  27503. description: Internal Server Error
  27504. schema:
  27505. $ref: '#/definitions/app.Response'
  27506. security:
  27507. - ApiKeyAuth: []
  27508. summary: 查询融资明细(合同)
  27509. tags:
  27510. - 大连千海金
  27511. /Qhj/QueryContractLog:
  27512. get:
  27513. parameters:
  27514. - description: scf合同id
  27515. in: query
  27516. name: scfcontractid
  27517. required: true
  27518. type: integer
  27519. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27520. in: query
  27521. name: amounttype
  27522. type: string
  27523. produces:
  27524. - application/json
  27525. responses:
  27526. "200":
  27527. description: OK
  27528. schema:
  27529. items:
  27530. $ref: '#/definitions/models.QhjContractLog'
  27531. type: array
  27532. "500":
  27533. description: Internal Server Error
  27534. schema:
  27535. $ref: '#/definitions/app.Response'
  27536. security:
  27537. - ApiKeyAuth: []
  27538. summary: 查询融资明细流水(融资明细详情页中的流水)
  27539. tags:
  27540. - 大连千海金
  27541. /Qhj/QueryCusBankSignBank:
  27542. get:
  27543. produces:
  27544. - application/json
  27545. responses:
  27546. "200":
  27547. description: OK
  27548. schema:
  27549. items:
  27550. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27551. type: array
  27552. "500":
  27553. description: Internal Server Error
  27554. schema:
  27555. $ref: '#/definitions/app.Response'
  27556. security:
  27557. - ApiKeyAuth: []
  27558. summary: 查询托管银行
  27559. tags:
  27560. - 大连千海金
  27561. /Qhj/QueryCustomerInfo:
  27562. get:
  27563. parameters:
  27564. - description: 用户ID
  27565. in: query
  27566. name: userid
  27567. required: true
  27568. type: integer
  27569. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27570. in: query
  27571. name: querytype
  27572. required: true
  27573. type: integer
  27574. - description: 客户类型 1-个人 2-企业
  27575. in: query
  27576. name: userinfotype
  27577. type: integer
  27578. - description: 客户名称(模糊匹配)
  27579. in: query
  27580. name: customername
  27581. type: string
  27582. - description: 昵称(模糊匹配)
  27583. in: query
  27584. name: nickname
  27585. type: string
  27586. - description: 是否包含子级 1-包含
  27587. in: query
  27588. name: includesub
  27589. type: integer
  27590. produces:
  27591. - application/json
  27592. responses:
  27593. "200":
  27594. description: OK
  27595. schema:
  27596. items:
  27597. $ref: '#/definitions/models.QhjCustomer'
  27598. type: array
  27599. "500":
  27600. description: Internal Server Error
  27601. schema:
  27602. $ref: '#/definitions/app.Response'
  27603. security:
  27604. - ApiKeyAuth: []
  27605. summary: 查询客户资料
  27606. tags:
  27607. - 大连千海金
  27608. /Qhj/QueryGoodsEx:
  27609. get:
  27610. parameters:
  27611. - description: 商品id
  27612. in: query
  27613. name: goodsid
  27614. type: integer
  27615. produces:
  27616. - application/json
  27617. responses:
  27618. "200":
  27619. description: OK
  27620. schema:
  27621. items:
  27622. $ref: '#/definitions/models.Qhjgoodsex'
  27623. type: array
  27624. "500":
  27625. description: Internal Server Error
  27626. schema:
  27627. $ref: '#/definitions/app.Response'
  27628. security:
  27629. - ApiKeyAuth: []
  27630. summary: 交易商品扩展表
  27631. tags:
  27632. - 大连千海金
  27633. /Qhj/QueryMyTeam:
  27634. get:
  27635. parameters:
  27636. - description: 用户ID
  27637. in: query
  27638. name: userid
  27639. required: true
  27640. type: integer
  27641. produces:
  27642. - application/json
  27643. responses:
  27644. "200":
  27645. description: OK
  27646. schema:
  27647. items:
  27648. $ref: '#/definitions/models.QhjMyTeamEx'
  27649. type: array
  27650. "500":
  27651. description: Internal Server Error
  27652. schema:
  27653. $ref: '#/definitions/app.Response'
  27654. security:
  27655. - ApiKeyAuth: []
  27656. summary: 查询我的团队
  27657. tags:
  27658. - 大连千海金
  27659. /Qhj/QueryMyTeamOrder:
  27660. get:
  27661. parameters:
  27662. - description: 页码
  27663. in: query
  27664. name: page
  27665. type: integer
  27666. - description: 每页条数
  27667. in: query
  27668. name: pagesize
  27669. type: integer
  27670. - description: 用户ID
  27671. in: query
  27672. name: userid
  27673. required: true
  27674. type: integer
  27675. - description: 交易模式
  27676. in: query
  27677. name: trademode
  27678. type: integer
  27679. - description: 名称(模糊搜索账户)
  27680. in: query
  27681. name: filtername
  27682. type: string
  27683. produces:
  27684. - application/json
  27685. responses:
  27686. "200":
  27687. description: OK
  27688. schema:
  27689. items:
  27690. $ref: '#/definitions/models.QhjTeamOrder'
  27691. type: array
  27692. "500":
  27693. description: Internal Server Error
  27694. schema:
  27695. $ref: '#/definitions/app.Response'
  27696. security:
  27697. - ApiKeyAuth: []
  27698. summary: 查询团队订单(我的团队/团队订单)
  27699. tags:
  27700. - 大连千海金
  27701. /Qhj/QueryParentAreaList:
  27702. get:
  27703. parameters:
  27704. - description: 用户ID
  27705. in: query
  27706. name: userid
  27707. required: true
  27708. type: integer
  27709. produces:
  27710. - application/json
  27711. responses:
  27712. "200":
  27713. description: OK
  27714. schema:
  27715. items:
  27716. $ref: '#/definitions/models.QhjParentAreaList'
  27717. type: array
  27718. "500":
  27719. description: Internal Server Error
  27720. schema:
  27721. $ref: '#/definitions/app.Response'
  27722. security:
  27723. - ApiKeyAuth: []
  27724. summary: 查询所属机构列表
  27725. tags:
  27726. - 大连千海金
  27727. /Qhj/QueryPayOrder:
  27728. get:
  27729. parameters:
  27730. - description: 资金账号id
  27731. in: query
  27732. name: accountid
  27733. required: true
  27734. type: integer
  27735. - description: 成交单号
  27736. in: query
  27737. name: tradeid
  27738. type: integer
  27739. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27740. in: query
  27741. name: payflag
  27742. type: string
  27743. produces:
  27744. - application/json
  27745. responses:
  27746. "200":
  27747. description: OK
  27748. schema:
  27749. items:
  27750. $ref: '#/definitions/models.QhjPayOrder'
  27751. type: array
  27752. "500":
  27753. description: Internal Server Error
  27754. schema:
  27755. $ref: '#/definitions/app.Response'
  27756. security:
  27757. - ApiKeyAuth: []
  27758. summary: 查询待付款单据
  27759. tags:
  27760. - 大连千海金
  27761. /Qhj/QueryPickArea:
  27762. get:
  27763. parameters:
  27764. - description: 用户ID
  27765. in: query
  27766. name: userid
  27767. type: integer
  27768. produces:
  27769. - application/json
  27770. responses:
  27771. "200":
  27772. description: OK
  27773. schema:
  27774. items:
  27775. $ref: '#/definitions/models.QhjPickArea'
  27776. type: array
  27777. "500":
  27778. description: Internal Server Error
  27779. schema:
  27780. $ref: '#/definitions/app.Response'
  27781. security:
  27782. - ApiKeyAuth: []
  27783. summary: 查询提货门店
  27784. tags:
  27785. - 大连千海金
  27786. /Qhj/QueryPickGoods:
  27787. get:
  27788. parameters:
  27789. - description: 交易商品id
  27790. in: query
  27791. name: goodsid
  27792. required: true
  27793. type: integer
  27794. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27795. in: query
  27796. name: status
  27797. type: string
  27798. produces:
  27799. - application/json
  27800. responses:
  27801. "200":
  27802. description: OK
  27803. schema:
  27804. items:
  27805. $ref: '#/definitions/models.QhjPickGoods'
  27806. type: array
  27807. "500":
  27808. description: Internal Server Error
  27809. schema:
  27810. $ref: '#/definitions/app.Response'
  27811. security:
  27812. - ApiKeyAuth: []
  27813. summary: 查询提货商品
  27814. tags:
  27815. - 大连千海金
  27816. /Qhj/QueryRSTriggerLog:
  27817. get:
  27818. parameters:
  27819. - description: 用户ID
  27820. in: query
  27821. name: userid
  27822. type: integer
  27823. - description: 定投策略id
  27824. in: query
  27825. name: regularlystrategyid
  27826. type: integer
  27827. - description: 商品id
  27828. in: query
  27829. name: goodsid
  27830. type: integer
  27831. - description: 开始交易日(yyyymmdd)
  27832. in: query
  27833. name: begindate
  27834. type: string
  27835. - description: 结束交易日(yyyymmdd)
  27836. in: query
  27837. name: enddate
  27838. type: string
  27839. - description: 名称(模糊搜索账户)
  27840. in: query
  27841. name: filtername
  27842. type: string
  27843. produces:
  27844. - application/json
  27845. responses:
  27846. "200":
  27847. description: OK
  27848. schema:
  27849. items:
  27850. $ref: '#/definitions/models.QhjRSTriggerLog'
  27851. type: array
  27852. "500":
  27853. description: Internal Server Error
  27854. schema:
  27855. $ref: '#/definitions/app.Response'
  27856. security:
  27857. - ApiKeyAuth: []
  27858. summary: 查询定投记录(定投管理/详情/定投记录)
  27859. tags:
  27860. - 大连千海金
  27861. /Qhj/QueryRStrategy:
  27862. get:
  27863. parameters:
  27864. - description: 用户ID
  27865. in: query
  27866. name: userid
  27867. type: integer
  27868. - description: 商品id
  27869. in: query
  27870. name: goodsid
  27871. type: integer
  27872. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  27873. in: query
  27874. name: status
  27875. type: string
  27876. - description: 名称(模糊搜索账户)
  27877. in: query
  27878. name: filtername
  27879. type: string
  27880. produces:
  27881. - application/json
  27882. responses:
  27883. "200":
  27884. description: OK
  27885. schema:
  27886. items:
  27887. $ref: '#/definitions/models.QhjRStrategy'
  27888. type: array
  27889. "500":
  27890. description: Internal Server Error
  27891. schema:
  27892. $ref: '#/definitions/app.Response'
  27893. security:
  27894. - ApiKeyAuth: []
  27895. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  27896. tags:
  27897. - 大连千海金
  27898. /Qhj/QueryReckonPriceLog:
  27899. get:
  27900. parameters:
  27901. - description: 商品ID
  27902. in: query
  27903. name: goodsid
  27904. type: integer
  27905. - description: 交易日 格式(yyyymmdd)
  27906. in: query
  27907. name: tradedate
  27908. type: string
  27909. produces:
  27910. - application/json
  27911. responses:
  27912. "200":
  27913. description: OK
  27914. schema:
  27915. items:
  27916. $ref: '#/definitions/models.QhjReckonPriceLog'
  27917. type: array
  27918. "500":
  27919. description: Internal Server Error
  27920. schema:
  27921. $ref: '#/definitions/app.Response'
  27922. security:
  27923. - ApiKeyAuth: []
  27924. summary: 查询定投价(结算价)
  27925. tags:
  27926. - 大连千海金
  27927. /Qhj/QueryScoreLog:
  27928. get:
  27929. parameters:
  27930. - description: 用户ID
  27931. in: query
  27932. name: userid
  27933. required: true
  27934. type: integer
  27935. - description: 开始交易日(yyyymmdd)
  27936. in: query
  27937. name: begindate
  27938. type: string
  27939. - description: 结束交易日(yyyymmdd)
  27940. in: query
  27941. name: enddate
  27942. type: string
  27943. - description: 最近多少条
  27944. in: query
  27945. name: lastnum
  27946. type: integer
  27947. produces:
  27948. - application/json
  27949. responses:
  27950. "200":
  27951. description: OK
  27952. schema:
  27953. items:
  27954. $ref: '#/definitions/models.QhjScoreLog'
  27955. type: array
  27956. "500":
  27957. description: Internal Server Error
  27958. schema:
  27959. $ref: '#/definitions/app.Response'
  27960. security:
  27961. - ApiKeyAuth: []
  27962. summary: 查询积分流水(我的积分)
  27963. tags:
  27964. - 大连千海金
  27965. /Qhj/QuerySiteColumnDetail:
  27966. get:
  27967. parameters:
  27968. - description: 用户ID
  27969. in: query
  27970. name: userid
  27971. required: true
  27972. type: integer
  27973. produces:
  27974. - application/json
  27975. responses:
  27976. "200":
  27977. description: OK
  27978. schema:
  27979. items:
  27980. $ref: '#/definitions/models.QhjSiteColumnDetail'
  27981. type: array
  27982. "500":
  27983. description: Internal Server Error
  27984. schema:
  27985. $ref: '#/definitions/app.Response'
  27986. security:
  27987. - ApiKeyAuth: []
  27988. summary: 查询资讯
  27989. tags:
  27990. - 大连千海金
  27991. /Qhj/QueryTradeGoodsPickup:
  27992. get:
  27993. parameters:
  27994. - description: 用户ID
  27995. in: query
  27996. name: userid
  27997. required: true
  27998. type: integer
  27999. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28000. 7:已拒绝 8:已撤销
  28001. in: query
  28002. name: takeorderstatus
  28003. type: integer
  28004. produces:
  28005. - application/json
  28006. responses:
  28007. "200":
  28008. description: OK
  28009. schema:
  28010. items:
  28011. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28012. type: array
  28013. "500":
  28014. description: Internal Server Error
  28015. schema:
  28016. $ref: '#/definitions/app.Response'
  28017. security:
  28018. - ApiKeyAuth: []
  28019. summary: 查询提货
  28020. tags:
  28021. - 大连千海金
  28022. /Qhj/QueryUserCollectConfig:
  28023. get:
  28024. parameters:
  28025. - description: 用户ID
  28026. in: query
  28027. name: userid
  28028. required: true
  28029. type: integer
  28030. produces:
  28031. - application/json
  28032. responses:
  28033. "200":
  28034. description: OK
  28035. schema:
  28036. items:
  28037. $ref: '#/definitions/models.UserCollectConfig'
  28038. type: array
  28039. "500":
  28040. description: Internal Server Error
  28041. schema:
  28042. $ref: '#/definitions/app.Response'
  28043. security:
  28044. - ApiKeyAuth: []
  28045. summary: 查询提现账户设置
  28046. tags:
  28047. - 大连千海金
  28048. /Qhj/QueryUserReceiveInfo:
  28049. get:
  28050. parameters:
  28051. - description: 用户ID
  28052. in: query
  28053. name: userid
  28054. required: true
  28055. type: integer
  28056. produces:
  28057. - application/json
  28058. responses:
  28059. "200":
  28060. description: OK
  28061. schema:
  28062. items:
  28063. $ref: '#/definitions/models.UserReceiveInfo'
  28064. type: array
  28065. "500":
  28066. description: Internal Server Error
  28067. schema:
  28068. $ref: '#/definitions/app.Response'
  28069. security:
  28070. - ApiKeyAuth: []
  28071. summary: 查询收货地址信息
  28072. tags:
  28073. - 大连千海金
  28074. /QhjMgr/QueryAccountInOutApply:
  28075. get:
  28076. parameters:
  28077. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28078. in: query
  28079. name: querytype
  28080. required: true
  28081. type: integer
  28082. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28083. in: query
  28084. name: applystatus
  28085. type: integer
  28086. - description: 申请起始日期(格式yyyymmdd)
  28087. in: query
  28088. name: begindate
  28089. type: string
  28090. - description: 申请截止日期(格式yyyymmdd)
  28091. in: query
  28092. name: enddate
  28093. type: string
  28094. - description: 模糊搜索名称
  28095. in: query
  28096. name: likename
  28097. type: string
  28098. produces:
  28099. - application/json
  28100. responses:
  28101. "200":
  28102. description: OK
  28103. schema:
  28104. items:
  28105. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28106. type: array
  28107. "500":
  28108. description: Internal Server Error
  28109. schema:
  28110. $ref: '#/definitions/app.Response'
  28111. security:
  28112. - ApiKeyAuth: []
  28113. summary: 查询充值提现
  28114. tags:
  28115. - 大连千海金(PCWeb)
  28116. /QhjMgr/QueryBrokerApply:
  28117. get:
  28118. parameters:
  28119. - description: 所属机构ID
  28120. in: query
  28121. name: userid
  28122. type: integer
  28123. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28124. in: query
  28125. name: filterstatus
  28126. type: string
  28127. - description: 名称(模糊匹配)
  28128. in: query
  28129. name: filtername
  28130. type: string
  28131. - description: 是否包含子级 1-包含
  28132. in: query
  28133. name: includesub
  28134. type: integer
  28135. produces:
  28136. - application/json
  28137. responses:
  28138. "200":
  28139. description: OK
  28140. schema:
  28141. items:
  28142. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28143. type: array
  28144. "500":
  28145. description: Internal Server Error
  28146. schema:
  28147. $ref: '#/definitions/app.Response'
  28148. security:
  28149. - ApiKeyAuth: []
  28150. summary: 查询经纪人申请
  28151. tags:
  28152. - 大连千海金(PCWeb)
  28153. /QhjMgr/QueryBrokerRewardReport:
  28154. get:
  28155. parameters:
  28156. - description: 所属机构ID
  28157. in: query
  28158. name: userid
  28159. required: true
  28160. type: integer
  28161. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28162. in: query
  28163. name: cycletype
  28164. required: true
  28165. type: integer
  28166. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28167. in: query
  28168. name: cycletime
  28169. required: true
  28170. type: string
  28171. - description: 名称(模糊匹配)
  28172. in: query
  28173. name: filtername
  28174. type: string
  28175. - description: 是否包含子级 1-包含
  28176. in: query
  28177. name: includesub
  28178. type: integer
  28179. produces:
  28180. - application/json
  28181. responses:
  28182. "200":
  28183. description: OK
  28184. schema:
  28185. items:
  28186. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28187. type: array
  28188. "500":
  28189. description: Internal Server Error
  28190. schema:
  28191. $ref: '#/definitions/app.Response'
  28192. security:
  28193. - ApiKeyAuth: []
  28194. summary: 查询经纪人奖励报表(废弃)
  28195. tags:
  28196. - 大连千海金(PCWeb)
  28197. /QhjMgr/QueryContract:
  28198. get:
  28199. parameters:
  28200. - description: 用户ID
  28201. in: query
  28202. name: userid
  28203. type: integer
  28204. - description: 商品id
  28205. in: query
  28206. name: goodsid
  28207. type: integer
  28208. - description: 名称(模糊搜索账户)
  28209. in: query
  28210. name: filtername
  28211. type: string
  28212. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28213. in: query
  28214. name: risklevel
  28215. type: string
  28216. - description: 开始交易日(yyyymmdd)
  28217. in: query
  28218. name: begindate
  28219. type: string
  28220. - description: 结束交易日(yyyymmdd)
  28221. in: query
  28222. name: enddate
  28223. type: string
  28224. produces:
  28225. - application/json
  28226. responses:
  28227. "200":
  28228. description: OK
  28229. schema:
  28230. items:
  28231. $ref: '#/definitions/models.QhjMgrContract'
  28232. type: array
  28233. "500":
  28234. description: Internal Server Error
  28235. schema:
  28236. $ref: '#/definitions/app.Response'
  28237. security:
  28238. - ApiKeyAuth: []
  28239. summary: 查询融资信息(合同)
  28240. tags:
  28241. - 大连千海金(PCWeb)
  28242. /QhjMgr/QueryCustomerInfo:
  28243. get:
  28244. parameters:
  28245. - description: 用户ID
  28246. in: query
  28247. name: userid
  28248. required: true
  28249. type: integer
  28250. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28251. in: query
  28252. name: querytype
  28253. required: true
  28254. type: integer
  28255. - description: 客户类型 1-个人 2-企业
  28256. in: query
  28257. name: userinfotype
  28258. type: integer
  28259. - description: 客户名称(模糊匹配)
  28260. in: query
  28261. name: customername
  28262. type: string
  28263. - description: 昵称(模糊匹配)
  28264. in: query
  28265. name: nickname
  28266. type: string
  28267. - description: 所属客户经理(模糊匹配)
  28268. in: query
  28269. name: brokername
  28270. type: string
  28271. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28272. 如0503 -5月3日)
  28273. in: query
  28274. name: birthday
  28275. type: string
  28276. - description: 是否包含子级 1-包含
  28277. in: query
  28278. name: includesub
  28279. type: integer
  28280. produces:
  28281. - application/json
  28282. responses:
  28283. "200":
  28284. description: OK
  28285. schema:
  28286. items:
  28287. $ref: '#/definitions/models.QhjMgrCustomer'
  28288. type: array
  28289. "500":
  28290. description: Internal Server Error
  28291. schema:
  28292. $ref: '#/definitions/app.Response'
  28293. security:
  28294. - ApiKeyAuth: []
  28295. summary: 查询客户资料
  28296. tags:
  28297. - 大连千海金(PCWeb)
  28298. /QhjMgr/QueryPickGoods:
  28299. get:
  28300. parameters:
  28301. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28302. in: query
  28303. name: status
  28304. type: string
  28305. produces:
  28306. - application/json
  28307. responses:
  28308. "200":
  28309. description: OK
  28310. schema:
  28311. items:
  28312. $ref: '#/definitions/models.QhjMgrPickGoods'
  28313. type: array
  28314. "500":
  28315. description: Internal Server Error
  28316. schema:
  28317. $ref: '#/definitions/app.Response'
  28318. security:
  28319. - ApiKeyAuth: []
  28320. summary: 查询提货商品
  28321. tags:
  28322. - 大连千海金(PCWeb)
  28323. /QhjMgr/QuerySubArea:
  28324. get:
  28325. parameters:
  28326. - description: 用户ID
  28327. in: query
  28328. name: userid
  28329. required: true
  28330. type: integer
  28331. produces:
  28332. - application/json
  28333. responses:
  28334. "200":
  28335. description: OK
  28336. schema:
  28337. items:
  28338. $ref: '#/definitions/models.QhjMgrSubArea'
  28339. type: array
  28340. "500":
  28341. description: Internal Server Error
  28342. schema:
  28343. $ref: '#/definitions/app.Response'
  28344. security:
  28345. - ApiKeyAuth: []
  28346. summary: 查询子机构列表
  28347. tags:
  28348. - 大连千海金(PCWeb)
  28349. /QhjMgr/QueryTradeDetail:
  28350. get:
  28351. parameters:
  28352. - description: 用户ID
  28353. in: query
  28354. name: userid
  28355. required: true
  28356. type: integer
  28357. - description: 用户类型 1-个人 2-企业
  28358. in: query
  28359. name: userinfotype
  28360. type: integer
  28361. - description: 交易模式
  28362. in: query
  28363. name: trademode
  28364. type: integer
  28365. - description: 商品id
  28366. in: query
  28367. name: goodsid
  28368. type: integer
  28369. - description: 名称(模糊搜索账户)
  28370. in: query
  28371. name: filtername
  28372. type: string
  28373. - description: 开始交易日(yyyymmdd)
  28374. in: query
  28375. name: begindate
  28376. type: string
  28377. - description: 结束交易日(yyyymmdd)
  28378. in: query
  28379. name: enddate
  28380. type: string
  28381. - description: 是否包含子级 1-包含
  28382. in: query
  28383. name: includesub
  28384. type: integer
  28385. produces:
  28386. - application/json
  28387. responses:
  28388. "200":
  28389. description: OK
  28390. schema:
  28391. items:
  28392. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28393. type: array
  28394. "500":
  28395. description: Internal Server Error
  28396. schema:
  28397. $ref: '#/definitions/app.Response'
  28398. security:
  28399. - ApiKeyAuth: []
  28400. summary: 查询成交明细
  28401. tags:
  28402. - 大连千海金(PCWeb)
  28403. /QhjMgr/QueryTradeOrderDetail:
  28404. get:
  28405. parameters:
  28406. - description: 用户ID
  28407. in: query
  28408. name: userid
  28409. required: true
  28410. type: integer
  28411. - description: 用户类型 1-个人 2-企业
  28412. in: query
  28413. name: userinfotype
  28414. type: integer
  28415. - description: 交易模式
  28416. in: query
  28417. name: trademode
  28418. type: integer
  28419. - description: 商品id
  28420. in: query
  28421. name: goodsid
  28422. type: integer
  28423. - description: 名称(模糊搜索账户)
  28424. in: query
  28425. name: filtername
  28426. type: string
  28427. - description: 开始交易日(yyyymmdd)
  28428. in: query
  28429. name: begindate
  28430. type: string
  28431. - description: 结束交易日(yyyymmdd)
  28432. in: query
  28433. name: enddate
  28434. type: string
  28435. - description: 是否包含子级 1-包含
  28436. in: query
  28437. name: includesub
  28438. type: integer
  28439. produces:
  28440. - application/json
  28441. responses:
  28442. "200":
  28443. description: OK
  28444. schema:
  28445. items:
  28446. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28447. type: array
  28448. "500":
  28449. description: Internal Server Error
  28450. schema:
  28451. $ref: '#/definitions/app.Response'
  28452. security:
  28453. - ApiKeyAuth: []
  28454. summary: 查询委托明细
  28455. tags:
  28456. - 大连千海金(PCWeb)
  28457. /QhjMgr/QueryTradePayOrder:
  28458. get:
  28459. parameters:
  28460. - description: 用户ID
  28461. in: query
  28462. name: userid
  28463. required: true
  28464. type: integer
  28465. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28466. in: query
  28467. name: payflag
  28468. type: string
  28469. - description: 用户类型 1-个人 2-企业
  28470. in: query
  28471. name: userinfotype
  28472. type: integer
  28473. - description: 交易模式
  28474. in: query
  28475. name: trademode
  28476. type: integer
  28477. - description: 商品id
  28478. in: query
  28479. name: goodsid
  28480. type: integer
  28481. - description: 名称(模糊搜索账户)
  28482. in: query
  28483. name: filtername
  28484. type: string
  28485. - description: 开始交易日(yyyymmdd)
  28486. in: query
  28487. name: begindate
  28488. type: string
  28489. - description: 结束交易日(yyyymmdd)
  28490. in: query
  28491. name: enddate
  28492. type: string
  28493. - description: 是否包含子级 1-包含
  28494. in: query
  28495. name: includesub
  28496. type: integer
  28497. produces:
  28498. - application/json
  28499. responses:
  28500. "200":
  28501. description: OK
  28502. schema:
  28503. items:
  28504. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28505. type: array
  28506. "500":
  28507. description: Internal Server Error
  28508. schema:
  28509. $ref: '#/definitions/app.Response'
  28510. security:
  28511. - ApiKeyAuth: []
  28512. summary: 查询待付款单
  28513. tags:
  28514. - 大连千海金(PCWeb)
  28515. /QhjMgr/QueryTradePosition:
  28516. get:
  28517. parameters:
  28518. - description: 用户ID
  28519. in: query
  28520. name: userid
  28521. required: true
  28522. type: integer
  28523. - description: 用户类型 1-个人 2-企业
  28524. in: query
  28525. name: userinfotype
  28526. type: integer
  28527. - description: 交易模式
  28528. in: query
  28529. name: trademode
  28530. type: integer
  28531. - description: 商品id
  28532. in: query
  28533. name: goodsid
  28534. type: integer
  28535. - description: 名称(模糊搜索账户)
  28536. in: query
  28537. name: filtername
  28538. type: string
  28539. - description: 是否包含子级 1-包含
  28540. in: query
  28541. name: includesub
  28542. type: integer
  28543. produces:
  28544. - application/json
  28545. responses:
  28546. "200":
  28547. description: OK
  28548. schema:
  28549. items:
  28550. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28551. type: array
  28552. "500":
  28553. description: Internal Server Error
  28554. schema:
  28555. $ref: '#/definitions/app.Response'
  28556. security:
  28557. - ApiKeyAuth: []
  28558. summary: 查询持仓汇总
  28559. tags:
  28560. - 大连千海金(PCWeb)
  28561. /QhjSys/QueryAgreementChangeLog:
  28562. get:
  28563. parameters:
  28564. - description: 协议ID
  28565. in: query
  28566. name: agreementid
  28567. type: integer
  28568. - description: 协议版本号
  28569. in: query
  28570. name: agreementversion
  28571. type: integer
  28572. - description: 协议类型 - 1:注册 2:登录 3:交易
  28573. in: query
  28574. name: agreementtype
  28575. type: integer
  28576. - description: 协议编号(模糊匹配)
  28577. in: query
  28578. name: agreementno
  28579. type: string
  28580. - description: 协议名称(模糊匹配)
  28581. in: query
  28582. name: agreementname
  28583. type: string
  28584. produces:
  28585. - application/json
  28586. responses:
  28587. "200":
  28588. description: OK
  28589. schema:
  28590. items:
  28591. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28592. type: array
  28593. "500":
  28594. description: Internal Server Error
  28595. schema:
  28596. $ref: '#/definitions/app.Response'
  28597. security:
  28598. - ApiKeyAuth: []
  28599. summary: 查询协议配置变更流水
  28600. tags:
  28601. - 大连千海金(协议和签约信息)
  28602. /QhjSys/QueryAgreementConfig:
  28603. get:
  28604. parameters:
  28605. - description: 协议ID
  28606. in: query
  28607. name: agreementid
  28608. type: integer
  28609. - description: 协议版本号
  28610. in: query
  28611. name: agreementversion
  28612. type: integer
  28613. - description: 协议类型 - 1:注册 2:登录 3:交易
  28614. in: query
  28615. name: agreementtype
  28616. type: integer
  28617. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28618. in: query
  28619. name: isvalid
  28620. type: integer
  28621. - description: 协议编号(模糊匹配)
  28622. in: query
  28623. name: agreementno
  28624. type: string
  28625. - description: 协议名称(模糊匹配)
  28626. in: query
  28627. name: agreementname
  28628. type: string
  28629. produces:
  28630. - application/json
  28631. responses:
  28632. "200":
  28633. description: OK
  28634. schema:
  28635. items:
  28636. $ref: '#/definitions/models.QhjAgreementConfig'
  28637. type: array
  28638. "500":
  28639. description: Internal Server Error
  28640. schema:
  28641. $ref: '#/definitions/app.Response'
  28642. security:
  28643. - ApiKeyAuth: []
  28644. summary: 查询协议配置
  28645. tags:
  28646. - 大连千海金(协议和签约信息)
  28647. /QhjSys/QueryCustomerSignStatus:
  28648. get:
  28649. parameters:
  28650. - description: 客户ID
  28651. in: query
  28652. name: userid
  28653. type: integer
  28654. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28655. in: query
  28656. name: nodetype
  28657. type: integer
  28658. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28659. in: query
  28660. name: goodsid
  28661. type: integer
  28662. - description: 创建交易日(yyyyMMdd)
  28663. in: query
  28664. name: tradedate
  28665. type: string
  28666. - description: 用户名称(模糊匹配)
  28667. in: query
  28668. name: username
  28669. type: string
  28670. produces:
  28671. - application/json
  28672. responses:
  28673. "200":
  28674. description: OK
  28675. schema:
  28676. items:
  28677. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28678. type: array
  28679. "500":
  28680. description: Internal Server Error
  28681. schema:
  28682. $ref: '#/definitions/app.Response'
  28683. security:
  28684. - ApiKeyAuth: []
  28685. summary: 查询客户协议签约状态
  28686. tags:
  28687. - 大连千海金(协议和签约信息)
  28688. /QhjSys/QueryNodeAgreementConfig:
  28689. get:
  28690. parameters:
  28691. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28692. in: query
  28693. name: configid
  28694. type: integer
  28695. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28696. in: query
  28697. name: nodetype
  28698. type: integer
  28699. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28700. in: query
  28701. name: goodsid
  28702. type: integer
  28703. - description: 协议ID
  28704. in: query
  28705. name: agreementid
  28706. type: integer
  28707. - description: 协议类型 - 1:注册 2:登录 3:交易
  28708. in: query
  28709. name: agreementtype
  28710. type: integer
  28711. - description: 协议版本号
  28712. in: query
  28713. name: agreementversion
  28714. type: integer
  28715. - description: 协议编号(模糊匹配)
  28716. in: query
  28717. name: agreementno
  28718. type: string
  28719. - description: 协议名称(模糊匹配)
  28720. in: query
  28721. name: agreementname
  28722. type: string
  28723. produces:
  28724. - application/json
  28725. responses:
  28726. "200":
  28727. description: OK
  28728. schema:
  28729. items:
  28730. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28731. type: array
  28732. "500":
  28733. description: Internal Server Error
  28734. schema:
  28735. $ref: '#/definitions/app.Response'
  28736. security:
  28737. - ApiKeyAuth: []
  28738. summary: 查询协议节点配置
  28739. tags:
  28740. - 大连千海金(协议和签约信息)
  28741. /QhjSys/QueryQhjCustomerSignLog:
  28742. get:
  28743. parameters:
  28744. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28745. in: query
  28746. name: logid
  28747. type: integer
  28748. - description: 客户ID
  28749. in: query
  28750. name: userid
  28751. type: integer
  28752. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28753. in: query
  28754. name: nodetype
  28755. type: integer
  28756. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28757. in: query
  28758. name: goodsid
  28759. type: integer
  28760. - description: 协议ID
  28761. in: query
  28762. name: agreementid
  28763. type: integer
  28764. - description: 用户名称(模糊匹配)
  28765. in: query
  28766. name: username
  28767. type: string
  28768. - description: 协议编号(模糊匹配)
  28769. in: query
  28770. name: agreementno
  28771. type: string
  28772. - description: 协议名称(模糊匹配)
  28773. in: query
  28774. name: agreementname
  28775. type: string
  28776. produces:
  28777. - application/json
  28778. responses:
  28779. "200":
  28780. description: OK
  28781. schema:
  28782. items:
  28783. $ref: '#/definitions/models.QhjCustomerSignLog'
  28784. type: array
  28785. "500":
  28786. description: Internal Server Error
  28787. schema:
  28788. $ref: '#/definitions/app.Response'
  28789. security:
  28790. - ApiKeyAuth: []
  28791. summary: 查询客户协议签约流水
  28792. tags:
  28793. - 大连千海金(协议和签约信息)
  28794. /QhjSys/QueryUserNodeCfgAndStatus:
  28795. get:
  28796. parameters:
  28797. - description: 客户ID
  28798. in: query
  28799. name: userid
  28800. type: integer
  28801. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28802. in: query
  28803. name: configid
  28804. type: integer
  28805. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28806. in: query
  28807. name: nodetype
  28808. type: string
  28809. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28810. in: query
  28811. name: goodsid
  28812. type: integer
  28813. - description: 协议ID
  28814. in: query
  28815. name: agreementid
  28816. type: integer
  28817. - description: 协议类型 - 1:注册 2:登录 3:交易
  28818. in: query
  28819. name: agreementtype
  28820. type: integer
  28821. - description: 协议版本号
  28822. in: query
  28823. name: agreementversion
  28824. type: integer
  28825. - description: 协议编号(模糊匹配)
  28826. in: query
  28827. name: agreementno
  28828. type: string
  28829. - description: 协议名称(模糊匹配)
  28830. in: query
  28831. name: agreementname
  28832. type: string
  28833. produces:
  28834. - application/json
  28835. responses:
  28836. "200":
  28837. description: OK
  28838. schema:
  28839. items:
  28840. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  28841. type: array
  28842. "500":
  28843. description: Internal Server Error
  28844. schema:
  28845. $ref: '#/definitions/app.Response'
  28846. security:
  28847. - ApiKeyAuth: []
  28848. summary: 查询用户协议节点配置和状态
  28849. tags:
  28850. - 大连千海金(协议和签约信息)
  28851. /Quote/QueryHistoryDatas:
  28852. get:
  28853. parameters:
  28854. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  28855. 日线 12:周线 13:月线 14:年线'
  28856. in: query
  28857. name: cycleType
  28858. required: true
  28859. type: integer
  28860. - description: 商品代码
  28861. in: query
  28862. name: goodsCode
  28863. required: true
  28864. type: string
  28865. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28866. in: query
  28867. name: startTime
  28868. type: string
  28869. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28870. in: query
  28871. name: endTime
  28872. type: string
  28873. - description: 条数
  28874. in: query
  28875. name: count
  28876. type: integer
  28877. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28878. in: query
  28879. name: isAsc
  28880. type: boolean
  28881. produces:
  28882. - application/json
  28883. responses:
  28884. "200":
  28885. description: OK
  28886. schema:
  28887. $ref: '#/definitions/quote.HistoryData'
  28888. "500":
  28889. description: Internal Server Error
  28890. schema:
  28891. $ref: '#/definitions/app.Response'
  28892. security:
  28893. - ApiKeyAuth: []
  28894. summary: 查询行情历史数据
  28895. tags:
  28896. - 行情服务
  28897. /Quote/QueryHistoryTikDatas:
  28898. get:
  28899. parameters:
  28900. - description: 商品代码
  28901. in: query
  28902. name: goodsCode
  28903. required: true
  28904. type: string
  28905. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28906. in: query
  28907. name: startTime
  28908. type: string
  28909. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28910. in: query
  28911. name: endTime
  28912. type: string
  28913. - description: 条数
  28914. in: query
  28915. name: count
  28916. type: integer
  28917. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28918. in: query
  28919. name: isAsc
  28920. type: boolean
  28921. produces:
  28922. - application/json
  28923. responses:
  28924. "200":
  28925. description: OK
  28926. schema:
  28927. $ref: '#/definitions/quote.HistoryTikData'
  28928. "500":
  28929. description: Internal Server Error
  28930. schema:
  28931. $ref: '#/definitions/app.Response'
  28932. security:
  28933. - ApiKeyAuth: []
  28934. summary: 查询行情Tik数据
  28935. tags:
  28936. - 行情服务
  28937. /Quote/QueryQuoteDay:
  28938. get:
  28939. parameters:
  28940. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  28941. in: query
  28942. name: goodsCodes
  28943. type: string
  28944. produces:
  28945. - application/json
  28946. responses:
  28947. "200":
  28948. description: OK
  28949. schema:
  28950. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  28951. "500":
  28952. description: Internal Server Error
  28953. schema:
  28954. $ref: '#/definitions/app.Response'
  28955. security:
  28956. - ApiKeyAuth: []
  28957. summary: 获取商品盘面信息
  28958. tags:
  28959. - 行情服务
  28960. /Quote/QueryTSData:
  28961. get:
  28962. parameters:
  28963. - description: 商品代码
  28964. in: query
  28965. name: goodsCode
  28966. required: true
  28967. type: string
  28968. produces:
  28969. - application/json
  28970. responses:
  28971. "200":
  28972. description: OK
  28973. schema:
  28974. $ref: '#/definitions/quote.QueryTSDataRsp'
  28975. "500":
  28976. description: Internal Server Error
  28977. schema:
  28978. $ref: '#/definitions/app.Response'
  28979. security:
  28980. - ApiKeyAuth: []
  28981. summary: 分时图数据查询
  28982. tags:
  28983. - 行情服务
  28984. /SZDZ/QueryConvertConfig:
  28985. get:
  28986. parameters:
  28987. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  28988. 6:交易转花生米(不设置)
  28989. in: query
  28990. name: convertType
  28991. type: integer
  28992. - description: 外部商品代码[JD\PD]
  28993. in: query
  28994. name: outerGoodsCode
  28995. type: string
  28996. - description: 内部商品ID列表[交易],格式:1,2,3
  28997. in: query
  28998. name: innerGoodsIDs
  28999. type: string
  29000. produces:
  29001. - application/json
  29002. responses:
  29003. "200":
  29004. description: OK
  29005. schema:
  29006. $ref: '#/definitions/models.Szdz3convertconfig'
  29007. "500":
  29008. description: Internal Server Error
  29009. schema:
  29010. $ref: '#/definitions/app.Response'
  29011. security:
  29012. - ApiKeyAuth: []
  29013. summary: 查询交易系统转换设置
  29014. tags:
  29015. - 定制【尚志大宗】
  29016. /SZDZ/QueryConvertLog:
  29017. get:
  29018. parameters:
  29019. - description: 资金账户 - 格式:1,2,3
  29020. in: query
  29021. name: accountID
  29022. required: true
  29023. type: string
  29024. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29025. in: query
  29026. name: startDate
  29027. type: string
  29028. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29029. in: query
  29030. name: endDate
  29031. type: string
  29032. produces:
  29033. - application/json
  29034. responses:
  29035. "200":
  29036. description: OK
  29037. schema:
  29038. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29039. "500":
  29040. description: Internal Server Error
  29041. schema:
  29042. $ref: '#/definitions/app.Response'
  29043. security:
  29044. - ApiKeyAuth: []
  29045. summary: 交易系统转换流水查询
  29046. tags:
  29047. - 定制【尚志大宗】
  29048. /SZDZ/QueryGoodsPickup:
  29049. get:
  29050. parameters:
  29051. - description: 资金账户 - 格式:1,2,3
  29052. in: query
  29053. name: accountID
  29054. required: true
  29055. type: string
  29056. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29057. in: query
  29058. name: takeOrderStatus
  29059. type: integer
  29060. produces:
  29061. - application/json
  29062. responses:
  29063. "200":
  29064. description: OK
  29065. schema:
  29066. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29067. "500":
  29068. description: Internal Server Error
  29069. schema:
  29070. $ref: '#/definitions/app.Response'
  29071. security:
  29072. - ApiKeyAuth: []
  29073. summary: 商品提货单查询
  29074. tags:
  29075. - 定制【尚志大宗】
  29076. /SZDZ/QueryRecieptOrder:
  29077. get:
  29078. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29079. parameters:
  29080. - description: 页码
  29081. in: query
  29082. name: page
  29083. type: integer
  29084. - description: 每页条数
  29085. in: query
  29086. name: pagesize
  29087. type: integer
  29088. - description: 商品ID
  29089. in: query
  29090. name: goodsID
  29091. required: true
  29092. type: integer
  29093. - description: 所属账户名称
  29094. in: query
  29095. name: accountName
  29096. type: string
  29097. - description: 市场ID
  29098. in: query
  29099. name: marketID
  29100. type: integer
  29101. - description: 方向 - 0:买 1:卖
  29102. in: query
  29103. name: buyorsell
  29104. required: true
  29105. type: integer
  29106. produces:
  29107. - application/json
  29108. responses:
  29109. "200":
  29110. description: OK
  29111. schema:
  29112. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29113. "500":
  29114. description: Internal Server Error
  29115. schema:
  29116. $ref: '#/definitions/app.Response'
  29117. security:
  29118. - ApiKeyAuth: []
  29119. summary: 点选挂牌委托单据查询(摘牌大厅)
  29120. tags:
  29121. - 定制【尚志大宗】
  29122. /SZDZ/QuerySZDZTradePosition:
  29123. get:
  29124. parameters:
  29125. - description: 资金账户
  29126. in: query
  29127. name: accountID
  29128. required: true
  29129. type: integer
  29130. produces:
  29131. - application/json
  29132. responses:
  29133. "200":
  29134. description: OK
  29135. schema:
  29136. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29137. "500":
  29138. description: Internal Server Error
  29139. schema:
  29140. $ref: '#/definitions/app.Response'
  29141. security:
  29142. - ApiKeyAuth: []
  29143. summary: 持仓汇总查询(尚志大宗)
  29144. tags:
  29145. - 定制【尚志大宗】
  29146. /SZDZ/SearchWhite:
  29147. get:
  29148. parameters:
  29149. - description: 用户ID
  29150. in: query
  29151. name: userID
  29152. required: true
  29153. type: integer
  29154. produces:
  29155. - application/json
  29156. responses:
  29157. "200":
  29158. description: OK
  29159. schema:
  29160. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29161. "500":
  29162. description: Internal Server Error
  29163. schema:
  29164. $ref: '#/definitions/app.Response'
  29165. security:
  29166. - ApiKeyAuth: []
  29167. summary: 搜索白名单
  29168. tags:
  29169. - 定制【尚志大宗】
  29170. /Search/SearchGoodses:
  29171. get:
  29172. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29173. parameters:
  29174. - description: 检索内容
  29175. in: query
  29176. name: content
  29177. required: true
  29178. type: string
  29179. - description: 交易模式,格式:1,2,3
  29180. in: query
  29181. name: tradeModes
  29182. type: string
  29183. produces:
  29184. - application/json
  29185. responses:
  29186. "200":
  29187. description: OK
  29188. schema:
  29189. $ref: '#/definitions/models.SearchGoods'
  29190. "500":
  29191. description: Internal Server Error
  29192. schema:
  29193. $ref: '#/definitions/app.Response'
  29194. summary: 检索商品信息
  29195. tags:
  29196. - 检索服务
  29197. /TaAccount/GetTaAccounts:
  29198. get:
  29199. parameters:
  29200. - description: 登录账户
  29201. in: query
  29202. name: loginID
  29203. required: true
  29204. type: integer
  29205. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29206. in: query
  29207. name: taAccountType
  29208. type: integer
  29209. produces:
  29210. - application/json
  29211. responses:
  29212. "200":
  29213. description: OK
  29214. schema:
  29215. $ref: '#/definitions/models.Taaccount'
  29216. "500":
  29217. description: Internal Server Error
  29218. schema:
  29219. $ref: '#/definitions/app.Response'
  29220. security:
  29221. - ApiKeyAuth: []
  29222. summary: 获取资金账户信息
  29223. tags:
  29224. - 资金账户
  29225. /TaAccount/QueryAmountLog:
  29226. get:
  29227. parameters:
  29228. - description: 页码
  29229. in: query
  29230. name: page
  29231. type: integer
  29232. - description: 每页条数
  29233. in: query
  29234. name: pagesize
  29235. type: integer
  29236. - description: 资金账户 - 格式:1,2,3
  29237. in: query
  29238. name: accountID
  29239. required: true
  29240. type: string
  29241. - description: 资金操作类型 - 格式:1,2,3
  29242. in: query
  29243. name: OperateType
  29244. type: string
  29245. produces:
  29246. - application/json
  29247. responses:
  29248. "200":
  29249. description: OK
  29250. schema:
  29251. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29252. "500":
  29253. description: Internal Server Error
  29254. schema:
  29255. $ref: '#/definitions/app.Response'
  29256. security:
  29257. - ApiKeyAuth: []
  29258. summary: 资金流水查询(当前)
  29259. tags:
  29260. - 资金账户
  29261. /TaAccount/QueryHisAmountLog:
  29262. get:
  29263. parameters:
  29264. - description: 页码
  29265. in: query
  29266. name: page
  29267. type: integer
  29268. - description: 每页条数
  29269. in: query
  29270. name: pagesize
  29271. type: integer
  29272. - description: 资金账户 - 格式:1,2,3
  29273. in: query
  29274. name: accountID
  29275. required: true
  29276. type: string
  29277. - description: 资金操作类型 - 格式:1,2,3
  29278. in: query
  29279. name: OperateType
  29280. type: string
  29281. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29282. in: query
  29283. name: startDate
  29284. type: string
  29285. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29286. in: query
  29287. name: endDate
  29288. type: string
  29289. produces:
  29290. - application/json
  29291. responses:
  29292. "200":
  29293. description: OK
  29294. schema:
  29295. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29296. "500":
  29297. description: Internal Server Error
  29298. schema:
  29299. $ref: '#/definitions/app.Response'
  29300. security:
  29301. - ApiKeyAuth: []
  29302. summary: 资金流水查询(历史)
  29303. tags:
  29304. - 资金账户
  29305. /TaAccount/QueryRelatedTaAccount:
  29306. get:
  29307. parameters:
  29308. - description: 关联UserID
  29309. in: query
  29310. name: relateduserid
  29311. required: true
  29312. type: integer
  29313. produces:
  29314. - application/json
  29315. responses:
  29316. "200":
  29317. description: OK
  29318. schema:
  29319. items:
  29320. $ref: '#/definitions/models.RelatedTaAccount'
  29321. type: array
  29322. "500":
  29323. description: Internal Server Error
  29324. schema:
  29325. $ref: '#/definitions/app.Response'
  29326. security:
  29327. - ApiKeyAuth: []
  29328. summary: 查询关联资金账户信息
  29329. tags:
  29330. - 资金账户
  29331. /Tjmd/QueryQuoteGoodsList:
  29332. get:
  29333. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29334. parameters:
  29335. - description: 用户类型
  29336. in: query
  29337. name: usertype
  29338. required: true
  29339. type: integer
  29340. - description: 市场id, 格式 1,2,3
  29341. in: query
  29342. name: marketids
  29343. type: string
  29344. - description: 商品组id
  29345. in: query
  29346. name: goodsgroupid
  29347. type: integer
  29348. - description: 商品id
  29349. in: query
  29350. name: goodsid
  29351. type: integer
  29352. produces:
  29353. - application/json
  29354. responses:
  29355. "200":
  29356. description: OK
  29357. schema:
  29358. items:
  29359. $ref: '#/definitions/models.TjmdQuoteGoods'
  29360. type: array
  29361. "500":
  29362. description: Internal Server Error
  29363. schema:
  29364. $ref: '#/definitions/app.Response'
  29365. security:
  29366. - ApiKeyAuth: []
  29367. summary: 查询掉期报价列表
  29368. tags:
  29369. - 天津麦顿
  29370. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29371. get:
  29372. parameters:
  29373. - description: 成交单号
  29374. in: query
  29375. name: tradeid
  29376. required: true
  29377. type: string
  29378. produces:
  29379. - application/json
  29380. responses:
  29381. "200":
  29382. description: OK
  29383. schema:
  29384. items:
  29385. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29386. type: array
  29387. "500":
  29388. description: Internal Server Error
  29389. schema:
  29390. $ref: '#/definitions/app.Response'
  29391. security:
  29392. - ApiKeyAuth: []
  29393. summary: 掉期商品订单详情(交易确认书)
  29394. tags:
  29395. - 天津麦顿
  29396. /Tjmd/QueryTjmdMarketSection:
  29397. get:
  29398. produces:
  29399. - application/json
  29400. responses:
  29401. "200":
  29402. description: OK
  29403. schema:
  29404. items:
  29405. $ref: '#/definitions/models.TjmdMarketSection'
  29406. type: array
  29407. "500":
  29408. description: Internal Server Error
  29409. schema:
  29410. $ref: '#/definitions/app.Response'
  29411. security:
  29412. - ApiKeyAuth: []
  29413. summary: 查询市场板块
  29414. tags:
  29415. - 天津麦顿
  29416. /Tjmd/QueryTjmdTodayAccountMargin:
  29417. get:
  29418. parameters:
  29419. - description: 市场id
  29420. in: query
  29421. name: marketid
  29422. type: string
  29423. - description: 商品id
  29424. in: query
  29425. name: goodsid
  29426. type: string
  29427. - description: 资金账号
  29428. in: query
  29429. name: accountid
  29430. type: string
  29431. produces:
  29432. - application/json
  29433. responses:
  29434. "200":
  29435. description: OK
  29436. schema:
  29437. items:
  29438. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29439. type: array
  29440. "500":
  29441. description: Internal Server Error
  29442. schema:
  29443. $ref: '#/definitions/app.Response'
  29444. security:
  29445. - ApiKeyAuth: []
  29446. summary: 查询今日账户保证金配置
  29447. tags:
  29448. - 天津麦顿
  29449. /Tjmd/QueryTjmdTradeOrderDetail:
  29450. get:
  29451. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29452. parameters:
  29453. - description: 页码
  29454. in: query
  29455. name: page
  29456. type: integer
  29457. - description: 每页条数
  29458. in: query
  29459. name: pagesize
  29460. type: integer
  29461. - description: 用户id
  29462. in: query
  29463. name: userid
  29464. required: true
  29465. type: integer
  29466. - description: 用户类型
  29467. in: query
  29468. name: usertype
  29469. required: true
  29470. type: integer
  29471. - description: 市场id, 格式 1,2,3
  29472. in: query
  29473. name: marketids
  29474. type: string
  29475. - description: 商品id
  29476. in: query
  29477. name: goodsid
  29478. required: true
  29479. type: integer
  29480. - description: 买卖方向 0-买 1-卖
  29481. in: query
  29482. name: buyorsell
  29483. required: true
  29484. type: integer
  29485. produces:
  29486. - application/json
  29487. responses:
  29488. "200":
  29489. description: OK
  29490. schema:
  29491. items:
  29492. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29493. type: array
  29494. "500":
  29495. description: Internal Server Error
  29496. schema:
  29497. $ref: '#/definitions/app.Response'
  29498. security:
  29499. - ApiKeyAuth: []
  29500. summary: 查询掉期买卖大厅
  29501. tags:
  29502. - 天津麦顿
  29503. /Tjmd/QueryTjmdTransferApply:
  29504. get:
  29505. parameters:
  29506. - description: 类型 1-我的申请 2-对方申请
  29507. in: query
  29508. name: applytype
  29509. required: true
  29510. type: integer
  29511. - description: 市场id, 格式 1,2,3
  29512. in: query
  29513. name: marketids
  29514. type: string
  29515. - description: 资金账号, 格式 25000000001,25000000003
  29516. in: query
  29517. name: accountids
  29518. type: string
  29519. - description: 开始交易日(yyyymmdd)
  29520. in: query
  29521. name: begindate
  29522. type: string
  29523. - description: 结束交易日(yyyymmdd)
  29524. in: query
  29525. name: enddate
  29526. type: string
  29527. produces:
  29528. - application/json
  29529. responses:
  29530. "200":
  29531. description: OK
  29532. schema:
  29533. items:
  29534. $ref: '#/definitions/models.TjmdTransferApply'
  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. - 天津麦顿
  29545. /Trade/QueryRecieptOrder:
  29546. get:
  29547. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29548. parameters:
  29549. - description: 页码
  29550. in: query
  29551. name: page
  29552. type: integer
  29553. - description: 每页条数
  29554. in: query
  29555. name: pagesize
  29556. type: integer
  29557. - description: 商品ID
  29558. in: query
  29559. name: goodsID
  29560. required: true
  29561. type: integer
  29562. - description: 所属账户名称
  29563. in: query
  29564. name: accountName
  29565. type: string
  29566. - description: 市场ID
  29567. in: query
  29568. name: marketID
  29569. type: integer
  29570. - description: 方向 - 0:买 1:卖
  29571. in: query
  29572. name: buyorsell
  29573. required: true
  29574. type: integer
  29575. produces:
  29576. - application/json
  29577. responses:
  29578. "200":
  29579. description: OK
  29580. schema:
  29581. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29582. "500":
  29583. description: Internal Server Error
  29584. schema:
  29585. $ref: '#/definitions/app.Response'
  29586. security:
  29587. - ApiKeyAuth: []
  29588. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29589. tags:
  29590. - 通用交易
  29591. /User/AddMessageBoard:
  29592. post:
  29593. parameters:
  29594. - description: 用户ID
  29595. in: query
  29596. name: userID
  29597. required: true
  29598. type: integer
  29599. - description: 留言信息
  29600. in: query
  29601. name: message
  29602. required: true
  29603. type: string
  29604. - description: 联系电话
  29605. in: query
  29606. name: contactNum
  29607. required: true
  29608. type: string
  29609. produces:
  29610. - application/json
  29611. responses:
  29612. "200":
  29613. description: OK
  29614. schema:
  29615. $ref: '#/definitions/app.Response'
  29616. "500":
  29617. description: Internal Server Error
  29618. schema:
  29619. $ref: '#/definitions/app.Response'
  29620. security:
  29621. - ApiKeyAuth: []
  29622. summary: 添加用户留言板信息
  29623. tags:
  29624. - 用户信息
  29625. /User/AddUserFavoriteGoods:
  29626. post:
  29627. parameters:
  29628. - description: 用户ID
  29629. in: query
  29630. name: userID
  29631. required: true
  29632. type: integer
  29633. - description: 商品ID
  29634. in: query
  29635. name: goodsID
  29636. required: true
  29637. type: integer
  29638. produces:
  29639. - application/json
  29640. responses:
  29641. "200":
  29642. description: OK
  29643. schema:
  29644. $ref: '#/definitions/app.Response'
  29645. "500":
  29646. description: Internal Server Error
  29647. schema:
  29648. $ref: '#/definitions/app.Response'
  29649. security:
  29650. - ApiKeyAuth: []
  29651. summary: 添加用户商品收藏信息
  29652. tags:
  29653. - 用户信息
  29654. /User/GetLoginID:
  29655. get:
  29656. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29657. parameters:
  29658. - description: 登录代码
  29659. in: query
  29660. name: username
  29661. required: true
  29662. type: string
  29663. produces:
  29664. - application/json
  29665. responses:
  29666. "200":
  29667. description: OK
  29668. schema:
  29669. $ref: '#/definitions/app.Response'
  29670. "500":
  29671. description: Internal Server Error
  29672. schema:
  29673. $ref: '#/definitions/app.Response'
  29674. summary: 获取登录ID
  29675. tags:
  29676. - 用户信息
  29677. /User/GetUserAccount:
  29678. get:
  29679. parameters:
  29680. - description: 用户ID
  29681. in: query
  29682. name: userID
  29683. required: true
  29684. type: integer
  29685. produces:
  29686. - application/json
  29687. responses:
  29688. "200":
  29689. description: OK
  29690. schema:
  29691. $ref: '#/definitions/models.Useraccount'
  29692. "500":
  29693. description: Internal Server Error
  29694. schema:
  29695. $ref: '#/definitions/app.Response'
  29696. security:
  29697. - ApiKeyAuth: []
  29698. summary: 获取用户账号信息
  29699. tags:
  29700. - 用户信息
  29701. /User/GetUserAuthStatus:
  29702. get:
  29703. parameters:
  29704. - description: 用户ID
  29705. in: query
  29706. name: userID
  29707. required: true
  29708. type: integer
  29709. produces:
  29710. - application/json
  29711. responses:
  29712. "200":
  29713. description: OK
  29714. schema:
  29715. $ref: '#/definitions/app.Response'
  29716. "500":
  29717. description: Internal Server Error
  29718. schema:
  29719. $ref: '#/definitions/app.Response'
  29720. security:
  29721. - ApiKeyAuth: []
  29722. summary: 获取用户实名认证状态
  29723. tags:
  29724. - 用户信息
  29725. /User/LoginQuery:
  29726. get:
  29727. parameters:
  29728. - description: 登录账号
  29729. in: query
  29730. name: loginID
  29731. required: true
  29732. type: integer
  29733. produces:
  29734. - application/json
  29735. responses:
  29736. "200":
  29737. description: OK
  29738. schema:
  29739. $ref: '#/definitions/user.LoginQueryRsp'
  29740. "500":
  29741. description: Internal Server Error
  29742. schema:
  29743. $ref: '#/definitions/app.Response'
  29744. security:
  29745. - ApiKeyAuth: []
  29746. summary: 账户登录后信息查询
  29747. tags:
  29748. - 用户信息
  29749. /User/QueryMessageBoard:
  29750. get:
  29751. parameters:
  29752. - description: 用户ID
  29753. in: query
  29754. name: userID
  29755. required: true
  29756. type: integer
  29757. produces:
  29758. - application/json
  29759. responses:
  29760. "200":
  29761. description: OK
  29762. schema:
  29763. $ref: '#/definitions/models.Messageboard'
  29764. "500":
  29765. description: Internal Server Error
  29766. schema:
  29767. $ref: '#/definitions/app.Response'
  29768. security:
  29769. - ApiKeyAuth: []
  29770. summary: 获取用户留言板信息
  29771. tags:
  29772. - 用户信息
  29773. /User/QueryUserFavoriteGoodses:
  29774. get:
  29775. parameters:
  29776. - description: 用户ID
  29777. in: query
  29778. name: userID
  29779. required: true
  29780. type: integer
  29781. produces:
  29782. - application/json
  29783. responses:
  29784. "200":
  29785. description: OK
  29786. schema:
  29787. $ref: '#/definitions/models.Userfavoritegoods'
  29788. "500":
  29789. description: Internal Server Error
  29790. schema:
  29791. $ref: '#/definitions/app.Response'
  29792. security:
  29793. - ApiKeyAuth: []
  29794. summary: 获取用户商品收藏信息
  29795. tags:
  29796. - 用户信息
  29797. /User/QueryUserInfo:
  29798. get:
  29799. parameters:
  29800. - description: 用户ID
  29801. in: query
  29802. name: userID
  29803. required: true
  29804. type: integer
  29805. - description: 是否解密
  29806. in: query
  29807. name: isDecrypt
  29808. type: boolean
  29809. produces:
  29810. - application/json
  29811. responses:
  29812. "200":
  29813. description: OK
  29814. schema:
  29815. $ref: '#/definitions/models.Userinfo'
  29816. "500":
  29817. description: Internal Server Error
  29818. schema:
  29819. $ref: '#/definitions/app.Response'
  29820. security:
  29821. - ApiKeyAuth: []
  29822. summary: 获取用户信息
  29823. tags:
  29824. - 用户信息
  29825. /User/QueryUserReferNum:
  29826. get:
  29827. parameters:
  29828. - description: 用户ID
  29829. in: query
  29830. name: userID
  29831. required: true
  29832. type: integer
  29833. produces:
  29834. - application/json
  29835. responses:
  29836. "200":
  29837. description: OK
  29838. schema:
  29839. $ref: '#/definitions/app.Response'
  29840. "500":
  29841. description: Internal Server Error
  29842. schema:
  29843. $ref: '#/definitions/app.Response'
  29844. summary: 获取用户邀请码
  29845. tags:
  29846. - 用户信息
  29847. /User/RemoveUserFavoriteGoods:
  29848. post:
  29849. parameters:
  29850. - description: 用户ID
  29851. in: query
  29852. name: userID
  29853. required: true
  29854. type: integer
  29855. - description: 商品ID
  29856. in: query
  29857. name: goodsID
  29858. required: true
  29859. type: integer
  29860. produces:
  29861. - application/json
  29862. responses:
  29863. "200":
  29864. description: OK
  29865. schema:
  29866. $ref: '#/definitions/app.Response'
  29867. "500":
  29868. description: Internal Server Error
  29869. schema:
  29870. $ref: '#/definitions/app.Response'
  29871. security:
  29872. - ApiKeyAuth: []
  29873. summary: 移除用户商品收藏信息
  29874. tags:
  29875. - 用户信息
  29876. /User/UpdateUserAccountStatus:
  29877. post:
  29878. parameters:
  29879. - description: 用户ID
  29880. in: query
  29881. name: userID
  29882. required: true
  29883. type: integer
  29884. - description: 账户状态 - 4:正常 6:注销(停用)
  29885. in: query
  29886. name: accountStatus
  29887. required: true
  29888. type: integer
  29889. produces:
  29890. - application/json
  29891. responses:
  29892. "200":
  29893. description: OK
  29894. schema:
  29895. $ref: '#/definitions/app.Response'
  29896. "500":
  29897. description: Internal Server Error
  29898. schema:
  29899. $ref: '#/definitions/app.Response'
  29900. security:
  29901. - ApiKeyAuth: []
  29902. summary: 更新用户状态
  29903. tags:
  29904. - 用户信息
  29905. /WRTrade/GetAllDeliveryGoods:
  29906. get:
  29907. produces:
  29908. - application/json
  29909. responses:
  29910. "200":
  29911. description: OK
  29912. schema:
  29913. $ref: '#/definitions/app.Response'
  29914. "500":
  29915. description: Internal Server Error
  29916. schema:
  29917. $ref: '#/definitions/app.Response'
  29918. security:
  29919. - ApiKeyAuth: []
  29920. summary: 获取带仓单分类的种类信息
  29921. tags:
  29922. - 仓单贸易
  29923. - 仓单贸易
  29924. /WrTrade2/InsertXhcpSellBackApply:
  29925. post:
  29926. parameters:
  29927. - description: 回收申请
  29928. in: body
  29929. name: jsonBody
  29930. required: true
  29931. schema:
  29932. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  29933. produces:
  29934. - application/json
  29935. responses:
  29936. "200":
  29937. description: OK
  29938. schema:
  29939. $ref: '#/definitions/app.Response'
  29940. "500":
  29941. description: Internal Server Error
  29942. schema:
  29943. $ref: '#/definitions/app.Response'
  29944. security:
  29945. - ApiKeyAuth: []
  29946. summary: 新增回收申请(新会陈皮)
  29947. tags:
  29948. - 仓单贸易v2
  29949. /WrTrade2/QueryDeliveryGoodsSection:
  29950. get:
  29951. produces:
  29952. - application/json
  29953. responses:
  29954. "200":
  29955. description: OK
  29956. schema:
  29957. items:
  29958. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  29959. type: array
  29960. "500":
  29961. description: Internal Server Error
  29962. schema:
  29963. $ref: '#/definitions/app.Response'
  29964. security:
  29965. - ApiKeyAuth: []
  29966. summary: 查询板块(分类)
  29967. tags:
  29968. - 仓单贸易v2
  29969. /WrTrade2/QueryFaProductDetail:
  29970. get:
  29971. description: 页面 买卖大厅 -> 选择融资方案
  29972. parameters:
  29973. - description: 仓单要素id
  29974. in: query
  29975. name: wrfactortypeid
  29976. required: true
  29977. type: integer
  29978. produces:
  29979. - application/json
  29980. responses:
  29981. "200":
  29982. description: OK
  29983. schema:
  29984. items:
  29985. $ref: '#/definitions/models.WrFAProductDetail'
  29986. type: array
  29987. "500":
  29988. description: Internal Server Error
  29989. schema:
  29990. $ref: '#/definitions/app.Response'
  29991. security:
  29992. - ApiKeyAuth: []
  29993. summary: 查询融资产品列表
  29994. tags:
  29995. - 仓单贸易v2
  29996. /WrTrade2/QueryFilterItem:
  29997. get:
  29998. parameters:
  29999. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30000. in: query
  30001. name: itype
  30002. required: true
  30003. type: string
  30004. produces:
  30005. - application/json
  30006. responses:
  30007. "200":
  30008. description: OK
  30009. schema:
  30010. items:
  30011. $ref: '#/definitions/models.WrFilterItem'
  30012. type: array
  30013. "500":
  30014. description: Internal Server Error
  30015. schema:
  30016. $ref: '#/definitions/app.Response'
  30017. security:
  30018. - ApiKeyAuth: []
  30019. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30020. tags:
  30021. - 仓单贸易v2
  30022. /WrTrade2/QueryFtDeliveryGoods:
  30023. get:
  30024. produces:
  30025. - application/json
  30026. responses:
  30027. "200":
  30028. description: OK
  30029. schema:
  30030. items:
  30031. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30032. type: array
  30033. "500":
  30034. description: Internal Server Error
  30035. schema:
  30036. $ref: '#/definitions/app.Response'
  30037. security:
  30038. - ApiKeyAuth: []
  30039. summary: 查询品种品类筛选框列表
  30040. tags:
  30041. - 仓单贸易v2
  30042. /WrTrade2/QueryHoldLB:
  30043. get:
  30044. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30045. parameters:
  30046. - description: 资金账号
  30047. in: query
  30048. name: accountid
  30049. required: true
  30050. type: integer
  30051. - description: 仓库id
  30052. in: query
  30053. name: warehouseid
  30054. type: integer
  30055. - description: 品种id
  30056. in: query
  30057. name: deliverygoodsid
  30058. type: integer
  30059. - description: 品类id
  30060. in: query
  30061. name: wrstandardid
  30062. type: integer
  30063. - description: 仓单要素id
  30064. in: query
  30065. name: wrfactortypeid
  30066. type: integer
  30067. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30068. in: query
  30069. name: dgitemname
  30070. type: string
  30071. produces:
  30072. - application/json
  30073. responses:
  30074. "200":
  30075. description: OK
  30076. schema:
  30077. items:
  30078. $ref: '#/definitions/models.WrHoldLB'
  30079. type: array
  30080. "500":
  30081. description: Internal Server Error
  30082. schema:
  30083. $ref: '#/definitions/app.Response'
  30084. security:
  30085. - ApiKeyAuth: []
  30086. summary: 查询仓单持有记录
  30087. tags:
  30088. - 仓单贸易v2
  30089. /WrTrade2/QueryOrderQuote:
  30090. get:
  30091. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30092. 唯一确定1条记录
  30093. parameters:
  30094. - description: 页码
  30095. in: query
  30096. name: page
  30097. type: integer
  30098. - description: 每页条数
  30099. in: query
  30100. name: pagesize
  30101. type: integer
  30102. - description: 仓单贸易市场id
  30103. in: query
  30104. name: marketid
  30105. type: integer
  30106. - description: 价格方式 - 1:固定价 2-浮动价
  30107. in: query
  30108. name: wrpricetype
  30109. required: true
  30110. type: integer
  30111. - description: 0:仓单预售 1:仓单贸易
  30112. in: query
  30113. name: haswr
  30114. type: integer
  30115. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30116. in: query
  30117. name: dgitemname
  30118. type: string
  30119. - description: 仓库id(筛选条件)
  30120. in: query
  30121. name: warehouseid
  30122. type: integer
  30123. - description: 品种id
  30124. in: query
  30125. name: deliverygoodsid
  30126. type: integer
  30127. - description: 品类id
  30128. in: query
  30129. name: wrstandardid
  30130. type: integer
  30131. - description: 品牌id(dgfactoryitemid)
  30132. in: query
  30133. name: brandid
  30134. type: integer
  30135. - description: 年份id(dgfactoryitemid)
  30136. in: query
  30137. name: yearsid
  30138. type: integer
  30139. - description: 仓单要素id
  30140. in: query
  30141. name: wrfactortypeid
  30142. type: integer
  30143. - description: 交收月(yyyy-mm) 仓单预售填写
  30144. in: query
  30145. name: deliverymonth
  30146. type: string
  30147. produces:
  30148. - application/json
  30149. responses:
  30150. "200":
  30151. description: OK
  30152. schema:
  30153. items:
  30154. $ref: '#/definitions/models.WrOrderQuote'
  30155. type: array
  30156. "500":
  30157. description: Internal Server Error
  30158. schema:
  30159. $ref: '#/definitions/app.Response'
  30160. security:
  30161. - ApiKeyAuth: []
  30162. summary: 查询大厅行情列表
  30163. tags:
  30164. - 仓单贸易v2
  30165. /WrTrade2/QueryOrderQuoteDetail:
  30166. get:
  30167. parameters:
  30168. - description: 页码
  30169. in: query
  30170. name: page
  30171. type: integer
  30172. - description: 每页条数
  30173. in: query
  30174. name: pagesize
  30175. type: integer
  30176. - description: 仓单贸易市场id
  30177. in: query
  30178. name: marketid
  30179. type: integer
  30180. - description: 价格方式 - 1:固定价 2-浮动价
  30181. in: query
  30182. name: wrpricetype
  30183. required: true
  30184. type: integer
  30185. - description: 0:仓单预售 1:仓单贸易
  30186. in: query
  30187. name: haswr
  30188. type: integer
  30189. - description: 仓单要素id
  30190. in: query
  30191. name: wrfactortypeid
  30192. required: true
  30193. type: integer
  30194. - description: 期货商品id(浮动价方式时填)
  30195. in: query
  30196. name: goodsid
  30197. type: integer
  30198. - description: 买卖方向 0-买 1-卖
  30199. in: query
  30200. name: buyorsell
  30201. required: true
  30202. type: integer
  30203. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30204. in: query
  30205. name: deliverymonth
  30206. type: string
  30207. produces:
  30208. - application/json
  30209. responses:
  30210. "200":
  30211. description: OK
  30212. schema:
  30213. items:
  30214. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30215. type: array
  30216. "500":
  30217. description: Internal Server Error
  30218. schema:
  30219. $ref: '#/definitions/app.Response'
  30220. security:
  30221. - ApiKeyAuth: []
  30222. summary: 查询买卖大厅
  30223. tags:
  30224. - 仓单贸易v2
  30225. /WrTrade2/QueryOrderQuoteMyq:
  30226. get:
  30227. parameters:
  30228. - description: 页码
  30229. in: query
  30230. name: page
  30231. type: integer
  30232. - description: 每页条数
  30233. in: query
  30234. name: pagesize
  30235. type: integer
  30236. - description: 用户id
  30237. in: query
  30238. name: userid
  30239. required: true
  30240. type: integer
  30241. - description: 仓单贸易市场id
  30242. in: query
  30243. name: marketid
  30244. type: integer
  30245. - description: 0:仓单预售 1:仓单贸易
  30246. in: query
  30247. name: haswr
  30248. type: integer
  30249. - description: 买卖方向 0-买 1-卖
  30250. in: query
  30251. name: buyorsell
  30252. required: true
  30253. type: integer
  30254. - description: 品种id
  30255. in: query
  30256. name: deliverygoodsid
  30257. type: integer
  30258. - description: 品类id
  30259. in: query
  30260. name: wrstandardid
  30261. type: integer
  30262. - description: 交收月(yyyy-mm) 仓单预售填写
  30263. in: query
  30264. name: deliverymonth
  30265. type: string
  30266. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30267. in: query
  30268. name: dgitemname
  30269. type: string
  30270. produces:
  30271. - application/json
  30272. responses:
  30273. "200":
  30274. description: OK
  30275. schema:
  30276. items:
  30277. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30278. type: array
  30279. "500":
  30280. description: Internal Server Error
  30281. schema:
  30282. $ref: '#/definitions/app.Response'
  30283. security:
  30284. - ApiKeyAuth: []
  30285. summary: 查询贸易圈挂牌大厅
  30286. tags:
  30287. - 仓单贸易v2
  30288. /WrTrade2/QueryPerformancePlan:
  30289. get:
  30290. parameters:
  30291. - description: 用户id
  30292. in: query
  30293. name: userid
  30294. required: true
  30295. type: integer
  30296. - description: 买卖方向 0-买 1-卖
  30297. in: query
  30298. name: buyorsell
  30299. required: true
  30300. type: integer
  30301. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30302. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30303. in: query
  30304. name: status
  30305. type: string
  30306. - description: 开始交易日(yyyymmdd)
  30307. in: query
  30308. name: begindate
  30309. type: string
  30310. - description: 结束交易日(yyyymmdd)
  30311. in: query
  30312. name: enddate
  30313. type: string
  30314. produces:
  30315. - application/json
  30316. responses:
  30317. "200":
  30318. description: OK
  30319. schema:
  30320. items:
  30321. $ref: '#/definitions/models.WrPerformancePlan'
  30322. type: array
  30323. "500":
  30324. description: Internal Server Error
  30325. schema:
  30326. $ref: '#/definitions/app.Response'
  30327. security:
  30328. - ApiKeyAuth: []
  30329. summary: 查询履约信息
  30330. tags:
  30331. - 仓单贸易v2
  30332. /WrTrade2/QueryPermancePlanTmp:
  30333. get:
  30334. description: |-
  30335. 返回指定用户的模板和公共模板(用户id为空)
  30336. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30337. parameters:
  30338. - description: 用户id
  30339. in: query
  30340. name: userid
  30341. type: integer
  30342. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30343. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30344. in: query
  30345. name: tmptype
  30346. type: string
  30347. - description: 是否包含公共模板(用户id为空的) 1-包含
  30348. in: query
  30349. name: includepub
  30350. type: integer
  30351. - description: 市场id(天津麦顿指定此参数,其它不用)
  30352. in: query
  30353. name: marketid
  30354. type: integer
  30355. produces:
  30356. - application/json
  30357. responses:
  30358. "200":
  30359. description: OK
  30360. schema:
  30361. items:
  30362. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30363. type: array
  30364. "500":
  30365. description: Internal Server Error
  30366. schema:
  30367. $ref: '#/definitions/app.Response'
  30368. security:
  30369. - ApiKeyAuth: []
  30370. summary: 查询履约模板
  30371. tags:
  30372. - 仓单贸易v2
  30373. /WrTrade2/QuerySiteColumnDetail:
  30374. get:
  30375. parameters:
  30376. - description: 页码
  30377. in: query
  30378. name: page
  30379. type: integer
  30380. - description: 每页条数
  30381. in: query
  30382. name: pagesize
  30383. type: integer
  30384. - description: 所属栏目id
  30385. in: query
  30386. name: columnid
  30387. type: integer
  30388. produces:
  30389. - application/json
  30390. responses:
  30391. "200":
  30392. description: OK
  30393. schema:
  30394. items:
  30395. $ref: '#/definitions/models.WrSiteColumnDetail'
  30396. type: array
  30397. "500":
  30398. description: Internal Server Error
  30399. schema:
  30400. $ref: '#/definitions/app.Response'
  30401. security:
  30402. - ApiKeyAuth: []
  30403. summary: 查询资讯
  30404. tags:
  30405. - 仓单贸易v2
  30406. /WrTrade2/QuerySpotGroupTradeSum:
  30407. get:
  30408. produces:
  30409. - application/json
  30410. responses:
  30411. "200":
  30412. description: OK
  30413. schema:
  30414. items:
  30415. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30416. type: array
  30417. "500":
  30418. description: Internal Server Error
  30419. schema:
  30420. $ref: '#/definitions/app.Response'
  30421. security:
  30422. - ApiKeyAuth: []
  30423. summary: 查询指数
  30424. tags:
  30425. - 仓单贸易v2
  30426. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30427. get:
  30428. description: 查询的结果将会按日期 从小到大 排序
  30429. parameters:
  30430. - description: 现货商品id
  30431. in: query
  30432. name: deliverygoodsid
  30433. required: true
  30434. type: integer
  30435. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30436. in: query
  30437. name: lastnum
  30438. type: integer
  30439. produces:
  30440. - application/json
  30441. responses:
  30442. "200":
  30443. description: OK
  30444. schema:
  30445. items:
  30446. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30447. type: array
  30448. "500":
  30449. description: Internal Server Error
  30450. schema:
  30451. $ref: '#/definitions/app.Response'
  30452. security:
  30453. - ApiKeyAuth: []
  30454. summary: 查询指数详细(价格走势图)
  30455. tags:
  30456. - 仓单贸易v2
  30457. /WrTrade2/QueryWrAverageTradePrice:
  30458. get:
  30459. parameters:
  30460. - description: 页码
  30461. in: query
  30462. name: page
  30463. type: integer
  30464. - description: 每页条数
  30465. in: query
  30466. name: pagesize
  30467. type: integer
  30468. - description: 0:仓单预售 1:仓单贸易
  30469. in: query
  30470. name: haswr
  30471. required: true
  30472. type: integer
  30473. - description: 仓单要素id
  30474. in: query
  30475. name: wrfactortypeid
  30476. required: true
  30477. type: integer
  30478. produces:
  30479. - application/json
  30480. responses:
  30481. "200":
  30482. description: OK
  30483. schema:
  30484. items:
  30485. $ref: '#/definitions/models.WrAverageTradePrice'
  30486. type: array
  30487. "500":
  30488. description: Internal Server Error
  30489. schema:
  30490. $ref: '#/definitions/app.Response'
  30491. security:
  30492. - ApiKeyAuth: []
  30493. summary: 查询成交价(历史走势)
  30494. tags:
  30495. - 仓单贸易v2
  30496. /WrTrade2/QueryWrBrandAndYears:
  30497. get:
  30498. produces:
  30499. - application/json
  30500. responses:
  30501. "200":
  30502. description: OK
  30503. schema:
  30504. items:
  30505. $ref: '#/definitions/models.WrBrandAndYears'
  30506. type: array
  30507. "500":
  30508. description: Internal Server Error
  30509. schema:
  30510. $ref: '#/definitions/app.Response'
  30511. security:
  30512. - ApiKeyAuth: []
  30513. summary: 查询品牌和年份
  30514. tags:
  30515. - 仓单贸易v2
  30516. /WrTrade2/QueryWrBsGoodsInfo:
  30517. get:
  30518. description: 合约交易/买卖大厅/详情
  30519. parameters:
  30520. - description: 商品id
  30521. in: query
  30522. name: goodsid
  30523. required: true
  30524. type: integer
  30525. produces:
  30526. - application/json
  30527. responses:
  30528. "200":
  30529. description: OK
  30530. schema:
  30531. items:
  30532. $ref: '#/definitions/models.WrBsGoodsInfo'
  30533. type: array
  30534. "500":
  30535. description: Internal Server Error
  30536. schema:
  30537. $ref: '#/definitions/app.Response'
  30538. security:
  30539. - ApiKeyAuth: []
  30540. summary: 查询合约交易买卖大厅详情
  30541. tags:
  30542. - 仓单贸易v2
  30543. /WrTrade2/QueryWrBuybackDetail:
  30544. get:
  30545. parameters:
  30546. - description: 融资合同id
  30547. in: query
  30548. name: scfcontractid
  30549. type: integer
  30550. produces:
  30551. - application/json
  30552. responses:
  30553. "200":
  30554. description: OK
  30555. schema:
  30556. items:
  30557. $ref: '#/definitions/models.WrBuybackDetail'
  30558. type: array
  30559. "500":
  30560. description: Internal Server Error
  30561. schema:
  30562. $ref: '#/definitions/app.Response'
  30563. security:
  30564. - ApiKeyAuth: []
  30565. summary: 查询仓单回购明细
  30566. tags:
  30567. - 仓单贸易v2
  30568. /WrTrade2/QueryWrClientAdSpaceConfig:
  30569. get:
  30570. produces:
  30571. - application/json
  30572. responses:
  30573. "200":
  30574. description: OK
  30575. schema:
  30576. items:
  30577. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30578. type: array
  30579. "500":
  30580. description: Internal Server Error
  30581. schema:
  30582. $ref: '#/definitions/app.Response'
  30583. security:
  30584. - ApiKeyAuth: []
  30585. summary: 查询固定广告配置
  30586. tags:
  30587. - 仓单贸易v2
  30588. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30589. get:
  30590. parameters:
  30591. - description: 资金账号
  30592. in: query
  30593. name: accountid
  30594. required: true
  30595. type: integer
  30596. - description: 商品id
  30597. in: query
  30598. name: goodsid
  30599. required: true
  30600. type: integer
  30601. produces:
  30602. - application/json
  30603. responses:
  30604. "200":
  30605. description: OK
  30606. schema:
  30607. items:
  30608. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30609. type: array
  30610. "500":
  30611. description: Internal Server Error
  30612. schema:
  30613. $ref: '#/definitions/app.Response'
  30614. security:
  30615. - ApiKeyAuth: []
  30616. summary: 查询合约交收可点选仓单
  30617. tags:
  30618. - 仓单贸易v2
  30619. /WrTrade2/QueryWrDeliveryDetail:
  30620. get:
  30621. parameters:
  30622. - description: 用户id
  30623. in: query
  30624. name: userid
  30625. required: true
  30626. type: integer
  30627. - description: 资金账号id
  30628. in: query
  30629. name: accountid
  30630. type: integer
  30631. - description: 开始交易日(yyyymmdd)
  30632. in: query
  30633. name: begindate
  30634. type: string
  30635. - description: 结束交易日(yyyymmdd)
  30636. in: query
  30637. name: enddate
  30638. type: string
  30639. produces:
  30640. - application/json
  30641. responses:
  30642. "200":
  30643. description: OK
  30644. schema:
  30645. items:
  30646. $ref: '#/definitions/models.WrDeliveryDetail'
  30647. type: array
  30648. "500":
  30649. description: Internal Server Error
  30650. schema:
  30651. $ref: '#/definitions/app.Response'
  30652. security:
  30653. - ApiKeyAuth: []
  30654. summary: 查询交收
  30655. tags:
  30656. - 仓单贸易v2
  30657. /WrTrade2/QueryWrDraftUserInfo:
  30658. get:
  30659. parameters:
  30660. - description: 用户ID
  30661. in: query
  30662. name: userid
  30663. required: true
  30664. type: integer
  30665. - description: 用户状态 1:正常 2:注销
  30666. in: query
  30667. name: userstatus
  30668. type: integer
  30669. produces:
  30670. - application/json
  30671. responses:
  30672. "200":
  30673. description: OK
  30674. schema:
  30675. items:
  30676. $ref: '#/definitions/models.WrDraftUserInfo'
  30677. type: array
  30678. "500":
  30679. description: Internal Server Error
  30680. schema:
  30681. $ref: '#/definitions/app.Response'
  30682. security:
  30683. - ApiKeyAuth: []
  30684. summary: 查询实名认证信息
  30685. tags:
  30686. - 仓单贸易v2
  30687. /WrTrade2/QueryWrFactorTypeInfo:
  30688. get:
  30689. parameters:
  30690. - description: 仓单要素id
  30691. in: query
  30692. name: wrfactortypeid
  30693. required: true
  30694. type: integer
  30695. produces:
  30696. - application/json
  30697. responses:
  30698. "200":
  30699. description: OK
  30700. schema:
  30701. items:
  30702. $ref: '#/definitions/models.WrFactorTypeInfo'
  30703. type: array
  30704. "500":
  30705. description: Internal Server Error
  30706. schema:
  30707. $ref: '#/definitions/app.Response'
  30708. security:
  30709. - ApiKeyAuth: []
  30710. summary: 查询仓单要素详细信息
  30711. tags:
  30712. - 仓单贸易v2
  30713. /WrTrade2/QueryWrFactorTypeInfoEx:
  30714. get:
  30715. parameters:
  30716. - description: 仓单要素id
  30717. in: query
  30718. name: wrfactortypeid
  30719. required: true
  30720. type: integer
  30721. produces:
  30722. - application/json
  30723. responses:
  30724. "200":
  30725. description: OK
  30726. schema:
  30727. items:
  30728. $ref: '#/definitions/models.WrTypeItem'
  30729. type: array
  30730. "500":
  30731. description: Internal Server Error
  30732. schema:
  30733. $ref: '#/definitions/app.Response'
  30734. security:
  30735. - ApiKeyAuth: []
  30736. summary: 查询仓单要素详细信息列表项
  30737. tags:
  30738. - 仓单贸易v2
  30739. /WrTrade2/QueryWrFinanceBuyApply:
  30740. get:
  30741. description: 页面 融资信息+ / 申请单
  30742. parameters:
  30743. - description: 用户id
  30744. in: query
  30745. name: userid
  30746. required: true
  30747. type: integer
  30748. produces:
  30749. - application/json
  30750. responses:
  30751. "200":
  30752. description: OK
  30753. schema:
  30754. items:
  30755. $ref: '#/definitions/models.WrFinanceBuyApply'
  30756. type: array
  30757. "500":
  30758. description: Internal Server Error
  30759. schema:
  30760. $ref: '#/definitions/app.Response'
  30761. security:
  30762. - ApiKeyAuth: []
  30763. summary: 查询融资购买申请
  30764. tags:
  30765. - 仓单贸易v2
  30766. /WrTrade2/QueryWrFriendApply:
  30767. get:
  30768. parameters:
  30769. - description: 用户id
  30770. in: query
  30771. name: userid
  30772. required: true
  30773. type: integer
  30774. produces:
  30775. - application/json
  30776. responses:
  30777. "200":
  30778. description: OK
  30779. schema:
  30780. items:
  30781. $ref: '#/definitions/models.WrFriendApply'
  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. - 仓单贸易v2
  30792. /WrTrade2/QueryWrGoodsInfo:
  30793. get:
  30794. parameters:
  30795. - description: 仓单贸易市场id
  30796. in: query
  30797. name: marketid
  30798. type: integer
  30799. - description: 0:仓单预售 1:仓单贸易
  30800. in: query
  30801. name: haswr
  30802. required: true
  30803. type: integer
  30804. - description: 仓单要素id
  30805. in: query
  30806. name: wrfactortypeid
  30807. required: true
  30808. type: integer
  30809. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  30810. in: query
  30811. name: tmplateid
  30812. type: integer
  30813. produces:
  30814. - application/json
  30815. responses:
  30816. "200":
  30817. description: OK
  30818. schema:
  30819. items:
  30820. $ref: '#/definitions/models.WrGoodsInfo'
  30821. type: array
  30822. "500":
  30823. description: Internal Server Error
  30824. schema:
  30825. $ref: '#/definitions/app.Response'
  30826. security:
  30827. - ApiKeyAuth: []
  30828. summary: 查询仓单商品信息
  30829. tags:
  30830. - 仓单贸易v2
  30831. /WrTrade2/QueryWrMarketTradeConfig:
  30832. get:
  30833. parameters:
  30834. - description: 市场id
  30835. in: query
  30836. name: marketid
  30837. type: integer
  30838. produces:
  30839. - application/json
  30840. responses:
  30841. "200":
  30842. description: OK
  30843. schema:
  30844. items:
  30845. $ref: '#/definitions/models.WrMarketTradeConfig'
  30846. type: array
  30847. "500":
  30848. description: Internal Server Error
  30849. schema:
  30850. $ref: '#/definitions/app.Response'
  30851. security:
  30852. - ApiKeyAuth: []
  30853. summary: 查询市场交易参数配置
  30854. tags:
  30855. - 仓单贸易v2
  30856. /WrTrade2/QueryWrOrderDetail:
  30857. get:
  30858. description: 页面 现货仓单 | 预售仓单 -> 委托单
  30859. parameters:
  30860. - description: 页码
  30861. in: query
  30862. name: page
  30863. type: integer
  30864. - description: 每页条数
  30865. in: query
  30866. name: pagesize
  30867. type: integer
  30868. - description: 用户id
  30869. in: query
  30870. name: userid
  30871. required: true
  30872. type: integer
  30873. - description: 仓单贸易市场id
  30874. in: query
  30875. name: marketid
  30876. type: integer
  30877. - description: 0:仓单预售 1:仓单贸易
  30878. in: query
  30879. name: haswr
  30880. required: true
  30881. type: integer
  30882. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  30883. in: query
  30884. name: bcancel
  30885. type: integer
  30886. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  30887. in: query
  30888. name: wrtradetype
  30889. type: integer
  30890. - description: 开始交易日(yyyymmdd)
  30891. in: query
  30892. name: begindate
  30893. type: string
  30894. - description: 结束交易日(yyyymmdd)
  30895. in: query
  30896. name: enddate
  30897. type: string
  30898. produces:
  30899. - application/json
  30900. responses:
  30901. "200":
  30902. description: OK
  30903. schema:
  30904. items:
  30905. $ref: '#/definitions/models.WrOrderDetail'
  30906. type: array
  30907. "500":
  30908. description: Internal Server Error
  30909. schema:
  30910. $ref: '#/definitions/app.Response'
  30911. security:
  30912. - ApiKeyAuth: []
  30913. summary: 查询仓单委托单
  30914. tags:
  30915. - 仓单贸易v2
  30916. /WrTrade2/QueryWrOutInApply:
  30917. get:
  30918. parameters:
  30919. - description: 用户id
  30920. in: query
  30921. name: userid
  30922. required: true
  30923. type: integer
  30924. - description: 开始交易日(yyyymmdd)
  30925. in: query
  30926. name: begindate
  30927. type: string
  30928. - description: 结束交易日(yyyymmdd)
  30929. in: query
  30930. name: enddate
  30931. type: string
  30932. produces:
  30933. - application/json
  30934. responses:
  30935. "200":
  30936. description: OK
  30937. schema:
  30938. items:
  30939. $ref: '#/definitions/models.WrOutInApply'
  30940. type: array
  30941. "500":
  30942. description: Internal Server Error
  30943. schema:
  30944. $ref: '#/definitions/app.Response'
  30945. security:
  30946. - ApiKeyAuth: []
  30947. summary: 查询提货申请
  30948. tags:
  30949. - 仓单贸易v2
  30950. /WrTrade2/QueryWrPerformancePlanStep:
  30951. get:
  30952. parameters:
  30953. - description: 履约计划id(performanceplanid)
  30954. in: query
  30955. name: planid
  30956. required: true
  30957. type: integer
  30958. - description: 当前步骤id
  30959. in: query
  30960. name: curstepid
  30961. type: integer
  30962. produces:
  30963. - application/json
  30964. responses:
  30965. "200":
  30966. description: OK
  30967. schema:
  30968. items:
  30969. $ref: '#/definitions/models.WrPerformancePlanStep'
  30970. type: array
  30971. "500":
  30972. description: Internal Server Error
  30973. schema:
  30974. $ref: '#/definitions/app.Response'
  30975. security:
  30976. - ApiKeyAuth: []
  30977. summary: 查询履约信息详情
  30978. tags:
  30979. - 仓单贸易v2
  30980. /WrTrade2/QueryWrPerformanceStepType:
  30981. get:
  30982. produces:
  30983. - application/json
  30984. responses:
  30985. "200":
  30986. description: OK
  30987. schema:
  30988. items:
  30989. $ref: '#/definitions/models.WrPerformanceStepType'
  30990. type: array
  30991. "500":
  30992. description: Internal Server Error
  30993. schema:
  30994. $ref: '#/definitions/app.Response'
  30995. security:
  30996. - ApiKeyAuth: []
  30997. summary: 查询履约步骤枚举
  30998. tags:
  30999. - 仓单贸易v2
  31000. /WrTrade2/QueryWrPosition:
  31001. get:
  31002. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31003. parameters:
  31004. - description: 用户id
  31005. in: query
  31006. name: userid
  31007. required: true
  31008. type: integer
  31009. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31010. in: query
  31011. name: querytype
  31012. required: true
  31013. type: integer
  31014. - description: 0:仓单预售 1:仓单贸易
  31015. in: query
  31016. name: haswr
  31017. required: true
  31018. type: integer
  31019. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31020. in: query
  31021. name: dgitemname
  31022. type: string
  31023. - description: 仓库id(筛选条件)
  31024. in: query
  31025. name: warehouseid
  31026. type: integer
  31027. - description: 品种id
  31028. in: query
  31029. name: deliverygoodsid
  31030. type: integer
  31031. - description: 品类id
  31032. in: query
  31033. name: wrstandardid
  31034. type: integer
  31035. produces:
  31036. - application/json
  31037. responses:
  31038. "200":
  31039. description: OK
  31040. schema:
  31041. items:
  31042. $ref: '#/definitions/models.WrPosition'
  31043. type: array
  31044. "500":
  31045. description: Internal Server Error
  31046. schema:
  31047. $ref: '#/definitions/app.Response'
  31048. security:
  31049. - ApiKeyAuth: []
  31050. summary: 查询现货(预售)仓单持仓
  31051. tags:
  31052. - 仓单贸易v2
  31053. /WrTrade2/QueryWrPreSaleInfo:
  31054. get:
  31055. parameters:
  31056. - description: 市场id
  31057. in: query
  31058. name: marketid
  31059. type: integer
  31060. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31061. in: query
  31062. name: presalestatus
  31063. type: string
  31064. - description: 摇号标识 - 0:未摇号 1:已摇号
  31065. in: query
  31066. name: lotteryflag
  31067. type: integer
  31068. - description: 最近多少条记录(按创建时间倒序)
  31069. in: query
  31070. name: lastnum
  31071. type: integer
  31072. produces:
  31073. - application/json
  31074. responses:
  31075. "200":
  31076. description: OK
  31077. schema:
  31078. items:
  31079. $ref: '#/definitions/models.WrPreSaleInfo'
  31080. type: array
  31081. "500":
  31082. description: Internal Server Error
  31083. schema:
  31084. $ref: '#/definitions/app.Response'
  31085. security:
  31086. - ApiKeyAuth: []
  31087. summary: 查询新品发布
  31088. tags:
  31089. - 仓单贸易v2
  31090. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31091. get:
  31092. parameters:
  31093. - description: 市场id
  31094. in: query
  31095. name: marketid
  31096. required: true
  31097. type: integer
  31098. - description: 现货商品id
  31099. in: query
  31100. name: wrstandardid
  31101. required: true
  31102. type: integer
  31103. - description: 开始交易日(yyyymmdd)
  31104. in: query
  31105. name: begindate
  31106. type: string
  31107. - description: 结束交易日(yyyymmdd)
  31108. in: query
  31109. name: enddate
  31110. type: string
  31111. - description: 最近多少条记录(按交易日倒序)
  31112. in: query
  31113. name: lastnum
  31114. type: integer
  31115. - description: 是否今日
  31116. in: query
  31117. name: istoday
  31118. type: boolean
  31119. produces:
  31120. - application/json
  31121. responses:
  31122. "200":
  31123. description: OK
  31124. schema:
  31125. items:
  31126. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31127. type: array
  31128. "500":
  31129. description: Internal Server Error
  31130. schema:
  31131. $ref: '#/definitions/app.Response'
  31132. security:
  31133. - ApiKeyAuth: []
  31134. summary: 查询价格走势
  31135. tags:
  31136. - 仓单贸易v2
  31137. /WrTrade2/QueryWrScfContract:
  31138. get:
  31139. parameters:
  31140. - description: 用户id
  31141. in: query
  31142. name: userid
  31143. required: true
  31144. type: integer
  31145. - description: 融资合同id
  31146. in: query
  31147. name: scfcontractid
  31148. type: integer
  31149. produces:
  31150. - application/json
  31151. responses:
  31152. "200":
  31153. description: OK
  31154. schema:
  31155. items:
  31156. $ref: '#/definitions/models.WrScfContract'
  31157. type: array
  31158. "500":
  31159. description: Internal Server Error
  31160. schema:
  31161. $ref: '#/definitions/app.Response'
  31162. security:
  31163. - ApiKeyAuth: []
  31164. summary: 查询仓单贸易融资合同
  31165. tags:
  31166. - 仓单贸易v2
  31167. /WrTrade2/QueryWrScfContractInterest:
  31168. get:
  31169. parameters:
  31170. - description: 融资合同id
  31171. in: query
  31172. name: scfcontractid
  31173. type: integer
  31174. produces:
  31175. - application/json
  31176. responses:
  31177. "200":
  31178. description: OK
  31179. schema:
  31180. items:
  31181. $ref: '#/definitions/models.WrScfContractInterest'
  31182. type: array
  31183. "500":
  31184. description: Internal Server Error
  31185. schema:
  31186. $ref: '#/definitions/app.Response'
  31187. security:
  31188. - ApiKeyAuth: []
  31189. summary: 查询融资合同费用明细
  31190. tags:
  31191. - 仓单贸易v2
  31192. /WrTrade2/QueryWrSearchUser:
  31193. get:
  31194. parameters:
  31195. - description: 用户名称(模糊匹配)
  31196. in: query
  31197. name: username
  31198. required: true
  31199. type: string
  31200. produces:
  31201. - application/json
  31202. responses:
  31203. "200":
  31204. description: OK
  31205. schema:
  31206. items:
  31207. $ref: '#/definitions/models.WrSearchUser'
  31208. type: array
  31209. "500":
  31210. description: Internal Server Error
  31211. schema:
  31212. $ref: '#/definitions/app.Response'
  31213. security:
  31214. - ApiKeyAuth: []
  31215. summary: 查询用户
  31216. tags:
  31217. - 仓单贸易v2
  31218. /WrTrade2/QueryWrSpecialMatchOrder:
  31219. get:
  31220. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31221. parameters:
  31222. - description: 页码
  31223. in: query
  31224. name: page
  31225. type: integer
  31226. - description: 每页条数
  31227. in: query
  31228. name: pagesize
  31229. type: integer
  31230. - description: 用户id
  31231. in: query
  31232. name: userid
  31233. required: true
  31234. type: integer
  31235. - description: 仓单贸易市场id
  31236. in: query
  31237. name: marketid
  31238. type: integer
  31239. - description: 0:仓单预售 1:仓单贸易
  31240. in: query
  31241. name: haswr
  31242. required: true
  31243. type: integer
  31244. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31245. in: query
  31246. name: isspecified
  31247. type: integer
  31248. produces:
  31249. - application/json
  31250. responses:
  31251. "200":
  31252. description: OK
  31253. schema:
  31254. items:
  31255. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31256. type: array
  31257. "500":
  31258. description: Internal Server Error
  31259. schema:
  31260. $ref: '#/definitions/app.Response'
  31261. security:
  31262. - ApiKeyAuth: []
  31263. summary: 查询指定成交
  31264. tags:
  31265. - 仓单贸易v2
  31266. /WrTrade2/QueryWrStandardFactoryItem:
  31267. get:
  31268. parameters:
  31269. - description: 品类id
  31270. in: query
  31271. name: wrstandardid
  31272. required: true
  31273. type: integer
  31274. produces:
  31275. - application/json
  31276. responses:
  31277. "200":
  31278. description: OK
  31279. schema:
  31280. items:
  31281. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31282. type: array
  31283. "500":
  31284. description: Internal Server Error
  31285. schema:
  31286. $ref: '#/definitions/app.Response'
  31287. security:
  31288. - ApiKeyAuth: []
  31289. summary: 查询品类要素定义项
  31290. tags:
  31291. - 仓单贸易v2
  31292. /WrTrade2/QueryWrTradeBargainApply:
  31293. get:
  31294. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31295. 议价->对方议价 填写matchuserid=登录用户id
  31296. parameters:
  31297. - description: 议价人id(摘牌方)
  31298. in: query
  31299. name: userid
  31300. type: integer
  31301. - description: 挂牌方id(查对方议价时,填写此项)
  31302. in: query
  31303. name: matchuserid
  31304. type: integer
  31305. - description: 关联委托单id
  31306. in: query
  31307. name: wrtradeorderid
  31308. type: integer
  31309. - description: 0:仓单预售 1:仓单贸易
  31310. in: query
  31311. name: haswr
  31312. required: true
  31313. type: integer
  31314. - description: 开始交易日(yyyymmdd)
  31315. in: query
  31316. name: begindate
  31317. type: string
  31318. - description: 结束交易日(yyyymmdd)
  31319. in: query
  31320. name: enddate
  31321. type: string
  31322. produces:
  31323. - application/json
  31324. responses:
  31325. "200":
  31326. description: OK
  31327. schema:
  31328. items:
  31329. $ref: '#/definitions/models.WRTradeBargainApply'
  31330. type: array
  31331. "500":
  31332. description: Internal Server Error
  31333. schema:
  31334. $ref: '#/definitions/app.Response'
  31335. security:
  31336. - ApiKeyAuth: []
  31337. summary: 查询议价单
  31338. tags:
  31339. - 仓单贸易v2
  31340. /WrTrade2/QueryWrTradeDetail:
  31341. get:
  31342. parameters:
  31343. - description: 页码
  31344. in: query
  31345. name: page
  31346. type: integer
  31347. - description: 每页条数
  31348. in: query
  31349. name: pagesize
  31350. type: integer
  31351. - description: 用户id
  31352. in: query
  31353. name: userid
  31354. required: true
  31355. type: integer
  31356. - description: 仓单贸易市场id
  31357. in: query
  31358. name: marketid
  31359. type: integer
  31360. - description: 0:仓单预售 1:仓单贸易
  31361. in: query
  31362. name: haswr
  31363. required: true
  31364. type: integer
  31365. - description: 开始交易日(yyyymmdd)
  31366. in: query
  31367. name: begindate
  31368. type: string
  31369. - description: 结束交易日(yyyymmdd)
  31370. in: query
  31371. name: enddate
  31372. type: string
  31373. produces:
  31374. - application/json
  31375. responses:
  31376. "200":
  31377. description: OK
  31378. schema:
  31379. items:
  31380. $ref: '#/definitions/models.WrTradeDetail'
  31381. type: array
  31382. "500":
  31383. description: Internal Server Error
  31384. schema:
  31385. $ref: '#/definitions/app.Response'
  31386. security:
  31387. - ApiKeyAuth: []
  31388. summary: 查询仓单成交明细
  31389. tags:
  31390. - 仓单贸易v2
  31391. /WrTrade2/QueryWrTradeOrderDetail:
  31392. get:
  31393. parameters:
  31394. - description: 页码
  31395. in: query
  31396. name: page
  31397. type: integer
  31398. - description: 每页条数
  31399. in: query
  31400. name: pagesize
  31401. type: integer
  31402. - description: 商品id
  31403. in: query
  31404. name: goodsid
  31405. required: true
  31406. type: integer
  31407. - description: 买卖方向 0-买 1-卖
  31408. in: query
  31409. name: buyorsell
  31410. required: true
  31411. type: integer
  31412. produces:
  31413. - application/json
  31414. responses:
  31415. "200":
  31416. description: OK
  31417. schema:
  31418. items:
  31419. $ref: '#/definitions/models.WrTradeOrderDetail'
  31420. type: array
  31421. "500":
  31422. description: Internal Server Error
  31423. schema:
  31424. $ref: '#/definitions/app.Response'
  31425. security:
  31426. - ApiKeyAuth: []
  31427. summary: 查询合约交易买卖大厅
  31428. tags:
  31429. - 仓单贸易v2
  31430. /WrTrade2/QueryWrUserFriend:
  31431. get:
  31432. parameters:
  31433. - description: 用户id
  31434. in: query
  31435. name: userid
  31436. required: true
  31437. type: integer
  31438. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31439. in: query
  31440. name: newuserid
  31441. type: integer
  31442. produces:
  31443. - application/json
  31444. responses:
  31445. "200":
  31446. description: OK
  31447. schema:
  31448. items:
  31449. $ref: '#/definitions/models.WrUserFriend'
  31450. type: array
  31451. "500":
  31452. description: Internal Server Error
  31453. schema:
  31454. $ref: '#/definitions/app.Response'
  31455. security:
  31456. - ApiKeyAuth: []
  31457. summary: 查询我的朋友
  31458. tags:
  31459. - 仓单贸易v2
  31460. /WrTrade2/QueryWrUserReceiptInfo:
  31461. get:
  31462. parameters:
  31463. - description: 用户id
  31464. in: query
  31465. name: userid
  31466. type: integer
  31467. - description: 发票类型 - 1:个人 2:企业
  31468. in: query
  31469. name: receipttype
  31470. type: integer
  31471. produces:
  31472. - application/json
  31473. responses:
  31474. "200":
  31475. description: OK
  31476. schema:
  31477. items:
  31478. $ref: '#/definitions/models.WrUserReceiptInfo'
  31479. type: array
  31480. "500":
  31481. description: Internal Server Error
  31482. schema:
  31483. $ref: '#/definitions/app.Response'
  31484. security:
  31485. - ApiKeyAuth: []
  31486. summary: 查询发票信息
  31487. tags:
  31488. - 仓单贸易v2
  31489. /WrTrade2/QueryXhcpSellBackApply:
  31490. get:
  31491. parameters:
  31492. - description: 用户ID
  31493. in: query
  31494. name: userid
  31495. required: true
  31496. type: integer
  31497. produces:
  31498. - application/json
  31499. responses:
  31500. "200":
  31501. description: OK
  31502. schema:
  31503. items:
  31504. $ref: '#/definitions/models.Xhcpsellbackapply'
  31505. type: array
  31506. "500":
  31507. description: Internal Server Error
  31508. schema:
  31509. $ref: '#/definitions/app.Response'
  31510. security:
  31511. - ApiKeyAuth: []
  31512. summary: 查询我的回收申请(新会陈皮)
  31513. tags:
  31514. - 仓单贸易v2
  31515. /ZJ/GetBankTip:
  31516. get:
  31517. produces:
  31518. - application/json
  31519. responses:
  31520. "200":
  31521. description: OK
  31522. schema:
  31523. type: string
  31524. "500":
  31525. description: Internal Server Error
  31526. schema:
  31527. $ref: '#/definitions/app.Response'
  31528. summary: 获取中江网银端出入金提示信息
  31529. tags:
  31530. - 中江
  31531. /ZJ/GetCusBankChannels:
  31532. get:
  31533. produces:
  31534. - application/json
  31535. responses:
  31536. "200":
  31537. description: OK
  31538. schema:
  31539. items:
  31540. type: string
  31541. type: array
  31542. "500":
  31543. description: Internal Server Error
  31544. schema:
  31545. $ref: '#/definitions/app.Response'
  31546. summary: 获取中江出入金渠道显示列表
  31547. tags:
  31548. - 中江
  31549. securityDefinitions:
  31550. ApiKeyAuth:
  31551. in: header
  31552. name: Authorization
  31553. type: apiKey
  31554. swagger: "2.0"