swagger.yaml 886 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805
  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. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curhedgeqty:
  2194. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodscode:
  2218. description: 套保商品代码
  2219. type: string
  2220. middlegoodsid:
  2221. description: 套保商品id
  2222. type: integer
  2223. middlegoodsname:
  2224. description: 套保商品名称
  2225. type: string
  2226. ydqty:
  2227. description: 昨日持仓
  2228. type: integer
  2229. type: object
  2230. ermcp.RealtimeExposureRsp:
  2231. properties:
  2232. AreaUserID:
  2233. description: 所属机构
  2234. type: integer
  2235. BuyFutureQty:
  2236. description: 买入期货数量
  2237. type: number
  2238. BuyPlanQty:
  2239. description: 采购计划数量
  2240. type: number
  2241. BuyPricedQty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. MiddleGoodsCode:
  2245. description: 套保品种代码
  2246. type: string
  2247. MiddleGoodsHedgeRatio:
  2248. description: 套保比例
  2249. type: number
  2250. MiddleGoodsID:
  2251. description: 套保品种
  2252. type: integer
  2253. MiddleGoodsName:
  2254. description: 套保品种名称
  2255. type: string
  2256. NeedHedgeExposoure:
  2257. description: 应套保敞口(套保敞口)
  2258. type: number
  2259. NeedHedgeRatio:
  2260. description: 应套保敞口比例
  2261. type: number
  2262. OriBuyFutureQty:
  2263. description: 期初买入期货数量
  2264. type: number
  2265. OriBuyPlanQty:
  2266. description: 期初采购计划数量
  2267. type: number
  2268. OriBuyPricedQty:
  2269. description: 期初采购合同已定价数量
  2270. type: number
  2271. OriSellFutureQty:
  2272. description: 期初卖出期货数量
  2273. type: number
  2274. OriSellPlanQty:
  2275. description: 期初销售计划数量
  2276. type: number
  2277. OriSellPricedQty:
  2278. description: 期初销售合同已定价数量
  2279. type: number
  2280. OriTotalSpotQty:
  2281. description: 期初现货总量
  2282. type: number
  2283. SellFutureQty:
  2284. description: 卖出期货数量
  2285. type: number
  2286. SellPlanQty:
  2287. description: 销售计划数量
  2288. type: number
  2289. SellPricedQty:
  2290. description: 销售合同已定价数量
  2291. type: number
  2292. TotalExposure:
  2293. description: 总敞口 平安:净敞口
  2294. type: number
  2295. TotalFutureQty:
  2296. description: 期货总量 平安:保值净持仓量
  2297. type: number
  2298. TotalHedgeRatio:
  2299. description: 敞口比例
  2300. type: number
  2301. TotalNeedHedgeQty:
  2302. description: 应套保总量(现货应套保总量)
  2303. type: number
  2304. TotalSpotQty:
  2305. description: 现货总量 平安:采销定价净值
  2306. type: number
  2307. arbitrageqty:
  2308. description: 套利量
  2309. type: number
  2310. diffArbitrageQty:
  2311. description: 套利变动量
  2312. type: number
  2313. diffExposoureQty:
  2314. description: 变动量(套保敞口)
  2315. type: number
  2316. diffFutuQty:
  2317. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2318. type: number
  2319. diffHedgeQty:
  2320. description: 套保变动量
  2321. type: number
  2322. diffQty:
  2323. description: 变动量(总敞口) 平安:净敞口今日变动
  2324. type: number
  2325. diffSpotHedgeQty:
  2326. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2327. type: number
  2328. diffSpotQty:
  2329. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2330. type: number
  2331. enumdicname:
  2332. description: 单位名称
  2333. type: string
  2334. hedgeqty:
  2335. description: 套保量
  2336. type: number
  2337. needarbitrageqty:
  2338. description: 应套利量
  2339. type: number
  2340. needarbitrageratio:
  2341. description: 套利比例
  2342. type: number
  2343. needhedgeqty:
  2344. description: 应套保量
  2345. type: number
  2346. oriarbitrageqty:
  2347. description: 期初套利量
  2348. type: number
  2349. orihedgeqty:
  2350. description: 期初套保量
  2351. type: number
  2352. orineedhedgeexposoure:
  2353. description: 期初套保敞口
  2354. type: number
  2355. oritotalexposure:
  2356. description: 期初总敞口
  2357. type: number
  2358. oritotalfutureqty:
  2359. description: 期初期货总量
  2360. type: number
  2361. oritotalneedhedgeqty:
  2362. description: 期初现货应套保量
  2363. type: number
  2364. type: object
  2365. erms2.QueryArbitrageStrategyRsp:
  2366. properties:
  2367. applybasis:
  2368. description: 申请基差
  2369. type: number
  2370. asapplyid:
  2371. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2372. type: string
  2373. asname:
  2374. description: 策略名称
  2375. type: string
  2376. asno:
  2377. description: 策略编号
  2378. type: string
  2379. basischangepl:
  2380. description: 基差变动损益[结算更新]
  2381. type: number
  2382. biztype:
  2383. description: 业务类型 - 1:正向套利 -1:反向套利
  2384. type: integer
  2385. closetradedate:
  2386. description: 完结交易日(yyyyMMdd)
  2387. type: string
  2388. curbasis:
  2389. description: 当前基差[结算更新]
  2390. type: number
  2391. deliverygoodsid:
  2392. description: 现货品种ID
  2393. type: integer
  2394. futureavgprice:
  2395. description: 期货建仓均价
  2396. type: number
  2397. futurecloseamount:
  2398. description: 期货平仓金额
  2399. type: number
  2400. futurecloseqty:
  2401. description: 期货平仓数量
  2402. type: number
  2403. futureopenamount:
  2404. description: 期货开仓金额
  2405. type: number
  2406. futureopenqty:
  2407. description: 期货开仓数量
  2408. type: number
  2409. futurepl:
  2410. description: 期货总盈亏[结算更新]
  2411. type: number
  2412. futureqty:
  2413. description: 期货持仓数量
  2414. type: number
  2415. futurequote:
  2416. description: 期货额度
  2417. type: number
  2418. goodsgroupid:
  2419. description: 期货品种ID
  2420. type: integer
  2421. marketid:
  2422. description: 市场ID
  2423. type: integer
  2424. netexposure:
  2425. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2426. type: number
  2427. netexposurepl:
  2428. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2429. type: number
  2430. netexposurerate:
  2431. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2432. type: number
  2433. openbasis:
  2434. description: 建仓基差
  2435. type: number
  2436. pricedspotqty:
  2437. description: 已定价现货数量
  2438. type: number
  2439. pricedspotqtynotax:
  2440. description: 已定价现货不含税数量
  2441. type: number
  2442. remark:
  2443. description: 备注
  2444. type: string
  2445. spotavgprice:
  2446. description: 现货均价
  2447. type: number
  2448. spotbuyamount:
  2449. description: 现货采购金额
  2450. type: number
  2451. spotbuyqty:
  2452. description: 现货采购数量
  2453. type: number
  2454. spotpl:
  2455. description: 现货总盈亏[结算更新]
  2456. type: number
  2457. spotquota:
  2458. description: 现货额度
  2459. type: number
  2460. spotsellamount:
  2461. description: 现货销售金额
  2462. type: number
  2463. spotsellqty:
  2464. description: 现货销售数量
  2465. type: number
  2466. spotusedquota:
  2467. description: 现货占用资金
  2468. type: number
  2469. strategystatus:
  2470. description: 策略状态 - 0:未结束 1:已结束
  2471. type: integer
  2472. totalpl:
  2473. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2474. type: number
  2475. tradedate:
  2476. description: 交易日(yyyyMMdd)
  2477. type: string
  2478. updatetime:
  2479. description: 更新时间
  2480. type: string
  2481. usedquota:
  2482. description: 已占用资金
  2483. type: number
  2484. userid:
  2485. description: 所属机构
  2486. type: integer
  2487. required:
  2488. - asapplyid
  2489. type: object
  2490. erms2.QueryInnerTradeDetailRsp:
  2491. properties:
  2492. accountid:
  2493. description: 账号ID
  2494. type: integer
  2495. agreeunit:
  2496. description: 合约单位
  2497. type: number
  2498. asapplyid:
  2499. description: 策略申请ID
  2500. type: integer
  2501. asname:
  2502. description: 策略名称
  2503. type: string
  2504. asno:
  2505. description: 策略编号
  2506. type: string
  2507. buyorsell:
  2508. description: 方向 - 0:买 1:卖
  2509. type: integer
  2510. channelbuildtype:
  2511. description: 委托单据类型 0:无 1:建仓 2:平仓
  2512. type: integer
  2513. closetype:
  2514. description: 平仓方式 - 0:无 1:平今 2:平昨
  2515. type: integer
  2516. decimalplace:
  2517. description: 报价小数位
  2518. type: integer
  2519. detailtype:
  2520. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2521. type: integer
  2522. exexchangecode:
  2523. description: 外部交易所代码
  2524. type: string
  2525. exexchangename:
  2526. description: 外部交易所名称
  2527. type: string
  2528. goodscode:
  2529. description: 商品代码(合约)
  2530. type: string
  2531. goodsgroupid:
  2532. description: 商品组ID(品种ID)
  2533. type: integer
  2534. goodsgroupname:
  2535. description: 商品组名称(品种)
  2536. type: string
  2537. goodsid:
  2538. description: 商品ID
  2539. type: integer
  2540. goodsname:
  2541. description: 商品名称(合约)
  2542. type: string
  2543. goodunit:
  2544. description: 报价单位
  2545. type: string
  2546. marketid:
  2547. description: 市场ID
  2548. type: integer
  2549. orderid:
  2550. description: 委托单号
  2551. type: string
  2552. outgoodscode:
  2553. description: 商品代码(外部)
  2554. type: string
  2555. relatedouttradeid:
  2556. description: 关联外部成交单ID
  2557. type: string
  2558. remark:
  2559. description: 备注
  2560. type: string
  2561. spotcontractid:
  2562. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2563. type: integer
  2564. spotcontractno:
  2565. description: 现货合同编号
  2566. type: string
  2567. tradeid:
  2568. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2569. type: string
  2570. tradeprice:
  2571. description: 成交价格
  2572. type: number
  2573. tradeqty:
  2574. description: 成交数量
  2575. type: integer
  2576. tradetime:
  2577. description: 成交时间
  2578. type: string
  2579. updatetime:
  2580. description: 更新时间
  2581. type: string
  2582. required:
  2583. - asapplyid
  2584. - buyorsell
  2585. - goodscode
  2586. - goodsgroupid
  2587. - goodsgroupname
  2588. - goodsname
  2589. - tradeid
  2590. type: object
  2591. erms2.QuerySpotContractRsp:
  2592. properties:
  2593. accountid:
  2594. description: 资金账户ID
  2595. type: integer
  2596. areauserid:
  2597. description: 所属机构
  2598. type: integer
  2599. closedate:
  2600. description: 终止日期
  2601. type: string
  2602. closeremark:
  2603. description: 结束备注
  2604. type: string
  2605. closetradedate:
  2606. description: 完结交易日(yyyyMMdd)
  2607. type: string
  2608. closetype:
  2609. description: 终止类型 - 1:违约 2:提前终止
  2610. type: integer
  2611. contractamount:
  2612. description: 合同金额
  2613. type: number
  2614. contractattachment:
  2615. description: 合同附件
  2616. type: string
  2617. contractno:
  2618. description: 现货合同编号
  2619. type: string
  2620. contractqty:
  2621. description: 合同数量(数值) (用于计算)
  2622. type: number
  2623. contractqtychar:
  2624. description: 合同数量\已订价数量 (用于显示)
  2625. type: string
  2626. contractstatus:
  2627. description: 合同状态 - 0:未结束 1:已结束
  2628. type: integer
  2629. contracttype:
  2630. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2631. type: integer
  2632. customeraccountid:
  2633. description: 客户资金账户ID
  2634. type: integer
  2635. customeruserid:
  2636. description: 客户ID
  2637. type: integer
  2638. deliverygoodsdesc:
  2639. description: 品种说明
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种ID
  2643. type: integer
  2644. handlestatus:
  2645. description: 处理状态
  2646. type: integer
  2647. invoiceatt:
  2648. description: 发票附件
  2649. type: string
  2650. invoicedatetime:
  2651. description: 开收票更新时间
  2652. type: string
  2653. invoiceopentime:
  2654. description: 开票时间
  2655. type: string
  2656. invoiceremark:
  2657. description: 发票备注
  2658. type: string
  2659. invoicestatus:
  2660. description: 开收票状态 - 0:未开票 1:已开票
  2661. type: integer
  2662. lastdate:
  2663. description: 交货时间
  2664. type: string
  2665. marketid:
  2666. description: 市场ID
  2667. type: integer
  2668. paydatetime:
  2669. description: 收付款更新时间
  2670. type: string
  2671. payremark:
  2672. description: 收付款备注
  2673. type: string
  2674. paystatus:
  2675. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2676. type: integer
  2677. positionqty:
  2678. description: 头寸数量 - 合同数量去小数部分
  2679. type: integer
  2680. producttype:
  2681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2682. type: integer
  2683. relatedqty:
  2684. description: 已关联数量
  2685. type: number
  2686. relatedstatus:
  2687. description: 关联完结状态 - 0:未结束 1:已结束
  2688. type: integer
  2689. remark:
  2690. description: 备注
  2691. type: string
  2692. signdate:
  2693. description: 签订日期
  2694. type: string
  2695. spotcontractid:
  2696. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2697. type: string
  2698. spotdatetime:
  2699. description: 收发货更新时间
  2700. type: string
  2701. spotprice:
  2702. description: 价格
  2703. type: number
  2704. spotremark:
  2705. description: 收发货备注
  2706. type: string
  2707. spotstatus:
  2708. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2709. type: integer
  2710. tradedate:
  2711. description: 交易日(yyyyMMdd)
  2712. type: string
  2713. userid:
  2714. description: 业务员用户ID
  2715. type: integer
  2716. warehouseid:
  2717. description: 仓库ID
  2718. type: integer
  2719. wrfactortypeid:
  2720. description: 仓单要素类型ID
  2721. type: integer
  2722. wrstandardid:
  2723. description: 仓单标准ID(SEQ_WRSTANDARD)
  2724. type: integer
  2725. required:
  2726. - spotcontractid
  2727. type: object
  2728. erms3.AddErms2ASApplyReq:
  2729. properties:
  2730. applybasis:
  2731. description: 申请基差
  2732. type: number
  2733. applystatus:
  2734. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2735. type: integer
  2736. asapplyid:
  2737. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2738. type: integer
  2739. asname:
  2740. description: 策略名称
  2741. type: string
  2742. asno:
  2743. description: 策略编号
  2744. type: string
  2745. auditid:
  2746. description: 审核人
  2747. type: integer
  2748. auditremark:
  2749. description: 审核备注
  2750. type: string
  2751. audittime:
  2752. description: 审核时间
  2753. type: string
  2754. biztype:
  2755. description: 业务类型 - 1:正向套利 2:反向套利
  2756. type: integer
  2757. createtime:
  2758. description: 创建时间
  2759. type: string
  2760. creatorid:
  2761. description: 创建人
  2762. type: integer
  2763. deliverygoodsid:
  2764. description: 现货品种ID
  2765. type: integer
  2766. futurequote:
  2767. description: 期货额度
  2768. type: number
  2769. goodsgroupid:
  2770. description: 期货品种ID
  2771. type: integer
  2772. marketid:
  2773. description: 市场ID
  2774. type: integer
  2775. remark:
  2776. description: 备注
  2777. type: string
  2778. spotquota:
  2779. description: 现货额度
  2780. type: number
  2781. tradedate:
  2782. description: 交易日(yyyyMMdd)
  2783. type: string
  2784. userid:
  2785. description: 所属机构
  2786. type: integer
  2787. required:
  2788. - asapplyid
  2789. type: object
  2790. erms3.AddErms2SpotTradeApplyReq:
  2791. properties:
  2792. applyjsondetail:
  2793. description: 申请明细(JSON)
  2794. type: string
  2795. applystatus:
  2796. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2797. type: integer
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. auditid:
  2802. description: 审核人
  2803. type: integer
  2804. auditremark:
  2805. description: 审核备注
  2806. type: string
  2807. audittime:
  2808. description: 审核时间
  2809. type: string
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. creatorid:
  2814. description: 创建人
  2815. type: integer
  2816. deliverygoodsid:
  2817. description: 现货品种ID
  2818. type: integer
  2819. futureaccountid:
  2820. description: 期货资金账户
  2821. type: integer
  2822. goodsgroupid:
  2823. description: 期货品种
  2824. type: integer
  2825. marketid:
  2826. description: 市场ID
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. spotaccountid:
  2832. description: 现货资金账户
  2833. type: integer
  2834. spottradeid:
  2835. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2836. type: integer
  2837. spottradename:
  2838. description: 业务名称
  2839. type: string
  2840. spottradeno:
  2841. description: 业务编号
  2842. type: string
  2843. tradedate:
  2844. description: 交易日(yyyyMMdd)
  2845. type: string
  2846. wrstandardid:
  2847. description: 仓单标准ID
  2848. type: integer
  2849. required:
  2850. - spottradeid
  2851. type: object
  2852. erms3.AddSpotContractApplyReq:
  2853. properties:
  2854. accountid:
  2855. description: 资金账户ID
  2856. type: integer
  2857. areauserid:
  2858. description: 所属机构
  2859. type: integer
  2860. contractattachment:
  2861. description: 合同附件
  2862. type: string
  2863. contractno:
  2864. description: 现货合同编号
  2865. type: string
  2866. contracttype:
  2867. description: 现货合同类型 - 1:采购 -1:销售
  2868. type: integer
  2869. creatorid:
  2870. description: 申请人
  2871. type: integer
  2872. customeraccountid:
  2873. description: 客户资金账户ID
  2874. type: integer
  2875. customeruserid:
  2876. description: 客户ID
  2877. type: integer
  2878. details:
  2879. description: 明细
  2880. items:
  2881. $ref: '#/definitions/erms3.SoptContractDetail'
  2882. type: array
  2883. orimargin:
  2884. description: 初始保证金
  2885. type: number
  2886. remark:
  2887. description: 备注
  2888. type: string
  2889. signdate:
  2890. description: 签订日期
  2891. type: string
  2892. required:
  2893. - accountid
  2894. - areauserid
  2895. - contractno
  2896. - contracttype
  2897. - customeraccountid
  2898. - customeruserid
  2899. - details
  2900. - orimargin
  2901. - signdate
  2902. type: object
  2903. erms3.AddSpotContractApplyRsp:
  2904. properties:
  2905. contractno:
  2906. description: 现货合同编号
  2907. type: string
  2908. spotcontractid:
  2909. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2910. type: integer
  2911. required:
  2912. - contractno
  2913. type: object
  2914. erms3.AddUserInfoApplyReq:
  2915. properties:
  2916. accountid:
  2917. description: 交易系统帐号Id (加密存储)
  2918. type: integer
  2919. areacode:
  2920. description: 机构代码
  2921. type: string
  2922. areaid:
  2923. description: 机构Id
  2924. type: integer
  2925. attachment1:
  2926. description: 附件1
  2927. type: string
  2928. attachment2:
  2929. description: 附件2
  2930. type: string
  2931. attachment3:
  2932. description: 附件3
  2933. type: string
  2934. attachment4:
  2935. description: 附件4
  2936. type: string
  2937. attachment5:
  2938. description: 附件5
  2939. type: string
  2940. auditedby:
  2941. description: 审核人
  2942. type: string
  2943. auditime:
  2944. description: 审核时间
  2945. type: string
  2946. auditsrc:
  2947. description: 审核来源 - 1:管理端 2:终端
  2948. type: integer
  2949. bankaccount:
  2950. description: 银行帐号 (加密存储)
  2951. type: string
  2952. bankaccountname:
  2953. description: 收款人名称
  2954. type: string
  2955. bankcardbackphotourl:
  2956. description: 银行卡背面照地址
  2957. type: string
  2958. bankcardfrontphotourl:
  2959. description: 银行卡正面照地址
  2960. type: string
  2961. bankid:
  2962. description: 银行编码
  2963. type: string
  2964. bankname:
  2965. description: 银行名称
  2966. type: string
  2967. bankpictureurl:
  2968. description: 银行卡正面地址
  2969. type: string
  2970. biznature:
  2971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2972. type: integer
  2973. bizscope:
  2974. description: 企业经营范围(企业)
  2975. type: string
  2976. biztype:
  2977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2978. type: integer
  2979. brokerid:
  2980. description: 经纪人ID(加密存储)
  2981. type: string
  2982. cardaddress:
  2983. description: 证件地址 (加密存储)
  2984. type: string
  2985. cardbackphotourl:
  2986. description: 背面证件照地址
  2987. type: string
  2988. cardfrontphotourl:
  2989. description: 正面证件照地址
  2990. type: string
  2991. cardnum:
  2992. description: 证件号码 (加密存储)
  2993. type: string
  2994. cardtype:
  2995. description: 证件类型
  2996. type: integer
  2997. cityid:
  2998. description: 市
  2999. type: integer
  3000. company:
  3001. description: 公司(个人)
  3002. type: string
  3003. contactcardbackphotourl:
  3004. description: 联系人证件背面图片地址
  3005. type: string
  3006. contactcardfrontphotourl:
  3007. description: 联系人证件正面图片地址
  3008. type: string
  3009. contactname:
  3010. description: 联系人
  3011. type: string
  3012. countryid:
  3013. description: 国家
  3014. type: integer
  3015. createtime:
  3016. description: 开户申请时间
  3017. type: string
  3018. cusbankid:
  3019. description: 签约类型
  3020. type: string
  3021. cusbankname:
  3022. description: 签约类型名称
  3023. type: string
  3024. customername:
  3025. description: 客户名称(企业名称)
  3026. type: string
  3027. districtid:
  3028. description: 地区
  3029. type: integer
  3030. email:
  3031. description: Email地址(加密存储)
  3032. type: string
  3033. halfbodyphotourl:
  3034. description: 半身照地址
  3035. type: string
  3036. headurl:
  3037. description: 头像地址
  3038. type: string
  3039. ipaddress:
  3040. description: IP地址
  3041. type: string
  3042. isvalidate:
  3043. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3044. type: string
  3045. legalcardbackphotourl:
  3046. description: 法人身份证背面照地址
  3047. type: string
  3048. legalcardfrontphotourl:
  3049. description: 法人身份证正面照地址
  3050. type: string
  3051. legalpersonname:
  3052. description: 法人姓名(企业)
  3053. type: string
  3054. logincode:
  3055. description: 登录帐号 (加密存储)
  3056. type: string
  3057. memberareaid:
  3058. description: 所属会员ID
  3059. type: integer
  3060. mobile2:
  3061. description: 手机号码[明文-尚志]
  3062. type: string
  3063. mobilephone:
  3064. description: 手机号码 (加密存储)
  3065. type: string
  3066. modifiedby:
  3067. description: 修改人帐号
  3068. type: integer
  3069. modifiedtime:
  3070. description: 修改时间
  3071. type: string
  3072. nickname:
  3073. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3074. type: string
  3075. openmode:
  3076. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3077. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3078. type: integer
  3079. otherurl:
  3080. description: 其它图片地址[使用分号分隔]
  3081. type: string
  3082. postalcode:
  3083. description: 邮政编码
  3084. type: string
  3085. provinceid:
  3086. description: 省
  3087. type: integer
  3088. proxystatementurl:
  3089. description: 授权委托书
  3090. type: string
  3091. qq:
  3092. description: QQ(加密存储
  3093. type: string
  3094. referral:
  3095. description: 推荐人编码
  3096. type: string
  3097. remark:
  3098. description: 备注
  3099. type: string
  3100. removebeforestatus:
  3101. description: REMOVEBEFORESTATUS
  3102. type: integer
  3103. sex:
  3104. description: 性别 - 0:女 1:男
  3105. type: integer
  3106. signedstatus:
  3107. description: 账户一号签签约状态
  3108. type: integer
  3109. signpdfurl:
  3110. description: 签约pdf文件
  3111. type: string
  3112. subbranch:
  3113. description: 开户支行
  3114. type: string
  3115. taxpayernum:
  3116. description: 纳税人识别号
  3117. type: string
  3118. telphone:
  3119. description: 联系电话(加密存储)
  3120. type: string
  3121. userid:
  3122. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3123. type: integer
  3124. userinfotype:
  3125. description: 用户信息类型 - 1:个人 2:企业
  3126. type: integer
  3127. username:
  3128. description: 用户姓名
  3129. type: string
  3130. userstate:
  3131. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3132. type: integer
  3133. usertype:
  3134. description: 用户类型 - 1:投资者 2:机构
  3135. type: integer
  3136. videourl:
  3137. description: 视频地址
  3138. type: string
  3139. wechat:
  3140. description: 微信号 (加密存储)
  3141. type: string
  3142. required:
  3143. - userid
  3144. type: object
  3145. erms3.CustomerInfo:
  3146. properties:
  3147. accountids:
  3148. description: 资金账户ID列表
  3149. items:
  3150. type: integer
  3151. type: array
  3152. customername:
  3153. description: 名称(企业名称)
  3154. type: string
  3155. mobile:
  3156. description: 手机号码
  3157. type: string
  3158. userid:
  3159. description: 用户ID
  3160. type: integer
  3161. required:
  3162. - userid
  3163. type: object
  3164. erms3.ModifyUserInfoApplyReq:
  3165. properties:
  3166. accountid:
  3167. description: 交易系统帐号Id (加密存储)
  3168. type: integer
  3169. areacode:
  3170. description: 机构代码
  3171. type: string
  3172. areaid:
  3173. description: 机构Id
  3174. type: integer
  3175. attachment1:
  3176. description: 附件1
  3177. type: string
  3178. attachment2:
  3179. description: 附件2
  3180. type: string
  3181. attachment3:
  3182. description: 附件3
  3183. type: string
  3184. attachment4:
  3185. description: 附件4
  3186. type: string
  3187. attachment5:
  3188. description: 附件5
  3189. type: string
  3190. auditedby:
  3191. description: 审核人
  3192. type: string
  3193. auditime:
  3194. description: 审核时间
  3195. type: string
  3196. auditsrc:
  3197. description: 审核来源 - 1:管理端 2:终端
  3198. type: integer
  3199. bankaccount:
  3200. description: 银行帐号 (加密存储)
  3201. type: string
  3202. bankaccountname:
  3203. description: 收款人名称
  3204. type: string
  3205. bankcardbackphotourl:
  3206. description: 银行卡背面照地址
  3207. type: string
  3208. bankcardfrontphotourl:
  3209. description: 银行卡正面照地址
  3210. type: string
  3211. bankid:
  3212. description: 银行编码
  3213. type: string
  3214. bankname:
  3215. description: 银行名称
  3216. type: string
  3217. bankpictureurl:
  3218. description: 银行卡正面地址
  3219. type: string
  3220. biznature:
  3221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3222. type: integer
  3223. bizscope:
  3224. description: 企业经营范围(企业)
  3225. type: string
  3226. biztype:
  3227. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3228. type: integer
  3229. brokerid:
  3230. description: 经纪人ID(加密存储)
  3231. type: string
  3232. cardaddress:
  3233. description: 证件地址 (加密存储)
  3234. type: string
  3235. cardbackphotourl:
  3236. description: 背面证件照地址
  3237. type: string
  3238. cardfrontphotourl:
  3239. description: 正面证件照地址
  3240. type: string
  3241. cardnum:
  3242. description: 证件号码 (加密存储)
  3243. type: string
  3244. cardtype:
  3245. description: 证件类型
  3246. type: integer
  3247. cityid:
  3248. description: 市
  3249. type: integer
  3250. company:
  3251. description: 公司(个人)
  3252. type: string
  3253. contactcardbackphotourl:
  3254. description: 联系人证件背面图片地址
  3255. type: string
  3256. contactcardfrontphotourl:
  3257. description: 联系人证件正面图片地址
  3258. type: string
  3259. contactname:
  3260. description: 联系人
  3261. type: string
  3262. countryid:
  3263. description: 国家
  3264. type: integer
  3265. createtime:
  3266. description: 开户申请时间
  3267. type: string
  3268. cusbankid:
  3269. description: 签约类型
  3270. type: string
  3271. cusbankname:
  3272. description: 签约类型名称
  3273. type: string
  3274. customername:
  3275. description: 客户名称(企业名称)
  3276. type: string
  3277. districtid:
  3278. description: 地区
  3279. type: integer
  3280. email:
  3281. description: Email地址(加密存储)
  3282. type: string
  3283. halfbodyphotourl:
  3284. description: 半身照地址
  3285. type: string
  3286. headurl:
  3287. description: 头像地址
  3288. type: string
  3289. ipaddress:
  3290. description: IP地址
  3291. type: string
  3292. isvalidate:
  3293. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3294. type: string
  3295. legalcardbackphotourl:
  3296. description: 法人身份证背面照地址
  3297. type: string
  3298. legalcardfrontphotourl:
  3299. description: 法人身份证正面照地址
  3300. type: string
  3301. legalpersonname:
  3302. description: 法人姓名(企业)
  3303. type: string
  3304. logincode:
  3305. description: 登录帐号 (加密存储)
  3306. type: string
  3307. memberareaid:
  3308. description: 所属会员ID
  3309. type: integer
  3310. mobile2:
  3311. description: 手机号码[明文-尚志]
  3312. type: string
  3313. mobilephone:
  3314. description: 手机号码 (加密存储)
  3315. type: string
  3316. modifiedby:
  3317. description: 修改人帐号
  3318. type: integer
  3319. modifiedtime:
  3320. description: 修改时间
  3321. type: string
  3322. nickname:
  3323. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3324. type: string
  3325. openmode:
  3326. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3327. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3328. type: integer
  3329. otherurl:
  3330. description: 其它图片地址[使用分号分隔]
  3331. type: string
  3332. postalcode:
  3333. description: 邮政编码
  3334. type: string
  3335. provinceid:
  3336. description: 省
  3337. type: integer
  3338. proxystatementurl:
  3339. description: 授权委托书
  3340. type: string
  3341. qq:
  3342. description: QQ(加密存储
  3343. type: string
  3344. referral:
  3345. description: 推荐人编码
  3346. type: string
  3347. remark:
  3348. description: 备注
  3349. type: string
  3350. removebeforestatus:
  3351. description: REMOVEBEFORESTATUS
  3352. type: integer
  3353. sex:
  3354. description: 性别 - 0:女 1:男
  3355. type: integer
  3356. signedstatus:
  3357. description: 账户一号签签约状态
  3358. type: integer
  3359. signpdfurl:
  3360. description: 签约pdf文件
  3361. type: string
  3362. subbranch:
  3363. description: 开户支行
  3364. type: string
  3365. taxpayernum:
  3366. description: 纳税人识别号
  3367. type: string
  3368. telphone:
  3369. description: 联系电话(加密存储)
  3370. type: string
  3371. userid:
  3372. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3373. type: integer
  3374. userinfotype:
  3375. description: 用户信息类型 - 1:个人 2:企业
  3376. type: integer
  3377. username:
  3378. description: 用户姓名
  3379. type: string
  3380. userstate:
  3381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3382. type: integer
  3383. usertype:
  3384. description: 用户类型 - 1:投资者 2:机构
  3385. type: integer
  3386. videourl:
  3387. description: 视频地址
  3388. type: string
  3389. wechat:
  3390. description: 微信号 (加密存储)
  3391. type: string
  3392. required:
  3393. - userid
  3394. type: object
  3395. erms3.QryAuditContractRsp:
  3396. properties:
  3397. accountid:
  3398. description: 交易员ID
  3399. type: string
  3400. applystatus:
  3401. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3402. type: integer
  3403. curdeliveryqty:
  3404. description: 未交收量
  3405. type: integer
  3406. customername:
  3407. description: 采购方ID
  3408. type: string
  3409. deliverygoodsid:
  3410. description: 品种ID
  3411. type: string
  3412. deliveryqty:
  3413. description: 交收量
  3414. type: integer
  3415. enumdicname:
  3416. description: 单位名称
  3417. type: string
  3418. matchaccountid:
  3419. description: 业务员ID
  3420. type: string
  3421. matchcustomername:
  3422. description: 销售方ID
  3423. type: string
  3424. pricedqty:
  3425. description: 定价量
  3426. type: number
  3427. signdate:
  3428. description: 签订日期
  3429. type: string
  3430. spotcontractid:
  3431. description: 合同ID
  3432. type: string
  3433. totaldqty:
  3434. description: 合同量
  3435. type: number
  3436. unpricedqty:
  3437. description: 未定价量
  3438. type: number
  3439. wrstandardname:
  3440. description: 商品名称
  3441. type: string
  3442. required:
  3443. - matchcustomername
  3444. - spotcontractid
  3445. type: object
  3446. erms3.QryPendingBizRsp:
  3447. properties:
  3448. accountid:
  3449. description: 现货账户
  3450. type: string
  3451. areaname:
  3452. description: 所属部门
  3453. type: string
  3454. bizid:
  3455. description: 业务ID
  3456. type: string
  3457. bizname:
  3458. description: 业务名称
  3459. type: string
  3460. status:
  3461. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3462. type: integer
  3463. type:
  3464. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3465. type: integer
  3466. type: object
  3467. erms3.QueryBusinessInfoRsp:
  3468. properties:
  3469. businessid:
  3470. description: 业务ID.
  3471. type: integer
  3472. buyamount:
  3473. description: 采购额.
  3474. type: number
  3475. buyqty:
  3476. description: 采购量.
  3477. type: string
  3478. futurepl:
  3479. description: 期货盈亏.
  3480. type: number
  3481. futureqty:
  3482. description: 期货敞口.
  3483. type: string
  3484. goodsid:
  3485. description: 商品名称/商品代码.
  3486. type: string
  3487. hedgingqty:
  3488. description: 套保量.
  3489. type: string
  3490. sellamount:
  3491. description: 销售额.
  3492. type: number
  3493. sellqty:
  3494. description: 销售量.
  3495. type: string
  3496. spotmarketvalue:
  3497. description: 现货市值.
  3498. type: number
  3499. spotpl:
  3500. description: 浮动权益.
  3501. type: number
  3502. spotqty:
  3503. description: 现货量.
  3504. type: string
  3505. statu:
  3506. description: 状态,0-未结束 1-已结束.
  3507. type: integer
  3508. totalpl:
  3509. description: 总盈亏.
  3510. type: number
  3511. totalqty:
  3512. description: 总敞口.
  3513. type: string
  3514. type:
  3515. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3516. type: integer
  3517. type: object
  3518. erms3.QuerySpotContractAppleFormRsp:
  3519. properties:
  3520. goodses:
  3521. description: 合约列表
  3522. items:
  3523. $ref: '#/definitions/models.GoodsIDAndName'
  3524. type: array
  3525. oppositeusers:
  3526. description: 对方账号列表
  3527. items:
  3528. $ref: '#/definitions/erms3.CustomerInfo'
  3529. type: array
  3530. ouruser:
  3531. $ref: '#/definitions/erms3.CustomerInfo'
  3532. description: 我方账号
  3533. warehouseinfos:
  3534. description: 仓库信息列表
  3535. items:
  3536. $ref: '#/definitions/models.Warehouseinfo'
  3537. type: array
  3538. wrstandards:
  3539. description: 仓单标准列表
  3540. items:
  3541. $ref: '#/definitions/models.WRStandardInfo'
  3542. type: array
  3543. type: object
  3544. erms3.QuerySpotContractInfoRsp:
  3545. properties:
  3546. accountid:
  3547. description: 表示交易员ID.
  3548. type: integer
  3549. curdeliveryqty:
  3550. description: 表示未交收量.
  3551. type: number
  3552. customername:
  3553. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3554. type: string
  3555. deliverygoodsid:
  3556. description: 表示品种ID.
  3557. type: string
  3558. deliveryqty:
  3559. description: 表示交收量.
  3560. type: number
  3561. matchaccountid:
  3562. description: 表示业务员ID.
  3563. type: integer
  3564. matchcustomername:
  3565. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3566. type: string
  3567. priceqty:
  3568. description: 表示定价量.
  3569. type: number
  3570. relatedbizid:
  3571. description: 表示业务ID.
  3572. type: string
  3573. signdate:
  3574. description: 表示签订日期.
  3575. type: string
  3576. spotcontractid:
  3577. description: 合同ID
  3578. type: string
  3579. status:
  3580. description: 表示状态,0-履约中 1-已完成.
  3581. type: integer
  3582. totalqty:
  3583. description: 表示合同量.
  3584. type: number
  3585. unpricedqty:
  3586. description: 表示未定价量.
  3587. type: number
  3588. wrstandardname:
  3589. description: 表示商品ID.
  3590. type: string
  3591. type: object
  3592. erms3.QueryUserInfoAppliesRsp:
  3593. properties:
  3594. biznature:
  3595. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3596. type: integer
  3597. contactname:
  3598. description: 联系人
  3599. type: string
  3600. createtime:
  3601. description: 开户申请时间
  3602. type: string
  3603. userid:
  3604. description: 用户ID(自增ID)
  3605. type: integer
  3606. userinfotype:
  3607. description: 用户信息类型 - 1:个人 2:企业
  3608. type: integer
  3609. username:
  3610. description: 用户姓名
  3611. type: string
  3612. userstate:
  3613. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3614. type: integer
  3615. required:
  3616. - userid
  3617. type: object
  3618. erms3.QueryUserInfosRsp:
  3619. properties:
  3620. biznature:
  3621. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3622. type: integer
  3623. contactname:
  3624. description: 联系人
  3625. type: string
  3626. customername:
  3627. description: 客户名称(企业名称)
  3628. type: string
  3629. userid:
  3630. description: 用户ID
  3631. type: integer
  3632. userinfotype:
  3633. description: 用户信息类型 - 1:个人 2:企业
  3634. type: integer
  3635. userstatus:
  3636. description: 用户状态 - 1:正常 2:注销
  3637. type: integer
  3638. required:
  3639. - userid
  3640. type: object
  3641. erms3.SoptContractDetail:
  3642. properties:
  3643. deliverygoodsdesc:
  3644. description: 现货品种说明
  3645. type: string
  3646. deliverygoodsid:
  3647. description: 现货品种ID
  3648. type: integer
  3649. deliverygoodsname:
  3650. description: 现货品种名称
  3651. type: string
  3652. pointdesc:
  3653. description: 点价描述
  3654. type: string
  3655. producttype:
  3656. description: 产品类型 1:标准仓单 2:等标 3:非标
  3657. type: integer
  3658. producttypename:
  3659. description: 产品类型名称
  3660. type: string
  3661. spotPointOrderVoList:
  3662. description: 点价列表
  3663. items:
  3664. $ref: '#/definitions/erms3.SpotPointOrder'
  3665. type: array
  3666. spotPriceOrderList:
  3667. description: 定价列表
  3668. items:
  3669. $ref: '#/definitions/erms3.SpotPriceOrder'
  3670. type: array
  3671. unitname:
  3672. description: 单位名称
  3673. type: string
  3674. warehouseid:
  3675. description: 仓库ID
  3676. type: integer
  3677. warehousename:
  3678. description: 仓库名称
  3679. type: string
  3680. wrstandardid:
  3681. description: 交易标的ID
  3682. type: integer
  3683. wrstandardname:
  3684. description: 交易标的名称
  3685. type: string
  3686. required:
  3687. - deliverygoodsid
  3688. - producttype
  3689. - unitname
  3690. - warehouseid
  3691. - wrstandardid
  3692. - wrstandardname
  3693. type: object
  3694. erms3.SpotPointOrder:
  3695. properties:
  3696. basic:
  3697. description: 基差
  3698. type: number
  3699. deliveryenddate:
  3700. description: 交收结束日期
  3701. type: string
  3702. deliverystartdate:
  3703. description: 交收开始日期
  3704. type: string
  3705. enddate:
  3706. description: 点价结束日期
  3707. type: string
  3708. goodsid:
  3709. description: 商品ID
  3710. type: integer
  3711. goodsname:
  3712. description: 商品名称
  3713. type: string
  3714. qty:
  3715. description: 数量
  3716. type: number
  3717. startdate:
  3718. description: 点价开始日期
  3719. type: string
  3720. required:
  3721. - basic
  3722. - goodsid
  3723. - qty
  3724. type: object
  3725. erms3.SpotPriceOrder:
  3726. properties:
  3727. amount:
  3728. description: 金额
  3729. type: number
  3730. deliveryenddate:
  3731. description: 交收结束日期
  3732. type: string
  3733. deliverystartdate:
  3734. description: 交收开始日期
  3735. type: string
  3736. price:
  3737. description: 价格
  3738. type: number
  3739. qty:
  3740. description: 数量
  3741. type: number
  3742. required:
  3743. - amount
  3744. - price
  3745. - qty
  3746. type: object
  3747. hsby.GetHsbyMyCountRsp:
  3748. properties:
  3749. myCouponCount:
  3750. description: 我的优惠卷数量
  3751. type: integer
  3752. myOrderDetailListingCount:
  3753. description: 我的订单求购中数量
  3754. type: integer
  3755. myOrderDetailPreCount:
  3756. description: 我的订单抢购中数量
  3757. type: integer
  3758. myPackageUnReceiveCount:
  3759. description: 我的包裹待收货数量
  3760. type: integer
  3761. myPackageUnSendCount:
  3762. description: 我的包裹待发货数量
  3763. type: integer
  3764. myPayOrderCount:
  3765. description: 我的订单待付款数量
  3766. type: integer
  3767. type: object
  3768. hsby.QueryProvincesAndCitiesRsp:
  3769. properties:
  3770. cities:
  3771. description: 市
  3772. items:
  3773. $ref: '#/definitions/models.Division'
  3774. type: array
  3775. province:
  3776. $ref: '#/definitions/models.Division'
  3777. description: 省
  3778. type: object
  3779. models.Arearole:
  3780. properties:
  3781. createtime:
  3782. description: 创建时间
  3783. type: string
  3784. creatorid:
  3785. description: 创建人ID
  3786. type: integer
  3787. fromuserid:
  3788. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3789. type: integer
  3790. isreturnscore:
  3791. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3792. type: integer
  3793. modifierid:
  3794. description: 修改人ID
  3795. type: integer
  3796. modifytime:
  3797. description: 修改时间
  3798. type: string
  3799. orgtype:
  3800. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3801. type: integer
  3802. outuserid:
  3803. description: 外部账户[场外期权做市商]
  3804. type: string
  3805. parentuserid:
  3806. description: 上级组织机构(组织机构)
  3807. type: integer
  3808. roletype:
  3809. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3810. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3811. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3812. type: integer
  3813. rootuserid:
  3814. description: 顶级组织机构用户ID(组织机构)
  3815. type: integer
  3816. shoppassword:
  3817. description: 商城店铺登陆密码(商城店铺角色使用)
  3818. type: string
  3819. sublevelpath:
  3820. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3821. type: string
  3822. suborgtype:
  3823. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3824. type: integer
  3825. tradeaccountid:
  3826. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3827. type: integer
  3828. transurl:
  3829. description: 物流地址(物流机构)
  3830. type: string
  3831. userid:
  3832. description: 机构用户ID其他做市关系,都设置为 1
  3833. type: integer
  3834. required:
  3835. - roletype
  3836. - userid
  3837. type: object
  3838. models.Clientfixedadconfig:
  3839. properties:
  3840. adsort:
  3841. description: 排序
  3842. type: integer
  3843. adtype:
  3844. description: 广告位类型 - 1:新品抢购(HSBY)
  3845. type: integer
  3846. areauserid:
  3847. description: 所属机构ID
  3848. type: integer
  3849. createdate:
  3850. description: 创建时间
  3851. type: string
  3852. creatorid:
  3853. description: 创建人
  3854. type: integer
  3855. imagepath:
  3856. description: 图片
  3857. type: string
  3858. isshow:
  3859. description: 是否展示 - 0:不展示 1:展示
  3860. type: integer
  3861. modifierid:
  3862. description: 操作人
  3863. type: integer
  3864. recsize:
  3865. description: 推荐尺寸
  3866. type: string
  3867. title:
  3868. description: 标题
  3869. type: string
  3870. updatedate:
  3871. description: 更新时间
  3872. type: string
  3873. urlcontent:
  3874. description: 链接(地址或商品ID)
  3875. type: string
  3876. urltype:
  3877. description: 链接类型 - 1:直接地址 2:商品ID
  3878. type: integer
  3879. required:
  3880. - adsort
  3881. - adtype
  3882. type: object
  3883. models.DgFactoryItem:
  3884. properties:
  3885. dgfactoryitemid:
  3886. description: 选择项ID(SEQ_DGFACTORYITEM)
  3887. type: integer
  3888. dgfactoryitemtypeid:
  3889. description: 要素项类型
  3890. type: integer
  3891. dgfactoryitemvalue:
  3892. description: 要素项值(类型为仓库时填写仓库名称)
  3893. type: string
  3894. orderindex:
  3895. description: 顺序
  3896. type: integer
  3897. type: object
  3898. models.Division:
  3899. properties:
  3900. autoid:
  3901. description: 自增ID
  3902. type: integer
  3903. divisioncode:
  3904. description: 行政代码
  3905. type: string
  3906. divisionlevel:
  3907. description: 行政级别
  3908. type: string
  3909. divisionname:
  3910. description: 行政名称
  3911. type: string
  3912. modifierid:
  3913. description: 修改人
  3914. type: integer
  3915. modifytime:
  3916. description: 修改时间
  3917. type: string
  3918. parentcode:
  3919. description: 上级行政代码
  3920. type: string
  3921. pathname:
  3922. description: 路径名称
  3923. type: string
  3924. postcode:
  3925. description: 邮政编码
  3926. type: string
  3927. separablename:
  3928. description: 可拆分的全称
  3929. type: string
  3930. shortcode:
  3931. description: 地区简码
  3932. type: string
  3933. required:
  3934. - autoid
  3935. - divisioncode
  3936. type: object
  3937. models.Enumdicitem:
  3938. properties:
  3939. autoid:
  3940. description: 自增ID
  3941. type: integer
  3942. bankmappedvalue:
  3943. description: 银行服务对应值
  3944. type: string
  3945. enumdiccode:
  3946. description: 所属枚举代码
  3947. type: string
  3948. enumdicid:
  3949. description: 所属枚举ID
  3950. type: integer
  3951. enumdicname:
  3952. description: 枚举项名称
  3953. type: string
  3954. enumitemname:
  3955. description: 枚举项值
  3956. type: integer
  3957. enumitemstatus:
  3958. description: 枚举项状态 - 1.启用 2.不启用
  3959. type: integer
  3960. enumitemvalue:
  3961. description: 通用值 - [币种通用简写]
  3962. type: string
  3963. param1:
  3964. description: 参数1[币种:币种小数位]
  3965. type: string
  3966. param2:
  3967. description: 参数1[币种:币种显示单位]
  3968. type: string
  3969. remark:
  3970. description: 备注
  3971. type: string
  3972. required:
  3973. - autoid
  3974. - enumdiccode
  3975. - enumdicid
  3976. - enumitemname
  3977. type: object
  3978. models.Ermcp2AreaExposure:
  3979. properties:
  3980. areauserid:
  3981. description: 所属机构
  3982. type: integer
  3983. enumdicname:
  3984. description: 单位
  3985. type: string
  3986. futureqty:
  3987. description: 期货套期量
  3988. type: number
  3989. futureqtychange:
  3990. description: 期货变动量 = FutureQty - OriFutureQty
  3991. type: number
  3992. goodsunitid:
  3993. description: 单位ID
  3994. type: integer
  3995. hedgedspotexposure:
  3996. description: 被套期现货敞口量
  3997. type: number
  3998. hedgedspratio:
  3999. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4000. type: number
  4001. hedgedtotalexposourechange:
  4002. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4003. type: number
  4004. hedgedtotalexposure:
  4005. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4006. type: number
  4007. hedgeplanqty:
  4008. description: 套期计划量
  4009. type: number
  4010. hedgeplanqtychange:
  4011. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4012. type: number
  4013. hedgespotqty:
  4014. description: 被套期现货量
  4015. type: number
  4016. middlegoodsid:
  4017. description: 套保品种
  4018. type: integer
  4019. middlegoodsname:
  4020. description: 套保品种名称
  4021. type: string
  4022. orifutureqty:
  4023. description: 期初期货套期量
  4024. type: number
  4025. orihedgedspotexposure:
  4026. description: 期初被套期现货敞口量
  4027. type: number
  4028. orihedgedtotalexposure:
  4029. description: 期初套期敞口量
  4030. type: number
  4031. orihedgeplanqty:
  4032. description: 期初套期计划量
  4033. type: number
  4034. orihedgespotqty:
  4035. description: 期初被套期现货量
  4036. type: number
  4037. orispotexposure:
  4038. description: 期初现货敞口量
  4039. type: number
  4040. orispotqty:
  4041. description: 期初现货总量
  4042. type: number
  4043. oritotalexposure:
  4044. description: 期初总敞口量
  4045. type: number
  4046. spotexposure:
  4047. description: 现货敞口量
  4048. type: number
  4049. spotqty:
  4050. description: 现货总量
  4051. type: number
  4052. spotqtychange:
  4053. description: 现货变动量 = SpotQty - OriSpotQty
  4054. type: number
  4055. spratio:
  4056. description: 总期现比例 = 期货套期量/现货敞口量
  4057. type: number
  4058. totalexposure:
  4059. description: 总敞口量 = 现货敞口量 + 期货套期量
  4060. type: number
  4061. totalexposurechange:
  4062. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4063. type: number
  4064. updatetime:
  4065. description: 更新时间 --DATE
  4066. type: string
  4067. type: object
  4068. models.Ermcp2hedgeditem:
  4069. properties:
  4070. accountname:
  4071. description: 套期主体
  4072. type: string
  4073. applyid:
  4074. description: 申请人
  4075. type: integer
  4076. applysrc:
  4077. description: 申请来源 - 1:管理端 2:终端
  4078. type: integer
  4079. areauserid:
  4080. description: 企业ID
  4081. type: integer
  4082. auditid:
  4083. description: 审核人
  4084. type: integer
  4085. auditremark:
  4086. description: 审核备注
  4087. type: string
  4088. auditsrc:
  4089. description: 审核来源 - 1:管理端 2:终端
  4090. type: integer
  4091. audittime:
  4092. description: 审核时间
  4093. type: string
  4094. audittradedate:
  4095. description: 审核交易日(yyyyMMdd)
  4096. type: string
  4097. createtime:
  4098. description: 申请时间
  4099. type: string
  4100. curprice:
  4101. description: 当前市场价
  4102. type: number
  4103. curstock:
  4104. description: 期末库存量 = 采购总量 - 销售总量
  4105. type: number
  4106. deliverygoodsid:
  4107. description: 现货品种ID
  4108. type: integer
  4109. enddate:
  4110. description: 完成日期
  4111. type: string
  4112. endtradedate:
  4113. description: 完成交易日
  4114. type: string
  4115. enumdicname:
  4116. description: 单位
  4117. type: string
  4118. exeamount:
  4119. description: 执行市价总额
  4120. type: number
  4121. exeavgprice:
  4122. description: 执行市场均价= 执行市价总额 / 执行现货量
  4123. type: number
  4124. execontractamount:
  4125. description: 执行定价总额
  4126. type: number
  4127. exeqty:
  4128. description: 执行现货量
  4129. type: number
  4130. exerestamount:
  4131. description: 执行剩余市价总额【现货贸易】
  4132. type: number
  4133. futurefloatpl:
  4134. description: 期货浮动损益
  4135. type: number
  4136. futurehedgepl:
  4137. description: 期货实际损益
  4138. type: number
  4139. futurehedgeplchange:
  4140. description: 期货实际损益变动
  4141. type: number
  4142. futurepl:
  4143. description: 期货套期损益
  4144. type: number
  4145. futureplchange:
  4146. description: 期货套期损益变动
  4147. type: number
  4148. hedgeamount:
  4149. description: 套期市价总额
  4150. type: number
  4151. hedgecontractamount:
  4152. description: 套期定价总额 【定价采购合同】【现货贸易】
  4153. type: number
  4154. hedgeditemid:
  4155. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4156. type: string
  4157. hedgeditemname:
  4158. description: 项目名称
  4159. type: string
  4160. hedgeditemnum:
  4161. description: 项目编号
  4162. type: string
  4163. hedgeditemstatus:
  4164. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4165. type: integer
  4166. hedgedtype:
  4167. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4168. type: integer
  4169. hedgeqty:
  4170. description: 套期现货量
  4171. type: number
  4172. hedgerate:
  4173. description: 套保比率
  4174. type: number
  4175. hedgerestamount:
  4176. description: 套期剩余市价总额【现货贸易】
  4177. type: number
  4178. hedgesumpl:
  4179. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4180. type: number
  4181. middlegoodslist:
  4182. description: 套期商品列表
  4183. items:
  4184. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4185. type: array
  4186. oriavgprice:
  4187. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4188. type: number
  4189. orifuturehedgepl:
  4190. description: 期初期货实际损益
  4191. type: number
  4192. orifuturepl:
  4193. description: 期初期货套期损益
  4194. type: number
  4195. orispothedgepl:
  4196. description: 期初现货实际损益
  4197. type: number
  4198. orispotpl:
  4199. description: 期初现货套期损益
  4200. type: number
  4201. planenddate:
  4202. description: 计划结束日期
  4203. type: string
  4204. planstartdate:
  4205. description: 计划开始日期
  4206. type: string
  4207. remark:
  4208. description: 备注
  4209. type: string
  4210. spotbookamount:
  4211. description: 现货账面总额
  4212. type: number
  4213. spotfloatpl:
  4214. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4215. type: number
  4216. spothedgepl:
  4217. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4218. type: number
  4219. spothedgeplchange:
  4220. description: 现货实际损益变动
  4221. type: number
  4222. spotpl:
  4223. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4224. type: number
  4225. spotplchange:
  4226. description: 现货套期损益变动
  4227. type: number
  4228. spottradepl:
  4229. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4230. type: number
  4231. sumobspl:
  4232. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4233. type: number
  4234. tradeuserid:
  4235. description: 交易用户ID
  4236. type: integer
  4237. unexeqty:
  4238. description: 未执行现货量 = 套期现货量 - 执行现货量
  4239. type: number
  4240. updatetime:
  4241. description: 更新时间
  4242. type: string
  4243. vatpl:
  4244. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4245. type: number
  4246. vatrate:
  4247. description: 增值税
  4248. type: number
  4249. wrstandardid:
  4250. description: 现货商品ID
  4251. type: integer
  4252. wrstandardname:
  4253. description: 商品名称
  4254. type: string
  4255. type: object
  4256. models.Ermcp2hedgeditemlink:
  4257. properties:
  4258. areauserid:
  4259. description: 企业ID
  4260. type: integer
  4261. createtime:
  4262. description: '[关联时间]创建时间'
  4263. type: string
  4264. customeruserid:
  4265. description: 对手方 【3:采购合同 4:销售合同】
  4266. type: integer
  4267. deliverygoodsid:
  4268. description: 现货品种ID
  4269. type: integer
  4270. enumdicname:
  4271. description: 单位
  4272. type: string
  4273. hedgeditemid:
  4274. description: 被套期项目ID
  4275. type: integer
  4276. hedgeditemlinkid:
  4277. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4278. type: integer
  4279. hedgeditemnum:
  4280. description: 项目编号
  4281. type: string
  4282. hedgedtype:
  4283. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4284. type: integer
  4285. relatedamount:
  4286. description: 市价总额 = 关联数量 * 期初市场价
  4287. type: number
  4288. relatedhedgeplanid:
  4289. description: 关联计划ID 【1:采购计划 2:销售计划】
  4290. type: integer
  4291. relatedqty:
  4292. description: 关联数量
  4293. type: number
  4294. relatedspotcontractid:
  4295. description: 关联合同ID 【3:采购合同 4:销售合同】
  4296. type: integer
  4297. relatedtype:
  4298. description: 关联类型 - 1:套期关联 2:执行关联
  4299. type: integer
  4300. spotgoodsbrandid:
  4301. description: 现货品牌ID
  4302. type: integer
  4303. spotpricedamount:
  4304. description: '[关联定价总额]定价总额'
  4305. type: number
  4306. spotpricedavgprice:
  4307. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4308. type: number
  4309. spottype:
  4310. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4311. type: integer
  4312. tradeuserid:
  4313. description: 交易用户ID
  4314. type: integer
  4315. unexeqty:
  4316. description: 未执行现货量【项目关联时值】
  4317. type: number
  4318. wrstandardid:
  4319. description: 现货商品ID
  4320. type: integer
  4321. wrstandardname:
  4322. description: 现货商品
  4323. type: string
  4324. required:
  4325. - relatedspotcontractid
  4326. type: object
  4327. models.Ermcp2hedgeditemsDetail:
  4328. properties:
  4329. accountname:
  4330. description: 套期主体
  4331. type: string
  4332. areauserid:
  4333. description: 企业ID
  4334. type: integer
  4335. createtime:
  4336. description: '[日期时间]创建时间'
  4337. type: string
  4338. customeruserid:
  4339. description: 对手方 【3:采购合同 4:销售合同】
  4340. type: integer
  4341. deliverygoodsid:
  4342. description: 现货品种ID
  4343. type: integer
  4344. enumdicname:
  4345. description: 单位
  4346. type: string
  4347. hedgeditemid:
  4348. description: 被套期项目ID
  4349. type: string
  4350. hedgeditemspotid:
  4351. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. hedgedtype:
  4354. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4355. type: integer
  4356. hedgeplanno:
  4357. description: 计划编号
  4358. type: string
  4359. middlegoodschange:
  4360. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4361. type: number
  4362. oriavgprice:
  4363. description: 期初市场价[当初市场价]
  4364. type: number
  4365. relatedamount:
  4366. description: 市价总额 = 关联数量 * 期初市场价
  4367. type: number
  4368. relatedhedgeplanid:
  4369. description: 关联计划ID 【1:采购计划 2:销售计划】
  4370. type: integer
  4371. relatedqty:
  4372. description: '[期间变化量]关联数量'
  4373. type: number
  4374. relatedspotcontractid:
  4375. description: 关联合同ID 【3:采购合同 4:销售合同】
  4376. type: integer
  4377. relatedtype:
  4378. description: 关联类型 - 1:套期关联 2:执行关联
  4379. type: integer
  4380. spotgoodsbrandid:
  4381. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4382. type: integer
  4383. spotpricedamount:
  4384. description: 定价总额
  4385. type: number
  4386. spotpricedavgprice:
  4387. description: 现货均价 = 定价总额 / 关联数量
  4388. type: number
  4389. spottype:
  4390. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4391. type: integer
  4392. tradeuserid:
  4393. description: 交易用户ID
  4394. type: integer
  4395. unexeqty:
  4396. description: 未执行现货量 = 套期现货量 - 执行现货量
  4397. type: number
  4398. wrstandardid:
  4399. description: 现货商品ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 现货商品
  4403. type: string
  4404. type: object
  4405. models.Ermcp2hedgeditemspot:
  4406. properties:
  4407. areauserid:
  4408. description: 企业ID
  4409. type: integer
  4410. createtime:
  4411. description: 创建时间
  4412. type: string
  4413. customeruserid:
  4414. description: 对手方 【3:采购合同 4:销售合同】
  4415. type: integer
  4416. deliverygoodsid:
  4417. description: 现货品种ID
  4418. type: integer
  4419. enumdicname:
  4420. description: 单位
  4421. type: string
  4422. hedgeditemid:
  4423. description: 被套期项目ID
  4424. type: string
  4425. hedgeditemspotid:
  4426. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4427. type: string
  4428. hedgedtype:
  4429. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4430. type: integer
  4431. hedgeplanno:
  4432. description: 计划编号
  4433. type: string
  4434. oriavgprice:
  4435. description: 期初市场价[当初市场价]
  4436. type: number
  4437. relatedamount:
  4438. description: 市价总额 = 关联数量 * 期初市场价
  4439. type: number
  4440. relatedhedgeplanid:
  4441. description: 关联计划ID 【1:采购计划 2:销售计划】
  4442. type: integer
  4443. relatedqty:
  4444. description: 关联数量[数量]
  4445. type: number
  4446. relatedspotcontractid:
  4447. description: 关联合同ID 【3:采购合同 4:销售合同】
  4448. type: integer
  4449. relatedtype:
  4450. description: 关联类型 - 1:套期关联 2:执行关联
  4451. type: integer
  4452. spotgoodsbrandid:
  4453. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4454. type: integer
  4455. spotpricedamount:
  4456. description: 定价总额
  4457. type: number
  4458. spotpricedavgprice:
  4459. description: 现货均价 = 定价总额 / 关联数量
  4460. type: number
  4461. spottype:
  4462. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4463. type: integer
  4464. tradeuserid:
  4465. description: 交易用户ID
  4466. type: integer
  4467. wrstandardid:
  4468. description: 现货商品ID
  4469. type: integer
  4470. wrstandardname:
  4471. description: 现货商品
  4472. type: string
  4473. required:
  4474. - hedgeditemid
  4475. type: object
  4476. models.Ermcp2hedgeditemspotDetail:
  4477. properties:
  4478. accountname:
  4479. description: 对手方
  4480. type: string
  4481. areauserid:
  4482. description: 企业ID
  4483. type: integer
  4484. brandname:
  4485. description: 品牌
  4486. type: string
  4487. contractno:
  4488. description: 合同编号
  4489. type: string
  4490. createtime:
  4491. description: 创建时间
  4492. type: string
  4493. customeruserid:
  4494. description: 对手方 【3:采购合同 4:销售合同】
  4495. type: integer
  4496. deliverygoodsid:
  4497. description: 现货品种ID
  4498. type: integer
  4499. enumdicname:
  4500. description: 单位
  4501. type: string
  4502. hedgeditemid:
  4503. description: 被套期项目ID
  4504. type: string
  4505. hedgeditemspotid:
  4506. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4507. type: string
  4508. hedgedtype:
  4509. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4510. type: integer
  4511. oriavgprice:
  4512. description: 期初市场价[当初市场价]
  4513. type: number
  4514. relatedamount:
  4515. description: 市价总额 = 关联数量 * 期初市场价
  4516. type: number
  4517. relatedhedgeplanid:
  4518. description: 关联计划ID 【1:采购计划 2:销售计划】
  4519. type: integer
  4520. relatedqty:
  4521. description: 关联数量[数量]
  4522. type: number
  4523. relatedspotcontractid:
  4524. description: 关联合同ID 【3:采购合同 4:销售合同】
  4525. type: integer
  4526. relatedtype:
  4527. description: 关联类型 - 1:套期关联 2:执行关联
  4528. type: integer
  4529. spotgoodsbrandid:
  4530. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4531. type: integer
  4532. spotpricedamount:
  4533. description: 定价总额[金额]
  4534. type: number
  4535. spotpricedavgprice:
  4536. description: 现货均价 = 定价总额 / 关联数量
  4537. type: number
  4538. spottype:
  4539. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4540. type: integer
  4541. tradeuserid:
  4542. description: 交易用户ID
  4543. type: integer
  4544. wrstandardid:
  4545. description: 现货商品ID
  4546. type: integer
  4547. wrstandardname:
  4548. description: 现货商品
  4549. type: string
  4550. required:
  4551. - hedgeditemid
  4552. type: object
  4553. models.Ermcp2himiddlegoods:
  4554. properties:
  4555. futurehedgeqty:
  4556. description: 期货持仓套期量
  4557. type: number
  4558. hedgeditemid:
  4559. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4560. type: integer
  4561. hiexpsoure:
  4562. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4563. type: number
  4564. middlegoodscode:
  4565. description: 套保商品代码
  4566. type: string
  4567. middlegoodsid:
  4568. description: 套保品种ID
  4569. type: integer
  4570. middlegoodsname:
  4571. description: 套保商品名称
  4572. type: string
  4573. unexehedgeqty:
  4574. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4575. type: number
  4576. required:
  4577. - hedgeditemid
  4578. - middlegoodsid
  4579. type: object
  4580. models.Ermcp2stockspotchangelog:
  4581. properties:
  4582. accountname:
  4583. description: 套期主体
  4584. type: string
  4585. aftervalue:
  4586. description: 现货量
  4587. type: number
  4588. beforevalue:
  4589. description: 变更前现货量
  4590. type: number
  4591. contractno:
  4592. description: '[编号]现货合同编号'
  4593. type: string
  4594. contracttype:
  4595. description: 现货合同类型 - 1:采购 -1:销售
  4596. type: integer
  4597. createtime:
  4598. description: 创建时间
  4599. type: string
  4600. customerusername:
  4601. description: 对手方
  4602. type: string
  4603. deliverygoodsid:
  4604. description: 现货品种ID
  4605. type: integer
  4606. exetype:
  4607. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4608. type: integer
  4609. logid:
  4610. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4611. type: string
  4612. logvalue:
  4613. description: '[期间变化量]现货量变更值'
  4614. type: number
  4615. middlegoodschange:
  4616. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4617. type: number
  4618. operatelogtype:
  4619. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4620. 27:生产出库
  4621. type: integer
  4622. relatedid:
  4623. description: 现货合同ID
  4624. type: integer
  4625. spotgoodsbrandid:
  4626. description: 现货品牌ID
  4627. type: integer
  4628. tradedate:
  4629. description: 交易日(yyyyMMdd)
  4630. type: string
  4631. userid:
  4632. description: 机构ID
  4633. type: integer
  4634. warehouseinfoid:
  4635. description: 仓库ID
  4636. type: integer
  4637. wrfactortypeid:
  4638. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4639. type: integer
  4640. wrstandardid:
  4641. description: 现货商品ID
  4642. type: integer
  4643. wrstandardname:
  4644. description: 商品名称
  4645. type: string
  4646. type: object
  4647. models.Ermcp3AreaSpot:
  4648. properties:
  4649. areauserid:
  4650. description: 所属机构
  4651. type: integer
  4652. convertratio:
  4653. description: 套保系数
  4654. type: number
  4655. decreaseqty:
  4656. description: 减少数量=-(销售已定价数量+采购计划数量)
  4657. type: number
  4658. enumdicname:
  4659. description: 单位名称
  4660. type: string
  4661. increaseqty:
  4662. description: 增加数量=销售计划数量+采购已定价数量
  4663. type: number
  4664. oritoalspotqty:
  4665. description: 昨日数量
  4666. type: number
  4667. totalspotqty:
  4668. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4669. type: number
  4670. unitid:
  4671. description: 现货商品单位id
  4672. type: integer
  4673. updatetime:
  4674. description: 更新时间
  4675. type: string
  4676. wrstandardcode:
  4677. description: 现货商品代码
  4678. type: string
  4679. wrstandardid:
  4680. description: 现货商品ID(SEQ_WRSTANDARD)
  4681. type: integer
  4682. wrstandardname:
  4683. description: 现货商品名称
  4684. type: string
  4685. type: object
  4686. models.Ermcp3AreaSpotDetail:
  4687. properties:
  4688. contracttype:
  4689. description: 合同类型 1-采购 -1-销售
  4690. type: integer
  4691. createtime:
  4692. description: 创建时间
  4693. type: string
  4694. enumdicname:
  4695. description: 现货商品单位名称
  4696. type: string
  4697. logtype:
  4698. description: 记录类型 1-套保 2-现货合同
  4699. type: integer
  4700. qty:
  4701. description: 数量
  4702. type: number
  4703. recordname:
  4704. description: 类型名称
  4705. type: string
  4706. relatedid:
  4707. description: 套保计划ID/现货合同ID
  4708. type: string
  4709. relatedno:
  4710. description: 编号
  4711. type: string
  4712. strtime:
  4713. description: 时间
  4714. type: string
  4715. wrstandardcode:
  4716. description: 现货商品代码
  4717. type: string
  4718. wrstandardid:
  4719. description: 现货商品ID(SEQ_WRSTANDARD)
  4720. type: integer
  4721. wrstandardname:
  4722. description: 现货商品名称
  4723. type: string
  4724. type: object
  4725. models.Ermcp3AreaSpotPLReport:
  4726. properties:
  4727. accountid:
  4728. description: 期货账户ID (作废, 默认为0)
  4729. type: integer
  4730. accountname:
  4731. description: 机构名称
  4732. type: string
  4733. actualpl:
  4734. description: 现货损益
  4735. type: number
  4736. areauserid:
  4737. description: 所属机构\交易用户ID
  4738. type: integer
  4739. begindate:
  4740. description: 开始交易日
  4741. type: string
  4742. biztype:
  4743. description: 业务类型 - 1:套保 2:套利
  4744. type: integer
  4745. brandname:
  4746. description: 品牌名称
  4747. type: string
  4748. curamount:
  4749. description: 期末额
  4750. type: number
  4751. curaverageprice:
  4752. description: 期末均价
  4753. type: number
  4754. curbuyamount:
  4755. description: 期末采购总额
  4756. type: number
  4757. curbuyqty:
  4758. description: 期末采购总量
  4759. type: number
  4760. curmarketvalue:
  4761. description: 参考市值(期末市值)
  4762. type: number
  4763. curqty:
  4764. description: 期末量
  4765. type: number
  4766. currencyid:
  4767. description: 结算币种ID【原值】
  4768. type: integer
  4769. currencyname:
  4770. description: 币种名称
  4771. type: string
  4772. cursellamount:
  4773. description: 期末销售总额
  4774. type: number
  4775. cursellqty:
  4776. description: 期末销售总量
  4777. type: number
  4778. curspotprice:
  4779. description: 参考市价(最新价)
  4780. type: number
  4781. cycletime:
  4782. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4783. type: string
  4784. cycletype:
  4785. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4786. type: integer
  4787. deliverygoodscode:
  4788. description: 现货品种代码
  4789. type: string
  4790. deliverygoodsid:
  4791. description: 现货品种ID
  4792. type: integer
  4793. deliverygoodsname:
  4794. description: 现货品种名称
  4795. type: string
  4796. enddate:
  4797. description: 结束交易日
  4798. type: string
  4799. enumdicname:
  4800. description: 现货品种单位名称(作废)
  4801. type: string
  4802. floatpl:
  4803. description: 浮动损益
  4804. type: number
  4805. goodsunitid:
  4806. description: 现货品种单位id(作废)
  4807. type: integer
  4808. oriamount:
  4809. description: 期初额
  4810. type: number
  4811. oriaverageprice:
  4812. description: 期初均价
  4813. type: number
  4814. oribuyamount:
  4815. description: 期初采购总额
  4816. type: number
  4817. oribuyqty:
  4818. description: 期初采购总量
  4819. type: number
  4820. oriqty:
  4821. description: 期初量
  4822. type: number
  4823. orisellamount:
  4824. description: 期初销售总额
  4825. type: number
  4826. orisellqty:
  4827. description: 期初销售总量
  4828. type: number
  4829. reckondate:
  4830. description: 日照时期(yyyyMMdd)
  4831. type: string
  4832. spotgoodsbrandid:
  4833. description: 现货品牌ID
  4834. type: integer
  4835. todaybuyamount:
  4836. description: 今日采购额(今采购额)
  4837. type: number
  4838. todaybuyaverageprice:
  4839. description: 今日采购均价
  4840. type: number
  4841. todaybuyqty:
  4842. description: 今日采购量(今采购量)
  4843. type: number
  4844. todayinqty:
  4845. description: 今日入库量(今入库量)
  4846. type: number
  4847. todayoutqty:
  4848. description: 今日出库量(今出库量)
  4849. type: number
  4850. todaysellamount:
  4851. description: 今日销售额(今销售额)
  4852. type: number
  4853. todaysellaverageprice:
  4854. description: 今日销售均价
  4855. type: number
  4856. todaysellqty:
  4857. description: 今日销售量(今销售量)
  4858. type: number
  4859. unitid:
  4860. description: 品类单位id
  4861. type: integer
  4862. unitidname:
  4863. description: 品类单位名称
  4864. type: string
  4865. updatetime:
  4866. description: 更新时间
  4867. type: string
  4868. wrfactortypeid:
  4869. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4870. type: integer
  4871. wrstandardcode:
  4872. description: 现货商品(品类)代码
  4873. type: string
  4874. wrstandardid:
  4875. description: 现货品类ID
  4876. type: integer
  4877. wrstandardname:
  4878. description: 现货商品(品类)名称
  4879. type: string
  4880. type: object
  4881. models.Ermcp3AreaStock:
  4882. properties:
  4883. brandname:
  4884. description: 品牌名称
  4885. type: string
  4886. curstock:
  4887. description: 期末库存量(今日量)
  4888. type: number
  4889. deliverygoodscode:
  4890. description: 现货品种代码
  4891. type: string
  4892. deliverygoodsid:
  4893. description: 现货品种id
  4894. type: integer
  4895. deliverygoodsname:
  4896. description: 现货品种名称
  4897. type: string
  4898. enumdicname:
  4899. description: 单位名称
  4900. type: string
  4901. goodsunitid:
  4902. description: 现货商品单位id
  4903. type: integer
  4904. oristock:
  4905. description: 期初库存量(昨日量)
  4906. type: number
  4907. spotgoodsbrandid:
  4908. description: 现货品牌ID
  4909. type: integer
  4910. todaybuyinqty:
  4911. description: 今日采购入库量
  4912. type: number
  4913. todayproduceinqty:
  4914. description: 今日生产入库量
  4915. type: number
  4916. todayproduceoutqty:
  4917. description: 今日生产出库量
  4918. type: number
  4919. todayselloutqty:
  4920. description: 今日销售出库量
  4921. type: number
  4922. unitid:
  4923. description: 单位id
  4924. type: integer
  4925. updatetime:
  4926. description: 更新时间
  4927. type: string
  4928. userid:
  4929. description: 机构ID
  4930. type: integer
  4931. username:
  4932. description: 机构名称
  4933. type: string
  4934. warehousecode:
  4935. description: 仓库代码
  4936. type: string
  4937. warehouseinfoid:
  4938. description: 仓库ID
  4939. type: string
  4940. warehousename:
  4941. description: 仓库名称
  4942. type: string
  4943. warehousetype:
  4944. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4945. type: integer
  4946. wrstandardcode:
  4947. description: 品类代码
  4948. type: string
  4949. wrstandardid:
  4950. description: 品类ID
  4951. type: string
  4952. wrstandardname:
  4953. description: 品类名称
  4954. type: string
  4955. required:
  4956. - userid
  4957. type: object
  4958. models.Ermcp3AreaStockApply:
  4959. properties:
  4960. applyid:
  4961. description: 申请人
  4962. type: integer
  4963. applyname:
  4964. description: 申请人名称
  4965. type: string
  4966. applyremark:
  4967. description: 申请备注
  4968. type: string
  4969. applysrc:
  4970. description: 申请来源 - 1:管理端 2:终端
  4971. type: integer
  4972. applystatus:
  4973. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4974. type: integer
  4975. applytime:
  4976. description: 申请时间
  4977. type: string
  4978. auditid:
  4979. description: 审核人
  4980. type: integer
  4981. auditname:
  4982. description: 审核人名称
  4983. type: string
  4984. auditremark:
  4985. description: 审核备注
  4986. type: string
  4987. auditsrc:
  4988. description: 审核来源 - 1:管理端 2:终端
  4989. type: integer
  4990. audittime:
  4991. description: 审核时间
  4992. type: string
  4993. audittradedate:
  4994. description: 审核交易日(yyyyMMdd)
  4995. type: string
  4996. brandname:
  4997. description: 品牌名称
  4998. type: string
  4999. buynickname:
  5000. description: 采购方昵称
  5001. type: string
  5002. buyuserid:
  5003. description: 采购方userid
  5004. type: integer
  5005. buyusername:
  5006. description: 采购方名称
  5007. type: string
  5008. contractno:
  5009. description: 合同编号
  5010. type: string
  5011. contractqty:
  5012. description: 合同量
  5013. type: number
  5014. contracttype:
  5015. description: 现货合同类型 - 1:采购 -1:销售
  5016. type: integer
  5017. deliverygoodscode:
  5018. description: 现货品种代码
  5019. type: string
  5020. deliverygoodsid:
  5021. description: 现货品种id
  5022. type: integer
  5023. deliverygoodsname:
  5024. description: 现货品种名称
  5025. type: string
  5026. detailjson:
  5027. description: 明细数据
  5028. type: string
  5029. enumdicname:
  5030. description: 现货商品单位名称
  5031. type: string
  5032. inoutapplyid:
  5033. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5034. type: string
  5035. inouttype:
  5036. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5037. type: integer
  5038. pricetype:
  5039. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5040. type: integer
  5041. qty:
  5042. description: 数量
  5043. type: number
  5044. sellnickname:
  5045. description: 销售方昵称
  5046. type: string
  5047. selluserid:
  5048. description: 销售方userid
  5049. type: integer
  5050. sellusername:
  5051. description: 销售方名称
  5052. type: string
  5053. spotcontractid:
  5054. description: 关联现货合同ID
  5055. type: string
  5056. spotgoodsbrandid:
  5057. description: 现货品牌ID
  5058. type: integer
  5059. unitid:
  5060. description: 单位id
  5061. type: integer
  5062. userid:
  5063. description: 机构ID
  5064. type: integer
  5065. warehousecode:
  5066. description: 仓库代码
  5067. type: string
  5068. warehouseinfoid:
  5069. description: 现货仓库ID
  5070. type: string
  5071. warehousename:
  5072. description: 仓库名称
  5073. type: string
  5074. warehousetype:
  5075. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5076. type: integer
  5077. wrstandardcode:
  5078. description: 品类代码
  5079. type: string
  5080. wrstandardid:
  5081. description: 品类ID
  5082. type: integer
  5083. wrstandardname:
  5084. description: 品类名称
  5085. type: string
  5086. type: object
  5087. models.Ermcp3AreaStockApplySum:
  5088. properties:
  5089. brandname:
  5090. description: 品牌名称
  5091. type: string
  5092. inouttype:
  5093. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5094. type: integer
  5095. spotcontractid:
  5096. description: 关联现货合同ID
  5097. type: string
  5098. spotgoodsbrandid:
  5099. description: 品牌id
  5100. type: integer
  5101. totalqty:
  5102. description: 总数量
  5103. type: number
  5104. wrstandardid:
  5105. description: 品类id
  5106. type: integer
  5107. wrstandardname:
  5108. description: 品类名称
  5109. type: string
  5110. type: object
  5111. models.Ermcp3AreaStockReportEx:
  5112. properties:
  5113. begindate:
  5114. description: 开始交易日
  5115. type: string
  5116. brandname:
  5117. description: 品牌名称
  5118. type: string
  5119. curstock:
  5120. description: 期末库存量
  5121. type: number
  5122. cycletime:
  5123. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5124. type: string
  5125. cycletype:
  5126. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5127. type: integer
  5128. deliverygoodscode:
  5129. description: 现货品种代码
  5130. type: string
  5131. deliverygoodsid:
  5132. description: 现货品种id
  5133. type: integer
  5134. deliverygoodsname:
  5135. description: 现货品种名称
  5136. type: string
  5137. diffqty:
  5138. description: 库存变化量 = 期末 - 期初
  5139. type: number
  5140. enddate:
  5141. description: 结束交易日
  5142. type: string
  5143. enumdicname:
  5144. description: 单位名称
  5145. type: string
  5146. goodsunitid:
  5147. description: 现货单位id
  5148. type: integer
  5149. oristock:
  5150. description: 期初库存量
  5151. type: number
  5152. reckondate:
  5153. description: 日照时期(yyyyMMdd)
  5154. type: string
  5155. spotgoodsbrandid:
  5156. description: 现货品牌ID
  5157. type: integer
  5158. todaybuyinqty:
  5159. description: 今采购入库量
  5160. type: number
  5161. todayproduceinqty:
  5162. description: 今内部入库量
  5163. type: number
  5164. todayproduceoutqty:
  5165. description: 今内部出库量
  5166. type: number
  5167. todayselloutqty:
  5168. description: 今销售出库量
  5169. type: number
  5170. unbuyinqty:
  5171. description: 采购未入库量(数据库未找到相关字段?)
  5172. type: number
  5173. unitid:
  5174. description: 品类单位id
  5175. type: integer
  5176. unselloutqty:
  5177. description: 销售未出库量(数据库未找到相关字段?)
  5178. type: number
  5179. updatetime:
  5180. description: 更新时间
  5181. type: string
  5182. userid:
  5183. description: 机构ID
  5184. type: integer
  5185. username:
  5186. description: 机构名称
  5187. type: string
  5188. warehousecode:
  5189. description: 仓库代码
  5190. type: string
  5191. warehouseinfoid:
  5192. description: 仓库ID
  5193. type: string
  5194. warehousename:
  5195. description: 仓库名称
  5196. type: string
  5197. warehousetype:
  5198. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5199. type: integer
  5200. wrstandardcode:
  5201. description: 品类代码
  5202. type: string
  5203. wrstandardid:
  5204. description: 品类ID
  5205. type: integer
  5206. wrstandardname:
  5207. description: 品类名称
  5208. type: string
  5209. type: object
  5210. models.Ermcp3ArealSumPL:
  5211. properties:
  5212. accountname:
  5213. description: 机构名称
  5214. type: string
  5215. areauserid:
  5216. description: 所属机构\交易用户ID
  5217. type: integer
  5218. begindate:
  5219. description: 开始交易日
  5220. type: string
  5221. currencyid:
  5222. description: 结算币种ID
  5223. type: integer
  5224. currencyname:
  5225. description: 币种名称
  5226. type: string
  5227. cycletime:
  5228. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5229. type: string
  5230. cycletype:
  5231. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5232. type: integer
  5233. enddate:
  5234. description: 结束交易日
  5235. type: string
  5236. enumdicname:
  5237. description: 单位名称(套保品种)
  5238. type: string
  5239. futureactualpl:
  5240. description: 期货损益
  5241. type: number
  5242. futurefloatpl:
  5243. description: 期货浮动损益
  5244. type: number
  5245. futurespotratio:
  5246. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5247. type: number
  5248. goodsunitid:
  5249. description: 套保品种单位id
  5250. type: integer
  5251. hedgeexposurepl:
  5252. description: 套保敞口损益
  5253. type: number
  5254. middlegoodscode:
  5255. description: 套保品种代码
  5256. type: string
  5257. middlegoodsid:
  5258. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5259. type: integer
  5260. middlegoodsname:
  5261. description: 套保品种名称
  5262. type: string
  5263. reckondate:
  5264. description: 日照时期(yyyyMMdd)
  5265. type: string
  5266. spotactualpl:
  5267. description: 现货损益
  5268. type: number
  5269. spotfloatpl:
  5270. description: 现货浮动损益
  5271. type: number
  5272. sumactualpl:
  5273. description: 实际损益 = (ActualPL + FutureActualPL)
  5274. type: number
  5275. sumpl:
  5276. description: 总敞口损益 | 汇总损益
  5277. type: number
  5278. totalfutureqty:
  5279. description: 期货头寸总量
  5280. type: number
  5281. totalneedhedgeqty:
  5282. description: 应套保总量
  5283. type: number
  5284. totalspotqty:
  5285. description: 现货头寸总量
  5286. type: number
  5287. updatetime:
  5288. description: 更新时间
  5289. type: string
  5290. type: object
  5291. models.Ermcp3Brand:
  5292. properties:
  5293. areauserid:
  5294. description: 用户id
  5295. type: integer
  5296. brandid:
  5297. description: 品牌id
  5298. type: integer
  5299. brandname:
  5300. description: 品牌名称
  5301. type: string
  5302. deliverygoodsid:
  5303. description: 品种ID
  5304. type: integer
  5305. isvalid:
  5306. description: 是否有效
  5307. type: integer
  5308. type: object
  5309. models.Ermcp3Contract:
  5310. properties:
  5311. accountid:
  5312. description: 期货账户id
  5313. type: string
  5314. amount:
  5315. description: 金额 [1:一口价、3:暂定价]
  5316. type: number
  5317. attachment:
  5318. description: 附件
  5319. type: string
  5320. auditremark:
  5321. description: 审核意见
  5322. type: string
  5323. audittime:
  5324. description: 审核时间
  5325. type: string
  5326. biztype:
  5327. description: 业务类型 1-套保 2-套利
  5328. type: integer
  5329. brandname:
  5330. description: 品牌名称
  5331. type: string
  5332. buynickname:
  5333. description: 销售方昵称
  5334. type: string
  5335. buyuserid:
  5336. description: 采购方ID
  5337. type: integer
  5338. buyusername:
  5339. description: 采购方名称
  5340. type: string
  5341. contracctstatus:
  5342. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5343. type: integer
  5344. contractmargin:
  5345. description: 合同保证金
  5346. type: number
  5347. contractno:
  5348. description: 现货合同编号
  5349. type: string
  5350. contracttype:
  5351. description: 现货合同类型 - 1:采购 -1:销售
  5352. type: integer
  5353. convertfactor:
  5354. description: 标仓系数(品类)
  5355. type: number
  5356. createtime:
  5357. description: 创建时间
  5358. type: string
  5359. currencyid:
  5360. description: 币种id
  5361. type: integer
  5362. currencyname:
  5363. description: 币种名称
  5364. type: string
  5365. deliveryenddate:
  5366. description: 交收期(结束)
  5367. type: string
  5368. deliverygoodscode:
  5369. description: 现货品种代码
  5370. type: string
  5371. deliverygoodsid:
  5372. description: 现货品种ID
  5373. type: integer
  5374. deliverygoodsname:
  5375. description: 现货品种名称
  5376. type: string
  5377. deliverystartdate:
  5378. description: 交收期(开始)
  5379. type: string
  5380. enddate:
  5381. description: 点价结束日期 [2:点价 3:暂定价]
  5382. type: string
  5383. enumdicname:
  5384. description: 单位名称
  5385. type: string
  5386. goodscode:
  5387. description: 点价合约代码
  5388. type: string
  5389. goodsid:
  5390. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5391. type: integer
  5392. goodsname:
  5393. description: 点价商品名称
  5394. type: string
  5395. margin:
  5396. description: 当前保证金
  5397. type: number
  5398. meruserid:
  5399. description: 跟单员id
  5400. type: integer
  5401. meruserlogincode:
  5402. description: 跟单员登录代码
  5403. type: string
  5404. merusername:
  5405. description: 跟单员名称
  5406. type: string
  5407. pointdesc:
  5408. description: 点价备注
  5409. type: string
  5410. price:
  5411. description: 价格\暂定价 [1:一口价、3:暂定价]
  5412. type: number
  5413. pricemove:
  5414. description: 升贴水 [2:点价 3:暂定价]
  5415. type: number
  5416. pricetype:
  5417. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5418. type: integer
  5419. producttype:
  5420. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5421. type: integer
  5422. qty:
  5423. description: 数量
  5424. type: number
  5425. remark:
  5426. description: 备注
  5427. type: string
  5428. saleuserid:
  5429. description: 业务员id
  5430. type: integer
  5431. saleuserlogincode:
  5432. description: 业务员登录代码
  5433. type: string
  5434. saleusername:
  5435. description: 业务员名称
  5436. type: string
  5437. sellnickname:
  5438. description: 采购方昵称
  5439. type: string
  5440. selluserid:
  5441. description: 销售方ID
  5442. type: integer
  5443. sellusername:
  5444. description: 销售方名称
  5445. type: string
  5446. spotcontractid:
  5447. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5448. type: string
  5449. spotgoodsbrandid:
  5450. description: 现货品牌ID(DGFactoryItem表的ID)
  5451. type: integer
  5452. spotgoodsdesc:
  5453. description: 商品型号
  5454. type: string
  5455. startdate:
  5456. description: 点价开始日期 [2:点价 3:暂定价]
  5457. type: string
  5458. subjectid:
  5459. description: 交易主体ID
  5460. type: integer
  5461. subjectname:
  5462. description: 交易主体名称
  5463. type: string
  5464. tradeuserid:
  5465. description: 交易员id
  5466. type: integer
  5467. tradeuserlogincode:
  5468. description: 交易员登录代码
  5469. type: string
  5470. tradeusername:
  5471. description: 交易员名称
  5472. type: string
  5473. unitid:
  5474. description: 单位id(取品类上的单位id)
  5475. type: integer
  5476. updatetime:
  5477. description: 更新时间
  5478. type: string
  5479. userid:
  5480. description: 所属机构ID
  5481. type: integer
  5482. vatrate:
  5483. description: 增值税率
  5484. type: number
  5485. wrstandardcode:
  5486. description: 品类代码
  5487. type: string
  5488. wrstandardid:
  5489. description: 品类ID
  5490. type: integer
  5491. wrstandardname:
  5492. description: 品类名称
  5493. type: string
  5494. type: object
  5495. models.Ermcp3ContractMiddleGoodsCfg:
  5496. properties:
  5497. agreeunit:
  5498. description: 合约乘数
  5499. type: number
  5500. convertratio:
  5501. description: 期货品种系数
  5502. type: number
  5503. covertqty:
  5504. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5505. type: integer
  5506. middlegoodsid:
  5507. description: 套保品种ID
  5508. type: integer
  5509. middlegoodspricedqty3:
  5510. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5511. example: "0"
  5512. type: string
  5513. pendingpricedqty:
  5514. description: 待点价量
  5515. example: "0"
  5516. type: string
  5517. relatedmiddlegoodsqty:
  5518. description: 已关联量(套保品种-期货)
  5519. example: "0"
  5520. type: string
  5521. spotcontractid:
  5522. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5523. type: string
  5524. type: object
  5525. models.Ermcp3ExposureContractDetail:
  5526. properties:
  5527. biztype:
  5528. description: 业务类型 1-套保 2-套利
  5529. type: integer
  5530. brandname:
  5531. description: 品牌名称
  5532. type: string
  5533. buyuserid:
  5534. description: 采购方id
  5535. type: integer
  5536. buyusername:
  5537. description: 采购方名称
  5538. type: string
  5539. contractno:
  5540. description: 合同编号
  5541. type: string
  5542. contracttype:
  5543. description: 现货合同类型 - 1:采购 -1:销售
  5544. type: integer
  5545. convertfactor:
  5546. description: 标仓系数
  5547. type: number
  5548. convertratio:
  5549. description: 折算系数(套保品种)
  5550. type: number
  5551. curqty:
  5552. description: 今定价量
  5553. type: number
  5554. deliverygoodscode:
  5555. description: 现货品种代码
  5556. type: string
  5557. deliverygoodsid:
  5558. description: 现货品种id
  5559. type: integer
  5560. deliverygoodsname:
  5561. description: 现货品种名称
  5562. type: string
  5563. diffhedgeqty:
  5564. description: 套保变动量
  5565. type: number
  5566. diffneedhedgeqty:
  5567. description: 应套保变动量
  5568. type: number
  5569. diffqty:
  5570. description: 套保品种今变动量
  5571. type: number
  5572. enumdicname:
  5573. description: 单位名称
  5574. type: string
  5575. mgunitname:
  5576. description: 套保品种单位名称
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种id
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. needarbitrageratio:
  5588. description: 应套利比例
  5589. type: number
  5590. needhedgeratio:
  5591. description: 应套保比例
  5592. type: number
  5593. pricedqty:
  5594. description: 已定价量
  5595. type: number
  5596. qty:
  5597. description: 合同量
  5598. type: number
  5599. reckondate:
  5600. description: 交易日(reckondate)
  5601. type: string
  5602. selluserid:
  5603. description: 销售方id
  5604. type: integer
  5605. sellusername:
  5606. description: 销售方名称
  5607. type: string
  5608. spotcontractid:
  5609. description: 合同id
  5610. type: string
  5611. todaypricedqty:
  5612. description: 今定价量
  5613. type: number
  5614. tradedate:
  5615. description: 交易日
  5616. type: string
  5617. unitid:
  5618. description: 品类单位id
  5619. type: integer
  5620. userid:
  5621. description: 机构id
  5622. type: integer
  5623. username:
  5624. description: 交易用户
  5625. type: string
  5626. wrstandardcode:
  5627. description: 现货商品代码
  5628. type: string
  5629. wrstandardid:
  5630. description: 现货商品id
  5631. type: integer
  5632. wrstandardname:
  5633. description: 现货商品名称
  5634. type: string
  5635. type: object
  5636. models.Ermcp3ExposureDetail:
  5637. properties:
  5638. areauserid:
  5639. description: 机构ID
  5640. type: integer
  5641. changeQty:
  5642. description: 套保变动量
  5643. type: number
  5644. contracttype:
  5645. description: 现货合同类型 - 1:采购 -1:销售
  5646. type: integer
  5647. convertfactor:
  5648. description: 标仓系数
  5649. type: number
  5650. convertratio:
  5651. description: 折算系数
  5652. type: number
  5653. createtime:
  5654. description: 时间
  5655. type: string
  5656. enumdicname:
  5657. description: 现货商品单位名称
  5658. type: string
  5659. logtype:
  5660. description: 类型 - 1:套保计划 2:现货合同
  5661. type: integer
  5662. mgunitid:
  5663. description: 套保品种单位id
  5664. type: integer
  5665. mgunitidname:
  5666. description: 套保品种单位名称
  5667. type: string
  5668. middlegoodsId:
  5669. description: 套保商品id
  5670. type: integer
  5671. middlegoodscode:
  5672. description: 套保商品代码
  5673. type: string
  5674. middlegoodsname:
  5675. description: 套保商品名称
  5676. type: string
  5677. qty:
  5678. description: 数量
  5679. type: number
  5680. relateNo:
  5681. description: 现货合同/套保计划编号
  5682. type: string
  5683. unitid:
  5684. description: 现货商品单位id
  5685. type: integer
  5686. wrstandardcode:
  5687. description: 现货商品代码
  5688. type: string
  5689. wrstandardid:
  5690. description: 现货商品ID(SEQ_WRSTANDARD)
  5691. type: integer
  5692. wrstandardname:
  5693. description: 现货商品名称
  5694. type: string
  5695. type: object
  5696. models.Ermcp3ExposureFutuDetail:
  5697. properties:
  5698. accountid:
  5699. description: 交易账户id
  5700. type: integer
  5701. accountname:
  5702. description: 交易账户
  5703. type: string
  5704. begindate:
  5705. description: 开始交易日
  5706. type: string
  5707. buyorsell:
  5708. description: 方向 0-买 1-卖
  5709. type: integer
  5710. diffmgqty:
  5711. description: 套保品种今变化量
  5712. type: number
  5713. diffneedqty:
  5714. description: 应套保总量变化量
  5715. type: number
  5716. difftradeqty:
  5717. description: 交易品种今变化量
  5718. type: number
  5719. enddate:
  5720. description: 结束交易日
  5721. type: string
  5722. enumdicname:
  5723. description: 单位名称
  5724. type: string
  5725. goodscode:
  5726. description: 商品代码
  5727. type: string
  5728. goodsid:
  5729. description: 商品id
  5730. type: integer
  5731. goodsname:
  5732. description: 商品名称
  5733. type: string
  5734. holdqty:
  5735. description: 期末持仓量
  5736. type: number
  5737. middlegoodscode:
  5738. description: 套保商品代码
  5739. type: string
  5740. middlegoodsid:
  5741. description: 套保商品id
  5742. type: integer
  5743. middlegoodsname:
  5744. description: 套保商品名称
  5745. type: string
  5746. oriholdqty:
  5747. description: 期初持仓量
  5748. type: number
  5749. reckondate:
  5750. description: 交易日(RECKONDATE)
  5751. type: string
  5752. todaycloseqty:
  5753. description: 今平仓量
  5754. type: number
  5755. todayopenqty:
  5756. description: 今开仓量
  5757. type: number
  5758. tradedate:
  5759. description: 交易日(RECKONDATE)
  5760. type: string
  5761. username:
  5762. description: 用户名称(交易用户)
  5763. type: string
  5764. type: object
  5765. models.Ermcp3ExposureHedgeplanDetail:
  5766. properties:
  5767. biztype:
  5768. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5769. type: integer
  5770. changqty:
  5771. description: 应套保总量变化量
  5772. type: number
  5773. contracttype:
  5774. description: 计划类型 - 1:采购 -1:销售
  5775. type: integer
  5776. convertratio:
  5777. description: 折算系数(套保品种)
  5778. type: number
  5779. deliverygoodscode:
  5780. description: 现货商品代码
  5781. type: string
  5782. deliverygoodsid:
  5783. description: 现货商品id
  5784. type: integer
  5785. deliverygoodsname:
  5786. description: 现货商吕名称
  5787. type: string
  5788. dgunitid:
  5789. description: 现货商品单位id
  5790. type: integer
  5791. dgunitidname:
  5792. description: 单位名称(现货商品)
  5793. type: string
  5794. diffqty:
  5795. description: 套保品种今变动量
  5796. type: number
  5797. enumdicname:
  5798. description: 单位名称(品类)
  5799. type: string
  5800. hedgeplanid:
  5801. description: 套保计划id
  5802. type: string
  5803. hedgeplanno:
  5804. description: 套保计划名称
  5805. type: string
  5806. hedgeplanstatus:
  5807. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5808. type: integer
  5809. mgunitidname:
  5810. description: 单位名称(套保商品)
  5811. type: string
  5812. middlegoodscode:
  5813. description: 套保品种代码
  5814. type: string
  5815. middlegoodsid:
  5816. description: 套保品种id
  5817. type: integer
  5818. middlegoodsname:
  5819. description: 套保品种名称
  5820. type: string
  5821. needarbitrageratio:
  5822. description: 应套利比例
  5823. type: number
  5824. needhedgeratio:
  5825. description: 应套保比例
  5826. type: number
  5827. pricedqty:
  5828. description: 已定价量
  5829. type: number
  5830. qty:
  5831. description: 合同量
  5832. type: number
  5833. reckondate:
  5834. description: 交易日(reckondate)
  5835. type: string
  5836. tradedate:
  5837. description: 交易日(登记日)
  5838. type: string
  5839. unitid:
  5840. description: 品类单位id
  5841. type: integer
  5842. userid:
  5843. description: 机构id
  5844. type: integer
  5845. wrstandardcode:
  5846. description: 品类代码
  5847. type: string
  5848. wrstandardid:
  5849. description: 品类id
  5850. type: integer
  5851. wrstandardname:
  5852. description: 品类名称
  5853. type: string
  5854. type: object
  5855. models.Ermcp3ExposureParamChLog:
  5856. properties:
  5857. accountid:
  5858. description: 期货账户ID (作废, 默认为0)
  5859. type: integer
  5860. aftervalue:
  5861. description: 应套保\套利量变更后(调整后应套保总量)
  5862. type: number
  5863. areauserid:
  5864. description: 所属机构\交易用户ID
  5865. type: integer
  5866. beforevalue:
  5867. description: 应套保\套利量变更前(调整前应套保总量)
  5868. type: number
  5869. begindate:
  5870. description: 开始交易日
  5871. type: string
  5872. changelogtype:
  5873. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5874. type: integer
  5875. curvalue:
  5876. description: 当前套保\套利量(套保总量|套利总量)
  5877. type: number
  5878. diffvalue:
  5879. description: 应套保总量变化量
  5880. type: number
  5881. enddate:
  5882. description: 结束交易日
  5883. type: string
  5884. logdatetime:
  5885. description: 流水日期
  5886. type: string
  5887. logid:
  5888. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5889. type: string
  5890. middlegoodscode:
  5891. description: 套保品种代码
  5892. type: string
  5893. middlegoodsid:
  5894. description: 套保品种
  5895. type: integer
  5896. middlegoodsname:
  5897. description: 套保品种名称
  5898. type: string
  5899. paramaftervalue:
  5900. description: 参数变更后(调整后参数值)
  5901. type: number
  5902. parambeforevalue:
  5903. description: 参数变更前(调整前参数值)
  5904. type: number
  5905. reckondate:
  5906. description: 交易日(reckondate)
  5907. type: string
  5908. tradedate:
  5909. description: 交易日(yyyyMMdd)
  5910. type: string
  5911. type: object
  5912. models.Ermcp3ExpourseReport:
  5913. properties:
  5914. accountid:
  5915. description: 期货账户ID (作废, 默认为0)
  5916. type: integer
  5917. accountname:
  5918. description: 机构名称
  5919. type: string
  5920. arbitrageqty:
  5921. description: 套利量
  5922. type: number
  5923. areauserid:
  5924. description: 所属机构\交易用户ID
  5925. type: integer
  5926. begindate:
  5927. description: 开始交易日
  5928. type: string
  5929. buyfutureqty:
  5930. description: 买入期货数量
  5931. type: number
  5932. buyplanqty:
  5933. description: 采购计划数量
  5934. type: number
  5935. buypricedqty:
  5936. description: 采购合同已定价数量
  5937. type: number
  5938. cycletime:
  5939. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5940. type: string
  5941. cycletype:
  5942. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5943. type: integer
  5944. diffexposure:
  5945. description: 变动量(套保敞口)
  5946. type: number
  5947. difffutuqty:
  5948. description: 变动量(期货)
  5949. type: number
  5950. diffhedgeqty:
  5951. description: 变动量(现货应套保总量)
  5952. type: number
  5953. diffmgqtya:
  5954. description: 套保变动量
  5955. type: number
  5956. diffmgqtyb:
  5957. description: 套利变动量
  5958. type: number
  5959. diffneedqty:
  5960. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5961. type: number
  5962. diffqty:
  5963. description: 变动量(总敞口)
  5964. type: number
  5965. diffspotqty:
  5966. description: 变动量(现货) | 除税变动量
  5967. type: number
  5968. enddate:
  5969. description: 结束交易日
  5970. type: string
  5971. enumdicname:
  5972. description: 单位名称
  5973. type: string
  5974. hedgeqty:
  5975. description: 套保量
  5976. type: number
  5977. mgneedhedgeratio:
  5978. description: 套保比例(套保品的)
  5979. type: number
  5980. middlegoodsid:
  5981. description: 套保品种ID
  5982. type: integer
  5983. middlegoodsname:
  5984. description: 套保商品名称
  5985. type: string
  5986. middlgoodscode:
  5987. description: 套保商品代码
  5988. type: string
  5989. needarbitrageqty:
  5990. description: 应套利量
  5991. type: number
  5992. needarbitrageratio:
  5993. description: 套利比例(套保品的)
  5994. type: number
  5995. needhedgeexposoure:
  5996. description: 应套保敞口(套保敞口)
  5997. type: number
  5998. needhedgeqty:
  5999. description: 应套保量
  6000. type: number
  6001. needhedgeratio:
  6002. description: 应套保敞口比例
  6003. type: number
  6004. needqty:
  6005. description: 应套总量 = 应套保量 + 应套利量
  6006. type: number
  6007. oriarbitrageqty:
  6008. description: 期初套利量
  6009. type: number
  6010. oribuyfutureqty:
  6011. description: 期初买入期货数量
  6012. type: number
  6013. oribuyplanqty:
  6014. description: 期初采购计划数量
  6015. type: number
  6016. oribuypricedqty:
  6017. description: 期初采购合同已定价数量
  6018. type: number
  6019. orihedgeqty:
  6020. description: 期初套保量
  6021. type: number
  6022. orineedarbitrageqty:
  6023. description: 期初应套利量
  6024. type: number
  6025. orineedhedgeexposoure:
  6026. description: 期初应套保敞口
  6027. type: number
  6028. orineedhedgeqty:
  6029. description: 期初应套保量
  6030. type: number
  6031. orisellfutureqty:
  6032. description: 期初卖出期货数量
  6033. type: number
  6034. orisellplanqty:
  6035. description: 期初销售计划数量
  6036. type: number
  6037. orisellpricedqty:
  6038. description: 期初销售合同已定价数量
  6039. type: number
  6040. oritotalexposure:
  6041. description: 期初实时总敞口
  6042. type: number
  6043. oritotalfutureqty:
  6044. description: 期初期货头寸总量
  6045. type: number
  6046. oritotalneedhedgeqty:
  6047. description: 期初应套保总量
  6048. type: number
  6049. oritotalspotqty:
  6050. description: 期初现货头寸总量
  6051. type: number
  6052. reckondate:
  6053. description: 日照时期(yyyyMMdd)
  6054. type: string
  6055. sellfutureqty:
  6056. description: 卖出期货数量
  6057. type: number
  6058. sellplanqty:
  6059. description: 销售计划数量
  6060. type: number
  6061. sellpricedqty:
  6062. description: 销售合同已定价数量
  6063. type: number
  6064. totalexposure:
  6065. description: 实时总敞口(总敞口)
  6066. type: number
  6067. totalfutureqty:
  6068. description: 期货头寸总量(期货总量)
  6069. type: number
  6070. totalhedgeratio:
  6071. description: 敞口比例
  6072. type: number
  6073. totalneedhedgeqty:
  6074. description: 应套保总量(现货应套保总量)
  6075. type: number
  6076. totalspotqty:
  6077. description: 现货头寸总量 | 除税总量
  6078. type: number
  6079. unitid:
  6080. description: 单位id
  6081. type: integer
  6082. updatetime:
  6083. description: 更新时间
  6084. type: string
  6085. type: object
  6086. models.Ermcp3FinanceReport:
  6087. properties:
  6088. accountname:
  6089. description: 机构名称
  6090. type: string
  6091. areauserid:
  6092. description: 所属机构\交易用户ID
  6093. type: integer
  6094. begindate:
  6095. description: 开始交易日
  6096. type: string
  6097. biztype:
  6098. description: 业务类型 - 1:套保 2:套利
  6099. type: integer
  6100. brandname:
  6101. description: 品牌名称
  6102. type: string
  6103. buypreinvoicedamount:
  6104. description: 采购预收票额(预收票额)
  6105. type: number
  6106. buyprepaidamount:
  6107. description: 采购预付款额(预付货款额)
  6108. type: number
  6109. buytodayinvoiceamount:
  6110. description: 采购今收票额(今收票额)
  6111. type: number
  6112. buytodayrefundamount:
  6113. description: 采购今收退款额(今收退款额)
  6114. type: number
  6115. buytodaysettleamount:
  6116. description: 采购今付款额(今付货款额)
  6117. type: number
  6118. buyuninvoicedamount:
  6119. description: 采购应收票额(应收票额)
  6120. type: number
  6121. buyunpaidamount:
  6122. description: 采购应付款额(应付货款额)
  6123. type: number
  6124. currencyid:
  6125. description: 结算币种ID
  6126. type: integer
  6127. currencyname:
  6128. description: 币种名称
  6129. type: string
  6130. cycletime:
  6131. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6132. type: string
  6133. cycletype:
  6134. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6135. type: integer
  6136. deliverygoodscode:
  6137. description: 现货品种代码
  6138. type: string
  6139. deliverygoodsid:
  6140. description: 现货品种ID
  6141. type: integer
  6142. deliverygoodsname:
  6143. description: 现货品种名称
  6144. type: string
  6145. enddate:
  6146. description: 结束交易日
  6147. type: string
  6148. reckondate:
  6149. description: 日照时期(yyyyMMdd)
  6150. type: string
  6151. sellpreinvoicedamount:
  6152. description: 销售预开票额(预开票额)
  6153. type: number
  6154. sellprepaidamount:
  6155. description: 销售预收款额(预收货款额)
  6156. type: number
  6157. selltodayinvoiceamount:
  6158. description: 销售今开票额(今开票额)
  6159. type: number
  6160. selltodayrefundamount:
  6161. description: 销售今付退款额(今付退款额)
  6162. type: number
  6163. selltodaysettleamount:
  6164. description: 销售今收款额(今收货款额)
  6165. type: number
  6166. selluninvoicedamount:
  6167. description: 销售应开票额(应开票额)
  6168. type: number
  6169. sellunpaidamount:
  6170. description: 销售应收款额(应收货款额)
  6171. type: number
  6172. spotgoodsbrandid:
  6173. description: 现货品牌ID
  6174. type: integer
  6175. todaypaysum:
  6176. description: 今付款合计
  6177. type: number
  6178. todayreceivesum:
  6179. description: 今收款合计
  6180. type: number
  6181. updatetime:
  6182. description: 更新时间
  6183. type: string
  6184. wrfactortypeid:
  6185. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6186. type: integer
  6187. wrstandardcode:
  6188. description: 品类代码
  6189. type: string
  6190. wrstandardid:
  6191. description: 现货商品ID
  6192. type: integer
  6193. wrstandardname:
  6194. description: 品类名称
  6195. type: string
  6196. type: object
  6197. models.Ermcp3GoodsGroup:
  6198. properties:
  6199. agreeunit:
  6200. description: 合约单位
  6201. type: number
  6202. areauserid:
  6203. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6204. type: integer
  6205. canshort:
  6206. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6207. type: integer
  6208. closepricemode:
  6209. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6210. type: integer
  6211. createtime:
  6212. description: 创建时间
  6213. type: string
  6214. creatorid:
  6215. description: 创建人
  6216. type: integer
  6217. currencyid:
  6218. description: 报价货币ID
  6219. type: integer
  6220. decimalplace:
  6221. description: 报价小数位
  6222. type: integer
  6223. enumdicname:
  6224. description: 单位名称
  6225. type: string
  6226. exchangefullname:
  6227. description: 交易所全称
  6228. type: string
  6229. excludecfg:
  6230. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6231. type: integer
  6232. exexchangecode:
  6233. description: 交易所代码
  6234. type: string
  6235. exexchangeid:
  6236. description: 外部交易所ID[通道交易]
  6237. type: integer
  6238. exexchangename:
  6239. description: 交易所名称
  6240. type: string
  6241. goodsgroupid:
  6242. description: 商品组ID(自增ID)
  6243. type: integer
  6244. goodsgroupname:
  6245. description: 商品组名称
  6246. type: string
  6247. goodsgroupstatus:
  6248. description: 商品组状态 - 1:正常 2:注销
  6249. type: integer
  6250. goodunitid:
  6251. description: 报价单位ID
  6252. type: integer
  6253. groupcategroyid:
  6254. description: 品种分类ID
  6255. type: integer
  6256. innerdealmode:
  6257. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6258. type: integer
  6259. marketid:
  6260. description: 所属市场ID
  6261. type: integer
  6262. modifierid:
  6263. description: 修改人
  6264. type: integer
  6265. modifytime:
  6266. description: 修改时间
  6267. type: string
  6268. outerdealmode:
  6269. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6270. type: integer
  6271. outergroupcode:
  6272. description: 外部商品组代码[通道交易]
  6273. type: string
  6274. quoteminunit:
  6275. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6276. type: integer
  6277. quotesourcegroupid:
  6278. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6279. type: integer
  6280. syncgoodsqty:
  6281. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6282. type: integer
  6283. required:
  6284. - areauserid
  6285. type: object
  6286. models.Ermcp3HPMiddleGoods:
  6287. properties:
  6288. biztype:
  6289. description: 业务类型 1:套保 2:套利
  6290. type: integer
  6291. contracttype:
  6292. description: 合同类型 1:采购 -1:销售
  6293. type: integer
  6294. convertratio:
  6295. description: 折算系数
  6296. type: number
  6297. customername:
  6298. description: 对手手名称
  6299. type: string
  6300. customeruserid:
  6301. description: 对手id
  6302. type: integer
  6303. enumdicname:
  6304. description: 现货单位名称
  6305. type: string
  6306. hedgeplanid:
  6307. description: 计划id
  6308. type: string
  6309. hedgeplanno:
  6310. description: 计划编号
  6311. type: string
  6312. middlegoodsid:
  6313. description: 套保品种ID
  6314. type: integer
  6315. middlegoodsplanqty3:
  6316. description: 应套保计划量
  6317. type: number
  6318. needhedgeratio:
  6319. description: 套保比例
  6320. type: number
  6321. pricedqty:
  6322. description: 已定价量
  6323. type: number
  6324. relatedmiddlegoodsqty:
  6325. description: 已关联量(套保品种)(期货)
  6326. type: number
  6327. unitid:
  6328. description: 现货单位id
  6329. type: integer
  6330. userid:
  6331. description: 用户id
  6332. type: integer
  6333. vatrate:
  6334. description: 增值税率
  6335. type: number
  6336. wrstandardcode:
  6337. description: 现货商品代码
  6338. type: string
  6339. wrstandardid:
  6340. description: 现货商品id
  6341. type: integer
  6342. wrstandardname:
  6343. description: 现货商品名称
  6344. type: string
  6345. type: object
  6346. models.Ermcp3HedgePlan:
  6347. properties:
  6348. accountid:
  6349. description: 资金账号
  6350. type: integer
  6351. areauserid:
  6352. description: 用户ID
  6353. type: integer
  6354. auditid:
  6355. description: 审核id
  6356. type: integer
  6357. auditname:
  6358. description: 审核人名称
  6359. type: string
  6360. auditremark:
  6361. description: 审核备注
  6362. type: string
  6363. auditsrc:
  6364. description: 审核来源 1-管理端 2-终端
  6365. type: integer
  6366. audittime:
  6367. description: 审核时间
  6368. type: string
  6369. contracttype:
  6370. description: 计划类型 - 1:采购 -1:销售
  6371. type: integer
  6372. convertfactor:
  6373. description: 标仓系数
  6374. type: number
  6375. createtime:
  6376. description: 创建时间
  6377. type: string
  6378. currencyid:
  6379. description: 币种id
  6380. type: integer
  6381. currencyname:
  6382. description: 币种名称
  6383. type: string
  6384. deliverygoodscode:
  6385. description: 现货品种代码
  6386. type: string
  6387. deliverygoodsid:
  6388. description: 现货品种ID
  6389. type: integer
  6390. deliverygoodsname:
  6391. description: 现货品种名称
  6392. type: string
  6393. enumdicname:
  6394. description: 单位名称(现货商品)
  6395. type: string
  6396. hedgeplanid:
  6397. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6398. type: string
  6399. hedgeplanno:
  6400. description: 套保计划编号(名称)
  6401. type: string
  6402. hedgeplanstatus:
  6403. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6404. type: integer
  6405. planqty:
  6406. description: 计划数量
  6407. type: number
  6408. plantime:
  6409. description: 计划时间
  6410. type: string
  6411. producttype:
  6412. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6413. type: integer
  6414. remark:
  6415. description: 备注
  6416. type: string
  6417. spotgoodsdesc:
  6418. description: 商品型号
  6419. type: string
  6420. taaccountname:
  6421. description: 资金账号名称
  6422. type: string
  6423. tradeuserid:
  6424. description: 交易用户id
  6425. type: integer
  6426. tradeusername:
  6427. description: 交易用户名称
  6428. type: string
  6429. unitid:
  6430. description: 单位id(现货商品)
  6431. type: integer
  6432. updatetime:
  6433. description: 更新时间
  6434. type: string
  6435. vatrate:
  6436. description: 增值税率
  6437. type: number
  6438. wrstandardcode:
  6439. description: 品类代码
  6440. type: string
  6441. wrstandardid:
  6442. description: 品类id
  6443. type: integer
  6444. wrstandardname:
  6445. description: 品类名称
  6446. type: string
  6447. wrunitid:
  6448. description: 品类单位id
  6449. type: integer
  6450. wrunitidame:
  6451. description: 品类单位名称
  6452. type: string
  6453. type: object
  6454. models.Ermcp3InnerTradeLink:
  6455. properties:
  6456. accountid:
  6457. description: 期货账号代码 | 资金账号ID
  6458. type: integer
  6459. buyorsell:
  6460. description: 方向 - 0:买 1:卖
  6461. type: integer
  6462. channelbuildtype:
  6463. description: 委托单据类型 0:无 1:建仓 2:平仓
  6464. type: integer
  6465. currencyid:
  6466. description: 币种id
  6467. type: integer
  6468. currencyname:
  6469. description: 结算币种 名称
  6470. type: string
  6471. goodscode:
  6472. description: 商品代码
  6473. type: string
  6474. goodsid:
  6475. description: 商品ID
  6476. type: integer
  6477. goodsname:
  6478. description: 商品名称
  6479. type: string
  6480. outtradeid:
  6481. description: 外部成交单号
  6482. type: string
  6483. taname:
  6484. description: 期货账户名称
  6485. type: string
  6486. tradeid:
  6487. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6488. type: string
  6489. tradeprice:
  6490. description: 成交价格
  6491. type: number
  6492. tradeqty:
  6493. description: 期货成交数量
  6494. type: integer
  6495. tradetime:
  6496. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6497. type: string
  6498. username:
  6499. description: 用户名称
  6500. type: string
  6501. type: object
  6502. models.Ermcp3OutTradeLink:
  6503. properties:
  6504. buyorsell:
  6505. description: 买卖方向 - 0:买 1:卖
  6506. type: integer
  6507. channelbuildtype:
  6508. description: 开平标志- 0:无 1:建仓 2:平仓
  6509. type: integer
  6510. currencyname:
  6511. description: 币种名称
  6512. type: string
  6513. exexchangecode:
  6514. description: 交易所代码
  6515. type: string
  6516. exexchangename:
  6517. description: 交易所名称
  6518. type: string
  6519. goodscode:
  6520. description: 合约代码
  6521. type: string
  6522. goodsid:
  6523. description: 合约id
  6524. type: integer
  6525. goodsname:
  6526. description: 合约名称
  6527. type: string
  6528. hasinnerorder:
  6529. description: 是否有内部单关联 - 0:无 1:有
  6530. type: integer
  6531. hedgeaccountcode:
  6532. description: 外部账号 | 对冲账号
  6533. type: string
  6534. outtradeid:
  6535. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6536. type: string
  6537. tradeprice:
  6538. description: 成交价格
  6539. type: number
  6540. tradeqty:
  6541. description: 成交数量
  6542. type: integer
  6543. tradetime:
  6544. description: 成交时间
  6545. type: string
  6546. type: object
  6547. models.Ermcp3PaAreaAuditCfg:
  6548. properties:
  6549. areauserid:
  6550. description: 用户ID
  6551. type: integer
  6552. buyinauditflag:
  6553. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6554. type: integer
  6555. costratioauditflag:
  6556. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6557. type: integer
  6558. customerauditflag:
  6559. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6560. type: integer
  6561. deliveryauditflag:
  6562. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6563. type: integer
  6564. invoiceauditflag:
  6565. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6566. type: integer
  6567. mgneedhedgeratioauditflag:
  6568. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6569. type: integer
  6570. moneyauditflag:
  6571. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6572. type: integer
  6573. operatorid:
  6574. description: 操作人
  6575. type: integer
  6576. operatorsrc:
  6577. description: 操作来源 - 1:管理端 2:终端
  6578. type: integer
  6579. pointpriceauditflag:
  6580. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6581. type: integer
  6582. produceinauditflag:
  6583. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6584. type: integer
  6585. produceoutauditflag:
  6586. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6587. type: integer
  6588. selloutauditflag:
  6589. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6590. type: integer
  6591. sgconvertratioauditflag:
  6592. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6593. type: integer
  6594. sgvtaratioauditflag:
  6595. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6596. type: integer
  6597. spotcontractauditflag:
  6598. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6599. type: integer
  6600. updatetime:
  6601. description: 更新时间
  6602. type: string
  6603. type: object
  6604. models.Ermcp3PaAreaSubject:
  6605. properties:
  6606. areauserid:
  6607. description: 所属机构
  6608. type: integer
  6609. canmodify:
  6610. description: 是否可修改 - 0:否 1:是
  6611. type: integer
  6612. createtime:
  6613. description: 创建时间
  6614. type: string
  6615. creatorid:
  6616. description: 创建人ID
  6617. type: string
  6618. creatorsrc:
  6619. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6620. type: integer
  6621. modifierid:
  6622. description: 修改人
  6623. type: string
  6624. modifiersrc:
  6625. description: 修改人来源 - 1:管理端 2:终端
  6626. type: integer
  6627. modifytime:
  6628. description: 修改时间
  6629. type: string
  6630. parentsubjectid:
  6631. description: 上级主体ID
  6632. type: string
  6633. remark:
  6634. description: 备注
  6635. type: string
  6636. subjectid:
  6637. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6638. type: integer
  6639. subjectname:
  6640. description: 主体名称
  6641. type: string
  6642. subjectstatus:
  6643. description: '主体状态 - 1:正常 2: 停用'
  6644. type: integer
  6645. subjecttype:
  6646. description: 主体类型 - 1:交易主体 2:业务部门
  6647. type: integer
  6648. type: object
  6649. models.Ermcp3PaTradeLink:
  6650. properties:
  6651. accountid:
  6652. description: 期货账户代码 | 账号ID
  6653. type: integer
  6654. agreeunit:
  6655. description: 合约乘数
  6656. type: number
  6657. buyorsell:
  6658. description: 方向 - 0:买 1:卖
  6659. type: integer
  6660. channelbuildtype:
  6661. description: 委托单据类型 0:无 1:建仓 2:平仓
  6662. type: integer
  6663. charge:
  6664. description: 手续费
  6665. type: number
  6666. closepl:
  6667. description: 平仓盈亏
  6668. type: number
  6669. closetype:
  6670. description: 平仓方式 - 0:无 1:平今 2:平昨
  6671. type: integer
  6672. convertratio:
  6673. description: 折算系数
  6674. type: number
  6675. enumdicname:
  6676. description: 单位名称
  6677. type: string
  6678. executeprice:
  6679. description: 执行价 [期权]
  6680. type: integer
  6681. goodscode:
  6682. description: 合约代码
  6683. type: string
  6684. goodsgroupid:
  6685. description: 对冲品种ID[期货合约商品组ID]
  6686. type: integer
  6687. goodsid:
  6688. description: 商品ID
  6689. type: integer
  6690. goodsname:
  6691. description: 合约名称
  6692. type: string
  6693. goodunitid:
  6694. description: 单位id
  6695. type: integer
  6696. hedgeflag:
  6697. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6698. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6699. type: integer
  6700. marketid:
  6701. description: 市场ID
  6702. type: integer
  6703. middlegoodsid:
  6704. description: 套保品种ID
  6705. type: integer
  6706. middlegoodsqty:
  6707. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6708. type: number
  6709. optioncode:
  6710. description: 期权代码 [期权]
  6711. type: string
  6712. ordertype:
  6713. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6714. type: integer
  6715. ordertypename:
  6716. description: 订单类型
  6717. type: string
  6718. parentaccountid:
  6719. description: 所属母账户
  6720. type: integer
  6721. premium:
  6722. description: 权利金 [期权]
  6723. type: number
  6724. relatedlot:
  6725. description: 已关联数量(已关联数量手) | db:关联手数
  6726. type: number
  6727. relatedouttradeid:
  6728. description: 关联外部成交单ID
  6729. type: string
  6730. relatedqty:
  6731. description: 关联数量
  6732. type: number
  6733. spotcontractid:
  6734. description: 现货合同ID [4:套期保值\10\11]
  6735. type: string
  6736. taname:
  6737. description: 期货账户名称
  6738. type: string
  6739. tradeamount:
  6740. description: 成交金额(账户)
  6741. type: number
  6742. tradedate:
  6743. description: 交易日(yyyyMMdd)
  6744. type: string
  6745. tradeid:
  6746. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6747. type: string
  6748. tradelot:
  6749. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6750. type: integer
  6751. tradeprice:
  6752. description: 成交价格
  6753. type: number
  6754. tradetime:
  6755. description: 时间 | db:成交时间
  6756. type: string
  6757. tradetype:
  6758. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6759. type: integer
  6760. userid:
  6761. description: 所属机构 - 所属母账户的UserID
  6762. type: string
  6763. username:
  6764. description: 用户名称
  6765. type: string
  6766. type: object
  6767. models.Ermcp3ParamChangeApp:
  6768. properties:
  6769. aftervalue:
  6770. description: 变更后
  6771. type: number
  6772. applicationid:
  6773. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6774. type: string
  6775. applyid:
  6776. description: 申请人
  6777. type: string
  6778. applyname:
  6779. description: 申请人名称(代码)
  6780. type: string
  6781. applyremark:
  6782. description: 申请备注
  6783. type: string
  6784. applysrc:
  6785. description: 申请来源 - 1:管理端 2:终端
  6786. type: integer
  6787. applystatus:
  6788. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6789. type: integer
  6790. applytime:
  6791. description: 申请时间
  6792. type: string
  6793. areauserid:
  6794. description: 所属机构用户ID
  6795. type: integer
  6796. auditid:
  6797. description: 审核人
  6798. type: string
  6799. auditname:
  6800. description: 审核人名称(代码)
  6801. type: string
  6802. auditremark:
  6803. description: 审核备注
  6804. type: string
  6805. auditsrc:
  6806. description: 审核来源 - 1:管理端 2:终端
  6807. type: integer
  6808. audittime:
  6809. description: 审核时间
  6810. type: string
  6811. audittradedate:
  6812. description: 审核交易日(yyyyMMdd)
  6813. type: string
  6814. beforevalue:
  6815. description: 变更前
  6816. type: number
  6817. deliverygoodscode:
  6818. description: 品种代码
  6819. type: string
  6820. deliverygoodsid:
  6821. description: 品种id
  6822. type: integer
  6823. deliverygoodsname:
  6824. description: 品种名称
  6825. type: string
  6826. middlegoodscode:
  6827. description: 套保品种代码
  6828. type: string
  6829. middlegoodsid:
  6830. description: 套保品种ID [ParamChangeType = 2,3,4]
  6831. type: integer
  6832. middlegoodsname:
  6833. description: 套保品种名称
  6834. type: string
  6835. operatetype:
  6836. description: 操作类型 - 1:新增 2:修改
  6837. type: integer
  6838. paramchangetype:
  6839. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6840. type: integer
  6841. wrstandardcode:
  6842. description: 现货商品代码
  6843. type: string
  6844. wrstandardid:
  6845. description: 现货商品ID [ParamChangeType = 1,2,3]
  6846. type: integer
  6847. wrstandardname:
  6848. description: 现货商品名称
  6849. type: string
  6850. type: object
  6851. models.Ermcp3RootUserAccount:
  6852. properties:
  6853. accountname:
  6854. description: 账户名称(机构名称)
  6855. type: string
  6856. accountstatus:
  6857. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6858. type: integer
  6859. applysrc:
  6860. description: 申请来源 - 1:管理端 2:终端
  6861. type: integer
  6862. auditremark:
  6863. description: 审核备注
  6864. type: string
  6865. auditsrc:
  6866. description: 审核来源 - 1:管理端 2:终端
  6867. type: integer
  6868. audittime:
  6869. description: 审核时间
  6870. type: string
  6871. audituserid:
  6872. description: 审核人
  6873. type: integer
  6874. broker:
  6875. description: 所属经纪人ID
  6876. type: integer
  6877. canceltime:
  6878. description: 销户时间
  6879. type: string
  6880. canceluserid:
  6881. description: 销户人
  6882. type: integer
  6883. canrecommend:
  6884. description: 是否可推荐 - 0:不可 1;可
  6885. type: integer
  6886. createtime:
  6887. description: 创建时间
  6888. type: string
  6889. creatorid:
  6890. description: 创建人
  6891. type: integer
  6892. hasauth:
  6893. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6894. type: integer
  6895. isanonymous:
  6896. description: 是否匿名下单 - 0:否 1:是
  6897. type: integer
  6898. maxinvestornum:
  6899. description: 最大用户数(经纪会员下投资者个数)
  6900. type: integer
  6901. memberuserid:
  6902. description: 所属会员ID
  6903. type: integer
  6904. modifierid:
  6905. description: 修改人
  6906. type: integer
  6907. modifyremark:
  6908. description: 变更备注
  6909. type: string
  6910. modifystatus:
  6911. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6912. type: integer
  6913. modifytime:
  6914. description: 修改时间
  6915. type: string
  6916. nickname:
  6917. description: 昵称
  6918. type: string
  6919. parenttopuser:
  6920. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6921. type: string
  6922. parentuserid:
  6923. description: 所属机构ID
  6924. type: integer
  6925. reckonaccountid:
  6926. description: 默认结算资金账号ID(机构分润使用) 作废
  6927. type: integer
  6928. refercount:
  6929. description: 推荐总人数
  6930. type: integer
  6931. refereeuserid:
  6932. description: 推荐人ID
  6933. type: integer
  6934. refernum:
  6935. description: 推荐码
  6936. type: string
  6937. rootuserid:
  6938. description: 根用户ID
  6939. type: integer
  6940. subaccountlevel:
  6941. description: 子账户层数
  6942. type: integer
  6943. subarealevelpath:
  6944. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6945. type: string
  6946. userid:
  6947. description: 用户ID
  6948. type: integer
  6949. usertype:
  6950. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6951. type: integer
  6952. type: object
  6953. models.Ermcp3SCMiddleGoods:
  6954. properties:
  6955. biztype:
  6956. description: 业务类型 1:套保 2:套利
  6957. type: integer
  6958. contractno:
  6959. description: 合同编号
  6960. type: string
  6961. contracttype:
  6962. description: 合同类型 1:采购 -1:销售
  6963. type: integer
  6964. convertratio:
  6965. description: 折算系数
  6966. type: number
  6967. customername:
  6968. description: 对手手名称
  6969. type: string
  6970. customeruserid:
  6971. description: 对手id
  6972. type: integer
  6973. deliverygoodscode:
  6974. description: 现货品种代码
  6975. type: string
  6976. deliverygoodsid:
  6977. description: 现货品种ID
  6978. type: integer
  6979. deliverygoodsname:
  6980. description: 现货品种名称
  6981. type: string
  6982. enumdicname:
  6983. description: 现货单位名称
  6984. type: string
  6985. middlegoodsid:
  6986. description: 套保品种ID
  6987. type: integer
  6988. middlegoodspricedqty3:
  6989. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6990. type: number
  6991. needhedgeratio:
  6992. description: 套保比例
  6993. type: number
  6994. pricedqty:
  6995. description: 已定价量
  6996. type: number
  6997. relatedmiddlegoodsqty:
  6998. description: 已关联量(套保品种)(期货)
  6999. type: number
  7000. spotcontractid:
  7001. description: 合同编号
  7002. type: string
  7003. unitid:
  7004. description: 现货单位id
  7005. type: integer
  7006. userid:
  7007. description: 用户id
  7008. type: integer
  7009. vatrate:
  7010. description: 增值税率
  7011. type: number
  7012. wrstandardcode:
  7013. description: 现货商品代码
  7014. type: string
  7015. wrstandardid:
  7016. description: 现货商品id
  7017. type: integer
  7018. wrstandardname:
  7019. description: 现货商品名称
  7020. type: string
  7021. type: object
  7022. models.Ermcp3SCMiddleGoodsReport:
  7023. properties:
  7024. begindate:
  7025. description: 开始交易日
  7026. type: string
  7027. contractno:
  7028. description: 合同编号
  7029. type: string
  7030. contracttype:
  7031. description: 合同类型 1:采购 -1:销售
  7032. type: integer
  7033. convertratio:
  7034. description: 折算系数
  7035. type: number
  7036. cycletime:
  7037. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7038. type: string
  7039. cycletype:
  7040. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7041. type: integer
  7042. deliverygoodscode:
  7043. description: 品种代码
  7044. type: string
  7045. deliverygoodsid:
  7046. description: 现货品种ID
  7047. type: integer
  7048. deliverygoodsname:
  7049. description: 品种名称
  7050. type: string
  7051. diffprice:
  7052. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  7053. type: number
  7054. diffqty:
  7055. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  7056. type: number
  7057. enddate:
  7058. description: 结束交易日
  7059. type: string
  7060. hedgeplanqty:
  7061. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  7062. type: number
  7063. matchname:
  7064. description: 交易对手方(个人:用户名称 企业:简称)
  7065. type: string
  7066. matchnickname:
  7067. description: 交易对手方昵称
  7068. type: string
  7069. middlegoodscode:
  7070. description: 套保品种代码
  7071. type: string
  7072. middlegoodsid:
  7073. description: 套保品种ID
  7074. type: integer
  7075. middlegoodsname:
  7076. description: 套保品种名称
  7077. type: string
  7078. middlegoodspricedqty:
  7079. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7080. type: number
  7081. middlegoodspricedqty2:
  7082. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7083. type: number
  7084. middlegoodspricedqty3:
  7085. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7086. type: number
  7087. needhedgeratio:
  7088. description: 套保系数
  7089. type: number
  7090. pricedamount:
  7091. description: 已定价额(现货)
  7092. type: number
  7093. pricedamount2:
  7094. description: 已定价额(现货-基价额)
  7095. type: number
  7096. pricedqty:
  7097. description: 已定价量(现货)
  7098. type: number
  7099. reckondate:
  7100. description: 日照时期(yyyyMMdd)
  7101. type: string
  7102. relatedmiddlegoodsamount:
  7103. description: 已关联额(期货)
  7104. type: number
  7105. relatedmiddlegoodsqty:
  7106. description: 已关联量(套保品种)(期货)
  7107. type: number
  7108. spotcontractid:
  7109. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7110. type: string
  7111. todayavgfutuprice:
  7112. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7113. type: number
  7114. todayavgprice:
  7115. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7116. type: number
  7117. todayavgprice2:
  7118. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7119. type: number
  7120. todaypricedamount:
  7121. description: 今日定价额(现货)
  7122. type: number
  7123. todaypricedamount2:
  7124. description: 今日定价额(现货-基价额)
  7125. type: number
  7126. todaypricedqty:
  7127. description: 今日定价量(现货)
  7128. type: number
  7129. todayrelatedfutureqty:
  7130. description: 今日关联量(期货)
  7131. type: number
  7132. todayrelatedmiddlegoodsamount:
  7133. description: 今日关联额(期货)
  7134. type: number
  7135. todayrelatedmiddlegoodsqty:
  7136. description: 今日关联量(套保品-期货)
  7137. type: number
  7138. updatetime:
  7139. description: 更新时间
  7140. type: string
  7141. userid:
  7142. description: 合同所属用户id
  7143. type: integer
  7144. vatrate:
  7145. description: 增值税率
  7146. type: number
  7147. wrstandardcode:
  7148. description: 商品(品类) 代码
  7149. type: string
  7150. wrstandardid:
  7151. description: 现货商品ID
  7152. type: integer
  7153. wrstandardname:
  7154. description: 商品(品类) 名称
  7155. type: string
  7156. type: object
  7157. models.Ermcp3SellBuyContract:
  7158. properties:
  7159. accountid:
  7160. description: 期货账户id
  7161. type: string
  7162. accountname:
  7163. description: 账户名称
  7164. type: string
  7165. attachment:
  7166. description: 附件
  7167. type: string
  7168. audittime:
  7169. description: 审核时间
  7170. type: string
  7171. bizsubjectid:
  7172. description: 归属业务部门ID - SubjectID
  7173. type: integer
  7174. biztype:
  7175. description: 业务类型 1-套保 2-套利
  7176. type: integer
  7177. brandname:
  7178. description: 品牌名称
  7179. type: string
  7180. contracctstatus:
  7181. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7182. type: integer
  7183. contractmargin:
  7184. description: 合同保证金
  7185. type: number
  7186. contractno:
  7187. description: 合同编号
  7188. type: string
  7189. contracttype:
  7190. description: 合同类型 1-采购, -1-销售
  7191. type: integer
  7192. convertfactor:
  7193. description: 标仓系数(品类)
  7194. type: number
  7195. createtime:
  7196. description: 创建时间
  7197. type: string
  7198. currencyid:
  7199. description: 币种id
  7200. type: integer
  7201. currencyname:
  7202. description: 币种名称
  7203. type: string
  7204. daikaiamount:
  7205. description: 应收(开)票额 | 未收票额
  7206. type: number
  7207. deliveryenddate:
  7208. description: 交割结束日
  7209. type: string
  7210. deliverygoodscode:
  7211. description: 现货品种代码
  7212. type: string
  7213. deliverygoodsid:
  7214. description: 现货商品ID
  7215. type: integer
  7216. deliverygoodsname:
  7217. description: 现货品种名称
  7218. type: string
  7219. deliverystartdate:
  7220. description: 交割开始日
  7221. type: string
  7222. enddate:
  7223. description: 点价结束日
  7224. type: string
  7225. enumdicname:
  7226. description: 单位名称
  7227. type: string
  7228. goodscode:
  7229. description: 点价商品代码
  7230. type: string
  7231. goodsgroupid:
  7232. description: 点价商品组id
  7233. type: integer
  7234. goodsid:
  7235. description: 点价商品ID
  7236. type: integer
  7237. goodsname:
  7238. description: 点价商品名称
  7239. type: string
  7240. invoiceamount:
  7241. description: 已开票额
  7242. type: number
  7243. loanamount:
  7244. description: 贷款总额=已定价额+调整金额
  7245. type: number
  7246. margin:
  7247. description: 保证金
  7248. type: number
  7249. meruserid:
  7250. description: 跟单员id
  7251. type: integer
  7252. meruserlogincode:
  7253. description: 跟单员登录代码
  7254. type: string
  7255. merusername:
  7256. description: 跟单员名称
  7257. type: string
  7258. nickname:
  7259. description: 账户昵称
  7260. type: string
  7261. orireckonrealqty:
  7262. description: 应交收量
  7263. type: number
  7264. payamount:
  7265. description: 已收付额(收款或付款)
  7266. type: number
  7267. preinvoiceamount:
  7268. description: 预收(开)票额
  7269. type: number
  7270. prepayamount:
  7271. description: 预收付额
  7272. type: number
  7273. price:
  7274. description: 价格
  7275. type: number
  7276. pricedamount:
  7277. description: 已定价额
  7278. type: number
  7279. pricedavg:
  7280. description: 已点均价
  7281. type: number
  7282. pricedqty:
  7283. description: 已定价量
  7284. type: number
  7285. pricemove:
  7286. description: 升贴水
  7287. type: number
  7288. pricetype:
  7289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7290. type: integer
  7291. producttype:
  7292. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7293. type: integer
  7294. qty:
  7295. description: 合同量
  7296. type: number
  7297. reckonadjustamount:
  7298. description: 调整金额
  7299. type: number
  7300. reckonedamount:
  7301. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7302. type: number
  7303. reckonotheramount:
  7304. description: 其它费用
  7305. type: number
  7306. reckonrealqty:
  7307. description: 已交收量
  7308. type: number
  7309. remark:
  7310. description: 备注
  7311. type: string
  7312. saleuserid:
  7313. description: 业务员id
  7314. type: integer
  7315. saleuserlogincode:
  7316. description: 业务员登录代码
  7317. type: string
  7318. saleusername:
  7319. description: 业务员名称
  7320. type: string
  7321. spotcontractid:
  7322. description: 合同ID
  7323. type: string
  7324. spotgoodsbrandid:
  7325. description: 现货品牌ID(DGFactoryItem表的ID)
  7326. type: integer
  7327. spotgoodsdesc:
  7328. description: 商品型号(商品规格)
  7329. type: string
  7330. startdate:
  7331. description: 点价开始日
  7332. type: string
  7333. subjectid:
  7334. description: 交易主体ID
  7335. type: integer
  7336. subjectname:
  7337. description: 交易主体名称
  7338. type: string
  7339. totalamount:
  7340. description: 合计总额
  7341. type: number
  7342. tradeuserid:
  7343. description: 交易员id
  7344. type: integer
  7345. tradeuserlogincode:
  7346. description: 交易员登录代码
  7347. type: string
  7348. tradeusername:
  7349. description: 交易员名称
  7350. type: string
  7351. unpayamount:
  7352. description: 应收付款额(应支付或应收款) | 未付款额
  7353. type: number
  7354. unpricedqty:
  7355. description: 未定价量
  7356. type: number
  7357. unsureqty:
  7358. description: 未确定量 | 未交收量
  7359. type: number
  7360. userid:
  7361. description: 机构ID
  7362. type: integer
  7363. vatrate:
  7364. description: 增值税率
  7365. type: number
  7366. wrstandardcode:
  7367. description: 品类代码
  7368. type: string
  7369. wrstandardid:
  7370. description: 品类ID
  7371. type: integer
  7372. wrstandardname:
  7373. description: 品类名称
  7374. type: string
  7375. type: object
  7376. models.Ermcp3SpotGoodsPrice:
  7377. properties:
  7378. areauserid:
  7379. description: 所属机构id
  7380. type: integer
  7381. brandname:
  7382. description: 品牌名称
  7383. type: string
  7384. currencyid:
  7385. description: 报价货币ID
  7386. type: integer
  7387. currencyname:
  7388. description: 币种名称
  7389. type: string
  7390. deliverygoodscode:
  7391. description: 现货商品代码
  7392. type: string
  7393. deliverygoodsid:
  7394. description: 现货商品id
  7395. type: integer
  7396. deliverygoodsname:
  7397. description: 现货商品名称
  7398. type: string
  7399. enumdicname:
  7400. description: 现货商品单位名称
  7401. type: string
  7402. gbenumdicname:
  7403. description: 品类单位名称
  7404. type: string
  7405. gmunitid:
  7406. description: 品类单位id
  7407. type: integer
  7408. isvalid:
  7409. description: 是否有效 - 0:无效 1:有效
  7410. type: integer
  7411. operateid:
  7412. description: 最后操作人
  7413. type: integer
  7414. operatesrc:
  7415. description: 最后操作来源 - 1:管理端 2:终端
  7416. type: integer
  7417. operatetime:
  7418. description: 最后操作时间
  7419. type: string
  7420. operatorname:
  7421. description: 操作人名称
  7422. type: string
  7423. spotgoodsbrandid:
  7424. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7425. type: integer
  7426. spotgoodsprice:
  7427. description: 现货价格
  7428. type: number
  7429. tradedate:
  7430. description: 交易日(yyyyMMdd)
  7431. type: string
  7432. unitid:
  7433. description: 现货商品单位id
  7434. type: integer
  7435. wrstandardcode:
  7436. description: 品类代码
  7437. type: string
  7438. wrstandardid:
  7439. description: 现货品类ID(通用则为0)
  7440. type: integer
  7441. wrstandardname:
  7442. description: 品类名称
  7443. type: string
  7444. type: object
  7445. models.Ermcp3SpotGoodsPriceLog:
  7446. properties:
  7447. areauserid:
  7448. description: 所属机构id
  7449. type: integer
  7450. brandname:
  7451. description: 品牌名称
  7452. type: string
  7453. currencyid:
  7454. description: 报价货币ID
  7455. type: integer
  7456. deliverygoodscode:
  7457. description: 现货商品代码
  7458. type: string
  7459. deliverygoodsid:
  7460. description: 现货商品id
  7461. type: integer
  7462. deliverygoodsname:
  7463. description: 现货商品名称
  7464. type: string
  7465. enumdicname:
  7466. description: 现货商品单位名称
  7467. type: string
  7468. gbenumdicname:
  7469. description: 品类单位名称
  7470. type: string
  7471. gmunitid:
  7472. description: 品类单位id
  7473. type: integer
  7474. logid:
  7475. description: 日志id
  7476. type: integer
  7477. operateid:
  7478. description: 最后操作人
  7479. type: integer
  7480. operatesrc:
  7481. description: 最后操作来源 - 1:管理端 2:终端
  7482. type: integer
  7483. operatetime:
  7484. description: 最后操作时间
  7485. type: string
  7486. operatorname:
  7487. description: 操作人名称
  7488. type: string
  7489. spotgoodsbrandid:
  7490. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7491. type: integer
  7492. spotgoodsprice:
  7493. description: 现货价格
  7494. type: number
  7495. tradedate:
  7496. description: 交易日(yyyyMMdd)
  7497. type: string
  7498. unitid:
  7499. description: 现货商品单位id
  7500. type: integer
  7501. wrstandardcode:
  7502. description: 品类代码
  7503. type: string
  7504. wrstandardid:
  7505. description: 现货品类ID(通用则为0)
  7506. type: integer
  7507. wrstandardname:
  7508. description: 品类名称
  7509. type: string
  7510. type: object
  7511. models.Ermcp3SubTaaccount:
  7512. properties:
  7513. accountid:
  7514. description: 资金账户ID
  7515. type: integer
  7516. parentaccountcode:
  7517. description: 所属根账号代码(母账号代码)
  7518. type: string
  7519. parentaccountid:
  7520. description: 所属根账号(母账号)
  7521. type: integer
  7522. taname:
  7523. description: 资金账号名称
  7524. type: string
  7525. tradestatus:
  7526. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7527. type: integer
  7528. username:
  7529. description: 交易用户
  7530. type: string
  7531. type: object
  7532. models.Ermcp3TaFutuReDataReport:
  7533. properties:
  7534. accountid:
  7535. description: 交易账户
  7536. type: integer
  7537. accountname:
  7538. description: 交易账号名称
  7539. type: string
  7540. agreeunit:
  7541. description: 商品合约单位
  7542. type: number
  7543. begindate:
  7544. description: 开始交易日
  7545. type: string
  7546. buyorsell:
  7547. description: 持仓方向
  7548. type: integer
  7549. charge:
  7550. description: 手续费
  7551. type: number
  7552. closeavgprice:
  7553. description: 平仓均价
  7554. type: number
  7555. closepl:
  7556. description: 平仓损益
  7557. type: number
  7558. currencyid:
  7559. description: 结算币种ID
  7560. type: integer
  7561. currencyname:
  7562. description: 币种名称
  7563. type: string
  7564. cycletime:
  7565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7566. type: string
  7567. cycletype:
  7568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7569. type: integer
  7570. enddate:
  7571. description: 结束交易日
  7572. type: string
  7573. enumdicname:
  7574. description: 单位名称
  7575. type: string
  7576. floatpl:
  7577. description: 浮动损益
  7578. type: number
  7579. goodscode:
  7580. description: 交易合约代码
  7581. type: string
  7582. goodsgroupid:
  7583. description: 交易品种
  7584. type: integer
  7585. goodsgroupname:
  7586. description: 交易品种名称
  7587. type: string
  7588. goodsgroupspotqty:
  7589. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7590. type: number
  7591. goodsid:
  7592. description: 交易合约
  7593. type: integer
  7594. goodsname:
  7595. description: 交易合约名称
  7596. type: string
  7597. goodunitid:
  7598. description: 交易合约单位id
  7599. type: integer
  7600. holdamount:
  7601. description: 期末持仓额
  7602. type: number
  7603. holdqty:
  7604. description: 期末持仓量
  7605. type: number
  7606. lastholdamount:
  7607. description: 当前持仓额
  7608. type: number
  7609. lastprice:
  7610. description: 最新价
  7611. type: number
  7612. middlegoodsid:
  7613. description: 套保品种id
  7614. type: integer
  7615. middlegoodsname:
  7616. description: 套保商品名称
  7617. type: string
  7618. middlegoodsqty:
  7619. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7620. type: number
  7621. middlgoodscode:
  7622. description: 套保商品代码
  7623. type: string
  7624. openamount:
  7625. description: 期末开仓额
  7626. type: number
  7627. openavgprice:
  7628. description: 开仓均价
  7629. type: number
  7630. oriholdamount:
  7631. description: 期初持仓额
  7632. type: number
  7633. oriholdqty:
  7634. description: 期初持仓量
  7635. type: number
  7636. oriopenamount:
  7637. description: 期初开仓额
  7638. type: number
  7639. outergroupcode:
  7640. description: 交易品种代码
  7641. type: string
  7642. qtydecimalplace:
  7643. description: 成交量小数位
  7644. type: integer
  7645. reckondate:
  7646. description: 日照时期(yyyyMMdd)
  7647. type: string
  7648. reckonholdamount:
  7649. description: 结算持仓额
  7650. type: number
  7651. reckonpl:
  7652. description: 结算损益
  7653. type: number
  7654. reckonpl2:
  7655. description: 结算逐笔盈亏
  7656. type: number
  7657. reckonprice:
  7658. description: 结算价
  7659. type: number
  7660. relateduserid:
  7661. description: 账户关联用户ID
  7662. type: integer
  7663. todaycloseamount:
  7664. description: 今平仓额
  7665. type: number
  7666. todaycloseqty:
  7667. description: 今平仓量
  7668. type: number
  7669. todaygoodsgroupspotqty:
  7670. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7671. type: number
  7672. todaymiddlegoodsqty:
  7673. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7674. type: number
  7675. todayopenamount:
  7676. description: 今开仓额
  7677. type: number
  7678. todayopenqty:
  7679. description: 今开仓量
  7680. type: number
  7681. userid:
  7682. description: 账户所属用户ID
  7683. type: integer
  7684. type: object
  7685. models.Ermcp3TradeLinkDetail:
  7686. properties:
  7687. accountid:
  7688. description: 资金账号
  7689. type: integer
  7690. agreeunit:
  7691. description: 合约乘数
  7692. type: number
  7693. areauserid:
  7694. description: 所属机构
  7695. type: string
  7696. bizsubjectid:
  7697. description: 归属业务部门ID - SubjectID
  7698. type: string
  7699. buyorsell:
  7700. description: 方向 - 0:买 1:卖
  7701. type: integer
  7702. channelbuildtype:
  7703. description: 委托单据类型 0:无 1:建仓 2:平仓
  7704. type: integer
  7705. contractno:
  7706. description: 现货编号 (合同编号)
  7707. type: string
  7708. convertratio:
  7709. description: 折算系数
  7710. type: number
  7711. createtime:
  7712. description: 关联时间 | 创建时间
  7713. type: string
  7714. creatorid:
  7715. description: 创建人ID
  7716. type: string
  7717. creatorsrc:
  7718. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7719. type: integer
  7720. enumdicname:
  7721. description: 单位名称
  7722. type: string
  7723. goodscode:
  7724. description: 合约代码
  7725. type: string
  7726. goodsgroupid:
  7727. description: 对冲品种ID[期货合约商品组ID]
  7728. type: integer
  7729. goodsid:
  7730. description: 商品ID
  7731. type: integer
  7732. goodsname:
  7733. description: 合约名称
  7734. type: string
  7735. hedgeflag:
  7736. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7737. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7738. type: integer
  7739. linkdetailid:
  7740. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7741. type: string
  7742. linkstatus:
  7743. description: 关联状态 - 1:成功 2:失败 3:解绑
  7744. type: integer
  7745. middlegoodscode:
  7746. description: 套保品种代码
  7747. type: string
  7748. middlegoodsid:
  7749. description: 套保品种ID
  7750. type: integer
  7751. middlegoodsname:
  7752. description: 套保品种名称
  7753. type: string
  7754. relatedlot:
  7755. description: 关联手数
  7756. type: number
  7757. relatedmode:
  7758. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7759. type: integer
  7760. relatedqty:
  7761. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7762. type: number
  7763. retcode:
  7764. description: 返回码
  7765. type: integer
  7766. saleuserid:
  7767. description: 业务员ID
  7768. type: string
  7769. spotcontractid:
  7770. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7771. type: string
  7772. taname:
  7773. description: 期货账户
  7774. type: string
  7775. tradedate:
  7776. description: 关联交易日(yyyyMMdd)
  7777. type: string
  7778. tradeid:
  7779. description: 期货订单号 | 内部成交单ID
  7780. type: string
  7781. tradelot:
  7782. description: 成交数量 | 成交手数
  7783. type: integer
  7784. tradeprice:
  7785. description: 成交价格
  7786. type: number
  7787. tradetime:
  7788. description: 期货成交时间
  7789. type: string
  7790. tradetradedate:
  7791. description: 成交交易日(yyyyMMdd)
  7792. type: string
  7793. username:
  7794. description: 用户名称
  7795. type: string
  7796. type: object
  7797. models.Ermcp3Wrstandard:
  7798. properties:
  7799. areauserid:
  7800. description: 所属机构
  7801. type: integer
  7802. cantrade:
  7803. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7804. type: integer
  7805. convertfactor:
  7806. description: 标仓系数
  7807. type: number
  7808. createtime:
  7809. description: 创建时间
  7810. type: string
  7811. creatorid:
  7812. description: 创建人
  7813. type: integer
  7814. deliverygoodsid:
  7815. description: 现货品种ID
  7816. type: integer
  7817. enumdicname:
  7818. description: 品类单位名称
  7819. type: string
  7820. isvalid:
  7821. description: 是否有效 0-无效(停用) 1-有效(正常)
  7822. type: integer
  7823. minivalue:
  7824. description: 最小变动值
  7825. type: integer
  7826. minivaluedp:
  7827. description: 最小变动值小数位
  7828. type: integer
  7829. realminivalue:
  7830. description: 实际最小变动值
  7831. type: integer
  7832. realminivaluedp:
  7833. description: 实际最小变动值小数位
  7834. type: integer
  7835. remark:
  7836. description: 备注
  7837. type: string
  7838. unitid:
  7839. description: 品类单位ID
  7840. type: integer
  7841. updatetime:
  7842. description: 更新时间
  7843. type: string
  7844. wrstandardcode:
  7845. description: 品类代码
  7846. type: string
  7847. wrstandardid:
  7848. description: 品类ID(SEQ_WRSTANDARD)
  7849. type: integer
  7850. wrstandardname:
  7851. description: 品类名称
  7852. type: string
  7853. type: object
  7854. models.Ermcp8EnableHedgeditem:
  7855. properties:
  7856. accountname:
  7857. description: 套期主体
  7858. type: string
  7859. hedgeditemid:
  7860. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7861. type: string
  7862. hedgeditemname:
  7863. description: 项目名称
  7864. type: string
  7865. hedgeditemnum:
  7866. description: 项目编号
  7867. type: string
  7868. hedgedtype:
  7869. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7870. type: integer
  7871. planenddate:
  7872. description: 计划结束日期
  7873. type: string
  7874. planstartdate:
  7875. description: 计划开始日期
  7876. type: string
  7877. wrstandardid:
  7878. description: 现货商品ID
  7879. type: integer
  7880. wrstandardname:
  7881. description: 现货商品
  7882. type: string
  7883. type: object
  7884. models.Ermcp8HedgeditemReport:
  7885. properties:
  7886. accountname:
  7887. description: 套期主体
  7888. type: string
  7889. areauserid:
  7890. description: 企业ID
  7891. type: integer
  7892. curprice:
  7893. description: '[当日现货市场价]当前市场价'
  7894. type: number
  7895. enumdicname:
  7896. description: 单位
  7897. type: string
  7898. exeamount:
  7899. description: '[执行现货金额]执行市价总额'
  7900. type: number
  7901. exeavgprice:
  7902. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7903. type: number
  7904. exeqty:
  7905. description: '[执行数量]执行现货量'
  7906. type: number
  7907. futurehedgepl:
  7908. description: 期货实际损益
  7909. type: number
  7910. futurehedgeplchange:
  7911. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7912. type: number
  7913. futurepl:
  7914. description: 期货套期损益
  7915. type: number
  7916. futureplchange:
  7917. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7918. type: number
  7919. hedgeamount:
  7920. description: '[套期现货金额]套期市价总额'
  7921. type: number
  7922. hedgeditemnum:
  7923. description: 项目编号,模糊查询
  7924. type: string
  7925. hedgeditemstatus:
  7926. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7927. type: integer
  7928. hedgedtype:
  7929. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7930. type: integer
  7931. hedgeqty:
  7932. description: '[套期数量]套期现货量'
  7933. type: number
  7934. oriavgprice:
  7935. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7936. type: number
  7937. orifuturehedgepl:
  7938. description: 期初期货实际损益
  7939. type: number
  7940. orifuturepl:
  7941. description: 期初期货套期损益
  7942. type: number
  7943. orispothedgepl:
  7944. description: 期初现货实际损益
  7945. type: number
  7946. orispotpl:
  7947. description: 期初现货套期损益
  7948. type: number
  7949. planenddate:
  7950. description: 计划结束日期
  7951. type: string
  7952. planstartdate:
  7953. description: 计划开始日期
  7954. type: string
  7955. spothedgepl:
  7956. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7957. type: number
  7958. spothedgeplchange:
  7959. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7960. type: number
  7961. spotpl:
  7962. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7963. type: number
  7964. spotplchange:
  7965. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7966. type: number
  7967. tradeuserid:
  7968. description: 交易用户ID
  7969. type: integer
  7970. unexeqty:
  7971. description: 未执行现货量 = 套期现货量 - 执行现货量
  7972. type: number
  7973. wrstandardcode:
  7974. description: 现货品类代码
  7975. type: string
  7976. wrstandardid:
  7977. description: 现货商品ID
  7978. type: integer
  7979. wrstandardname:
  7980. description: '[现货商品]现货品类名称'
  7981. type: string
  7982. type: object
  7983. models.Ermcp8RunningHedgeditem:
  7984. properties:
  7985. accountname:
  7986. description: 套期主体
  7987. type: string
  7988. applyid:
  7989. description: 申请人
  7990. type: integer
  7991. applysrc:
  7992. description: 申请来源 - 1:管理端 2:终端
  7993. type: integer
  7994. areauserid:
  7995. description: 企业ID
  7996. type: integer
  7997. auditid:
  7998. description: 审核人
  7999. type: integer
  8000. auditremark:
  8001. description: 审核备注
  8002. type: string
  8003. auditsrc:
  8004. description: 审核来源 - 1:管理端 2:终端
  8005. type: integer
  8006. audittime:
  8007. description: 审核时间
  8008. type: string
  8009. audittradedate:
  8010. description: 审核交易日(yyyyMMdd)
  8011. type: string
  8012. createtime:
  8013. description: 申请时间
  8014. type: string
  8015. curprice:
  8016. description: 当前市场价
  8017. type: number
  8018. curstock:
  8019. description: 期末库存量 = 采购总量 - 销售总量
  8020. type: number
  8021. deliverygoodsid:
  8022. description: 现货品种ID
  8023. type: integer
  8024. enddate:
  8025. description: 完成日期
  8026. type: string
  8027. endtradedate:
  8028. description: 完成交易日
  8029. type: string
  8030. enumdicname:
  8031. description: 单位
  8032. type: string
  8033. exeamount:
  8034. description: 执行市价总额
  8035. type: number
  8036. exeavgprice:
  8037. description: 执行市场均价= 执行市价总额 / 执行现货量
  8038. type: number
  8039. execontractamount:
  8040. description: 执行定价总额
  8041. type: number
  8042. exeqty:
  8043. description: 执行现货量
  8044. type: number
  8045. exerestamount:
  8046. description: 执行剩余市价总额【现货贸易】
  8047. type: number
  8048. futurefloatpl:
  8049. description: 期货浮动损益
  8050. type: number
  8051. futurehedgepl:
  8052. description: 期货实际损益
  8053. type: number
  8054. futurehedgeplchange:
  8055. description: 期货实际损益变动
  8056. type: number
  8057. futurepl:
  8058. description: 期货套期损益
  8059. type: number
  8060. futureplchange:
  8061. description: 期货套期损益变动
  8062. type: number
  8063. hedgeamount:
  8064. description: 套期市价总额
  8065. type: number
  8066. hedgecontractamount:
  8067. description: 套期定价总额 【定价采购合同】【现货贸易】
  8068. type: number
  8069. hedgeditemid:
  8070. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8071. type: string
  8072. hedgeditemname:
  8073. description: 项目名称
  8074. type: string
  8075. hedgeditemnum:
  8076. description: 项目编号
  8077. type: string
  8078. hedgeditemstatus:
  8079. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8080. type: integer
  8081. hedgedtype:
  8082. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8083. type: integer
  8084. hedgeqty:
  8085. description: 套期现货量
  8086. type: number
  8087. hedgerate:
  8088. description: 套保比率
  8089. type: number
  8090. hedgerestamount:
  8091. description: 套期剩余市价总额【现货贸易】
  8092. type: number
  8093. hedgesumpl:
  8094. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8095. type: number
  8096. middlegoodslist:
  8097. description: 套期商品列表
  8098. items:
  8099. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8100. type: array
  8101. oriavgprice:
  8102. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8103. type: number
  8104. orifuturehedgepl:
  8105. description: 期初期货实际损益
  8106. type: number
  8107. orifuturepl:
  8108. description: 期初期货套期损益
  8109. type: number
  8110. orispothedgepl:
  8111. description: 期初现货实际损益
  8112. type: number
  8113. orispotpl:
  8114. description: 期初现货套期损益
  8115. type: number
  8116. planenddate:
  8117. description: 计划结束日期
  8118. type: string
  8119. planstartdate:
  8120. description: 计划开始日期
  8121. type: string
  8122. remark:
  8123. description: 备注
  8124. type: string
  8125. spotbookamount:
  8126. description: 现货账面总额
  8127. type: number
  8128. spotfloatpl:
  8129. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8130. type: number
  8131. spothedgepl:
  8132. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8133. type: number
  8134. spothedgeplchange:
  8135. description: 现货实际损益变动
  8136. type: number
  8137. spotpl:
  8138. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8139. type: number
  8140. spotplchange:
  8141. description: 现货套期损益变动
  8142. type: number
  8143. spottradepl:
  8144. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8145. type: number
  8146. sumobspl:
  8147. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8148. type: number
  8149. tradeuserid:
  8150. description: 交易用户ID
  8151. type: integer
  8152. unexeqty:
  8153. description: 未执行现货量 = 套期现货量 - 执行现货量
  8154. type: number
  8155. updatetime:
  8156. description: 更新时间
  8157. type: string
  8158. vatpl:
  8159. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8160. type: number
  8161. vatrate:
  8162. description: 增值税
  8163. type: number
  8164. wrstandardid:
  8165. description: 现货商品ID
  8166. type: integer
  8167. wrstandardname:
  8168. description: 商品名称
  8169. type: string
  8170. type: object
  8171. models.ErmcpBizGroupEx:
  8172. properties:
  8173. acclist:
  8174. description: 账号列表
  8175. items:
  8176. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8177. type: array
  8178. bizgroupid:
  8179. description: 业务分组id
  8180. type: integer
  8181. biztype:
  8182. description: 业务类型 1-套保 2-套利
  8183. type: integer
  8184. wrlist:
  8185. description: 现货商品表
  8186. items:
  8187. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8188. type: array
  8189. type: object
  8190. models.ErmcpBizGroupSpotGoods:
  8191. properties:
  8192. areauserid:
  8193. description: 所属机构id
  8194. type: integer
  8195. bizgroupid:
  8196. description: 分组id
  8197. type: integer
  8198. biztype:
  8199. description: 业务类型 1-套保 2-套利
  8200. type: integer
  8201. deliverygoodscode:
  8202. description: 现货商品代码
  8203. type: string
  8204. deliverygoodsid:
  8205. description: 现货商品id
  8206. type: integer
  8207. deliverygoodsname:
  8208. description: 现货商品名称
  8209. type: string
  8210. unitid:
  8211. description: 现货商品单位id
  8212. type: integer
  8213. type: object
  8214. models.ErmcpBizGroupTaAccount:
  8215. properties:
  8216. accountid:
  8217. description: 账号id
  8218. type: integer
  8219. accountname:
  8220. description: 账号名称
  8221. type: string
  8222. areauserid:
  8223. description: 所属机构id
  8224. type: integer
  8225. bizgroupid:
  8226. description: 业务分组id
  8227. type: integer
  8228. ismain:
  8229. description: 是否主账号 1-是 0-否
  8230. type: integer
  8231. type: object
  8232. models.ErmcpDGFactoryItem:
  8233. properties:
  8234. areauserid:
  8235. description: 用户id
  8236. type: integer
  8237. deliverygoodsid:
  8238. description: 现货品种ID
  8239. type: integer
  8240. dgfactoryitemid:
  8241. description: 选择项ID(SEQ_DGFACTORYITEM)
  8242. type: integer
  8243. dgfactoryitemtypeid:
  8244. description: 要素项类型
  8245. type: integer
  8246. dgfactoryitemvalue:
  8247. description: 要素项值(类型为仓库时填写仓库名称)
  8248. type: string
  8249. isvalid:
  8250. description: 是否有效 - 0:无效 1:有效
  8251. type: integer
  8252. orderindex:
  8253. description: 顺序
  8254. type: integer
  8255. warehouseid:
  8256. description: 仓库ID(类型为仓库时填写)
  8257. type: integer
  8258. type: object
  8259. models.ErmcpDeliveryGoods:
  8260. properties:
  8261. agreeunit:
  8262. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8263. type: integer
  8264. areauserid:
  8265. description: 所属机构
  8266. type: integer
  8267. auditflag:
  8268. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8269. type: integer
  8270. categoryid:
  8271. description: 类别ID(SEQ_WRCATEGORY)
  8272. type: integer
  8273. deliverygoodscode:
  8274. description: 现货品种代码
  8275. type: string
  8276. deliverygoodsid:
  8277. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8278. type: integer
  8279. deliverygoodsname:
  8280. description: 现货品种名称
  8281. type: string
  8282. deliverygoodstype:
  8283. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8284. type: integer
  8285. dgstatus:
  8286. description: 品种状态 - 作废 - 0:未激活 1:正常
  8287. type: integer
  8288. enumdicname:
  8289. description: 现货品种单位名称
  8290. type: string
  8291. goodsunitid:
  8292. description: 现货品种单位ID
  8293. type: integer
  8294. isvalid:
  8295. description: 是否有效 - 0:无效 1:有效
  8296. type: integer
  8297. qtydecimalplace:
  8298. description: 成交量小数位
  8299. type: integer
  8300. remark:
  8301. description: 备注
  8302. type: string
  8303. standardqty:
  8304. description: 标准数量(库位数量) [标准品特有]
  8305. type: integer
  8306. standardqtyrange:
  8307. description: 标准数量偏差范围 [标准品特有]
  8308. type: integer
  8309. type: object
  8310. models.ErmcpFuturesCompany:
  8311. properties:
  8312. brokerid:
  8313. description: 经纪公司代码
  8314. type: string
  8315. channeladdress:
  8316. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8317. type: string
  8318. channelid:
  8319. description: 对冲渠道ID
  8320. type: string
  8321. createtime:
  8322. description: 创建时间
  8323. type: string
  8324. creatorid:
  8325. description: 创建人
  8326. type: string
  8327. fcid:
  8328. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8329. type: integer
  8330. fcname:
  8331. description: 期货公司名称
  8332. type: string
  8333. isvalid:
  8334. description: 是否有效 - 0:无效 1:有效
  8335. type: integer
  8336. mhpaddress:
  8337. description: MHP服务地址(IP:Port)
  8338. type: string
  8339. riskrulegroupid:
  8340. description: 风控规则组ID
  8341. type: string
  8342. tradefeetmpid:
  8343. description: 手续费模板ID[TradeConfigTmpType为2]
  8344. type: string
  8345. trademargintmpid:
  8346. description: 保证金模板ID [TradeConfigTmpType为1]
  8347. type: string
  8348. traderatetmpid:
  8349. description: 汇率模板ID[TradeConfigTmpType为3]
  8350. type: string
  8351. updatetime:
  8352. description: 更新时间
  8353. type: string
  8354. updatorid:
  8355. description: 更新人
  8356. type: string
  8357. type: object
  8358. models.ErmcpGGConvertCfg:
  8359. properties:
  8360. convertratio:
  8361. description: 折算系数
  8362. type: number
  8363. destgoodsgroupid:
  8364. description: 目标品种ID
  8365. type: integer
  8366. dstcode:
  8367. description: 目录品种代码
  8368. type: string
  8369. dstexchangecode:
  8370. description: 目标期货交易所
  8371. type: string
  8372. dstname:
  8373. description: 目标品种名称
  8374. type: string
  8375. dstunitid:
  8376. description: 目标品种单位ID
  8377. type: integer
  8378. dstunitidname:
  8379. description: 目标品种单位名称
  8380. type: string
  8381. modifytime:
  8382. description: 修改时间
  8383. type: string
  8384. srccode:
  8385. description: 源品种代码
  8386. type: string
  8387. srcexchangecode:
  8388. description: 源期货交易所
  8389. type: string
  8390. srcgoodsgroupid:
  8391. description: 源品种ID
  8392. type: integer
  8393. srcname:
  8394. description: 源品种名称
  8395. type: string
  8396. srcunitid:
  8397. description: 源品种单位ID
  8398. type: integer
  8399. srcunitidname:
  8400. description: 源品种单位名称
  8401. type: string
  8402. type: object
  8403. models.ErmcpGoods:
  8404. properties:
  8405. agreeunit:
  8406. description: 合约单位
  8407. type: number
  8408. areauserid:
  8409. description: 所属机构
  8410. type: integer
  8411. auditaccountid:
  8412. description: 审核操作员账号
  8413. type: integer
  8414. audittime:
  8415. description: 审核时间
  8416. type: string
  8417. cancelaccountid:
  8418. description: 注销操作员账号
  8419. type: integer
  8420. canceltime:
  8421. description: 注销时间
  8422. type: string
  8423. closepricemode:
  8424. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8425. type: integer
  8426. closepriceparam:
  8427. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8428. type: number
  8429. createtime:
  8430. description: 创建时间
  8431. type: string
  8432. creatorid:
  8433. description: 创建人
  8434. type: integer
  8435. currencyid:
  8436. description: 报价货币ID
  8437. type: integer
  8438. cutmode:
  8439. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8440. type: integer
  8441. decimalplace:
  8442. description: 报价小数位
  8443. type: integer
  8444. delistingdate:
  8445. description: 商品退市时间(状态:退市) -- 已作废
  8446. type: string
  8447. delistingmode:
  8448. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8449. type: integer
  8450. deliveryflag:
  8451. description: 交割标志 - 0:不可交割 1:可交割
  8452. type: integer
  8453. enumdicname:
  8454. description: 单位名称
  8455. type: string
  8456. forceclosemode:
  8457. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8458. type: integer
  8459. forceclosevalue:
  8460. description: 定期强平参数 [收益权]
  8461. type: integer
  8462. goodscode:
  8463. description: 商品代码(内部)
  8464. type: string
  8465. goodscurrencyid:
  8466. description: 合约货币ID
  8467. type: integer
  8468. goodsgroupid:
  8469. description: 所属商品组ID
  8470. type: integer
  8471. goodsid:
  8472. description: 商品ID(自增ID SEQ_GOODS)
  8473. type: integer
  8474. goodsname:
  8475. description: 商品名称
  8476. type: string
  8477. goodsquotetype:
  8478. description: '合约报价类型: 1-直接报价 2-间接报价'
  8479. type: integer
  8480. goodsstatus:
  8481. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8482. type: integer
  8483. goodstradetype:
  8484. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8485. type: integer
  8486. goodunitid:
  8487. description: 报价单位ID
  8488. type: integer
  8489. hasquoter:
  8490. description: 是否有报价商 - 0:无报价商 1:有报价商
  8491. type: integer
  8492. hqprotecttime:
  8493. description: 行情保护时间(秒)
  8494. type: integer
  8495. innerdealmode:
  8496. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8497. type: integer
  8498. isbuylimited:
  8499. description: 是否限制建仓量 - 0:不限制 1:限制
  8500. type: integer
  8501. isvisible:
  8502. description: 游客是否可见 - 0:不可见 1:可见
  8503. type: integer
  8504. lasttradedate:
  8505. description: 最后交易日期(状态:待退市)
  8506. type: string
  8507. listingdate:
  8508. description: 交易开始日期
  8509. type: string
  8510. marketid:
  8511. description: 所属市场ID
  8512. type: integer
  8513. modifierid:
  8514. description: 修改人
  8515. type: integer
  8516. modifystatus:
  8517. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8518. type: integer
  8519. modifytime:
  8520. description: 修改时间
  8521. type: string
  8522. outerdealmode:
  8523. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8524. type: integer
  8525. outgoodscode:
  8526. description: 商品代码(外部)
  8527. type: string
  8528. pictureurl:
  8529. description: 商品图片
  8530. type: string
  8531. qtydecimalplace:
  8532. description: 成交量小数位
  8533. type: integer
  8534. quotegear:
  8535. description: 行情档位(1-10)
  8536. type: integer
  8537. quoteminunit:
  8538. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8539. type: integer
  8540. quoteshowtype:
  8541. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8542. type: integer
  8543. quoteshowtypeinterval:
  8544. description: 行情报价间隔时间(秒)(成交价时为0)
  8545. type: integer
  8546. relatedgoodsid:
  8547. description: 关联参考商品ID
  8548. type: integer
  8549. remark:
  8550. description: 备注
  8551. type: string
  8552. trademode:
  8553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8554. 21:竞拍-大宗式 22:受托竞价
  8555. type: integer
  8556. required:
  8557. - goodscode
  8558. - goodsid
  8559. - goodsname
  8560. - marketid
  8561. type: object
  8562. models.ErmcpGoodsBrand:
  8563. properties:
  8564. areauserid:
  8565. description: 所属机构
  8566. type: integer
  8567. brandid:
  8568. description: BrandID(SEQ_SPOTGOODSBRAND)
  8569. type: integer
  8570. brandname:
  8571. description: 品牌名称
  8572. type: string
  8573. createtime:
  8574. description: 创建时间
  8575. type: string
  8576. creatorid:
  8577. description: 创建人
  8578. type: integer
  8579. creatorsrc:
  8580. description: 创建人来源 - 1:管理端 2:终端
  8581. type: integer
  8582. deliverygoodsid:
  8583. description: 现货品种ID
  8584. type: integer
  8585. isvalid:
  8586. description: 是否有效 - 0:无效 1:有效
  8587. type: integer
  8588. updatetime:
  8589. description: 更新时间
  8590. type: string
  8591. updatorid:
  8592. description: 更新人
  8593. type: integer
  8594. updatorsrc:
  8595. description: 更新人来源 - 1:管理端 2:终端
  8596. type: integer
  8597. wrstandardid:
  8598. description: 现货商品ID
  8599. type: integer
  8600. type: object
  8601. models.ErmcpGoodsModel:
  8602. properties:
  8603. areauserid:
  8604. description: 所属机构
  8605. type: integer
  8606. convertfactor:
  8607. description: 标仓系数
  8608. type: number
  8609. createtime:
  8610. description: 创建时间
  8611. type: string
  8612. creatorid:
  8613. description: 创建人
  8614. type: integer
  8615. creatorsrc:
  8616. description: 创建人来源 - 1:管理端 2:终端
  8617. type: integer
  8618. deliverygoodsid:
  8619. description: 现货品种ID
  8620. type: integer
  8621. isvalid:
  8622. description: 是否有效 - 0:无效 1:有效
  8623. type: integer
  8624. modelid:
  8625. description: ModelID(SEQ_SPOTGOODSMODEL)
  8626. type: integer
  8627. modelname:
  8628. description: 型号名称
  8629. type: string
  8630. updatetime:
  8631. description: 更新时间
  8632. type: string
  8633. updatorid:
  8634. description: 更新人
  8635. type: integer
  8636. updatorsrc:
  8637. description: 更新人来源 - 1:管理端 2:终端
  8638. type: integer
  8639. wrstandardid:
  8640. description: 现货商品ID
  8641. type: integer
  8642. type: object
  8643. models.ErmcpHisExposure:
  8644. properties:
  8645. needhedgeexposoure:
  8646. description: 应套保敞口
  8647. type: number
  8648. reckondate:
  8649. description: 日照时期(yyyyMMdd)
  8650. type: string
  8651. totalexposure:
  8652. description: 总敞口
  8653. type: number
  8654. type: object
  8655. models.ErmcpLoginTaAccount:
  8656. properties:
  8657. accountid:
  8658. description: 账号id
  8659. type: integer
  8660. accountname:
  8661. description: 账号名称
  8662. type: string
  8663. type: object
  8664. models.ErmcpLoginUser:
  8665. properties:
  8666. acclist:
  8667. description: 关联资金账号
  8668. items:
  8669. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8670. type: array
  8671. accountname:
  8672. description: 用户名称
  8673. type: string
  8674. clientroleid:
  8675. description: 角色id(usertype=2)
  8676. type: integer
  8677. createtime:
  8678. description: 创建时间
  8679. type: string
  8680. logincode:
  8681. description: 登录代码
  8682. type: string
  8683. loginid:
  8684. description: 登录id(LOGINID)
  8685. type: integer
  8686. loginname:
  8687. description: 登录名称(loginaccount表中的accountname字段)
  8688. type: string
  8689. loginstatus:
  8690. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8691. type: integer
  8692. memberuserid:
  8693. description: 所属会员id
  8694. type: integer
  8695. mobile:
  8696. description: 手机号
  8697. type: string
  8698. modifytime:
  8699. description: 修改时间
  8700. type: string
  8701. password:
  8702. description: 密码(不可解密)
  8703. type: string
  8704. rolename:
  8705. description: 角色名称
  8706. type: string
  8707. rolestatus:
  8708. description: 角色状态 1-启用 2-停用
  8709. type: integer
  8710. roletype:
  8711. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8712. type: string
  8713. userid:
  8714. description: 用户id
  8715. type: integer
  8716. usertype:
  8717. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8718. type: integer
  8719. type: object
  8720. models.ErmcpLoginUserEx:
  8721. properties:
  8722. accountstatus:
  8723. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8724. type: integer
  8725. mobile:
  8726. description: 手机号
  8727. type: string
  8728. querytype:
  8729. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8730. type: integer
  8731. roleid:
  8732. description: 角色id(交易账户->用户id)
  8733. type: integer
  8734. rolename:
  8735. description: 角色名称(交易账户->用户名称)
  8736. type: string
  8737. userlist:
  8738. description: 用户列表
  8739. items:
  8740. $ref: '#/definitions/models.ErmcpLoginUser'
  8741. type: array
  8742. usertype:
  8743. description: 用户类型 2-机构 7-企业成员(云平台)
  8744. type: integer
  8745. type: object
  8746. models.ErmcpMiddleGoodsModel:
  8747. properties:
  8748. areauserid:
  8749. description: 机构用户ID
  8750. type: integer
  8751. createtime:
  8752. description: 修改时间
  8753. type: string
  8754. enumdicname:
  8755. description: 单位名称
  8756. type: string
  8757. evaluateratio:
  8758. description: 估价系数
  8759. type: number
  8760. goodsgroupid:
  8761. description: 关联期货品种ID
  8762. type: integer
  8763. goodsunitid:
  8764. description: 单位ID
  8765. type: integer
  8766. isvalid:
  8767. description: 状态 0-无效(停用) 1-有效(正常)
  8768. type: integer
  8769. middlegoodscode:
  8770. description: 套保品种代码
  8771. type: string
  8772. middlegoodsid:
  8773. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8774. type: integer
  8775. middlegoodsname:
  8776. description: 套保品种名称
  8777. type: string
  8778. modifytime:
  8779. description: 修改时间
  8780. type: string
  8781. needarbitrageratio:
  8782. description: 套利比例
  8783. type: number
  8784. needhedgeratio:
  8785. description: 套保比率
  8786. type: number
  8787. qtydecimalplace:
  8788. description: 数量小数位
  8789. type: integer
  8790. relatedgoodsid:
  8791. description: 关联交易商品ID
  8792. type: integer
  8793. relatedgoodstype:
  8794. description: 关联商品类型 - 1:期货合约 2:现货品种
  8795. type: integer
  8796. remark:
  8797. description: 备注
  8798. type: string
  8799. type: object
  8800. models.ErmcpMiddlegoodsRelateGoods:
  8801. properties:
  8802. agreeunit:
  8803. description: 合约乘数
  8804. type: number
  8805. convertratio:
  8806. description: 折算系数
  8807. type: number
  8808. enumdicname:
  8809. description: 单位名称(交易商品)
  8810. type: string
  8811. goodscode:
  8812. description: 交易商品代码
  8813. type: string
  8814. goodsgroupid:
  8815. description: 交易品种id
  8816. type: integer
  8817. goodsid:
  8818. description: 商品Id
  8819. type: integer
  8820. goodsname:
  8821. description: 交易商品名称
  8822. type: string
  8823. goodunitid:
  8824. description: 交易商品单位id
  8825. type: integer
  8826. middlegoodsid:
  8827. description: 套保商品id
  8828. type: integer
  8829. middlegoodsname:
  8830. description: 套保商品名称
  8831. type: string
  8832. middlegoodsswcode:
  8833. description: 套保商品代码
  8834. type: string
  8835. needarbitrageratio:
  8836. description: 应套利比例
  8837. type: number
  8838. needhedgeratio:
  8839. description: 应套保比例
  8840. type: number
  8841. type: object
  8842. models.ErmcpRole:
  8843. properties:
  8844. areauserid:
  8845. description: 所属机构
  8846. type: integer
  8847. autoid:
  8848. description: 角色ID(自增ID)
  8849. type: integer
  8850. modifierid:
  8851. description: 修改人(创建人)
  8852. type: integer
  8853. modifiername:
  8854. description: 修改人名称
  8855. type: string
  8856. modifytime:
  8857. description: 修改时间(创建时间)
  8858. type: string
  8859. rolename:
  8860. description: 角色名称
  8861. type: string
  8862. rolestatus:
  8863. description: 角色状态 - 1:启用 2:停用
  8864. type: integer
  8865. roletype:
  8866. description: 角色类型 - 1- 管理端 2- 交易端
  8867. type: integer
  8868. type: object
  8869. models.ErmcpRoleMenu:
  8870. properties:
  8871. iconame:
  8872. description: 菜单图标
  8873. type: string
  8874. ishadrole:
  8875. description: 是否有权限
  8876. type: boolean
  8877. menutype:
  8878. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8879. type: integer
  8880. parentcode:
  8881. description: 上级资源代码
  8882. type: string
  8883. remark:
  8884. description: 菜单备注
  8885. type: string
  8886. resourcecode:
  8887. description: 菜单代码
  8888. type: string
  8889. resourcelevel:
  8890. description: 级别
  8891. type: integer
  8892. resourcename:
  8893. description: 菜单名称
  8894. type: string
  8895. roleid:
  8896. description: 角色id
  8897. type: integer
  8898. sort:
  8899. description: 排序
  8900. type: integer
  8901. url:
  8902. description: URL
  8903. type: string
  8904. userid:
  8905. description: 用户id
  8906. type: integer
  8907. type: object
  8908. models.ErmcpRoleMenuEx:
  8909. properties:
  8910. menu:
  8911. $ref: '#/definitions/models.ErmcpRoleMenu'
  8912. description: 父级菜单
  8913. subMenu:
  8914. description: 子级菜单
  8915. items:
  8916. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8917. type: array
  8918. type: object
  8919. models.ErmcpSpotContractModelEx:
  8920. properties:
  8921. accountname:
  8922. description: 套期主体
  8923. type: string
  8924. amount:
  8925. description: 金额 [1:一口价、3:暂定价]
  8926. type: number
  8927. attachment:
  8928. description: 附件
  8929. type: string
  8930. auditremark:
  8931. description: 审核意见
  8932. type: string
  8933. audittime:
  8934. description: 审核时间
  8935. type: string
  8936. avgprice:
  8937. description: 定价均价 = 已定价金额 / 已定价量
  8938. type: number
  8939. brandname:
  8940. description: 品牌名称
  8941. type: string
  8942. buyuserid:
  8943. description: 采购方ID
  8944. type: integer
  8945. buyusername:
  8946. description: 采购方名称
  8947. type: string
  8948. contracctstatus:
  8949. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8950. type: integer
  8951. contractmargin:
  8952. description: 合同保证金
  8953. type: number
  8954. contractno:
  8955. description: '[合同编号]现货合同编号'
  8956. type: string
  8957. contracttype:
  8958. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8959. type: integer
  8960. convertfactor:
  8961. description: 标仓系数
  8962. type: number
  8963. createtime:
  8964. description: 创建时间
  8965. type: string
  8966. customername:
  8967. description: 对手方
  8968. type: string
  8969. customeruserid:
  8970. description: 客户ID
  8971. type: integer
  8972. deliveryenddate:
  8973. description: 交收期(结束)
  8974. type: string
  8975. deliverygoodscode:
  8976. description: 现货品种代码
  8977. type: string
  8978. deliverygoodsid:
  8979. description: 现货品种ID
  8980. type: integer
  8981. deliverygoodsname:
  8982. description: 现货品种名称
  8983. type: string
  8984. deliverystartdate:
  8985. description: 交收期(开始)
  8986. type: string
  8987. enddate:
  8988. description: 点价结束日期 [2:点价 3:暂定价]
  8989. type: string
  8990. enumdicname:
  8991. description: 单位名称
  8992. type: string
  8993. goodscode:
  8994. description: 点价合约代码
  8995. type: string
  8996. goodsid:
  8997. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8998. type: integer
  8999. goodsname:
  9000. description: 点价商品名称
  9001. type: string
  9002. isrelated:
  9003. description: 是否已关联计划项目 - 0:否 1:是
  9004. type: integer
  9005. isrelated2:
  9006. description: 是否已关联现货项目 - 0:否 1:是
  9007. type: integer
  9008. margin:
  9009. description: 当前保证金
  9010. type: number
  9011. modelname:
  9012. description: 型号名称
  9013. type: string
  9014. price:
  9015. description: 价格\暂定价 [1:一口价、3:暂定价]
  9016. type: number
  9017. pricedamount:
  9018. description: 已定价金额 = (点价价格+升贴水) * 数量
  9019. type: number
  9020. pricedqty:
  9021. description: 已定价量
  9022. type: number
  9023. pricemove:
  9024. description: 升贴水 [2:点价 3:暂定价]
  9025. type: number
  9026. pricetype:
  9027. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9028. type: integer
  9029. producttype:
  9030. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9031. type: integer
  9032. qty:
  9033. description: '[合同数量]数量'
  9034. type: number
  9035. remark:
  9036. description: 备注
  9037. type: string
  9038. selluserid:
  9039. description: 销售方ID
  9040. type: integer
  9041. sellusername:
  9042. description: 销售方名称
  9043. type: string
  9044. spotamount:
  9045. description: 合同现货金额 [不含升贴水]
  9046. type: number
  9047. spotavgprice:
  9048. description: 现货均价 = 合同现货金额 / 已定价量
  9049. type: number
  9050. spotcontractid:
  9051. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9052. type: string
  9053. spotgoodsbrandid:
  9054. description: 现货品牌ID
  9055. type: integer
  9056. spotgoodsdesc:
  9057. description: 商品型号
  9058. type: string
  9059. spotgoodsmodelid:
  9060. description: 现货型号ID
  9061. type: integer
  9062. startdate:
  9063. description: 点价开始日期 [2:点价 3:暂定价]
  9064. type: string
  9065. tradeuserid:
  9066. description: 交易用户ID
  9067. type: integer
  9068. unpricedqty:
  9069. description: 未定价量 = 合同数量 - 已定价量
  9070. type: number
  9071. updatetime:
  9072. description: 更新时间
  9073. type: string
  9074. userid:
  9075. description: 机构ID
  9076. type: integer
  9077. wrstandardcode:
  9078. description: 现货商品代码
  9079. type: string
  9080. wrstandardid:
  9081. description: 现货商品ID
  9082. type: integer
  9083. wrstandardname:
  9084. description: '[现货商品]现货商品名称'
  9085. type: string
  9086. type: object
  9087. models.ErmcpTaAccount:
  9088. properties:
  9089. accountid:
  9090. description: 账户id
  9091. type: integer
  9092. accountname:
  9093. description: 账户名称
  9094. type: string
  9095. currencyid:
  9096. description: 币种id
  9097. type: integer
  9098. hedgeaccountcode:
  9099. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9100. type: string
  9101. ismain:
  9102. description: 是否主账户 0-否 1-是
  9103. type: integer
  9104. parentaccountid:
  9105. description: 父账户id
  9106. type: integer
  9107. relateduserid:
  9108. description: 关联userid
  9109. type: integer
  9110. tradefeetmpid:
  9111. description: 手续费模板id
  9112. type: integer
  9113. tradefeetmpname:
  9114. description: 手续费模板名称
  9115. type: string
  9116. trademargintmpid:
  9117. description: 保证金模板id
  9118. type: integer
  9119. trademargintmpname:
  9120. description: 保证金模板名称
  9121. type: string
  9122. traderatetmpid:
  9123. description: 汇率模板id
  9124. type: integer
  9125. traderatetmpname:
  9126. description: 汇率模板名称
  9127. type: string
  9128. tradestatus:
  9129. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9130. type: integer
  9131. userid:
  9132. description: 用户id
  9133. type: integer
  9134. type: object
  9135. models.ErmcpTaAccountEx:
  9136. properties:
  9137. mainAcc:
  9138. $ref: '#/definitions/models.ErmcpTaAccountM'
  9139. description: 主账号
  9140. subacclist:
  9141. description: 子账号列表
  9142. items:
  9143. $ref: '#/definitions/models.ErmcpTaAccount'
  9144. type: array
  9145. type: object
  9146. models.ErmcpTaAccountInfo:
  9147. properties:
  9148. accountid:
  9149. description: 资金账户ID
  9150. type: integer
  9151. accountname:
  9152. description: 账户名称
  9153. type: string
  9154. balance:
  9155. description: 期初余额
  9156. type: number
  9157. capitalbalance:
  9158. description: 本金余额[外部子账户实际出入金余额]
  9159. type: number
  9160. closepl:
  9161. description: 今日平仓盈亏
  9162. type: number
  9163. creditdecrease:
  9164. description: 今日授信减少
  9165. type: number
  9166. creditincrease:
  9167. description: 今日授信增加
  9168. type: number
  9169. curdebt:
  9170. description: 期末欠款
  9171. type: number
  9172. currencyid:
  9173. description: 货币ID
  9174. type: integer
  9175. currentbalance:
  9176. description: 期末余额
  9177. type: number
  9178. freezecharge:
  9179. description: 手续费冻结
  9180. type: number
  9181. freezemargin:
  9182. description: 冻结保证金
  9183. type: number
  9184. fromaccountid:
  9185. description: 所属上级账户
  9186. type: integer
  9187. inamount:
  9188. description: 今日入金金额(包括三方入金)
  9189. type: number
  9190. ismain:
  9191. description: 是否母账号 0:不是母账户 1:是母账户
  9192. type: integer
  9193. mortgagecredit:
  9194. description: 授信金额
  9195. type: number
  9196. oridebt:
  9197. description: 期初欠款
  9198. type: number
  9199. orifreezecharge:
  9200. description: 期初手续费冻结
  9201. type: number
  9202. orifreezemargin:
  9203. description: 期初冻结保证金
  9204. type: number
  9205. orimortgagecredit:
  9206. description: 期初授信金额
  9207. type: number
  9208. oriothercredit:
  9209. description: 期初其它授信金额
  9210. type: number
  9211. oriotherfreezemargin:
  9212. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9213. type: number
  9214. orioutamountfreeze:
  9215. description: 期初出金冻结
  9216. type: number
  9217. oriusedmargin:
  9218. description: 期初占用保证金
  9219. type: number
  9220. othercredit:
  9221. description: 其它授信金额
  9222. type: number
  9223. othercreditdecrease:
  9224. description: 今日其它授信减少
  9225. type: number
  9226. othercreditincrease:
  9227. description: 今日其它授信增加
  9228. type: number
  9229. otherfreezemargin:
  9230. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9231. type: number
  9232. outamount:
  9233. description: 今日出金金额(包括三方出金)
  9234. type: number
  9235. outamountfreeze:
  9236. description: 出金冻结
  9237. type: number
  9238. outthreshold:
  9239. description: 出金阈值
  9240. type: number
  9241. parentaccountid:
  9242. description: 所属根账号
  9243. type: integer
  9244. paycharge:
  9245. description: 今日手续费支出
  9246. type: number
  9247. relateduserid:
  9248. description: 关联用户
  9249. type: integer
  9250. signstatus:
  9251. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9252. type: integer
  9253. sublevelpath:
  9254. description: 账号层级路径(逗号分隔,首尾加逗号)
  9255. type: string
  9256. taaccounttype:
  9257. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9258. type: integer
  9259. thirdinamount:
  9260. description: 今日三方入金
  9261. type: number
  9262. thirdoutamount:
  9263. description: 今日三方出金
  9264. type: number
  9265. tradestatus:
  9266. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9267. type: integer
  9268. transferamount:
  9269. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9270. type: number
  9271. usedmargin:
  9272. description: 占用保证金
  9273. type: number
  9274. userid:
  9275. description: 用户ID
  9276. type: integer
  9277. type: object
  9278. models.ErmcpTaAccountM:
  9279. properties:
  9280. accountid:
  9281. description: 账户id
  9282. type: integer
  9283. accountname:
  9284. description: 账户名称
  9285. type: string
  9286. currencyid:
  9287. description: 币种id
  9288. type: integer
  9289. fcid:
  9290. description: 期货公司id
  9291. type: integer
  9292. fcname:
  9293. description: 期货公司代码
  9294. type: string
  9295. hedgeaccountcode:
  9296. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9297. type: string
  9298. ismain:
  9299. description: 是否主账户 0-否 1-是
  9300. type: integer
  9301. parentaccountid:
  9302. description: 父账户id
  9303. type: integer
  9304. relateduserid:
  9305. description: 关联userid
  9306. type: integer
  9307. tradefeetmpid:
  9308. description: 手续费模板id
  9309. type: integer
  9310. tradefeetmpname:
  9311. description: 手续费模板名称
  9312. type: string
  9313. trademargintmpid:
  9314. description: 保证金模板id
  9315. type: integer
  9316. trademargintmpname:
  9317. description: 保证金模板名称
  9318. type: string
  9319. traderatetmpid:
  9320. description: 汇率模板id
  9321. type: integer
  9322. traderatetmpname:
  9323. description: 汇率模板名称
  9324. type: string
  9325. tradestatus:
  9326. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9327. type: integer
  9328. userid:
  9329. description: 用户id
  9330. type: integer
  9331. type: object
  9332. models.ErmcpTradeConfigTMP:
  9333. properties:
  9334. areauserid:
  9335. description: 所属机构
  9336. type: integer
  9337. basiccurrencyid:
  9338. description: 基本币种ID[汇率] - 目标币种
  9339. type: integer
  9340. mainaccountid:
  9341. description: 主账户ID
  9342. type: integer
  9343. modifierid:
  9344. description: 修改人
  9345. type: integer
  9346. remark:
  9347. description: 备注
  9348. type: string
  9349. tradeconfigtmpid:
  9350. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9351. type: integer
  9352. tradeconfigtmpname:
  9353. description: 交易配置模板名称
  9354. type: string
  9355. tradeconfigtmptype:
  9356. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9357. type: integer
  9358. updatetime:
  9359. description: 更新时间
  9360. type: string
  9361. type: object
  9362. models.Ermcpjrlinkpos:
  9363. properties:
  9364. areauserid:
  9365. description: 所属企业
  9366. type: integer
  9367. averageprice:
  9368. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9369. type: number
  9370. closepl:
  9371. description: 总平仓盈亏 [期货损益]
  9372. type: number
  9373. executeprice:
  9374. description: 执行价 - 1:期货单 为 0
  9375. type: integer
  9376. futurehedgeqty:
  9377. description: 期货套期量
  9378. type: number
  9379. goodsid:
  9380. description: 期货合约
  9381. type: integer
  9382. middlegoodscode:
  9383. description: 套保商品代码
  9384. type: string
  9385. middlegoodsname:
  9386. description: 套保商品名称
  9387. type: string
  9388. netqty:
  9389. description: 净头寸
  9390. type: number
  9391. optioncode:
  9392. description: 期权代码
  9393. type: string
  9394. ordertype:
  9395. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9396. type: integer
  9397. reckonpl:
  9398. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9399. type: number
  9400. spotcontractid:
  9401. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9402. type: string
  9403. todayfutureclosepl:
  9404. description: 今日平仓盈亏
  9405. type: number
  9406. totalbuyamount:
  9407. description: 买金额 [期货]
  9408. type: number
  9409. totalbuyholdamount:
  9410. description: 买持仓总金额[期货]
  9411. type: number
  9412. totalbuyqty:
  9413. description: 买数量
  9414. type: number
  9415. totalcharge:
  9416. description: 手续费
  9417. type: number
  9418. totalpremium:
  9419. description: 权利金 [期权]
  9420. type: number
  9421. totalsellamount:
  9422. description: 卖金额 [期货]
  9423. type: number
  9424. totalsellholdamount:
  9425. description: 卖持仓总金额[期货]
  9426. type: number
  9427. totalsellqty:
  9428. description: 卖数量
  9429. type: number
  9430. updatetime:
  9431. description: 更新时间
  9432. type: string
  9433. required:
  9434. - spotcontractid
  9435. type: object
  9436. models.Ermcppatradelinkdetail:
  9437. properties:
  9438. agreeunit:
  9439. description: 合约乘数
  9440. type: number
  9441. amount:
  9442. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9443. type: number
  9444. areauserid:
  9445. description: 所属机构
  9446. type: integer
  9447. bizsubjectid:
  9448. description: 归属业务部门ID - SubjectID
  9449. type: integer
  9450. buyorsell:
  9451. description: 方向 - 0:买 1:卖
  9452. type: integer
  9453. convertratio:
  9454. description: 品种系数
  9455. type: number
  9456. createtime:
  9457. description: 创建时间
  9458. type: string
  9459. creatorid:
  9460. description: 创建人ID
  9461. type: integer
  9462. creatorsrc:
  9463. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9464. type: integer
  9465. goodsgroupid:
  9466. description: 对冲品种ID[期货合约商品组ID]
  9467. type: integer
  9468. goodsid:
  9469. description: 商品ID
  9470. type: integer
  9471. hedgeditemid:
  9472. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9473. type: integer
  9474. hedgeflag:
  9475. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9476. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9477. type: integer
  9478. linkdetailid:
  9479. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9480. type: string
  9481. linkstatus:
  9482. description: 关联状态 - 1:成功 2:失败 3:解绑
  9483. type: integer
  9484. middlegoodsid:
  9485. description: 套保品种ID
  9486. type: integer
  9487. name:
  9488. description: 账户名/子账户
  9489. type: string
  9490. optioncode:
  9491. description: '[期货合约]期权代码 [期权]'
  9492. type: string
  9493. ordertype:
  9494. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9495. type: integer
  9496. relatedlot:
  9497. description: '[数量]关联手数'
  9498. type: number
  9499. relatedmode:
  9500. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9501. type: integer
  9502. relatedqty:
  9503. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9504. type: number
  9505. retcode:
  9506. description: 返回码
  9507. type: integer
  9508. saleuserid:
  9509. description: 业务员ID
  9510. type: integer
  9511. tradedate:
  9512. description: 关联交易日(yyyyMMdd)
  9513. type: string
  9514. tradeid:
  9515. description: '[成交单号]内部成交单ID'
  9516. type: string
  9517. tradelot:
  9518. description: 成交手数
  9519. type: integer
  9520. tradeprice:
  9521. description: '[价格]成交价格'
  9522. type: number
  9523. tradetime:
  9524. description: 日期时间
  9525. type: string
  9526. tradetradedate:
  9527. description: 成交交易日(yyyyMMdd)
  9528. type: string
  9529. required:
  9530. - hedgeditemid
  9531. type: object
  9532. models.Externalexchange:
  9533. properties:
  9534. autoid:
  9535. description: AutoID - SEQ_EXTERNALEXCHANGE
  9536. type: integer
  9537. exchangefullname:
  9538. description: 外部交易所全称
  9539. type: string
  9540. exexchangecode:
  9541. description: 外部交易所代码
  9542. type: string
  9543. exexchangename:
  9544. description: 外部交易所名称(简称)
  9545. type: string
  9546. ismarketprice:
  9547. description: 是否支持市价 - 0:不支持 1:支持
  9548. type: integer
  9549. quotegear:
  9550. description: 行情档位(1-10)
  9551. type: integer
  9552. showbrokerflag:
  9553. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9554. type: integer
  9555. updatetime:
  9556. description: 更新时间
  9557. type: string
  9558. required:
  9559. - autoid
  9560. type: object
  9561. models.Funcmenulist:
  9562. properties:
  9563. iconame:
  9564. description: 菜单图标
  9565. type: string
  9566. menutype:
  9567. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9568. type: integer
  9569. parentcode:
  9570. description: 上级资源代码
  9571. type: string
  9572. remark:
  9573. description: 备注
  9574. type: string
  9575. resourcecode:
  9576. description: 资源代码
  9577. type: string
  9578. resourcelevel:
  9579. description: 级别 1-一级 2-二级 3-三级 4-四级
  9580. type: integer
  9581. resourcename:
  9582. description: 资源名
  9583. type: string
  9584. sort:
  9585. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9586. type: integer
  9587. url:
  9588. description: URL
  9589. type: string
  9590. required:
  9591. - resourcecode
  9592. type: object
  9593. models.Goods:
  9594. properties:
  9595. agreeunit:
  9596. description: 合约单位
  9597. type: number
  9598. areauserid:
  9599. description: 所属机构
  9600. type: integer
  9601. auditaccountid:
  9602. description: 审核操作员账号
  9603. type: integer
  9604. audittime:
  9605. description: 审核时间
  9606. type: string
  9607. cancelaccountid:
  9608. description: 注销操作员账号
  9609. type: integer
  9610. canceltime:
  9611. description: 注销时间
  9612. type: string
  9613. closepricemode:
  9614. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9615. type: integer
  9616. closepriceparam:
  9617. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9618. type: number
  9619. createtime:
  9620. description: 创建时间
  9621. type: string
  9622. creatorid:
  9623. description: 创建人
  9624. type: integer
  9625. currencyid:
  9626. description: 报价货币ID
  9627. type: integer
  9628. cutmode:
  9629. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9630. type: integer
  9631. decimalplace:
  9632. description: 报价小数位
  9633. type: integer
  9634. delistingdate:
  9635. description: 商品退市时间(状态:退市) -- 已作废
  9636. type: string
  9637. delistingmode:
  9638. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9639. type: integer
  9640. deliveryflag:
  9641. description: 交割标志 - 0:不可交割 1:可交割
  9642. type: integer
  9643. forceclosemode:
  9644. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9645. type: integer
  9646. forceclosevalue:
  9647. description: 定期强平参数 [收益权]
  9648. type: integer
  9649. goodscode:
  9650. description: 商品代码(内部)
  9651. type: string
  9652. goodscurrencyid:
  9653. description: 合约货币ID
  9654. type: integer
  9655. goodsgroupid:
  9656. description: 所属商品组ID
  9657. type: integer
  9658. goodsid:
  9659. description: 商品ID(自增ID SEQ_GOODS)
  9660. type: integer
  9661. goodsname:
  9662. description: 商品名称
  9663. type: string
  9664. goodsquotetype:
  9665. description: '合约报价类型: 1-直接报价 2-间接报价'
  9666. type: integer
  9667. goodsstatus:
  9668. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9669. type: integer
  9670. goodstradetype:
  9671. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9672. type: integer
  9673. goodunitid:
  9674. description: 报价单位ID
  9675. type: integer
  9676. hasquoter:
  9677. description: 是否有报价商 - 0:无报价商 1:有报价商
  9678. type: integer
  9679. hqprotecttime:
  9680. description: 行情保护时间(秒)
  9681. type: integer
  9682. innerdealmode:
  9683. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9684. type: integer
  9685. isbuylimited:
  9686. description: 是否限制建仓量 - 0:不限制 1:限制
  9687. type: integer
  9688. isvisible:
  9689. description: 游客是否可见 - 0:不可见 1:可见
  9690. type: integer
  9691. lasttradedate:
  9692. description: 最后交易日期(状态:待退市)
  9693. type: string
  9694. listingdate:
  9695. description: 交易开始日期
  9696. type: string
  9697. marketid:
  9698. description: 所属市场ID
  9699. type: integer
  9700. modifierid:
  9701. description: 修改人
  9702. type: integer
  9703. modifystatus:
  9704. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9705. type: integer
  9706. modifytime:
  9707. description: 修改时间
  9708. type: string
  9709. outerdealmode:
  9710. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9711. type: integer
  9712. outgoodscode:
  9713. description: 商品代码(外部)
  9714. type: string
  9715. pictureurl:
  9716. description: 商品图片
  9717. type: string
  9718. qtydecimalplace:
  9719. description: 成交量小数位
  9720. type: integer
  9721. quotegear:
  9722. description: 行情档位(1-10)
  9723. type: integer
  9724. quoteminunit:
  9725. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9726. type: integer
  9727. quoteshowtype:
  9728. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9729. type: integer
  9730. quoteshowtypeinterval:
  9731. description: 行情报价间隔时间(秒)(成交价时为0)
  9732. type: integer
  9733. remark:
  9734. description: 备注
  9735. type: string
  9736. required:
  9737. - goodscode
  9738. - goodsid
  9739. - goodsname
  9740. - marketid
  9741. type: object
  9742. models.GoodsIDAndName:
  9743. properties:
  9744. goodscode:
  9745. description: 商品代码(内部)
  9746. type: string
  9747. goodsid:
  9748. description: 商品ID(自增ID SEQ_GOODS)
  9749. type: integer
  9750. goodsname:
  9751. description: 商品名称
  9752. type: string
  9753. marketid:
  9754. description: 所属市场ID
  9755. type: integer
  9756. required:
  9757. - goodscode
  9758. - goodsid
  9759. - goodsname
  9760. - marketid
  9761. type: object
  9762. models.Goodsgroup:
  9763. properties:
  9764. agreeunit:
  9765. description: 合约单位
  9766. type: number
  9767. canshort:
  9768. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9769. type: integer
  9770. closepricemode:
  9771. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9772. type: integer
  9773. closepriceparam:
  9774. description: 强平最新价浮动比例 - 方式为2时使用
  9775. type: number
  9776. createtime:
  9777. description: 创建时间
  9778. type: string
  9779. creatorid:
  9780. description: 创建人
  9781. type: integer
  9782. currencyid:
  9783. description: 报价货币ID
  9784. type: integer
  9785. decimalplace:
  9786. description: 报价小数位
  9787. type: integer
  9788. exercisetype:
  9789. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9790. type: integer
  9791. exexchangeid:
  9792. description: 外部交易所ID[通道交易]
  9793. type: integer
  9794. goodsgroupid:
  9795. description: 商品组ID(自增ID)
  9796. type: integer
  9797. goodsgroupname:
  9798. description: 商品组名称
  9799. type: string
  9800. goodsgroupstatus:
  9801. description: 商品组状态 - 1:正常 2:注销
  9802. type: integer
  9803. goodunitid:
  9804. description: 报价单位ID
  9805. type: integer
  9806. innerdealmode:
  9807. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9808. type: integer
  9809. isbuylimited:
  9810. description: 是否限制建仓量 - 0:不限制 1:限制
  9811. type: integer
  9812. marketid:
  9813. description: 所属市场ID
  9814. type: integer
  9815. modifierid:
  9816. description: 修改人
  9817. type: integer
  9818. modifytime:
  9819. description: 修改时间
  9820. type: string
  9821. outerdealmode:
  9822. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9823. type: integer
  9824. outergroupcode:
  9825. description: 外部商品组代码[通道交易]
  9826. type: string
  9827. premiumdecimalplace:
  9828. description: 权利金小数位[场外期权]
  9829. type: integer
  9830. premiumspreadalgorithm:
  9831. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9832. type: integer
  9833. premiumspreadvalue:
  9834. description: 权利金点差值[场外期权]
  9835. type: number
  9836. qtydecimalplace:
  9837. description: 成交量小数位
  9838. type: integer
  9839. quotegear:
  9840. description: 行情档位(1-10)
  9841. type: integer
  9842. quoteminunit:
  9843. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9844. type: integer
  9845. quoterid:
  9846. description: 报价商ID[场外期权]
  9847. type: integer
  9848. quotesourcegroupid:
  9849. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9850. type: integer
  9851. syncgoodsqty:
  9852. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9853. type: integer
  9854. required:
  9855. - goodsgroupid
  9856. - goodsgroupname
  9857. - goodsgroupstatus
  9858. - marketid
  9859. type: object
  9860. models.Goodssortbypreposition:
  9861. properties:
  9862. goodscode:
  9863. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9864. type: string
  9865. goodsgroupcode:
  9866. description: 品种代码
  9867. type: string
  9868. prepositionqty:
  9869. description: 昨持仓量
  9870. type: integer
  9871. sortindex:
  9872. description: 排序
  9873. type: integer
  9874. tradedate:
  9875. description: 交易日
  9876. type: string
  9877. updatetime:
  9878. description: 更新时间
  9879. type: string
  9880. required:
  9881. - goodscode
  9882. - tradedate
  9883. type: object
  9884. models.Hedgeinnerholderdetail:
  9885. properties:
  9886. accountid:
  9887. description: 账号ID
  9888. type: integer
  9889. buyorsell:
  9890. description: 方向 - 0:买 1:卖
  9891. type: integer
  9892. freezeqty:
  9893. description: 冻结数量 - 按单平使用
  9894. type: integer
  9895. goodsid:
  9896. description: 商品ID
  9897. type: integer
  9898. holderamount:
  9899. description: 持仓金额 [商品币种]
  9900. type: number
  9901. holderdays:
  9902. description: 剩余冻结天数
  9903. type: integer
  9904. holderprice:
  9905. description: 持仓价格
  9906. type: number
  9907. holderqty:
  9908. description: 持仓数量
  9909. type: integer
  9910. marketid:
  9911. description: 市场ID
  9912. type: integer
  9913. openprice:
  9914. description: 建仓价格
  9915. type: number
  9916. openqty:
  9917. description: 建仓数量
  9918. type: integer
  9919. parentaccountid:
  9920. description: 所属母账户
  9921. type: integer
  9922. releaseamount:
  9923. description: 释放持仓金额[商品币种]
  9924. type: number
  9925. tradeamount:
  9926. description: 成交金额[账户]
  9927. type: number
  9928. tradedate:
  9929. description: 交易日(yyyyMMdd)
  9930. type: string
  9931. tradeid:
  9932. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9933. type: string
  9934. tradetime:
  9935. description: 交易时间
  9936. type: string
  9937. required:
  9938. - buyorsell
  9939. - tradeid
  9940. type: object
  9941. models.Hedgemarketopenlog:
  9942. properties:
  9943. accountid:
  9944. description: 资金账号[外部母账户]
  9945. type: integer
  9946. fcname:
  9947. description: 期货公司名称
  9948. type: string
  9949. handlestatus:
  9950. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9951. type: integer
  9952. marketid:
  9953. description: 市场ID
  9954. type: integer
  9955. status:
  9956. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9957. type: integer
  9958. tradedate:
  9959. description: 交易日(yyyyMMdd)
  9960. type: string
  9961. updatetime:
  9962. description: 更新时间
  9963. type: string
  9964. required:
  9965. - accountid
  9966. type: object
  9967. models.HsbyBuyMyPayOrder:
  9968. properties:
  9969. agreeunit:
  9970. description: 合约单位
  9971. type: number
  9972. buyaccountid:
  9973. description: 买方账号ID[报价币种]
  9974. type: integer
  9975. buyorderid:
  9976. description: 买方委托单号
  9977. type: string
  9978. createtime:
  9979. description: 创建时间
  9980. type: string
  9981. currencysign:
  9982. description: 货币符号
  9983. type: string
  9984. decimalplace:
  9985. description: 报价小数位
  9986. type: integer
  9987. goodscode:
  9988. description: 商品代码(内部)
  9989. type: string
  9990. goodsid:
  9991. description: 商品ID
  9992. type: integer
  9993. goodsname:
  9994. description: 商品名称
  9995. type: string
  9996. marketid:
  9997. description: 市场ID
  9998. type: integer
  9999. offamount:
  10000. description: 优惠金额
  10001. type: number
  10002. originalamount:
  10003. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10004. type: number
  10005. payamount:
  10006. description: 支付金额 = TradeAmount + TradeCharge
  10007. type: number
  10008. payflag:
  10009. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10010. type: integer
  10011. paylimitedtime:
  10012. description: 支付期限
  10013. type: string
  10014. paytime:
  10015. description: 付款时间
  10016. type: string
  10017. picurls1:
  10018. description: 预售商品介绍图片[多张用逗号分隔]
  10019. type: string
  10020. picurls2:
  10021. description: 挂牌商品介绍图片[多张用逗号分隔]
  10022. type: string
  10023. sellaccountid:
  10024. description: 卖方账号ID[报价币种]
  10025. type: integer
  10026. sellorderid:
  10027. description: 卖方委托单号
  10028. type: string
  10029. tradeamount:
  10030. description: 成交金额
  10031. type: number
  10032. tradecharge:
  10033. description: 成交手续费(买方)
  10034. type: number
  10035. tradedate:
  10036. description: 交易日(yyyyMMdd)
  10037. type: string
  10038. tradeid:
  10039. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10040. type: string
  10041. trademode:
  10042. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10043. 21:竞拍-大宗式 22:受托竞价
  10044. type: integer
  10045. tradeprice:
  10046. description: 成交价格
  10047. type: number
  10048. tradeqty:
  10049. description: 成交数量
  10050. type: integer
  10051. vendorname1:
  10052. description: 预售商品供应商名称
  10053. type: string
  10054. vendorname2:
  10055. description: 挂牌商品供应商名称
  10056. type: string
  10057. required:
  10058. - goodscode
  10059. - goodsname
  10060. - tradeid
  10061. - trademode
  10062. type: object
  10063. models.HsbyBuyMyTradeDetail:
  10064. properties:
  10065. accountid:
  10066. description: 账户ID[报价币种]
  10067. type: integer
  10068. agreeunit:
  10069. description: 合约单位
  10070. type: number
  10071. amount:
  10072. description: 金额 = 价格 * 数量 * 合约单位
  10073. type: number
  10074. buyorsell:
  10075. description: 买卖 - 0:买 1:卖
  10076. type: integer
  10077. currencysign:
  10078. description: 货币符号
  10079. type: string
  10080. decimalplace:
  10081. description: 报价小数位
  10082. type: integer
  10083. goodscode:
  10084. description: 商品代码(内部)
  10085. type: string
  10086. goodsid:
  10087. description: 商品ID
  10088. type: integer
  10089. goodsname:
  10090. description: 商品名称
  10091. type: string
  10092. marketid:
  10093. description: 市场ID
  10094. type: integer
  10095. orderamount:
  10096. description: 委托金额
  10097. type: number
  10098. orderid:
  10099. description: 单号(成交单号)
  10100. type: string
  10101. picurls1:
  10102. description: 预售商品介绍图片[多张用逗号分隔]
  10103. type: string
  10104. picurls2:
  10105. description: 挂牌商品介绍图片[多张用逗号分隔]
  10106. type: string
  10107. price:
  10108. description: 价格
  10109. type: number
  10110. qty:
  10111. description: 数量
  10112. type: integer
  10113. time:
  10114. description: 时间
  10115. type: string
  10116. trademode:
  10117. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10118. 21:竞拍-大宗式 22:受托竞价
  10119. type: integer
  10120. vendorname1:
  10121. description: 预售商品供应商名称
  10122. type: string
  10123. vendorname2:
  10124. description: 挂牌商品供应商名称
  10125. type: string
  10126. required:
  10127. - accountid
  10128. - buyorsell
  10129. - goodscode
  10130. - goodsid
  10131. - goodsname
  10132. - marketid
  10133. - orderid
  10134. - qty
  10135. - time
  10136. - trademode
  10137. type: object
  10138. models.HsbyGoodsOrderDetail:
  10139. properties:
  10140. buyorsell:
  10141. description: 买卖 - 0:买 1:卖
  10142. type: integer
  10143. currencysign:
  10144. description: 货币符号
  10145. type: string
  10146. customername:
  10147. description: 客户名称(企业名称),已脱敏
  10148. type: string
  10149. enableqty:
  10150. description: 可用数量
  10151. type: integer
  10152. goodunit:
  10153. description: 报价单位
  10154. type: string
  10155. orderid:
  10156. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10157. type: string
  10158. orderprice:
  10159. description: 委托价格
  10160. type: number
  10161. ordertime:
  10162. description: 委托时间
  10163. type: string
  10164. required:
  10165. - buyorsell
  10166. - orderid
  10167. - ordertime
  10168. type: object
  10169. models.HsbyListingGoodsDetail:
  10170. properties:
  10171. agreeunit:
  10172. description: 合约单位
  10173. type: number
  10174. buymaxqty:
  10175. description: 购买上限 [71] - 0为不限
  10176. type: integer
  10177. currency:
  10178. description: 货币
  10179. type: string
  10180. currencysign:
  10181. description: 货币符号
  10182. type: string
  10183. decimalplace:
  10184. description: 报价小数位
  10185. type: integer
  10186. desccityid:
  10187. description: 目的地(市)ID
  10188. type: integer
  10189. descprovinceid:
  10190. description: 目的地(省)ID
  10191. type: integer
  10192. goodscode:
  10193. description: 商品代码(内部)
  10194. type: string
  10195. goodsdesc:
  10196. description: 商品详情
  10197. type: string
  10198. goodsid:
  10199. description: 商品ID(自增ID SEQ_GOODS)
  10200. type: integer
  10201. goodsname:
  10202. description: 商品名称
  10203. type: string
  10204. goodsprice:
  10205. description: 商品价格
  10206. type: number
  10207. hotindex:
  10208. description: 景点热度
  10209. type: integer
  10210. last:
  10211. description: 现价
  10212. type: number
  10213. limitdown:
  10214. description: 跌停价
  10215. type: number
  10216. limitup:
  10217. description: 涨停价
  10218. type: number
  10219. lotsize:
  10220. description: 手数最小变动单位
  10221. type: integer
  10222. marketid:
  10223. description: 所属市场ID
  10224. type: integer
  10225. picurls:
  10226. description: 介绍图片[多张用逗号分隔]
  10227. type: string
  10228. quoteminunit:
  10229. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10230. type: integer
  10231. stepvalue:
  10232. description: 价格最小变动单位
  10233. type: number
  10234. trademode:
  10235. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10236. 21:竞拍-大宗式 22:受托竞价
  10237. type: integer
  10238. vendorattr:
  10239. description: 供应商附件(多张,逗号分隔)
  10240. type: string
  10241. vendorname:
  10242. description: 供应商名称
  10243. type: string
  10244. vendorphone:
  10245. description: 供应商客服电话
  10246. type: string
  10247. videourls:
  10248. description: 介绍视频[多张用逗号分隔]
  10249. type: string
  10250. required:
  10251. - goodscode
  10252. - goodsid
  10253. - goodsname
  10254. - marketid
  10255. - trademode
  10256. type: object
  10257. models.HsbyMarketGoods:
  10258. properties:
  10259. accountid:
  10260. description: 账户ID[报价币种]
  10261. type: integer
  10262. agreeunit:
  10263. description: 合约单位
  10264. type: number
  10265. buyorsell:
  10266. description: 买卖 - 0:买 1:卖
  10267. type: integer
  10268. categoryid:
  10269. description: 类别ID(WRCATEGORY)
  10270. type: integer
  10271. currency:
  10272. description: 货币
  10273. type: string
  10274. currencysign:
  10275. description: 货币符号
  10276. type: string
  10277. customername:
  10278. description: 卖家名称
  10279. type: string
  10280. decimalplace:
  10281. description: 报价小数位
  10282. type: integer
  10283. goodscode:
  10284. description: 商品代码(内部)
  10285. type: string
  10286. goodsid:
  10287. description: 商品ID
  10288. type: integer
  10289. goodsname:
  10290. description: 商品名称
  10291. type: string
  10292. goodsprice:
  10293. description: 商品价格
  10294. type: number
  10295. hascoupon:
  10296. description: 是否可用优惠卷
  10297. type: boolean
  10298. hotindex:
  10299. description: 景点热度
  10300. type: integer
  10301. marketid:
  10302. description: 市场ID
  10303. type: integer
  10304. orderid:
  10305. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10306. type: string
  10307. orderprice:
  10308. description: 委托价格
  10309. type: number
  10310. orderstatus:
  10311. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10312. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10313. 16:成交失败违约(荷兰式竞拍专用)
  10314. type: integer
  10315. picurls:
  10316. description: 介绍图片[多张用逗号分隔]
  10317. type: string
  10318. quoteminunit:
  10319. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10320. type: integer
  10321. sellUserID:
  10322. description: 卖方UserID
  10323. type: integer
  10324. trademode:
  10325. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10326. 21:竞拍-大宗式 22:受托竞价
  10327. type: integer
  10328. videourls:
  10329. description: 介绍视频[多张用逗号分隔]
  10330. type: string
  10331. required:
  10332. - accountid
  10333. - buyorsell
  10334. - goodscode
  10335. - goodsid
  10336. - goodsname
  10337. - marketid
  10338. - orderid
  10339. - trademode
  10340. type: object
  10341. models.HsbyMarketGoodsDetail:
  10342. properties:
  10343. accountid:
  10344. description: 账户ID[报价币种]
  10345. type: integer
  10346. agreeunit:
  10347. description: 合约单位
  10348. type: number
  10349. buymaxqty:
  10350. description: 购买上限 [71] - 0为不限
  10351. type: integer
  10352. buyorsell:
  10353. description: 买卖 - 0:买 1:卖
  10354. type: integer
  10355. cancelqty:
  10356. description: 撤单数量
  10357. type: integer
  10358. categoryid:
  10359. description: 类别ID(WRCATEGORY)
  10360. type: integer
  10361. currency:
  10362. description: 货币
  10363. type: string
  10364. currencysign:
  10365. description: 货币符号
  10366. type: string
  10367. customername:
  10368. description: 卖家名称
  10369. type: string
  10370. decimalplace:
  10371. description: 报价小数位
  10372. type: integer
  10373. goodscode:
  10374. description: 商品代码(内部)
  10375. type: string
  10376. goodsdesc:
  10377. description: 商品详情
  10378. type: string
  10379. goodsid:
  10380. description: 商品ID
  10381. type: integer
  10382. goodsname:
  10383. description: 商品名称
  10384. type: string
  10385. goodsprice:
  10386. description: 商品价格
  10387. type: number
  10388. hotindex:
  10389. description: 景点热度
  10390. type: integer
  10391. lotsize:
  10392. description: 手数最小变动单位
  10393. type: integer
  10394. marketid:
  10395. description: 市场ID
  10396. type: integer
  10397. orderid:
  10398. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10399. type: string
  10400. orderprice:
  10401. description: 委托价格
  10402. type: number
  10403. orderqty:
  10404. description: 委托数量
  10405. type: integer
  10406. orderstatus:
  10407. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10408. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10409. 16:成交失败违约(荷兰式竞拍专用)
  10410. type: integer
  10411. picurls:
  10412. description: 介绍图片[多张用逗号分隔]
  10413. type: string
  10414. quoteminunit:
  10415. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10416. type: integer
  10417. sellUserID:
  10418. description: 卖方UserID
  10419. type: integer
  10420. trademode:
  10421. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10422. 21:竞拍-大宗式 22:受托竞价
  10423. type: integer
  10424. tradeqty:
  10425. description: 成交数量
  10426. type: integer
  10427. vendorattr:
  10428. description: 供应商附件(多张,逗号分隔)
  10429. type: string
  10430. vendorname:
  10431. description: 供应商名称
  10432. type: string
  10433. vendorphone:
  10434. description: 供应商客服电话
  10435. type: string
  10436. videourls:
  10437. description: 介绍视频[多张用逗号分隔]
  10438. type: string
  10439. required:
  10440. - accountid
  10441. - buyorsell
  10442. - goodscode
  10443. - goodsid
  10444. - goodsname
  10445. - marketid
  10446. - orderid
  10447. - orderqty
  10448. - trademode
  10449. type: object
  10450. models.HsbyMarketInfo:
  10451. properties:
  10452. marketid:
  10453. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10454. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10455. type: integer
  10456. marketname:
  10457. description: 市场名称
  10458. type: string
  10459. marketstatus:
  10460. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10461. type: integer
  10462. trademode:
  10463. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10464. 21:竞拍-大宗式 22:受托竞价
  10465. type: integer
  10466. required:
  10467. - marketid
  10468. - marketstatus
  10469. - trademode
  10470. type: object
  10471. models.HsbyMyGoods:
  10472. properties:
  10473. accountid:
  10474. description: 账号Id
  10475. type: integer
  10476. agreeunit:
  10477. description: 合约单位
  10478. type: number
  10479. buyaverageprice:
  10480. description: 持仓均价
  10481. type: number
  10482. buycurholderamount:
  10483. description: 买当前持仓总金额[商品币种]
  10484. type: number
  10485. buycurpositionqty:
  10486. description: 买当前持仓总数量
  10487. type: integer
  10488. buymaxqty:
  10489. description: 购买上限 [71] - 0为不限
  10490. type: integer
  10491. currencysign:
  10492. description: 货币符号
  10493. type: string
  10494. decimalplace:
  10495. description: 报价小数位
  10496. type: integer
  10497. enableqty:
  10498. description: 可用数量
  10499. type: integer
  10500. goodscode:
  10501. description: 商品代码(内部)
  10502. type: string
  10503. goodsid:
  10504. description: 商品Id
  10505. type: integer
  10506. goodsname:
  10507. description: 商品名称
  10508. type: string
  10509. goodsprice:
  10510. description: 商品价格
  10511. type: number
  10512. goodsstatus:
  10513. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10514. type: integer
  10515. last:
  10516. description: 现价(仅使用于挂牌点选)
  10517. type: number
  10518. limitdown:
  10519. description: 跌停价(仅使用于挂牌点选)
  10520. type: number
  10521. limitup:
  10522. description: 涨停价(仅使用于挂牌点选)
  10523. type: number
  10524. lotsize:
  10525. description: 手数最小变动单位
  10526. type: integer
  10527. marketid:
  10528. description: 所属市场ID
  10529. type: integer
  10530. picurls:
  10531. description: 介绍图片[多张用逗号分隔]
  10532. type: string
  10533. quoteminunit:
  10534. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10535. type: integer
  10536. stepvalue:
  10537. description: 价格最小变动单位
  10538. type: number
  10539. trademode:
  10540. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10541. 21:竞拍-大宗式 22:受托竞价
  10542. type: integer
  10543. required:
  10544. - accountid
  10545. - goodscode
  10546. - goodsid
  10547. - goodsname
  10548. - marketid
  10549. - trademode
  10550. type: object
  10551. models.HsbyMyPackage:
  10552. properties:
  10553. accountid:
  10554. description: 账户ID
  10555. type: integer
  10556. address:
  10557. description: 提货人详细地址
  10558. type: string
  10559. agreeunit:
  10560. description: 合约单位
  10561. type: number
  10562. amount:
  10563. description: 提货金额
  10564. type: number
  10565. auditer:
  10566. description: 审核人
  10567. type: integer
  10568. audittime:
  10569. description: 审核时间
  10570. type: string
  10571. averageprice:
  10572. description: 均价
  10573. type: number
  10574. cardnum:
  10575. description: 提货人证件号码
  10576. type: string
  10577. cardtypeid:
  10578. description: 提货人证件类型
  10579. type: integer
  10580. checkremark:
  10581. description: 审核备注
  10582. type: string
  10583. currencysign:
  10584. description: 货币符号
  10585. type: string
  10586. decimalplace:
  10587. description: 报价小数位
  10588. type: integer
  10589. goodscode:
  10590. description: 商品代码(内部)
  10591. type: string
  10592. goodsid:
  10593. description: 商品ID
  10594. type: integer
  10595. goodsname:
  10596. description: 商品名称
  10597. type: string
  10598. handlestatus:
  10599. description: 处理状态
  10600. type: integer
  10601. marketid:
  10602. description: 市场ID
  10603. type: integer
  10604. phonenum:
  10605. description: 提货人联系方式
  10606. type: string
  10607. picurls:
  10608. description: 介绍图片[多张用逗号分隔]
  10609. type: string
  10610. qty:
  10611. description: 提货数量
  10612. type: number
  10613. recivername:
  10614. description: 提货人姓名
  10615. type: string
  10616. reqtime:
  10617. description: 更新时间
  10618. type: string
  10619. takemode:
  10620. description: 提货方式 - 2:自提 3:配送
  10621. type: integer
  10622. takeorderid:
  10623. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10624. type: string
  10625. takeorderstatus:
  10626. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10627. type: integer
  10628. takeremark:
  10629. description: 提货备注
  10630. type: string
  10631. tradedate:
  10632. description: 交易日(yyyyMMdd)
  10633. type: string
  10634. trademode:
  10635. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10636. 21:竞拍-大宗式 22:受托竞价
  10637. type: integer
  10638. userid:
  10639. description: 用户ID
  10640. type: integer
  10641. vendorname:
  10642. description: 供应商名称
  10643. type: string
  10644. required:
  10645. - goodscode
  10646. - goodsname
  10647. - takeorderid
  10648. - trademode
  10649. type: object
  10650. models.HsbyPreGoods:
  10651. properties:
  10652. agreeunit:
  10653. description: 合约单位
  10654. type: number
  10655. currency:
  10656. description: 货币
  10657. type: string
  10658. currencysign:
  10659. description: 货币符号
  10660. type: string
  10661. decimalplace:
  10662. description: 报价小数位
  10663. type: integer
  10664. desccityid:
  10665. description: 目的地(市)
  10666. type: integer
  10667. descprovinceid:
  10668. description: 目的地(省)
  10669. type: integer
  10670. enableqty:
  10671. description: 剩余数量
  10672. type: integer
  10673. goodscode:
  10674. description: 商品代码(内部)
  10675. type: string
  10676. goodsid:
  10677. description: 商品ID(自增ID SEQ_GOODS)
  10678. type: integer
  10679. goodsname:
  10680. description: 商品名称
  10681. type: string
  10682. goodsstatus:
  10683. description: 商品状态- 2:未上市 3:上市
  10684. type: integer
  10685. lasttradedate:
  10686. description: 最后交易日期(状态:待退市)
  10687. type: string
  10688. listingdate:
  10689. description: 交易开始日期
  10690. type: string
  10691. marketid:
  10692. description: 所属市场ID
  10693. type: integer
  10694. picurls:
  10695. description: 介绍图片[多张用逗号分隔]
  10696. type: string
  10697. presaledqty:
  10698. description: 已预售量(预售结束时更新)
  10699. type: integer
  10700. presaleqty:
  10701. description: 预售数量
  10702. type: integer
  10703. quoteminunit:
  10704. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10705. type: integer
  10706. refprice:
  10707. description: 参考价格[一口价]
  10708. type: number
  10709. relatedgoodsid:
  10710. description: 关联交易合约ID
  10711. type: integer
  10712. trademode:
  10713. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10714. 21:竞拍-大宗式 22:受托竞价
  10715. type: integer
  10716. videourls:
  10717. description: 介绍视频[多张用逗号分隔]
  10718. type: string
  10719. required:
  10720. - goodscode
  10721. - goodsid
  10722. - goodsname
  10723. - marketid
  10724. - trademode
  10725. type: object
  10726. models.HsbyPreGoodsDetail:
  10727. properties:
  10728. agreeunit:
  10729. description: 合约单位
  10730. type: number
  10731. buymaxqty:
  10732. description: 购买上限 [71] - 0为不限
  10733. type: integer
  10734. currency:
  10735. description: 货币
  10736. type: string
  10737. currencysign:
  10738. description: 货币符号
  10739. type: string
  10740. customername:
  10741. description: 发行单位
  10742. type: string
  10743. decimalplace:
  10744. description: 报价小数位
  10745. type: integer
  10746. desccityid:
  10747. description: 目的地(市)ID
  10748. type: integer
  10749. descprovinceid:
  10750. description: 目的地(省)ID
  10751. type: integer
  10752. enableqty:
  10753. description: 剩余数量
  10754. type: integer
  10755. goodscode:
  10756. description: 商品代码(内部)
  10757. type: string
  10758. goodsdesc:
  10759. description: 商品详情
  10760. type: string
  10761. goodsid:
  10762. description: 商品ID(自增ID SEQ_GOODS)
  10763. type: integer
  10764. goodsname:
  10765. description: 商品名称
  10766. type: string
  10767. goodsstatus:
  10768. description: 商品状态- 2:未上市 3:上市
  10769. type: integer
  10770. goodunit:
  10771. description: 报价单位
  10772. type: string
  10773. lasttradedate:
  10774. description: 最后交易日期(状态:待退市)
  10775. type: string
  10776. listingdate:
  10777. description: 交易开始日期
  10778. type: string
  10779. lotsize:
  10780. description: 手数最小变动单位
  10781. type: integer
  10782. marketid:
  10783. description: 所属市场ID
  10784. type: integer
  10785. picurls:
  10786. description: 介绍图片[多张用逗号分隔]
  10787. type: string
  10788. presaledqty:
  10789. description: 已预售量(预售结束时更新)
  10790. type: integer
  10791. presaleqty:
  10792. description: 预售数量
  10793. type: integer
  10794. quoteminunit:
  10795. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10796. type: integer
  10797. refprice:
  10798. description: 参考价格[一口价]
  10799. type: number
  10800. relatedgoodsid:
  10801. description: 关联交易合约ID
  10802. type: integer
  10803. stepvalue:
  10804. description: 价格最小变动单位
  10805. type: number
  10806. trademode:
  10807. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10808. 21:竞拍-大宗式 22:受托竞价
  10809. type: integer
  10810. vendorattr:
  10811. description: 供应商附件(多张,逗号分隔)
  10812. type: string
  10813. vendorname:
  10814. description: 供应商名称
  10815. type: string
  10816. vendorphone:
  10817. description: 供应商客服电话
  10818. type: string
  10819. videourls:
  10820. description: 介绍视频[多张用逗号分隔]
  10821. type: string
  10822. required:
  10823. - goodscode
  10824. - goodsid
  10825. - goodsname
  10826. - marketid
  10827. - trademode
  10828. type: object
  10829. models.HsbySellCollectionOrder:
  10830. properties:
  10831. agreeunit:
  10832. description: 合约单位
  10833. type: number
  10834. buyaccountid:
  10835. description: 买方账号ID[报价币种]
  10836. type: integer
  10837. buyorderid:
  10838. description: 买方委托单号
  10839. type: string
  10840. createtime:
  10841. description: 创建时间
  10842. type: string
  10843. currencysign:
  10844. description: 货币符号
  10845. type: string
  10846. decimalplace:
  10847. description: 报价小数位
  10848. type: integer
  10849. goodscode:
  10850. description: 商品代码(内部)
  10851. type: string
  10852. goodsid:
  10853. description: 商品ID
  10854. type: integer
  10855. goodsname:
  10856. description: 商品名称
  10857. type: string
  10858. marketid:
  10859. description: 市场ID
  10860. type: integer
  10861. offamount:
  10862. description: 优惠金额
  10863. type: number
  10864. payamount:
  10865. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10866. type: number
  10867. payflag:
  10868. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10869. type: integer
  10870. paylimitedtime:
  10871. description: 支付期限
  10872. type: string
  10873. paytime:
  10874. description: 付款时间
  10875. type: string
  10876. picurls:
  10877. description: 商品介绍图片[多张用逗号分隔]
  10878. type: string
  10879. sellaccountid:
  10880. description: 卖方账号ID[报价币种]
  10881. type: integer
  10882. sellorderid:
  10883. description: 卖方委托单号
  10884. type: string
  10885. tradeamount:
  10886. description: 成交金额
  10887. type: number
  10888. tradecharge:
  10889. description: 成交手续费(买方)
  10890. type: number
  10891. tradedate:
  10892. description: 交易日(yyyyMMdd)
  10893. type: string
  10894. tradeid:
  10895. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10896. type: string
  10897. trademode:
  10898. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10899. 21:竞拍-大宗式 22:受托竞价
  10900. type: integer
  10901. tradeprice:
  10902. description: 成交价格
  10903. type: number
  10904. tradeqty:
  10905. description: 成交数量
  10906. type: integer
  10907. required:
  10908. - goodscode
  10909. - goodsname
  10910. - tradeid
  10911. - trademode
  10912. type: object
  10913. models.HsbySellMyDetail:
  10914. properties:
  10915. accountid:
  10916. description: 账户ID[报价币种]
  10917. type: integer
  10918. agreeunit:
  10919. description: 合约单位
  10920. type: number
  10921. buyorsell:
  10922. description: 买卖 - 0:买 1:卖
  10923. type: integer
  10924. currencysign:
  10925. description: 货币符号
  10926. type: string
  10927. decimalplace:
  10928. description: 报价小数位
  10929. type: integer
  10930. goodscode:
  10931. description: 商品代码(内部)
  10932. type: string
  10933. goodsid:
  10934. description: 商品ID
  10935. type: integer
  10936. goodsname:
  10937. description: 商品名称
  10938. type: string
  10939. marketid:
  10940. description: 市场ID
  10941. type: integer
  10942. orderid:
  10943. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10944. type: string
  10945. ordertype:
  10946. description: 单据类型:0 - 发布中, 1 - 已完成
  10947. type: integer
  10948. picurls:
  10949. description: 介绍图片[多张用逗号分隔]
  10950. type: string
  10951. price:
  10952. description: 价格
  10953. type: number
  10954. qty:
  10955. description: 数量
  10956. type: integer
  10957. time:
  10958. description: 时间
  10959. type: string
  10960. trademode:
  10961. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10962. 21:竞拍-大宗式 22:受托竞价
  10963. type: integer
  10964. vendorname:
  10965. description: 供应商名称
  10966. type: string
  10967. required:
  10968. - accountid
  10969. - buyorsell
  10970. - goodscode
  10971. - goodsid
  10972. - goodsname
  10973. - marketid
  10974. - orderid
  10975. - time
  10976. - trademode
  10977. type: object
  10978. models.HsbyTopGoods:
  10979. properties:
  10980. agreeunit:
  10981. description: 合约单位
  10982. type: number
  10983. currency:
  10984. description: 货币
  10985. type: string
  10986. currencysign:
  10987. description: 货币符号
  10988. type: string
  10989. decimalplace:
  10990. description: 报价小数位
  10991. type: integer
  10992. desccityid:
  10993. description: 目的地(市)
  10994. type: integer
  10995. descprovinceid:
  10996. description: 目的地(省)
  10997. type: integer
  10998. goodscode:
  10999. description: 商品代码(内部)
  11000. type: string
  11001. goodsid:
  11002. description: 商品ID(自增ID SEQ_GOODS)
  11003. type: integer
  11004. goodsname:
  11005. description: 商品名称
  11006. type: string
  11007. hotindex:
  11008. description: 景点热度
  11009. type: integer
  11010. last:
  11011. description: 现价
  11012. type: number
  11013. marketid:
  11014. description: 所属市场ID
  11015. type: integer
  11016. picurls:
  11017. description: 介绍图片[多张用逗号分隔]
  11018. type: string
  11019. quoteminunit:
  11020. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11021. type: integer
  11022. trademode:
  11023. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11024. 21:竞拍-大宗式 22:受托竞价
  11025. type: integer
  11026. videourls:
  11027. description: 介绍视频[多张用逗号分隔]
  11028. type: string
  11029. required:
  11030. - goodscode
  11031. - goodsid
  11032. - goodsname
  11033. - marketid
  11034. - trademode
  11035. type: object
  11036. models.HybsMyBuyOrderDetail:
  11037. properties:
  11038. accountid:
  11039. description: 账户ID[报价币种]
  11040. type: integer
  11041. agreeunit:
  11042. description: 合约单位
  11043. type: number
  11044. buyorsell:
  11045. description: 买卖 - 0:买 1:卖
  11046. type: integer
  11047. cancelqty:
  11048. description: 撤单数量
  11049. type: integer
  11050. currencysign:
  11051. description: 货币符号
  11052. type: string
  11053. decimalplace:
  11054. description: 报价小数位
  11055. type: integer
  11056. goodscode:
  11057. description: 商品代码(内部)
  11058. type: string
  11059. goodsid:
  11060. description: 商品ID
  11061. type: integer
  11062. goodsname:
  11063. description: 商品名称
  11064. type: string
  11065. listingselecttype:
  11066. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11067. type: integer
  11068. marketid:
  11069. description: 市场ID
  11070. type: integer
  11071. mybuystatus:
  11072. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11073. type: integer
  11074. orderamount:
  11075. description: 委托金额
  11076. type: number
  11077. orderid:
  11078. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11079. type: string
  11080. orderprice:
  11081. description: 委托价格
  11082. type: number
  11083. orderqty:
  11084. description: 委托数量
  11085. type: integer
  11086. orderstatus:
  11087. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11088. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11089. 16:成交失败违约(荷兰式竞拍专用)
  11090. type: integer
  11091. ordertime:
  11092. description: 委托时间
  11093. type: string
  11094. picurls1:
  11095. description: 预售商品介绍图片[多张用逗号分隔]
  11096. type: string
  11097. picurls2:
  11098. description: 挂牌商品介绍图片[多张用逗号分隔]
  11099. type: string
  11100. trademode:
  11101. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11102. 21:竞拍-大宗式 22:受托竞价
  11103. type: integer
  11104. tradeqty:
  11105. description: 成交数量
  11106. type: integer
  11107. vendorname1:
  11108. description: 预售商品供应商名称
  11109. type: string
  11110. vendorname2:
  11111. description: 挂牌商品供应商名称
  11112. type: string
  11113. required:
  11114. - accountid
  11115. - buyorsell
  11116. - goodscode
  11117. - goodsid
  11118. - goodsname
  11119. - marketid
  11120. - orderid
  11121. - orderqty
  11122. - ordertime
  11123. - trademode
  11124. type: object
  11125. models.InternalEnableTradeDetail:
  11126. properties:
  11127. agreeunit:
  11128. description: 合约乘数
  11129. type: number
  11130. areauserid:
  11131. description: 企业ID
  11132. type: integer
  11133. convertratio:
  11134. description: 品种系数
  11135. type: number
  11136. deliverygoodscode:
  11137. description: 现货品种代码
  11138. type: string
  11139. deliverygoodsid:
  11140. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11141. type: integer
  11142. deliverygoodsname:
  11143. description: 现货品种名称
  11144. type: string
  11145. futurehedgeqty:
  11146. description: '[已关联数量]期货持仓套期量'
  11147. type: number
  11148. goodsid:
  11149. description: 期货合约ID
  11150. type: integer
  11151. hedgeditemid:
  11152. description: 被套期项目ID
  11153. type: string
  11154. hedgeditemnum:
  11155. description: 项目编号
  11156. type: string
  11157. tradeuserid:
  11158. description: 交易用户ID
  11159. type: integer
  11160. unexehedgeqty:
  11161. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11162. type: number
  11163. unexespotqty:
  11164. description: 未执行现货量
  11165. type: number
  11166. wrstandardcode:
  11167. description: 现货品类代码
  11168. type: string
  11169. wrstandardid:
  11170. description: 现货品类ID(SEQ_WRSTANDARD)
  11171. type: integer
  11172. wrstandardname:
  11173. description: 现货品类名称
  11174. type: string
  11175. required:
  11176. - areauserid
  11177. - goodsid
  11178. - tradeuserid
  11179. type: object
  11180. models.InternalUncorrelatedTradeDetail:
  11181. properties:
  11182. accountid:
  11183. description: 账号ID
  11184. type: integer
  11185. accountname:
  11186. description: 套期主体
  11187. type: string
  11188. agreeunit:
  11189. description: 合约乘数
  11190. type: number
  11191. areauserid:
  11192. description: 所属机构
  11193. type: integer
  11194. bizsubjectid:
  11195. description: 归属业务部门ID - SubjectID
  11196. type: integer
  11197. buyorsell:
  11198. description: 方向 - 0:买 1:卖
  11199. type: integer
  11200. channelbuildtype:
  11201. description: 委托单据类型 0:无 1:建仓 2:平仓
  11202. type: integer
  11203. convertratio:
  11204. description: 品种系数
  11205. type: number
  11206. createtime:
  11207. description: 创建时间
  11208. type: string
  11209. creatorid:
  11210. description: 创建人ID
  11211. type: integer
  11212. creatorsrc:
  11213. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11214. type: integer
  11215. enableqty:
  11216. description: 项目可关联数量 = 套保品种数量 - 关联数量
  11217. type: number
  11218. enumdicname:
  11219. description: 单位
  11220. type: string
  11221. goodscode:
  11222. description: 合约代码
  11223. type: string
  11224. goodsgroupid:
  11225. description: 对冲品种ID[期货合约商品组ID]
  11226. type: integer
  11227. goodsid:
  11228. description: 商品ID
  11229. type: integer
  11230. goodsname:
  11231. description: 合约名称
  11232. type: string
  11233. hedgeditemid:
  11234. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11235. type: integer
  11236. hedgeflag:
  11237. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11238. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11239. type: integer
  11240. linkdetailid:
  11241. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11242. type: string
  11243. linkstatus:
  11244. description: 关联状态 - 1:成功 2:失败 3:解绑
  11245. type: integer
  11246. middlegoodsid:
  11247. description: 套保品种ID
  11248. type: integer
  11249. middlegoodsqty:
  11250. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  11251. type: number
  11252. relatedlot:
  11253. description: '[数量]关联手数'
  11254. type: number
  11255. relatedmode:
  11256. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11257. type: integer
  11258. relatedqty:
  11259. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11260. type: number
  11261. retcode:
  11262. description: 返回码
  11263. type: integer
  11264. saleuserid:
  11265. description: 业务员ID
  11266. type: integer
  11267. tradedate:
  11268. description: 关联交易日(yyyyMMdd)
  11269. type: string
  11270. tradeid:
  11271. description: 成交单号
  11272. type: string
  11273. tradelot:
  11274. description: 成交手数
  11275. type: integer
  11276. tradeprice:
  11277. description: 成交价
  11278. type: number
  11279. tradetime:
  11280. description: 成交时间
  11281. type: string
  11282. tradetradedate:
  11283. description: 成交交易日(yyyyMMdd)
  11284. type: string
  11285. tradeuserid:
  11286. description: 交易用户ID
  11287. type: integer
  11288. type: object
  11289. models.Loginaccount:
  11290. properties:
  11291. accountname:
  11292. description: 账户名称
  11293. type: string
  11294. canoutin:
  11295. description: 是否可出入金 - 0:不可 1:可
  11296. type: integer
  11297. clientroleid:
  11298. description: 终端角色ID
  11299. type: integer
  11300. haslogined:
  11301. description: 是否已登录 - 0:未登录 1:已登录
  11302. type: integer
  11303. hasupdatedpwd:
  11304. description: 是否已更改密码 - 0:未修改 1:已修改
  11305. type: integer
  11306. lastloginip:
  11307. description: 最新登录地址
  11308. type: string
  11309. lastloginmode:
  11310. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11311. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11312. type: integer
  11313. lastloginremark:
  11314. description: 最新登录描述
  11315. type: string
  11316. lastlogintime:
  11317. description: 最新登录时间
  11318. type: string
  11319. logincode:
  11320. description: 登录代码
  11321. type: string
  11322. loginfailnum:
  11323. description: 连续登录失败次数(登录成功时清零)
  11324. type: integer
  11325. loginid:
  11326. description: 登陆账号
  11327. type: integer
  11328. loginport:
  11329. description: 最新登录端口
  11330. type: integer
  11331. loginstatus:
  11332. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11333. type: integer
  11334. loginusertype:
  11335. description: 登录账号类型 - 1:投资者 2:机构交易员
  11336. type: integer
  11337. mobile:
  11338. description: 手机号码(加密存储)
  11339. type: string
  11340. modifierid:
  11341. description: 修改人
  11342. type: integer
  11343. modifysrc:
  11344. description: 审核来源 - 1:管理端 2:终端
  11345. type: integer
  11346. modifytime:
  11347. description: 修改时间
  11348. type: string
  11349. password:
  11350. description: 登陆密码
  11351. type: string
  11352. pwdwrongcount:
  11353. description: 密码错误次数
  11354. type: integer
  11355. relateduserid:
  11356. description: 关联用户ID(机构)
  11357. type: integer
  11358. taaccountrighttype:
  11359. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11360. type: integer
  11361. unfreezetime:
  11362. description: 账户解冻时间
  11363. type: string
  11364. userid:
  11365. description: 用户ID
  11366. type: integer
  11367. required:
  11368. - loginid
  11369. type: object
  11370. models.MainAccountInfo:
  11371. properties:
  11372. accountid:
  11373. description: 账号id
  11374. type: integer
  11375. accountname:
  11376. description: 账号名称(taaccount表中的名称)
  11377. type: string
  11378. appid:
  11379. description: AppID
  11380. type: string
  11381. authcode:
  11382. description: 授权码
  11383. type: string
  11384. brokerid:
  11385. description: 经纪商id
  11386. type: string
  11387. fcid:
  11388. description: 期货公司id
  11389. type: integer
  11390. fcname:
  11391. description: 期货公司代码
  11392. type: string
  11393. hedgeaccountcode:
  11394. description: 外部账号代码(主账号登录代码)
  11395. type: string
  11396. hedgeaccountpwd:
  11397. description: 密码
  11398. type: string
  11399. ismain:
  11400. description: 是否主账号
  11401. type: integer
  11402. relateduserid:
  11403. description: 关联用户id
  11404. type: integer
  11405. userid:
  11406. description: 关联用户id
  11407. type: integer
  11408. type: object
  11409. models.Market:
  11410. properties:
  11411. auctionwrtype:
  11412. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11413. type: integer
  11414. canacceptquote:
  11415. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11416. type: integer
  11417. cangoodsexercise:
  11418. description: '[期权]是否可现货行权- 0:否 1:是'
  11419. type: integer
  11420. cangoodsexercisetype:
  11421. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11422. type: integer
  11423. canmanualquotestrike:
  11424. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11425. type: integer
  11426. canmutistage:
  11427. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11428. type: integer
  11429. canpreexercise:
  11430. description: '[期权]是否可预申报- 0:否 1:是'
  11431. type: integer
  11432. clearinterval:
  11433. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11434. type: integer
  11435. contracttmp:
  11436. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11437. type: string
  11438. exchareaid:
  11439. description: 所属交易所,可以没有
  11440. type: integer
  11441. goodstype:
  11442. description: 商品类型 - 1:交易商品 2:仓单商品
  11443. type: integer
  11444. hasrebate:
  11445. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11446. type: integer
  11447. hastradecredit:
  11448. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11449. type: integer
  11450. haswr:
  11451. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11452. type: integer
  11453. isdeductmargin:
  11454. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11455. type: integer
  11456. isrecordsource:
  11457. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11458. type: integer
  11459. isreleasemargin:
  11460. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11461. type: integer
  11462. marginformula:
  11463. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11464. type: integer
  11465. marginformula2:
  11466. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11467. type: integer
  11468. marketid:
  11469. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11470. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11471. type: integer
  11472. marketname:
  11473. description: 市场名称
  11474. type: string
  11475. marketserviceid:
  11476. description: 市场服务ID
  11477. type: integer
  11478. marketstatus:
  11479. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11480. type: integer
  11481. markettype:
  11482. description: 市场类型- 1:非交易服务 2:交易服务
  11483. type: integer
  11484. matchermode:
  11485. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11486. type: integer
  11487. openmethod:
  11488. description: 开盘模式 - 0 自动 1手动
  11489. type: integer
  11490. otcuserid:
  11491. description: 场外期权做市商[场外期权]
  11492. type: integer
  11493. outersynctime:
  11494. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11495. type: string
  11496. pendingflag:
  11497. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11498. type: integer
  11499. pendingtime:
  11500. description: 待开市时间[通道交易-对冲](HH:mm)
  11501. type: string
  11502. performancetempid:
  11503. description: 履约计划模板ID - 作废
  11504. type: integer
  11505. premiumquotemode:
  11506. description: 权利金报价方式 - 1:自动 2:手动
  11507. type: integer
  11508. rebateratio:
  11509. description: 返利比率[竞价式]
  11510. type: number
  11511. reckonorder:
  11512. description: 结算顺序
  11513. type: integer
  11514. reckonpricealgorithm:
  11515. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11516. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11517. type: integer
  11518. reckonpriceparam:
  11519. description: 结算价参数
  11520. type: integer
  11521. reckontime:
  11522. description: 结算时间[通道交易-对冲](HH:mm)
  11523. type: string
  11524. roleprioritytype:
  11525. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11526. type: integer
  11527. selllistingauditflag:
  11528. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11529. type: integer
  11530. trademarkettype:
  11531. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11532. type: integer
  11533. trademode:
  11534. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11535. 21:竞拍-大宗式 22:受托竞价
  11536. type: integer
  11537. tradeproperty:
  11538. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11539. 8:场外期权
  11540. type: integer
  11541. tradetype:
  11542. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11543. type: integer
  11544. required:
  11545. - marketid
  11546. - marketstatus
  11547. - openmethod
  11548. - reckonpricealgorithm
  11549. - trademode
  11550. - tradeproperty
  11551. type: object
  11552. models.Marketcalendar:
  11553. properties:
  11554. holidaydate:
  11555. description: 节假日期(yyyy-MM-dd)
  11556. type: string
  11557. marketid:
  11558. description: 市场ID
  11559. type: integer
  11560. type: object
  11561. models.Marketrun:
  11562. properties:
  11563. afternexttradedate:
  11564. description: 下下交易日
  11565. type: string
  11566. clearquoteflag:
  11567. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11568. type: integer
  11569. lastreckondate:
  11570. description: 最新交易日(结算成功)
  11571. type: string
  11572. machinedate:
  11573. description: 机器时间
  11574. type: string
  11575. manualflag:
  11576. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11577. type: integer
  11578. marketid:
  11579. description: 市场ID
  11580. type: integer
  11581. nexttradedate:
  11582. description: 下一交易日
  11583. type: string
  11584. pretradedate:
  11585. description: 上一交易日
  11586. type: string
  11587. reckonflag:
  11588. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11589. type: integer
  11590. runstatus:
  11591. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11592. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11593. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11594. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11595. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11596. 62.今日免清算
  11597. type: integer
  11598. sectionid:
  11599. description: 时间段号[多时段时用]
  11600. type: integer
  11601. tradedate:
  11602. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11603. type: string
  11604. tradedate2:
  11605. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11606. type: string
  11607. updatetime:
  11608. description: 更新时间
  11609. type: string
  11610. required:
  11611. - marketid
  11612. - nexttradedate
  11613. - reckonflag
  11614. - runstatus
  11615. - tradedate
  11616. - tradedate2
  11617. type: object
  11618. models.Messageboard:
  11619. properties:
  11620. contactnum:
  11621. description: 联系电话
  11622. type: string
  11623. createtime:
  11624. description: 创建时间
  11625. type: string
  11626. message:
  11627. description: 留言信息
  11628. type: string
  11629. messageboardid:
  11630. description: 留言簿ID(SEQ_MessageBoard)
  11631. type: integer
  11632. userid:
  11633. description: 用户ID
  11634. type: integer
  11635. required:
  11636. - messageboardid
  11637. type: object
  11638. models.MyCoupon:
  11639. properties:
  11640. accountid:
  11641. description: 资金账户ID
  11642. type: integer
  11643. areauserid:
  11644. description: 所属机构
  11645. type: integer
  11646. conditionvalue:
  11647. description: 条件阈值(可为0)
  11648. type: number
  11649. couponcategroy:
  11650. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11651. type: integer
  11652. couponname:
  11653. description: 优惠券名称
  11654. type: string
  11655. coupontypeid:
  11656. description: 优惠券类型ID
  11657. type: string
  11658. couponvalue:
  11659. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11660. type: number
  11661. curfreezeqty:
  11662. description: 期末冻结数量
  11663. type: integer
  11664. curqty:
  11665. description: 期末数量
  11666. type: integer
  11667. isgeneral:
  11668. description: 是否通用券 - 0:否 1:是
  11669. type: integer
  11670. isunusable:
  11671. description: 是否不可用
  11672. type: boolean
  11673. limitedflag:
  11674. description: 是否指定商品 - 0:不限 1:限制
  11675. type: integer
  11676. limitedgoodsids:
  11677. description: 指定商品IDs[逗号分隔,前后加逗号]
  11678. type: string
  11679. orifreezeqty:
  11680. description: 期初冻结数量
  11681. type: integer
  11682. oriqty:
  11683. description: 期初数量
  11684. type: integer
  11685. reasontype:
  11686. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11687. type: integer
  11688. todaydecrease:
  11689. description: 今日减少
  11690. type: integer
  11691. todayincrease:
  11692. description: 今日增加
  11693. type: integer
  11694. userid:
  11695. description: 用户ID
  11696. type: integer
  11697. userscope:
  11698. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11699. type: string
  11700. required:
  11701. - accountid
  11702. - coupontypeid
  11703. type: object
  11704. models.MyCouponHold:
  11705. properties:
  11706. accountid:
  11707. description: 资金账户ID
  11708. type: integer
  11709. conditionvalue:
  11710. description: 条件阈值(可为0)
  11711. type: number
  11712. couponcategroy:
  11713. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11714. type: integer
  11715. couponholdid:
  11716. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11717. type: string
  11718. couponname:
  11719. description: 优惠券名称
  11720. type: string
  11721. coupontypeid:
  11722. description: 优惠券类型ID - SEQ_COUPONTYPE
  11723. type: string
  11724. couponvalue:
  11725. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11726. type: number
  11727. createtime:
  11728. description: 创建时间
  11729. type: string
  11730. enddate:
  11731. description: 结束日期
  11732. type: string
  11733. giveapplyid:
  11734. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11735. type: integer
  11736. holdstatus:
  11737. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11738. type: integer
  11739. isgeneral:
  11740. description: 是否通用券 - 0:否 1:是
  11741. type: integer
  11742. limitedflag:
  11743. description: 是否指定商品 - 0:不限 1:限制
  11744. type: integer
  11745. limitedgoodsids:
  11746. description: 指定商品IDs[逗号分隔]
  11747. type: string
  11748. qty:
  11749. description: 数量(按1平铺)
  11750. type: integer
  11751. startdate:
  11752. description: 开始日期
  11753. type: string
  11754. userid:
  11755. description: 用户ID
  11756. type: integer
  11757. userscope:
  11758. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11759. type: string
  11760. required:
  11761. - couponholdid
  11762. type: object
  11763. models.MyUsedCoupon:
  11764. properties:
  11765. accountid:
  11766. description: 资金账户ID(买方)
  11767. type: integer
  11768. conditionvalue:
  11769. description: 条件阈值(可为0)
  11770. type: number
  11771. couponcategroy:
  11772. description: 种类 - 1:现金券 2:折扣券
  11773. type: integer
  11774. couponname:
  11775. description: 优惠券名称
  11776. type: string
  11777. coupontypeid:
  11778. description: 优惠券类型ID(买方)
  11779. type: string
  11780. couponvalue:
  11781. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11782. type: number
  11783. createtime:
  11784. description: 创建时间
  11785. type: string
  11786. goodsid:
  11787. description: 商品ID
  11788. type: integer
  11789. handlestatus:
  11790. description: 处理状态
  11791. type: integer
  11792. marketid:
  11793. description: 市场ID
  11794. type: integer
  11795. offamount:
  11796. description: 优惠金额
  11797. type: number
  11798. orderid:
  11799. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11800. type: string
  11801. sellaccountid:
  11802. description: 资金账户ID(卖方)
  11803. type: integer
  11804. tradeamount:
  11805. description: 成交金额
  11806. type: number
  11807. tradeid:
  11808. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11809. type: string
  11810. usedqty:
  11811. description: 使用数量
  11812. type: integer
  11813. required:
  11814. - coupontypeid
  11815. - orderid
  11816. type: object
  11817. models.OperationPrimaryMenu:
  11818. properties:
  11819. Children:
  11820. description: 二级功能菜单
  11821. items:
  11822. $ref: '#/definitions/models.OperationSecondaryMenu'
  11823. type: array
  11824. Key:
  11825. description: 菜单KEY
  11826. type: string
  11827. Label:
  11828. description: 菜单标题
  11829. type: string
  11830. type: object
  11831. models.OperationSecondaryMenu:
  11832. properties:
  11833. Key:
  11834. description: 菜单KEY
  11835. type: string
  11836. Label:
  11837. description: 菜单标题
  11838. type: string
  11839. TabList:
  11840. description: 三级功能菜单
  11841. items:
  11842. $ref: '#/definitions/models.OperationTabMenu'
  11843. type: array
  11844. type: object
  11845. models.OperationTabMenu:
  11846. properties:
  11847. Key:
  11848. description: 菜单KEY
  11849. type: string
  11850. Label:
  11851. description: 菜单标题
  11852. type: string
  11853. type: object
  11854. models.Patradelinkdetail:
  11855. properties:
  11856. accountname:
  11857. description: 套期主体
  11858. type: string
  11859. agreeunit:
  11860. description: 合约乘数
  11861. type: number
  11862. amount:
  11863. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11864. type: number
  11865. areauserid:
  11866. description: 所属机构
  11867. type: integer
  11868. bizsubjectid:
  11869. description: 归属业务部门ID - SubjectID
  11870. type: integer
  11871. buyorsell:
  11872. description: 方向 - 0:买 1:卖
  11873. type: integer
  11874. convertratio:
  11875. description: 品种系数
  11876. type: number
  11877. convertratiochange:
  11878. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11879. type: number
  11880. createtime:
  11881. description: '[日期时间]创建时间'
  11882. type: string
  11883. creatorid:
  11884. description: 创建人ID
  11885. type: integer
  11886. creatorsrc:
  11887. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11888. type: integer
  11889. goodscode:
  11890. description: 商品代码(内部)
  11891. type: string
  11892. goodsgroupid:
  11893. description: 对冲品种ID[期货合约商品组ID]
  11894. type: integer
  11895. goodsid:
  11896. description: 商品ID
  11897. type: integer
  11898. hedgeditemid:
  11899. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11900. type: integer
  11901. hedgeflag:
  11902. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11903. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11904. type: integer
  11905. linkdetailid:
  11906. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11907. type: string
  11908. linkstatus:
  11909. description: 关联状态 - 1:成功 2:失败 3:解绑
  11910. type: integer
  11911. middlegoodsid:
  11912. description: 套保品种ID
  11913. type: integer
  11914. name:
  11915. description: 账户名/子账户
  11916. type: string
  11917. optioncode:
  11918. description: '[期货合约]期权代码 [期权]'
  11919. type: string
  11920. ordertype:
  11921. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11922. type: integer
  11923. relatedlot:
  11924. description: '[数量]关联手数'
  11925. type: number
  11926. relatedmode:
  11927. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11928. type: integer
  11929. relatedqty:
  11930. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11931. type: number
  11932. retcode:
  11933. description: 返回码
  11934. type: integer
  11935. saleuserid:
  11936. description: 业务员ID
  11937. type: integer
  11938. tradedate:
  11939. description: 关联交易日(yyyyMMdd)
  11940. type: string
  11941. tradeid:
  11942. description: '[成交单号]内部成交单ID'
  11943. type: string
  11944. tradelot:
  11945. description: 成交手数
  11946. type: integer
  11947. tradeprice:
  11948. description: '[价格]成交价格'
  11949. type: number
  11950. tradetradedate:
  11951. description: 成交交易日(yyyyMMdd)
  11952. type: string
  11953. type: object
  11954. models.QhjAccountOutInApply:
  11955. properties:
  11956. accountcode:
  11957. description: 资金账号
  11958. type: string
  11959. accountname:
  11960. description: 用户名称(名称)
  11961. type: string
  11962. accountpwd:
  11963. description: 资金密码
  11964. type: string
  11965. accountticket:
  11966. description: 最新账户服务流水号
  11967. type: string
  11968. amount:
  11969. description: 金额
  11970. type: number
  11971. applyremark:
  11972. description: 申请备注
  11973. type: string
  11974. applystatus:
  11975. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11976. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11977. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11978. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11979. type: integer
  11980. auditid:
  11981. description: 审核人
  11982. type: integer
  11983. audittime:
  11984. description: 审核时间
  11985. type: string
  11986. bank_apply_ticket:
  11987. description: 银行申请流水
  11988. type: string
  11989. bankaccountname:
  11990. description: 银行账户名
  11991. type: string
  11992. bankaccountno:
  11993. description: 银行卡号
  11994. type: string
  11995. bankid:
  11996. description: 银行编号
  11997. type: string
  11998. bankticket:
  11999. description: 银行流水
  12000. type: string
  12001. branchbankid:
  12002. description: 银行支行号
  12003. type: string
  12004. branchbankname:
  12005. description: 银行支行名称
  12006. type: string
  12007. capamountout:
  12008. description: 出金(劣后本金) - 外部子账户
  12009. type: number
  12010. certificatephotourl:
  12011. description: 凭证地址
  12012. type: string
  12013. charge:
  12014. description: 手续费
  12015. type: number
  12016. checkerrorflag:
  12017. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12018. type: integer
  12019. currency:
  12020. description: 币种
  12021. type: string
  12022. cusbankid:
  12023. description: 托管银行编号
  12024. type: string
  12025. exchticket:
  12026. description: 银行服务流水号
  12027. type: string
  12028. executetype:
  12029. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12030. 7:外部子账户:入金 8:外部子账户:出金'
  12031. type: integer
  12032. extendinfo:
  12033. description: 扩展信息
  12034. type: string
  12035. extoperateid:
  12036. description: 交易服务流水号
  12037. type: integer
  12038. infamount:
  12039. description: 劣后金额(自有)
  12040. type: number
  12041. logincode:
  12042. description: 登录账号(账号)
  12043. type: string
  12044. netaddr:
  12045. description: 调转网址
  12046. type: string
  12047. priamount:
  12048. description: 优先金额(授信)
  12049. type: number
  12050. reauditid:
  12051. description: 复审人
  12052. type: integer
  12053. reauditremark:
  12054. description: 复审备注
  12055. type: string
  12056. reaudittime:
  12057. description: 复审时间
  12058. type: string
  12059. relatedorderid:
  12060. description: 三方关联ID
  12061. type: string
  12062. remark:
  12063. description: 备注
  12064. type: string
  12065. remark2:
  12066. description: 备注(失败原因)
  12067. type: string
  12068. soucreamount:
  12069. description: 原始出入金金额
  12070. type: number
  12071. soucrecurrencyid:
  12072. description: 原始出入金币种
  12073. type: integer
  12074. tradedate:
  12075. description: 交易日(yyyyMMdd)
  12076. type: string
  12077. updatetime:
  12078. description: 更新时间(申请时间)
  12079. type: string
  12080. userid:
  12081. description: 用户id
  12082. type: integer
  12083. userinfotype:
  12084. description: 账户类型 1-个人 2-企业
  12085. type: integer
  12086. type: object
  12087. models.QhjAgreementChangeLog:
  12088. properties:
  12089. agreementcontent:
  12090. description: 协议内容
  12091. type: string
  12092. agreementfrequency:
  12093. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12094. type: integer
  12095. agreementid:
  12096. description: 协议ID
  12097. type: integer
  12098. agreementname:
  12099. description: 协议名称
  12100. type: string
  12101. agreementno:
  12102. description: 协议编号
  12103. type: string
  12104. agreementtype:
  12105. description: 协议类型 - 1:注册 2:登录 3:交易
  12106. type: integer
  12107. agreementversion:
  12108. description: 协议版本号
  12109. type: integer
  12110. logid:
  12111. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12112. type: integer
  12113. reviserid:
  12114. description: 修改人
  12115. type: integer
  12116. revisersrc:
  12117. description: 修改来源 - 1:管理端 2:终端
  12118. type: integer
  12119. updatetime:
  12120. description: 更新时间
  12121. type: string
  12122. type: object
  12123. models.QhjAgreementConfig:
  12124. properties:
  12125. agreementcontent:
  12126. description: 协议内容
  12127. type: string
  12128. agreementfrequency:
  12129. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12130. type: integer
  12131. agreementid:
  12132. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12133. type: integer
  12134. agreementname:
  12135. description: 协议名称
  12136. type: string
  12137. agreementno:
  12138. description: 协议编号
  12139. type: string
  12140. agreementtype:
  12141. description: 协议类型 - 1:注册 2:登录 3:交易
  12142. type: integer
  12143. agreementversion:
  12144. description: 协议版本号(从1开始每次修改加1)
  12145. type: integer
  12146. createtime:
  12147. description: 创建时间
  12148. type: string
  12149. creatorid:
  12150. description: 创建人
  12151. type: integer
  12152. creatorsrc:
  12153. description: 创建来源 - 1:管理端 2:终端
  12154. type: integer
  12155. isvalid:
  12156. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12157. type: integer
  12158. reviserid:
  12159. description: 修改人
  12160. type: integer
  12161. revisersrc:
  12162. description: 修改来源 - 1:管理端 2:终端
  12163. type: integer
  12164. updatetime:
  12165. description: 更新时间
  12166. type: string
  12167. type: object
  12168. models.QhjAreaFinanceConfig:
  12169. properties:
  12170. additionalratio:
  12171. description: 追加款比例
  12172. type: number
  12173. advanceratio:
  12174. description: 预付款比例
  12175. type: number
  12176. alarmratio:
  12177. description: 告警比例
  12178. type: number
  12179. consumptiondirectreward:
  12180. description: 消费直推奖励值
  12181. type: number
  12182. consumptionenabled:
  12183. description: 是否启用消费奖励 - 0:不启用 1:启用
  12184. type: integer
  12185. consumptionindirectreward:
  12186. description: 消费间推奖励值
  12187. type: number
  12188. consumptionmodel:
  12189. description: 消费奖励方式 - 1:比率 2:固定
  12190. type: integer
  12191. customerservicenum:
  12192. description: 客服电话
  12193. type: string
  12194. dayinterestrate:
  12195. description: 日利率
  12196. type: number
  12197. disableconsumptiontips:
  12198. description: 关闭消费奖励提示
  12199. type: string
  12200. modifierid:
  12201. description: 修改人ID
  12202. type: integer
  12203. modifysrc:
  12204. description: 审核来源 - 1:管理端 2:终端
  12205. type: integer
  12206. modifytime:
  12207. description: 修改时间
  12208. type: string
  12209. promotionvalue:
  12210. description: 推广奖励值(固定)
  12211. type: number
  12212. scoreconfigvalue1:
  12213. description: 提货积分配置1
  12214. type: integer
  12215. scoreconfigvalue2:
  12216. description: 提货积分配置2
  12217. type: integer
  12218. userid:
  12219. description: 机构用户ID其他做市关系,都设置为 1
  12220. type: integer
  12221. username:
  12222. description: 用户名称
  12223. type: string
  12224. type: object
  12225. models.QhjBankAccountSign:
  12226. properties:
  12227. accountcode:
  12228. description: 资金账号
  12229. type: string
  12230. accountname:
  12231. description: 资金账号对应的账号名(UserName)
  12232. type: string
  12233. accountname2:
  12234. description: 资金账号对应的账号名(UserName) - 密文
  12235. type: string
  12236. accounttype:
  12237. description: 账户类型(UserType)
  12238. type: integer
  12239. applicationtime:
  12240. description: 最后一次更新的时间
  12241. type: string
  12242. applyexchticket:
  12243. description: 申请流水
  12244. type: string
  12245. auditid:
  12246. description: 审核人
  12247. type: integer
  12248. audittime:
  12249. description: 审核时间
  12250. type: string
  12251. bankaccountname:
  12252. description: 签约银行卡账号名
  12253. type: string
  12254. bankaccountname2:
  12255. description: 签约银行卡账号名 - 密文
  12256. type: string
  12257. bankaccountno:
  12258. description: 银行卡号
  12259. type: string
  12260. bankaccountno2:
  12261. description: 银行卡号 - 密文
  12262. type: string
  12263. bankaccounttype:
  12264. description: 银行账户类型 - 1-对私; 2-对公
  12265. type: integer
  12266. bankcardtype:
  12267. description: 银行卡类型
  12268. type: integer
  12269. bankchildaccount:
  12270. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12271. type: string
  12272. bankcity:
  12273. description: 开户行城市
  12274. type: string
  12275. bankid:
  12276. description: 签约银行ID
  12277. type: string
  12278. bankname:
  12279. description: 签约银行名称
  12280. type: string
  12281. bankprovince:
  12282. description: 开户行省份
  12283. type: string
  12284. branchbankid:
  12285. description: 签约银行支行号
  12286. type: string
  12287. branchbankname:
  12288. description: 签约银行支行名称
  12289. type: string
  12290. cardno:
  12291. description: 证件号码
  12292. type: string
  12293. cardno2:
  12294. description: 证件号码 - 密文
  12295. type: string
  12296. cardtype:
  12297. description: 证件类型
  12298. type: string
  12299. currency:
  12300. description: 币种
  12301. type: string
  12302. cusbankid:
  12303. description: 托管银行编号
  12304. type: string
  12305. direct:
  12306. description: 方向(可以判断那方先发起的签约)
  12307. type: integer
  12308. exchticket:
  12309. description: 最后一次签约成功的流水号
  12310. type: string
  12311. extendinfo:
  12312. description: 扩展信息(JSON字符串)
  12313. type: string
  12314. mobilephone:
  12315. description: 手机号
  12316. type: string
  12317. mobilephone2:
  12318. description: 手机号 - 密文
  12319. type: string
  12320. netaddr:
  12321. description: 调转网址
  12322. type: string
  12323. relateduserid:
  12324. description: 关联使用者userid
  12325. type: integer
  12326. signstatus:
  12327. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12328. 10:审核拒绝 11:换签待审核
  12329. type: integer
  12330. updatetime:
  12331. description: 更新时间(签解约更新时间)
  12332. type: string
  12333. type: object
  12334. models.QhjBankInfo:
  12335. properties:
  12336. bankid:
  12337. description: 银行ID
  12338. type: string
  12339. bankname:
  12340. description: 银行名称
  12341. type: string
  12342. clearbankno:
  12343. description: 清算系统银行编号
  12344. type: string
  12345. orderindex:
  12346. description: 排序顺序
  12347. type: integer
  12348. status:
  12349. description: 状态 - 0:正常 1:注销
  12350. type: integer
  12351. type: object
  12352. models.QhjBrokerApply:
  12353. properties:
  12354. applicantid:
  12355. description: 申请人
  12356. type: integer
  12357. applysrc:
  12358. description: 申请来源 - 1:管理端 2:终端
  12359. type: integer
  12360. applystatus:
  12361. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12362. type: integer
  12363. applytime:
  12364. description: 申请时间
  12365. type: string
  12366. auditorid:
  12367. description: 审核人
  12368. type: integer
  12369. auditremark:
  12370. description: 审核备注
  12371. type: string
  12372. auditsrc:
  12373. description: 审核来源 - 1:管理端 2:终端
  12374. type: integer
  12375. audittime:
  12376. description: 审核时间
  12377. type: string
  12378. audittradedate:
  12379. description: 审核交易日(yyyyMMdd)
  12380. type: string
  12381. brokerapplyid:
  12382. description: 申请ID(SEQ_BROKERAPPLY)
  12383. type: integer
  12384. cardbackphotourl:
  12385. description: 证件背面图片地址
  12386. type: string
  12387. cardfrontphotourl:
  12388. description: 证件正面图片地址
  12389. type: string
  12390. cardnum:
  12391. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12392. type: string
  12393. customername:
  12394. description: 姓名
  12395. type: string
  12396. logincode:
  12397. description: 登录代码
  12398. type: string
  12399. mobile:
  12400. description: 手机号码
  12401. type: string
  12402. parentuserid:
  12403. description: 所属机构id
  12404. type: integer
  12405. parentusername:
  12406. description: 所属机构名称
  12407. type: string
  12408. refereeuserid:
  12409. description: 推荐人id(经纪人)
  12410. type: integer
  12411. refernum:
  12412. description: 推荐码
  12413. type: string
  12414. remark:
  12415. description: 备注
  12416. type: string
  12417. subarealevelpath:
  12418. description: 层级路径
  12419. type: string
  12420. tradedate:
  12421. description: 交易日(yyyyMMdd)
  12422. type: string
  12423. userid:
  12424. description: 申请人用户ID
  12425. type: integer
  12426. userinfotype:
  12427. description: 用户类型 1-个人 2-企业
  12428. type: integer
  12429. username:
  12430. description: 用户名称
  12431. type: string
  12432. type: object
  12433. models.QhjBrokerApplyEx:
  12434. properties:
  12435. applylist:
  12436. description: 经纪人申请记录(只返回最新一条)
  12437. items:
  12438. $ref: '#/definitions/models.QhjBrokerApply'
  12439. type: array
  12440. canrecommend:
  12441. description: 是否经纪人 0-不是 1-是
  12442. type: integer
  12443. refernum:
  12444. description: 推荐码
  12445. type: string
  12446. userid:
  12447. description: 用户id
  12448. type: integer
  12449. userinfotype:
  12450. description: 用户类型 1-个人 2-企业
  12451. type: integer
  12452. type: object
  12453. models.QhjBrokerRewardLog:
  12454. properties:
  12455. accountid:
  12456. description: 资金账号ID
  12457. type: integer
  12458. createtime:
  12459. description: 创建时间(时间)
  12460. type: string
  12461. handlestatus:
  12462. description: 处理状态
  12463. type: integer
  12464. logid:
  12465. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12466. type: string
  12467. marketid:
  12468. description: 市场ID
  12469. type: integer
  12470. mmaccountid:
  12471. description: 做市商资金账号ID
  12472. type: string
  12473. mmuserid:
  12474. description: 做市商用户ID
  12475. type: string
  12476. rewardamount:
  12477. description: 奖励金额
  12478. type: number
  12479. rewardmodel:
  12480. description: 消费奖励方式 - 1:比率 2:固定
  12481. type: integer
  12482. rewardtype:
  12483. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12484. type: integer
  12485. rewardvalue:
  12486. description: 配置奖励值
  12487. type: number
  12488. srcamount:
  12489. description: 成交金额 [消费奖励] (金额)
  12490. type: number
  12491. srcgoodsid:
  12492. description: 来源商品ID [消费奖励]
  12493. type: string
  12494. srctime:
  12495. description: 来源时间 (成交时间) [消费奖励]
  12496. type: string
  12497. srctradeid:
  12498. description: 来源成交单ID [消费奖励] - 排除提货成交
  12499. type: string
  12500. srcuserid:
  12501. description: 来源用户ID(推广账户)
  12502. type: string
  12503. srcusername:
  12504. description: 推广账户名称
  12505. type: string
  12506. tradedate:
  12507. description: 交易日(yyyyMMdd)
  12508. type: string
  12509. userid:
  12510. description: 经纪人用户ID
  12511. type: integer
  12512. type: object
  12513. models.QhjContract:
  12514. properties:
  12515. contractconfirmtime:
  12516. description: 合同确认时间(时间)
  12517. type: string
  12518. currisklevel:
  12519. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12520. type: integer
  12521. decimalplace:
  12522. description: 商品报价小数位
  12523. type: integer
  12524. enumdicname:
  12525. description: 单位名称
  12526. type: string
  12527. goodscode:
  12528. description: 商品代码
  12529. type: string
  12530. goodsid:
  12531. description: 商品ID [5:融资单]
  12532. type: integer
  12533. goodsname:
  12534. description: 商品名称
  12535. type: string
  12536. goodunitid:
  12537. description: 商品单位id
  12538. type: integer
  12539. initmargin:
  12540. description: 初始保证金(首付款)
  12541. type: number
  12542. lenderamount:
  12543. description: 贷款金额(总额|订单总额)
  12544. type: number
  12545. marginratio:
  12546. description: 保证金比率(首付比例)
  12547. type: number
  12548. payamount:
  12549. description: 已付(已付货款)
  12550. type: number
  12551. reckonrecovermargin:
  12552. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12553. type: number
  12554. recoveredmargin:
  12555. description: 已追缴保证金
  12556. type: number
  12557. remainamount:
  12558. description: 合同剩余金额(融资额)
  12559. type: number
  12560. scfcontractid:
  12561. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12562. type: string
  12563. scfcontractstatus:
  12564. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12565. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12566. type: integer
  12567. scfcontracttype:
  12568. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12569. type: integer
  12570. totalinterest:
  12571. description: 已计总利息(利息)
  12572. type: number
  12573. tradeprice:
  12574. description: 成交价格(成本价格)
  12575. type: number
  12576. userid:
  12577. description: 用户ID
  12578. type: integer
  12579. username:
  12580. description: 用户名称
  12581. type: string
  12582. wrqty:
  12583. description: 仓单数量(数量)
  12584. type: number
  12585. type: object
  12586. models.QhjContractLog:
  12587. properties:
  12588. amount:
  12589. description: 支付金额
  12590. type: number
  12591. amounttype:
  12592. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12593. type: integer
  12594. logid:
  12595. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12596. type: string
  12597. remainamount:
  12598. description: 剩余货款
  12599. type: number
  12600. scfcontractid:
  12601. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12602. type: integer
  12603. updatetime:
  12604. description: 更新时间
  12605. type: string
  12606. type: object
  12607. models.QhjCusBankSignBankEx:
  12608. properties:
  12609. banklst:
  12610. description: 银行列表
  12611. items:
  12612. $ref: '#/definitions/models.QhjBankInfo'
  12613. type: array
  12614. canallot:
  12615. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12616. type: integer
  12617. canallotquery:
  12618. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12619. type: integer
  12620. canbindcard:
  12621. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12622. type: integer
  12623. caninamount:
  12624. description: 是否可入金 - 0:不可 1:可以
  12625. type: integer
  12626. caninamount2:
  12627. description: 是否可入金(网银端) - 0:不可 1:可以
  12628. type: integer
  12629. canmodifybankcard:
  12630. description: 是否可修改银行卡号 - 0:不可 1:可以
  12631. type: integer
  12632. canmodifyphone:
  12633. description: 是否可修改手机号 - 0:不可 1:可以
  12634. type: integer
  12635. canmodifysigninfo:
  12636. description: 是否可修改签约信息 - 0:不可 1:可以
  12637. type: integer
  12638. canoutamount:
  12639. description: 是否可出金 - 0:不可 1:可以
  12640. type: integer
  12641. canoutamount2:
  12642. description: 是否可出金(网银端) - 0:不可 1:可以
  12643. type: integer
  12644. canrelease:
  12645. description: 是否可解约 - 0:不可 1:可以
  12646. type: integer
  12647. canrelease2:
  12648. description: 是否可解约(网银端) - 0:不可 1:可以
  12649. type: integer
  12650. cansign:
  12651. description: 是否可签约 - 0:不可 1:可以
  12652. type: integer
  12653. cansign2:
  12654. description: 是否可签约(网银端) - 0:不可 1:可以
  12655. type: integer
  12656. currency:
  12657. description: 币种
  12658. type: string
  12659. cusbankid:
  12660. description: 托管银行编号(对应清算中心TRAN_NO)
  12661. type: string
  12662. cusbankname:
  12663. description: 银行业务名称
  12664. type: string
  12665. cusbankshortname:
  12666. description: 银行业务简称
  12667. type: string
  12668. exchbankid:
  12669. description: 交易所开户银行ID
  12670. type: string
  12671. exchpaybankaccname:
  12672. description: 交易所支出结算账户户名
  12673. type: string
  12674. exchpaybankaccno:
  12675. description: 交易所支出结算账户
  12676. type: string
  12677. isneedcheck:
  12678. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12679. type: integer
  12680. isneedclear:
  12681. description: 是否需要清算 - 0:不需要 1:需要
  12682. type: integer
  12683. lastcheckstatus:
  12684. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12685. type: integer
  12686. lastchecktime:
  12687. description: 最后对账时间
  12688. type: string
  12689. lastclearstatus:
  12690. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12691. type: integer
  12692. lastcleartime:
  12693. description: 最后清算时间
  12694. type: string
  12695. lastsignintime:
  12696. description: 最后签到时间
  12697. type: string
  12698. lastsignouttime:
  12699. description: 最后签退时间
  12700. type: string
  12701. riskinfo:
  12702. description: 签约风险提示书
  12703. type: string
  12704. signstatus:
  12705. description: 当前签到/签退状态 - 1:签到 2:签退
  12706. type: integer
  12707. tradedate:
  12708. description: 交易日(yyyyMMdd)
  12709. type: string
  12710. updatetime:
  12711. description: 当前签到/签退更新时间
  12712. type: string
  12713. type: object
  12714. models.QhjCustomer:
  12715. properties:
  12716. address:
  12717. description: 通讯地址
  12718. type: string
  12719. attachment1:
  12720. description: 附件1
  12721. type: string
  12722. attachment2:
  12723. description: 附件2
  12724. type: string
  12725. audittime:
  12726. description: 审核时间
  12727. type: string
  12728. cardbackphotourl:
  12729. description: 证件反面图片地址
  12730. type: string
  12731. cardfrontphotourl:
  12732. description: 证件正面图片地址
  12733. type: string
  12734. cardnum:
  12735. description: 证件号码
  12736. type: string
  12737. cardtype:
  12738. description: 证件类型
  12739. type: integer
  12740. cardtypename:
  12741. description: 证件类型名称
  12742. type: string
  12743. cityid:
  12744. description: 市
  12745. type: integer
  12746. cityname:
  12747. description: 城市名称
  12748. type: string
  12749. contactname:
  12750. description: 联系人
  12751. type: string
  12752. countryid:
  12753. description: 国家
  12754. type: integer
  12755. countryname:
  12756. description: 国家名称
  12757. type: string
  12758. createtime:
  12759. description: 创建时间
  12760. type: string
  12761. customername:
  12762. description: 客户名称
  12763. type: string
  12764. districtid:
  12765. description: 区域
  12766. type: integer
  12767. districtname:
  12768. description: 地区名称
  12769. type: string
  12770. email:
  12771. description: 邮件
  12772. type: string
  12773. legalpersonname:
  12774. description: 法人姓名(企业)
  12775. type: string
  12776. logincode:
  12777. description: 登录账号(代码)
  12778. type: string
  12779. memberuserid:
  12780. description: 所属机构ID(所属会员)
  12781. type: integer
  12782. memberusername:
  12783. description: 所属会员名称
  12784. type: string
  12785. mobile:
  12786. description: 手机号码
  12787. type: string
  12788. modifytime:
  12789. description: 修改时间
  12790. type: string
  12791. nickname:
  12792. description: 昵称
  12793. type: string
  12794. parentuserid:
  12795. description: 上级机构(所属机构)
  12796. type: integer
  12797. parentusername:
  12798. description: 所属机构名称
  12799. type: string
  12800. provinceid:
  12801. description: 省
  12802. type: integer
  12803. provincename:
  12804. description: 省名称
  12805. type: string
  12806. proxystatementurl:
  12807. description: 授权委托书
  12808. type: string
  12809. remark:
  12810. description: 备注
  12811. type: string
  12812. status:
  12813. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12814. type: integer
  12815. statusdesc:
  12816. description: 账户状态中文描述
  12817. type: string
  12818. taxpayernum:
  12819. description: 纳税人识别号
  12820. type: string
  12821. telphone:
  12822. description: 联系电话
  12823. type: string
  12824. userid:
  12825. description: 用户ID
  12826. type: integer
  12827. userinfotype:
  12828. description: 客户类型 1-个人 2-企业
  12829. type: integer
  12830. username:
  12831. description: 用户名称
  12832. type: string
  12833. type: object
  12834. models.QhjCustomerSignLog:
  12835. properties:
  12836. agreementcontent:
  12837. description: 协议内容
  12838. type: string
  12839. agreementid:
  12840. description: 协议ID
  12841. type: integer
  12842. agreementname:
  12843. description: 协议名称
  12844. type: string
  12845. agreementno:
  12846. description: 协议编号
  12847. type: string
  12848. agreementtype:
  12849. description: 协议类型 - 1:注册 2:登录 3:交易
  12850. type: integer
  12851. agreementversion:
  12852. description: 协议版本号
  12853. type: integer
  12854. createtime:
  12855. description: 创建时间
  12856. type: string
  12857. goodscode:
  12858. description: 商品代码
  12859. type: string
  12860. goodsid:
  12861. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12862. type: integer
  12863. goodsname:
  12864. description: 商品名称
  12865. type: string
  12866. logid:
  12867. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12868. type: integer
  12869. nodetype:
  12870. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12871. type: integer
  12872. signadressurl:
  12873. description: 签约文件地址
  12874. type: string
  12875. signtimestamp:
  12876. description: 签约状态时间戳
  12877. type: string
  12878. userid:
  12879. description: 客户ID
  12880. type: integer
  12881. username:
  12882. description: 客户名称
  12883. type: string
  12884. type: object
  12885. models.QhjCustomerSignStatus:
  12886. properties:
  12887. createtime:
  12888. description: 创建时间
  12889. type: string
  12890. goodscode:
  12891. description: 商品代码
  12892. type: string
  12893. goodsid:
  12894. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12895. type: integer
  12896. goodsname:
  12897. description: 商品名称
  12898. type: string
  12899. nodetype:
  12900. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12901. type: integer
  12902. signtimestamp:
  12903. description: 签约状态时间戳
  12904. type: string
  12905. tradedate:
  12906. description: 创建交易日(yyyyMMdd)
  12907. type: string
  12908. updatetime:
  12909. description: 更新时间
  12910. type: string
  12911. userid:
  12912. description: 客户ID
  12913. type: integer
  12914. username:
  12915. description: 客户名称
  12916. type: string
  12917. type: object
  12918. models.QhjMgrAccountOutInApply:
  12919. properties:
  12920. accountcode:
  12921. description: 资金账号
  12922. type: string
  12923. accountname:
  12924. description: 用户名称(名称)
  12925. type: string
  12926. accountpwd:
  12927. description: 资金密码
  12928. type: string
  12929. accountticket:
  12930. description: 最新账户服务流水号
  12931. type: string
  12932. amount:
  12933. description: 金额
  12934. type: number
  12935. applyremark:
  12936. description: 申请备注
  12937. type: string
  12938. applystatus:
  12939. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12940. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12941. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12942. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12943. type: integer
  12944. auditid:
  12945. description: 审核人
  12946. type: integer
  12947. audittime:
  12948. description: 审核时间
  12949. type: string
  12950. bank_apply_ticket:
  12951. description: 银行申请流水
  12952. type: string
  12953. bankaccountname:
  12954. description: 银行账户名
  12955. type: string
  12956. bankaccountno:
  12957. description: 银行卡号
  12958. type: string
  12959. bankid:
  12960. description: 银行编号
  12961. type: string
  12962. bankname:
  12963. description: 银行名称
  12964. type: string
  12965. bankticket:
  12966. description: 银行流水
  12967. type: string
  12968. branchbankid:
  12969. description: 银行支行号
  12970. type: string
  12971. branchbankname:
  12972. description: 银行支行名称
  12973. type: string
  12974. capamountout:
  12975. description: 出金(劣后本金) - 外部子账户
  12976. type: number
  12977. certificatephotourl:
  12978. description: 凭证地址
  12979. type: string
  12980. charge:
  12981. description: 手续费
  12982. type: number
  12983. checkerrorflag:
  12984. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12985. type: integer
  12986. currency:
  12987. description: 币种
  12988. type: string
  12989. cusbankid:
  12990. description: 托管银行编号
  12991. type: string
  12992. exchticket:
  12993. description: 银行服务流水号
  12994. type: string
  12995. executetype:
  12996. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12997. 7:外部子账户:入金 8:外部子账户:出金'
  12998. type: integer
  12999. extendinfo:
  13000. description: 扩展信息
  13001. type: string
  13002. extoperateid:
  13003. description: 交易服务流水号
  13004. type: integer
  13005. infamount:
  13006. description: 劣后金额(自有)
  13007. type: number
  13008. logincode:
  13009. description: 登录账号(账号)
  13010. type: string
  13011. netaddr:
  13012. description: 调转网址
  13013. type: string
  13014. priamount:
  13015. description: 优先金额(授信)
  13016. type: number
  13017. reauditid:
  13018. description: 复审人
  13019. type: integer
  13020. reauditremark:
  13021. description: 复审备注
  13022. type: string
  13023. reaudittime:
  13024. description: 复审时间
  13025. type: string
  13026. relatedorderid:
  13027. description: 三方关联ID
  13028. type: string
  13029. remark:
  13030. description: 备注
  13031. type: string
  13032. remark2:
  13033. description: 备注(失败原因)
  13034. type: string
  13035. soucreamount:
  13036. description: 原始出入金金额
  13037. type: number
  13038. soucrecurrencyid:
  13039. description: 原始出入金币种
  13040. type: integer
  13041. tradedate:
  13042. description: 交易日(yyyyMMdd)
  13043. type: string
  13044. updatetime:
  13045. description: 更新时间(申请时间)
  13046. type: string
  13047. userid:
  13048. description: 用户id
  13049. type: integer
  13050. userinfotype:
  13051. description: 账户类型 1-个人 2-企业
  13052. type: integer
  13053. type: object
  13054. models.QhjMgrBrokerApply:
  13055. properties:
  13056. applicantid:
  13057. description: 申请人
  13058. type: integer
  13059. applysrc:
  13060. description: 申请来源 - 1:管理端 2:终端
  13061. type: integer
  13062. applystatus:
  13063. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13064. type: integer
  13065. applytime:
  13066. description: 申请时间
  13067. type: string
  13068. auditorid:
  13069. description: 审核人
  13070. type: integer
  13071. auditremark:
  13072. description: 审核备注
  13073. type: string
  13074. auditsrc:
  13075. description: 审核来源 - 1:管理端 2:终端
  13076. type: integer
  13077. audittime:
  13078. description: 审核时间
  13079. type: string
  13080. audittradedate:
  13081. description: 审核交易日(yyyyMMdd)
  13082. type: string
  13083. brokerapplyid:
  13084. description: 申请ID(SEQ_BROKERAPPLY)
  13085. type: integer
  13086. cardbackphotourl:
  13087. description: 证件背面图片地址
  13088. type: string
  13089. cardfrontphotourl:
  13090. description: 证件正面图片地址
  13091. type: string
  13092. cardnum:
  13093. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13094. type: string
  13095. customername:
  13096. description: 姓名
  13097. type: string
  13098. filterstatus:
  13099. description: 筛选条件
  13100. type: string
  13101. logincode:
  13102. description: 登录代码
  13103. type: string
  13104. mobile:
  13105. description: 手机号码
  13106. type: string
  13107. parentuserid:
  13108. description: 所属机构id
  13109. type: integer
  13110. parentusername:
  13111. description: 所属机构名称
  13112. type: string
  13113. refereeuserid:
  13114. description: 推荐人id(经纪人)
  13115. type: integer
  13116. refernum:
  13117. description: 推荐码
  13118. type: string
  13119. remark:
  13120. description: 备注
  13121. type: string
  13122. subarealevelpath:
  13123. description: 层级路径
  13124. type: string
  13125. tradedate:
  13126. description: 交易日(yyyyMMdd)
  13127. type: string
  13128. userid:
  13129. description: 申请人用户ID
  13130. type: integer
  13131. userinfotype:
  13132. description: 用户类型 1-个人 2-企业
  13133. type: integer
  13134. username:
  13135. description: 用户名称
  13136. type: string
  13137. type: object
  13138. models.QhjMgrBrokerRewardReport:
  13139. properties:
  13140. createtime:
  13141. description: 创建时间(注册时间)
  13142. type: string
  13143. cycletime:
  13144. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13145. type: string
  13146. cycletype:
  13147. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13148. type: integer
  13149. directtotalnum:
  13150. description: 直推总人数【期末】
  13151. type: integer
  13152. indirecttotalnum:
  13153. description: 间推总人数【期末】
  13154. type: integer
  13155. mobile:
  13156. description: 电话号码
  13157. type: string
  13158. refereeuserid:
  13159. description: 推荐人id(经纪人id)
  13160. type: integer
  13161. refereeusername:
  13162. description: 推荐人名称(经纪人) 上级经纪人名称
  13163. type: string
  13164. refernum:
  13165. description: 推荐码
  13166. type: string
  13167. subarealevelpath:
  13168. description: 用户层级路径
  13169. type: string
  13170. todayrewardamount:
  13171. description: 奖励总金额【汇总】
  13172. type: number
  13173. updatetime:
  13174. description: 更新时间
  13175. type: string
  13176. userid:
  13177. description: 经纪人用户ID
  13178. type: integer
  13179. userinfotype:
  13180. description: 用户类型 1-个人 2-企业
  13181. type: integer
  13182. username:
  13183. description: 用户名称
  13184. type: string
  13185. type: object
  13186. models.QhjMgrContract:
  13187. properties:
  13188. contractconfirmtime:
  13189. description: 合同确认时间(时间)
  13190. type: string
  13191. currisklevel:
  13192. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13193. type: integer
  13194. decimalplace:
  13195. description: 商品报价小数位
  13196. type: integer
  13197. enumdicname:
  13198. description: 单位名称
  13199. type: string
  13200. goodscode:
  13201. description: 商品代码
  13202. type: string
  13203. goodsid:
  13204. description: 商品ID [5:融资单]
  13205. type: integer
  13206. goodsname:
  13207. description: 商品名称
  13208. type: string
  13209. goodunitid:
  13210. description: 商品单位id
  13211. type: integer
  13212. initmargin:
  13213. description: 初始保证金(首付款)
  13214. type: number
  13215. lenderamount:
  13216. description: 贷款金额(总额|订单总额)
  13217. type: number
  13218. logincode:
  13219. description: 账号(登录代码)
  13220. type: string
  13221. marginratio:
  13222. description: 保证金比率(首付比例)
  13223. type: number
  13224. mobile:
  13225. description: 电话号码(用户资料里的电话)
  13226. type: string
  13227. payamount:
  13228. description: 已付(已付货款)
  13229. type: number
  13230. reckonrecovermargin:
  13231. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13232. type: number
  13233. recoveredmargin:
  13234. description: 已追缴保证金
  13235. type: number
  13236. remainamount:
  13237. description: 合同剩余金额(融资额)
  13238. type: number
  13239. scfcontractid:
  13240. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13241. type: string
  13242. scfcontractstatus:
  13243. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13244. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13245. type: integer
  13246. scfcontracttype:
  13247. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13248. type: integer
  13249. totalinterest:
  13250. description: 已计总利息(利息)
  13251. type: number
  13252. tradedate:
  13253. description: 交易日
  13254. type: string
  13255. tradeprice:
  13256. description: 成交价格(成本价格)
  13257. type: number
  13258. userid:
  13259. description: 用户ID
  13260. type: integer
  13261. userinfotype:
  13262. description: 用户类型 1-个人 2-企业
  13263. type: integer
  13264. username:
  13265. description: 用户名称
  13266. type: string
  13267. wrqty:
  13268. description: 仓单数量(数量)
  13269. type: number
  13270. type: object
  13271. models.QhjMgrCustomer:
  13272. properties:
  13273. address:
  13274. description: 通讯地址
  13275. type: string
  13276. attachment1:
  13277. description: 附件1
  13278. type: string
  13279. audittime:
  13280. description: 审核时间
  13281. type: string
  13282. birthday:
  13283. description: 生日
  13284. type: string
  13285. brokerid:
  13286. description: 所属客户经理id
  13287. type: integer
  13288. brokername:
  13289. description: 所属客户经理名称
  13290. type: string
  13291. cardbackphotourl:
  13292. description: 证件反面图片地址
  13293. type: string
  13294. cardfrontphotourl:
  13295. description: 证件正面图片地址
  13296. type: string
  13297. cardnum:
  13298. description: 证件号码
  13299. type: string
  13300. cardtype:
  13301. description: 证件类型
  13302. type: integer
  13303. cardtypename:
  13304. description: 证件类型名称
  13305. type: string
  13306. cityid:
  13307. description: 市
  13308. type: integer
  13309. cityname:
  13310. description: 城市名称
  13311. type: string
  13312. contactname:
  13313. description: 联系人
  13314. type: string
  13315. countryid:
  13316. description: 国家
  13317. type: integer
  13318. countryname:
  13319. description: 国家名称
  13320. type: string
  13321. createtime:
  13322. description: 创建时间
  13323. type: string
  13324. customername:
  13325. description: 客户名称
  13326. type: string
  13327. districtid:
  13328. description: 区域
  13329. type: integer
  13330. districtname:
  13331. description: 地区名称
  13332. type: string
  13333. email:
  13334. description: 邮件
  13335. type: string
  13336. legalpersonname:
  13337. description: 法人姓名(企业)
  13338. type: string
  13339. logincode:
  13340. description: 登录账号(代码)
  13341. type: string
  13342. memberuserid:
  13343. description: 所属机构ID(所属会员)
  13344. type: integer
  13345. memberusername:
  13346. description: 所属会员名称
  13347. type: string
  13348. mobile:
  13349. description: 手机号码
  13350. type: string
  13351. modifytime:
  13352. description: 修改时间
  13353. type: string
  13354. nickname:
  13355. description: 昵称
  13356. type: string
  13357. parentuserid:
  13358. description: 上级机构(所属机构)
  13359. type: integer
  13360. parentusername:
  13361. description: 所属机构名称
  13362. type: string
  13363. provinceid:
  13364. description: 省
  13365. type: integer
  13366. provincename:
  13367. description: 省名称
  13368. type: string
  13369. proxystatementurl:
  13370. description: 授权委托书
  13371. type: string
  13372. querytype:
  13373. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13374. type: integer
  13375. remark:
  13376. description: 备注
  13377. type: string
  13378. sex:
  13379. description: 性别 0-女 1-男
  13380. type: integer
  13381. status:
  13382. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13383. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13384. type: integer
  13385. statusdesc:
  13386. description: 账户状态中文描述
  13387. type: string
  13388. taxpayernum:
  13389. description: 纳税人识别号
  13390. type: string
  13391. telphone:
  13392. description: 联系电话
  13393. type: string
  13394. userid:
  13395. description: 用户ID
  13396. type: integer
  13397. userinfotype:
  13398. description: 客户类型 1-个人 2-企业
  13399. type: integer
  13400. username:
  13401. description: 用户名称
  13402. type: string
  13403. type: object
  13404. models.QhjMgrPickGoods:
  13405. properties:
  13406. enumdicname:
  13407. description: 单位名称(提货商品)
  13408. type: string
  13409. goodsid:
  13410. description: 商品id
  13411. type: integer
  13412. imageaddress:
  13413. description: 图片
  13414. type: string
  13415. modifierid:
  13416. description: 修改人
  13417. type: integer
  13418. modifiername:
  13419. description: 修改人名称
  13420. type: string
  13421. modifysrc:
  13422. description: 修改来源 - 1:管理端 2:终端
  13423. type: integer
  13424. pickupgoodsagreeunit:
  13425. description: 合约乘数
  13426. type: number
  13427. pickupgoodsdesc:
  13428. description: 描述
  13429. type: string
  13430. pickupgoodsid:
  13431. description: 提货商品ID
  13432. type: string
  13433. pickupgoodsname:
  13434. description: 提货商品名称
  13435. type: string
  13436. pickupgoodsstatus:
  13437. description: 状态 - 1:正常 2:停用 3:注销
  13438. type: integer
  13439. pickupgoodsunitid:
  13440. description: 单位ID
  13441. type: integer
  13442. pickupratio:
  13443. description: 提货系数
  13444. type: number
  13445. preparedays:
  13446. description: 备货期(天)
  13447. type: integer
  13448. remark:
  13449. description: 备注
  13450. type: string
  13451. updatetime:
  13452. description: 更新时间
  13453. type: string
  13454. type: object
  13455. models.QhjMgrPositionRsp:
  13456. properties:
  13457. accountid:
  13458. description: 账号Id
  13459. type: integer
  13460. accountname:
  13461. description: 用户名称
  13462. type: string
  13463. agreeunit:
  13464. description: 合约乘数
  13465. type: number
  13466. averageprice:
  13467. description: 均价
  13468. type: number
  13469. avialqty:
  13470. description: 可用数量
  13471. type: number
  13472. decimalplace:
  13473. description: 报价小数位
  13474. type: integer
  13475. enumdicname:
  13476. description: 单位名称(商品)
  13477. type: string
  13478. frozenqty:
  13479. description: 冻结数量
  13480. type: number
  13481. goodscode:
  13482. description: 商品代码(内部)
  13483. type: string
  13484. goodsid:
  13485. description: 商品Id
  13486. type: integer
  13487. goodsname:
  13488. description: 商品名称
  13489. type: string
  13490. goodunitid:
  13491. description: 报价单位ID
  13492. type: integer
  13493. holderamount:
  13494. description: 金额
  13495. type: number
  13496. holderqty:
  13497. description: 持有数量
  13498. type: number
  13499. holdertype:
  13500. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13501. type: integer
  13502. logincode:
  13503. description: 登录代码(账户)
  13504. type: string
  13505. marketid:
  13506. description: 市场id
  13507. type: integer
  13508. qtydecimalplace:
  13509. description: 成交量小数位
  13510. type: integer
  13511. trademode:
  13512. description: 交易模式
  13513. type: integer
  13514. userid:
  13515. description: 用户id
  13516. type: integer
  13517. userinfotype:
  13518. description: 账户类型 1-个人 2-企业
  13519. type: integer
  13520. type: object
  13521. models.QhjMgrSubArea:
  13522. properties:
  13523. accountname:
  13524. description: 账户名称(机构名称)
  13525. type: string
  13526. memberuserid:
  13527. description: 所属会员ID
  13528. type: integer
  13529. parenttopuser:
  13530. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13531. type: string
  13532. parentuserid:
  13533. description: 所属机构ID
  13534. type: integer
  13535. rootuserid:
  13536. description: 根用户ID
  13537. type: string
  13538. subaccountlevel:
  13539. description: 子账户层数
  13540. type: integer
  13541. subarealevelpath:
  13542. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13543. type: string
  13544. userid:
  13545. description: 用户ID
  13546. type: integer
  13547. usertype:
  13548. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13549. type: integer
  13550. type: object
  13551. models.QhjMgrTradeDetailRsp:
  13552. properties:
  13553. accountid:
  13554. description: 资金账号
  13555. type: integer
  13556. accountname:
  13557. description: 用户名称
  13558. type: string
  13559. agreeunit:
  13560. description: 合约乘数
  13561. type: number
  13562. buyorsell:
  13563. description: 成交类型(方向) 0:买 1:卖
  13564. type: integer
  13565. decimalplace:
  13566. description: 报价小数位
  13567. type: integer
  13568. enumdicname:
  13569. description: 单位名称(商品)
  13570. type: string
  13571. goodscode:
  13572. description: 商品代码(内部)
  13573. type: string
  13574. goodsid:
  13575. description: 商品id
  13576. type: integer
  13577. goodsname:
  13578. description: 商品名称
  13579. type: string
  13580. goodunitid:
  13581. description: 报价单位ID
  13582. type: integer
  13583. logincode:
  13584. description: 登录代码(账户)
  13585. type: string
  13586. marketid:
  13587. description: 市场id
  13588. type: integer
  13589. orderid:
  13590. description: 关联委托单号
  13591. type: string
  13592. qtydecimalplace:
  13593. description: 成交量小数位
  13594. type: integer
  13595. tradeamount:
  13596. description: 金额
  13597. type: number
  13598. tradedate:
  13599. description: 交易日
  13600. type: string
  13601. tradeid:
  13602. description: 成交单号
  13603. type: string
  13604. trademode:
  13605. description: 交易模式
  13606. type: integer
  13607. tradeprice:
  13608. description: 价格
  13609. type: number
  13610. tradeqty:
  13611. description: 数量
  13612. type: number
  13613. tradetime:
  13614. description: 成交时间
  13615. type: string
  13616. userid:
  13617. description: 用户id
  13618. type: integer
  13619. userinfotype:
  13620. description: 账户类型 1-个人 2-企业
  13621. type: integer
  13622. type: object
  13623. models.QhjMgrTradeOrderDetailRsp:
  13624. properties:
  13625. accountid:
  13626. description: 资金账号
  13627. type: integer
  13628. accountname:
  13629. description: 用户名称
  13630. type: string
  13631. agreeunit:
  13632. description: 合约乘数
  13633. type: number
  13634. amount:
  13635. description: 金额
  13636. type: number
  13637. decimalplace:
  13638. description: 报价小数位
  13639. type: integer
  13640. enumdicname:
  13641. description: 单位名称(商品)
  13642. type: string
  13643. goodscode:
  13644. description: 商品代码(内部)
  13645. type: string
  13646. goodsid:
  13647. description: 商品id
  13648. type: integer
  13649. goodsname:
  13650. description: 商品名称
  13651. type: string
  13652. goodunitid:
  13653. description: 报价单位ID
  13654. type: integer
  13655. logincode:
  13656. description: 登录代码(账户)
  13657. type: string
  13658. marketid:
  13659. description: 市场id
  13660. type: integer
  13661. orderid:
  13662. description: 关联委托单号
  13663. type: string
  13664. orderprice:
  13665. description: 价格
  13666. type: number
  13667. orderqty:
  13668. description: 数量
  13669. type: number
  13670. orderstatus:
  13671. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13672. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13673. 16:成交失败违约(荷兰式竞拍专用)
  13674. type: integer
  13675. ordertime:
  13676. description: 委托时间
  13677. type: string
  13678. qtydecimalplace:
  13679. description: 成交量小数位
  13680. type: integer
  13681. tradedate:
  13682. description: 交易日
  13683. type: string
  13684. trademode:
  13685. description: 交易模式
  13686. type: integer
  13687. userid:
  13688. description: 用户id
  13689. type: integer
  13690. userinfotype:
  13691. description: 账户类型 1-个人 2-企业
  13692. type: integer
  13693. type: object
  13694. models.QhjMgrTradePayOrder:
  13695. properties:
  13696. accountname:
  13697. description: 用户名称
  13698. type: string
  13699. advanceratio:
  13700. description: 首付比率
  13701. type: number
  13702. agreeunit:
  13703. description: 合约乘数
  13704. type: number
  13705. buyaccountid:
  13706. description: 买方账号ID[报价币种]
  13707. type: integer
  13708. buyorderid:
  13709. description: 买方委托单号(关联单号)
  13710. type: string
  13711. createtime:
  13712. description: 创建时间
  13713. type: string
  13714. decimalplace:
  13715. description: 报价小数位
  13716. type: integer
  13717. enumdicname:
  13718. description: 单位名称(商品)
  13719. type: string
  13720. goodscode:
  13721. description: 商品代码(内部)
  13722. type: string
  13723. goodsid:
  13724. description: 商品ID
  13725. type: integer
  13726. goodsname:
  13727. description: 商品名称
  13728. type: string
  13729. goodunitid:
  13730. description: 报价单位ID
  13731. type: integer
  13732. logincode:
  13733. description: 登录代码(账户)
  13734. type: string
  13735. marketid:
  13736. description: 市场id
  13737. type: integer
  13738. offamount:
  13739. description: 优惠金额
  13740. type: number
  13741. operatetype:
  13742. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13743. type: integer
  13744. payamount:
  13745. description: 支付金额(金额)
  13746. type: number
  13747. payflag:
  13748. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13749. type: integer
  13750. paylimitedtime:
  13751. description: 支付期限
  13752. type: string
  13753. paytime:
  13754. description: 付款时间
  13755. type: string
  13756. qtydecimalplace:
  13757. description: 成交量小数位
  13758. type: integer
  13759. sellaccountid:
  13760. description: 卖方账号ID[报价币种]
  13761. type: integer
  13762. sellorderid:
  13763. description: 卖方委托单号
  13764. type: string
  13765. tradeamount:
  13766. description: 成交金额(优惠后金额)
  13767. type: number
  13768. tradecharge:
  13769. description: 成交手续费(买方)
  13770. type: number
  13771. tradedate:
  13772. description: 交易日(yyyyMMdd)
  13773. type: string
  13774. tradeid:
  13775. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13776. type: string
  13777. trademode:
  13778. description: 交易模式
  13779. type: integer
  13780. tradeprice:
  13781. description: 成交价格(价格)
  13782. type: number
  13783. tradeqty:
  13784. description: 成交数量(数量)
  13785. type: number
  13786. tradetime:
  13787. description: 成交时间
  13788. type: string
  13789. userid:
  13790. description: 用户id
  13791. type: integer
  13792. userinfotype:
  13793. description: 账户类型 1-个人 2-企业
  13794. type: integer
  13795. type: object
  13796. models.QhjMyTeamEx:
  13797. properties:
  13798. accountname:
  13799. description: 用户名称
  13800. type: string
  13801. accountstatus:
  13802. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13803. type: integer
  13804. createtime:
  13805. description: 创建时间
  13806. type: string
  13807. mobile:
  13808. description: 手机号码
  13809. type: string
  13810. refereeuserid:
  13811. description: 推荐人id
  13812. type: integer
  13813. refernum:
  13814. description: 推荐码
  13815. type: string
  13816. subList:
  13817. items:
  13818. $ref: '#/definitions/models.QhjMyTeamEx'
  13819. type: array
  13820. userid:
  13821. description: 用户id
  13822. type: integer
  13823. userinfotype:
  13824. description: 用户类型 1-个人 2-企业
  13825. type: integer
  13826. type: object
  13827. models.QhjNodeAgreementConfig:
  13828. properties:
  13829. agreementcontent:
  13830. description: 协议内容
  13831. type: string
  13832. agreementid:
  13833. description: 协议ID
  13834. type: integer
  13835. agreementname:
  13836. description: 协议名称
  13837. type: string
  13838. agreementno:
  13839. description: 协议编号
  13840. type: string
  13841. agreementtype:
  13842. description: 协议类型 - 1:注册 2:登录 3:交易
  13843. type: integer
  13844. agreementversion:
  13845. description: 协议版本号
  13846. type: integer
  13847. configid:
  13848. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13849. type: integer
  13850. createtime:
  13851. description: 创建时间
  13852. type: string
  13853. goodsid:
  13854. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13855. type: integer
  13856. nodetype:
  13857. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13858. type: integer
  13859. type: object
  13860. models.QhjParentAreaList:
  13861. properties:
  13862. accountname:
  13863. description: 账户名称(机构名称)
  13864. type: string
  13865. userid:
  13866. description: 用户ID
  13867. type: integer
  13868. usertype:
  13869. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13870. type: integer
  13871. type: object
  13872. models.QhjPayOrder:
  13873. properties:
  13874. advanceratio:
  13875. description: 首付比率
  13876. type: number
  13877. buyaccountid:
  13878. description: 买方账号ID[报价币种]
  13879. type: integer
  13880. buyorderid:
  13881. description: 买方委托单号
  13882. type: string
  13883. createtime:
  13884. description: 创建时间
  13885. type: string
  13886. decimalplace:
  13887. description: 商品报价小数位
  13888. type: integer
  13889. enumdicname:
  13890. description: 单位名称
  13891. type: string
  13892. goodscode:
  13893. description: 商品代码
  13894. type: string
  13895. goodsid:
  13896. description: 商品ID
  13897. type: integer
  13898. goodsname:
  13899. description: 商品名称
  13900. type: string
  13901. goodunitid:
  13902. description: 商品单位id
  13903. type: integer
  13904. marketid:
  13905. description: 市场ID
  13906. type: integer
  13907. offamount:
  13908. description: 优惠金额
  13909. type: number
  13910. operatetype:
  13911. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13912. type: integer
  13913. payamount:
  13914. description: 支付金额
  13915. type: number
  13916. payflag:
  13917. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13918. type: integer
  13919. paylimitedtime:
  13920. description: 支付期限
  13921. type: string
  13922. paytime:
  13923. description: 付款时间
  13924. type: string
  13925. qtydecimalplace:
  13926. description: 成交量小数位
  13927. type: integer
  13928. sellaccountid:
  13929. description: 卖方账号ID[报价币种]
  13930. type: integer
  13931. sellorderid:
  13932. description: 卖方委托单号
  13933. type: string
  13934. tradeamount:
  13935. description: 成交金额(优惠后金额)
  13936. type: number
  13937. tradecharge:
  13938. description: 成交手续费(买方)
  13939. type: number
  13940. tradedate:
  13941. description: 交易日(yyyyMMdd)
  13942. type: string
  13943. tradeid:
  13944. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13945. type: string
  13946. tradeprice:
  13947. description: 成交价格
  13948. type: number
  13949. tradeqty:
  13950. description: 成交数量
  13951. type: number
  13952. type: object
  13953. models.QhjPickArea:
  13954. properties:
  13955. address:
  13956. description: 详细地址
  13957. type: string
  13958. cityid:
  13959. description: 市
  13960. type: integer
  13961. cityname:
  13962. description: 城市名称
  13963. type: string
  13964. countryid:
  13965. description: 国家
  13966. type: integer
  13967. countryname:
  13968. description: 国家名称
  13969. type: string
  13970. districtid:
  13971. description: 地区
  13972. type: integer
  13973. districtname:
  13974. description: 地区名称
  13975. type: string
  13976. fromuserid:
  13977. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13978. type: integer
  13979. fromusername:
  13980. description: 所属机构名称
  13981. type: string
  13982. provinceid:
  13983. description: 省
  13984. type: integer
  13985. provincename:
  13986. description: 省名称
  13987. type: string
  13988. suborgtype:
  13989. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13990. type: integer
  13991. userid:
  13992. description: 机构用户ID 其他做市关系,都设置为 1
  13993. type: integer
  13994. username:
  13995. description: 机构用户名称(门店门称)
  13996. type: string
  13997. type: object
  13998. models.QhjPickGoods:
  13999. properties:
  14000. enumdicname:
  14001. description: 单位名称(提货商品)
  14002. type: string
  14003. goodsid:
  14004. description: 商品id
  14005. type: integer
  14006. imageaddress:
  14007. description: 图片
  14008. type: string
  14009. modifierid:
  14010. description: 修改人
  14011. type: integer
  14012. modifiername:
  14013. description: 修改人名称
  14014. type: string
  14015. modifysrc:
  14016. description: 修改来源 - 1:管理端 2:终端
  14017. type: integer
  14018. pickupgoodsagreeunit:
  14019. description: 合约乘数
  14020. type: number
  14021. pickupgoodsdesc:
  14022. description: 描述
  14023. type: string
  14024. pickupgoodsid:
  14025. description: 提货商品ID
  14026. type: string
  14027. pickupgoodsname:
  14028. description: 提货商品名称
  14029. type: string
  14030. pickupgoodsstatus:
  14031. description: 状态 - 1:正常 2:停用 3:注销
  14032. type: integer
  14033. pickupgoodsunitid:
  14034. description: 单位ID
  14035. type: integer
  14036. pickupratio:
  14037. description: 提货系数
  14038. type: number
  14039. preparedays:
  14040. description: 备货期(天)
  14041. type: integer
  14042. remark:
  14043. description: 备注
  14044. type: string
  14045. updatetime:
  14046. description: 更新时间
  14047. type: string
  14048. type: object
  14049. models.QhjRSTriggerLog:
  14050. properties:
  14051. accountid:
  14052. description: 用户资金账户
  14053. type: integer
  14054. accountname:
  14055. description: 账号名称(ACCOUNTID对应的名称)
  14056. type: string
  14057. currencyid:
  14058. description: 币种id
  14059. type: integer
  14060. currencyname:
  14061. description: 币种名称
  14062. type: string
  14063. decimalplace:
  14064. description: 商品报价小数位
  14065. type: integer
  14066. enumdicname:
  14067. description: 单位名称
  14068. type: string
  14069. goodscode:
  14070. description: 定投商品代码
  14071. type: string
  14072. goodsid:
  14073. description: 定投商品ID
  14074. type: integer
  14075. goodsname:
  14076. description: 定投商品名称
  14077. type: string
  14078. goodunitid:
  14079. description: 定投商品单位id
  14080. type: integer
  14081. logid:
  14082. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14083. type: string
  14084. logincode:
  14085. description: 账号(登录代码)
  14086. type: string
  14087. qtydecimalplace:
  14088. description: 成交量小数位
  14089. type: integer
  14090. regularlycycle:
  14091. description: 定投频率 - 1:每周 2:每月
  14092. type: integer
  14093. regularlycyclevalue:
  14094. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14095. type: string
  14096. regularlymode:
  14097. description: 定投方式 - 1:按数量 2:按金额
  14098. type: integer
  14099. regularlymodevalue:
  14100. description: 定投方式值 - 数量或金额
  14101. type: number
  14102. regularlystrategyid:
  14103. description: 定投策略ID
  14104. type: integer
  14105. retcode:
  14106. description: 错误码
  14107. type: string
  14108. tradeid:
  14109. description: 成交单ID
  14110. type: string
  14111. triggeramount:
  14112. description: 触发金额
  14113. type: number
  14114. triggerqty:
  14115. description: 触发数量
  14116. type: number
  14117. triggerstatus:
  14118. description: 触发状态 - 1:成功 2:失败
  14119. type: integer
  14120. triggertime:
  14121. description: 触发时间
  14122. type: string
  14123. triggertradedate:
  14124. description: 触发交易日
  14125. type: string
  14126. userid:
  14127. description: 所属用户ID
  14128. type: integer
  14129. userinfotype:
  14130. description: 用户类型 1-个人 2-企业
  14131. type: integer
  14132. username:
  14133. description: 用户名称(userid对应的名称)
  14134. type: string
  14135. type: object
  14136. models.QhjRStrategy:
  14137. properties:
  14138. accountid:
  14139. description: 用户资金账户
  14140. type: integer
  14141. accountname:
  14142. description: 账号名称(ACCOUNTID对应的名称)
  14143. type: string
  14144. currencyid:
  14145. description: 币种id
  14146. type: integer
  14147. currencyname:
  14148. description: 币种名称
  14149. type: string
  14150. decimalplace:
  14151. description: 商品报价小数位
  14152. type: integer
  14153. enumdicname:
  14154. description: 单位名称
  14155. type: string
  14156. goodscode:
  14157. description: 定投商品代码
  14158. type: string
  14159. goodsid:
  14160. description: 定投商品ID
  14161. type: integer
  14162. goodsname:
  14163. description: 定投商品名称
  14164. type: string
  14165. goodunitid:
  14166. description: 定投商品单位id
  14167. type: integer
  14168. lasteffecttradedate:
  14169. description: 最新生效交易日
  14170. type: string
  14171. laststoptradedate:
  14172. description: 最新暂停交易日
  14173. type: string
  14174. lasttriggertradedate:
  14175. description: 最新触发交易日
  14176. type: string
  14177. logincode:
  14178. description: 账号(登录代码)
  14179. type: string
  14180. nexttriggeramount:
  14181. description: 下次触发金额
  14182. type: number
  14183. nexttriggerdate:
  14184. description: 下次触发日期
  14185. type: string
  14186. nexttriggerqty:
  14187. description: 下次触发数量 [按小数位放大值]
  14188. type: number
  14189. qtydecimalplace:
  14190. description: 成交量小数位
  14191. type: integer
  14192. regularlycycle:
  14193. description: 定投频率 - 1:每周 2:每月
  14194. type: integer
  14195. regularlycyclevalue:
  14196. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14197. type: string
  14198. regularlymode:
  14199. description: 定投方式 - 1:按数量 2:按金额
  14200. type: integer
  14201. regularlymodevalue:
  14202. description: 定投方式值 - 数量或金额
  14203. type: number
  14204. regularlystrategyid:
  14205. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14206. type: integer
  14207. regularlystrategystatus:
  14208. description: 策略状态 - 1:正常 2:暂停 3:终止
  14209. type: integer
  14210. remark:
  14211. description: 备注
  14212. type: string
  14213. triggersuccesstimes:
  14214. description: 累计定投成功次数
  14215. type: string
  14216. triggertotalamount:
  14217. description: 累计定投金额(成功)
  14218. type: number
  14219. triggertotalqty:
  14220. description: 累计定投数量(成功) [按小数位放大值]
  14221. type: number
  14222. triggertotaltimes:
  14223. description: 累计定投总次数
  14224. type: string
  14225. updatesrc:
  14226. description: 更新来源 - 1:管理端 2:终端
  14227. type: integer
  14228. updatetime:
  14229. description: 更新时间
  14230. type: string
  14231. updatorid:
  14232. description: 更新人
  14233. type: string
  14234. userid:
  14235. description: 所属用户ID
  14236. type: integer
  14237. userinfotype:
  14238. description: 用户类型 1-个人 2-企业
  14239. type: integer
  14240. username:
  14241. description: 用户名称(userid对应的名称)
  14242. type: string
  14243. type: object
  14244. models.QhjReckonPriceLog:
  14245. properties:
  14246. decimalplace:
  14247. description: 商品报价小数位
  14248. type: integer
  14249. goodscode:
  14250. description: 商品代码
  14251. type: string
  14252. goodsid:
  14253. description: 商品ID
  14254. type: integer
  14255. goodsname:
  14256. description: 商品名称
  14257. type: string
  14258. lastreckonprice:
  14259. description: 上日结算价
  14260. type: number
  14261. nextdnlimitprice:
  14262. description: 下个交易日跌停价
  14263. type: number
  14264. nexttrade:
  14265. description: 下个交易日
  14266. type: string
  14267. nextuplimitprice:
  14268. description: 下个交易日涨停价
  14269. type: number
  14270. reckonprice:
  14271. description: 今日结算价(定投价)
  14272. type: number
  14273. reckontime:
  14274. description: 结算时间
  14275. type: string
  14276. totalholderqty:
  14277. description: 总持仓数
  14278. type: integer
  14279. totalstock:
  14280. description: 总库存
  14281. type: integer
  14282. tradedate:
  14283. description: 交易日
  14284. type: string
  14285. updowncount:
  14286. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14287. type: integer
  14288. updownflag:
  14289. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14290. type: integer
  14291. updownrate:
  14292. description: 今日涨跌幅
  14293. type: number
  14294. updownrate_2d:
  14295. description: 连续两日涨跌幅
  14296. type: number
  14297. updownrate_3d:
  14298. description: 连续三日涨跌幅
  14299. type: number
  14300. type: object
  14301. models.QhjScoreLog:
  14302. properties:
  14303. accountid:
  14304. description: 账户ID
  14305. type: integer
  14306. createtime:
  14307. description: 创建时间(时间)
  14308. type: string
  14309. goodsid:
  14310. description: 商品ID
  14311. type: integer
  14312. hasuploaded:
  14313. description: 是否已同步(千海金) 0:未同步 1;已同步
  14314. type: integer
  14315. logid:
  14316. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14317. type: string
  14318. marketid:
  14319. description: 市场ID
  14320. type: integer
  14321. relatedamount:
  14322. description: 关联金额
  14323. type: number
  14324. relatedorderid:
  14325. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14326. type: string
  14327. scoreconfigvalue1:
  14328. description: 积分配置1
  14329. type: integer
  14330. scoreconfigvalue2:
  14331. description: 积分配置1
  14332. type: integer
  14333. scoretype:
  14334. description: 积分类型 - 1:提货积分
  14335. type: integer
  14336. scorevalue:
  14337. description: 积分
  14338. type: number
  14339. tradedate:
  14340. description: 交易日(yyyyMMdd)
  14341. type: string
  14342. uploadedtime:
  14343. description: 同步时间
  14344. type: string
  14345. userid:
  14346. description: 用户ID
  14347. type: integer
  14348. type: object
  14349. models.QhjSiteColumnDetail:
  14350. properties:
  14351. author:
  14352. description: 作者
  14353. type: string
  14354. brief:
  14355. description: 简介
  14356. type: string
  14357. columnid:
  14358. description: 所属栏目
  14359. type: integer
  14360. context:
  14361. description: 内容
  14362. type: string
  14363. coverimage:
  14364. description: 封面图片
  14365. type: string
  14366. creaedate:
  14367. description: 创建时间
  14368. type: string
  14369. creatorid:
  14370. description: 创建人
  14371. type: integer
  14372. hits:
  14373. description: 点击数
  14374. type: integer
  14375. id:
  14376. description: ID(SEQ_SITE_COLUMNDETAIL)
  14377. type: integer
  14378. isshow:
  14379. description: 是否展示 - 0:不展示 1:展示
  14380. type: integer
  14381. istop:
  14382. description: 是否置顶 - 0:不置 1:置顶
  14383. type: integer
  14384. modifierid:
  14385. description: 操作人
  14386. type: integer
  14387. publishdate:
  14388. description: 发布日期
  14389. type: string
  14390. status:
  14391. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14392. type: integer
  14393. title:
  14394. description: 标题
  14395. type: string
  14396. updatedate:
  14397. description: 修改时间
  14398. type: string
  14399. userid:
  14400. description: 用户ID(默认为0, 核心为为机构用户ID)
  14401. type: integer
  14402. username:
  14403. description: 用户名称
  14404. type: string
  14405. type: object
  14406. models.QhjTeamOrder:
  14407. properties:
  14408. accountid:
  14409. description: 账户ID[报价币种]
  14410. type: integer
  14411. accountname:
  14412. description: 账户名称
  14413. type: string
  14414. agreeunit:
  14415. description: 合约乘数
  14416. type: number
  14417. buyorsell:
  14418. description: 方向 - 0:买 1:卖
  14419. type: integer
  14420. decimalplace:
  14421. description: 报价小数位
  14422. type: integer
  14423. enumdicname:
  14424. description: 单位名称
  14425. type: string
  14426. goodscode:
  14427. description: 商品代码(内部)
  14428. type: string
  14429. goodsid:
  14430. description: 商品ID
  14431. type: integer
  14432. goodsname:
  14433. description: 商品名称
  14434. type: string
  14435. goodunitid:
  14436. description: 报价单位ID
  14437. type: integer
  14438. marketid:
  14439. description: 市场ID
  14440. type: integer
  14441. marketname:
  14442. description: 市场名称
  14443. type: string
  14444. qtydecimalplace:
  14445. description: 成交量小数位
  14446. type: integer
  14447. refereeuserid:
  14448. description: 推荐人ID
  14449. type: integer
  14450. tradeamount:
  14451. description: 成交金额[账户币种,用于所有权]
  14452. type: number
  14453. tradedate:
  14454. description: 交易日(yyyyMMdd)
  14455. type: string
  14456. trademode:
  14457. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14458. 21:竞拍-大宗式 22:受托竞价
  14459. type: integer
  14460. tradeprice:
  14461. description: 成交价格
  14462. type: number
  14463. tradeqty:
  14464. description: 成交数量
  14465. type: number
  14466. tradetime:
  14467. description: 成交时间
  14468. type: string
  14469. userid:
  14470. description: 用户ID
  14471. type: integer
  14472. type: object
  14473. models.QhjTradeGoodsPickup:
  14474. properties:
  14475. accountid:
  14476. description: 账户ID
  14477. type: integer
  14478. address:
  14479. description: 提货人详细地址
  14480. type: string
  14481. amount:
  14482. description: 提货金额
  14483. type: number
  14484. artradedate:
  14485. description: 自动收货交易日(yyyyMMdd)
  14486. type: string
  14487. auditer:
  14488. description: 审核人
  14489. type: integer
  14490. auditsrc:
  14491. description: 更新来源 - 1:管理端 2:终端
  14492. type: integer
  14493. audittime:
  14494. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14495. type: string
  14496. audittradedate:
  14497. description: 审核交易日(yyyyMMdd)
  14498. type: string
  14499. cardnum:
  14500. description: 提货人证件号码
  14501. type: string
  14502. cardtypeid:
  14503. description: 提货人证件类型
  14504. type: integer
  14505. checkremark:
  14506. description: 审核备注
  14507. type: string
  14508. cityid:
  14509. description: 市
  14510. type: integer
  14511. cityname:
  14512. description: 城市名称
  14513. type: string
  14514. confirmtime:
  14515. description: 取货时间 或 收货时间
  14516. type: string
  14517. countryid:
  14518. description: 国家
  14519. type: integer
  14520. countryname:
  14521. description: 国家名称
  14522. type: string
  14523. decimalplace:
  14524. description: 商品报价小数位
  14525. type: integer
  14526. districtid:
  14527. description: 地区
  14528. type: integer
  14529. districtname:
  14530. description: 地区名称
  14531. type: string
  14532. enumdicname:
  14533. description: 单位名称(提货商品)
  14534. type: string
  14535. expresscompany:
  14536. description: 物流公司
  14537. type: string
  14538. expressnum:
  14539. description: 物流单号
  14540. type: string
  14541. goodsagreeunit:
  14542. description: 交易商品乘数
  14543. type: number
  14544. goodscode:
  14545. description: 商品代码
  14546. type: string
  14547. goodsid:
  14548. description: 商品ID
  14549. type: integer
  14550. goodsname:
  14551. description: 商品名称
  14552. type: string
  14553. goodsqty:
  14554. description: 交易商品手数(69模式按成交量小数位放大取整)
  14555. type: number
  14556. handlestatus:
  14557. description: 处理状态
  14558. type: integer
  14559. logincode:
  14560. description: 账号(登录代码, 有可能为空)
  14561. type: string
  14562. marketid:
  14563. description: 市场ID
  14564. type: integer
  14565. phonenum:
  14566. description: 提货人联系方式
  14567. type: string
  14568. pickupgoodsagreeunit:
  14569. description: 提货商品合约乘数
  14570. type: number
  14571. pickupgoodsid:
  14572. description: 提货商品ID
  14573. type: string
  14574. pickupgoodsname:
  14575. description: 提货商品名称
  14576. type: string
  14577. pickupgoodsqty:
  14578. description: 提货商品手数(数量)
  14579. type: number
  14580. pickupgoodsunitid:
  14581. description: 单位ID(提货商品)
  14582. type: integer
  14583. pickupratio:
  14584. description: 提货系数
  14585. type: number
  14586. preparedays:
  14587. description: 备货期(天)-提货单明细表
  14588. type: integer
  14589. provinceid:
  14590. description: 省
  14591. type: integer
  14592. provincename:
  14593. description: 省名称
  14594. type: string
  14595. qty:
  14596. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14597. type: number
  14598. qtydecimalplace:
  14599. description: 商品数量小数位
  14600. type: integer
  14601. recivername:
  14602. description: 提货人姓名
  14603. type: string
  14604. reqtime:
  14605. description: 提货申请时间
  14606. type: string
  14607. storeuserid:
  14608. description: 门店用户ID (千海金)
  14609. type: integer
  14610. storeusername:
  14611. description: 门店用户名称
  14612. type: string
  14613. takemode:
  14614. description: 提货方式 - 2:自提 3:配送(邮寄)
  14615. type: integer
  14616. takeorderid:
  14617. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14618. type: string
  14619. takeorderstatus:
  14620. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14621. 7:已拒绝 8:已撤销
  14622. type: integer
  14623. takeremark:
  14624. description: 提货备注
  14625. type: string
  14626. tradedate:
  14627. description: 交易日(yyyyMMdd)
  14628. type: string
  14629. updatetime:
  14630. description: 更新时间
  14631. type: string
  14632. userid:
  14633. description: 用户ID
  14634. type: integer
  14635. userinfotype:
  14636. description: 客户类型 1-个人 2-企业
  14637. type: integer
  14638. username:
  14639. description: 用户名称
  14640. type: string
  14641. type: object
  14642. models.QhjUserNodeCfgAndStatus:
  14643. properties:
  14644. agreementcontent:
  14645. description: 协议内容
  14646. type: string
  14647. agreementid:
  14648. description: 协议ID
  14649. type: integer
  14650. agreementname:
  14651. description: 协议名称
  14652. type: string
  14653. agreementno:
  14654. description: 协议编号
  14655. type: string
  14656. agreementtype:
  14657. description: 协议类型 - 1:注册 2:登录 3:交易
  14658. type: integer
  14659. agreementversion:
  14660. description: 协议版本号
  14661. type: integer
  14662. configid:
  14663. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14664. type: integer
  14665. createtime:
  14666. description: 创建时间
  14667. type: string
  14668. goodsid:
  14669. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14670. type: integer
  14671. nodetype:
  14672. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14673. type: integer
  14674. signtimestamp:
  14675. description: 签约状态时间戳(最近一次)
  14676. type: string
  14677. tradedate:
  14678. description: 签约交易日(yyyyMMdd)
  14679. type: string
  14680. userid:
  14681. description: 客户ID
  14682. type: integer
  14683. type: object
  14684. models.Qhjgoodsex:
  14685. properties:
  14686. canfinance:
  14687. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14688. type: integer
  14689. canregularlybuy:
  14690. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14691. type: integer
  14692. defaulttradeuserid:
  14693. description: 默认交易用户ID
  14694. type: integer
  14695. deliverygoodsid:
  14696. description: 现货品种ID
  14697. type: integer
  14698. goodsid:
  14699. description: 商品ID(自增ID SEQ_GOODS)
  14700. type: integer
  14701. minamount:
  14702. description: 最小购买金额
  14703. type: number
  14704. regularlybuyminamount:
  14705. description: 定投最小金额
  14706. type: number
  14707. regularlybuyminqty:
  14708. description: 定投最小数量
  14709. type: number
  14710. spotgoodsbrandid:
  14711. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14712. type: integer
  14713. visibilityforenterprise:
  14714. description: 企业客户是否可见 - 0:不可见 1:可见
  14715. type: integer
  14716. visibilityforpersonal:
  14717. description: 个人客户是否可见 - 0:不可见 1:可见
  14718. type: integer
  14719. wrstandardid:
  14720. description: 现货商品ID
  14721. type: integer
  14722. type: object
  14723. models.QueryErrorInfosRsp:
  14724. properties:
  14725. description:
  14726. description: 异常描述
  14727. type: string
  14728. errorcode:
  14729. description: 异常代码
  14730. type: string
  14731. errorid:
  14732. description: 异常ID
  14733. type: integer
  14734. modulecode:
  14735. description: 所属模块
  14736. type: string
  14737. operatecode:
  14738. description: 所属操作
  14739. type: string
  14740. rownumber:
  14741. description: 行号
  14742. type: string
  14743. required:
  14744. - errorid
  14745. type: object
  14746. models.QueryHedgeOrderDetailRsp:
  14747. properties:
  14748. accountid:
  14749. description: 账户ID
  14750. type: integer
  14751. buyorsell:
  14752. description: 买卖 - 0:买 1:卖
  14753. type: integer
  14754. cancellogincode:
  14755. description: 撤单人
  14756. type: string
  14757. channelbuildtype:
  14758. description: 开平标志 - 0:无 1:建仓 2:平仓
  14759. type: integer
  14760. channelinnerorderstatus:
  14761. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14762. 9:全部成交
  14763. type: integer
  14764. channeloperatetype:
  14765. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14766. type: integer
  14767. closetype:
  14768. description: 平仓方式 - 0:无 1:平今 2:平昨
  14769. type: integer
  14770. curexchangerate:
  14771. description: 当前汇率
  14772. type: number
  14773. decimalplace:
  14774. description: 商品报价小数位
  14775. type: integer
  14776. exchangefullname:
  14777. description: 外部交易所全称
  14778. type: string
  14779. goodscode:
  14780. description: 商品代码(内部)
  14781. type: string
  14782. goodsid:
  14783. description: 商品ID
  14784. type: integer
  14785. goodsname:
  14786. description: 商品名称
  14787. type: string
  14788. marketid:
  14789. description: 市场ID
  14790. type: integer
  14791. openfreezemargin:
  14792. description: 冻结保证金(冻结交易金额)
  14793. type: number
  14794. orderid:
  14795. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14796. type: string
  14797. orderlogincode:
  14798. description: 委托人
  14799. type: string
  14800. orderprice:
  14801. description: 委托价格(账户)
  14802. type: number
  14803. orderqty:
  14804. description: 委托数量
  14805. type: integer
  14806. ordertime:
  14807. description: 委托时间
  14808. type: string
  14809. pricemode:
  14810. description: '取价方式 - 1:市价 2: 限价'
  14811. type: integer
  14812. tradedate:
  14813. description: 交易日(yyyyMMdd)
  14814. type: string
  14815. tradeqty:
  14816. description: 成交数量
  14817. type: integer
  14818. type: object
  14819. models.QueryHedgeTradeDetailRsp:
  14820. properties:
  14821. accountid:
  14822. description: 账号ID
  14823. type: integer
  14824. buyorsell:
  14825. description: 方向 - 0:买 1:卖
  14826. type: integer
  14827. channelbuildtype:
  14828. description: 委托单据类型 0:无 1:建仓 2:平仓
  14829. type: integer
  14830. closecharge:
  14831. description: 平仓手续费(账户)
  14832. type: number
  14833. closecharge2:
  14834. description: 平仓手续费(商品)
  14835. type: number
  14836. closepl:
  14837. description: 平仓盈亏(账户)
  14838. type: number
  14839. closepl2:
  14840. description: 平仓盈亏(商品)
  14841. type: number
  14842. closepl3:
  14843. description: 平仓盈亏(账户)(逐笔)
  14844. type: number
  14845. closepl4:
  14846. description: 平仓盈亏(商品)(逐笔)
  14847. type: number
  14848. closetype:
  14849. description: 平仓方式 - 0:无 1:平今 2:平昨
  14850. type: integer
  14851. curexchangerate:
  14852. description: 当前汇率
  14853. type: number
  14854. decimalplace:
  14855. description: 商品报价小数位
  14856. type: integer
  14857. exchangefullname:
  14858. description: 外部交易所全称
  14859. type: string
  14860. goodscode:
  14861. description: 商品代码(内部)
  14862. type: string
  14863. goodsid:
  14864. description: 商品ID
  14865. type: integer
  14866. goodsname:
  14867. description: 商品名称
  14868. type: string
  14869. marketid:
  14870. description: 市场ID
  14871. type: integer
  14872. opencharge:
  14873. description: 建仓手续费(账户)
  14874. type: number
  14875. opencharge2:
  14876. description: 建仓手续费(商品)
  14877. type: number
  14878. orderid:
  14879. description: 委托单号
  14880. type: string
  14881. orderlogincode:
  14882. description: 委托人
  14883. type: string
  14884. tradeamount:
  14885. description: 成交金额(账户)
  14886. type: number
  14887. tradedate:
  14888. description: 交易日(yyyyMMdd)
  14889. type: string
  14890. tradeid:
  14891. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14892. type: string
  14893. tradeprice:
  14894. description: 成交价格
  14895. type: number
  14896. tradeqty:
  14897. description: 成交数量
  14898. type: integer
  14899. tradetime:
  14900. description: 成交时间
  14901. type: string
  14902. tradetype:
  14903. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14904. type: integer
  14905. type: object
  14906. models.QuotePrimaryMenu:
  14907. properties:
  14908. Index:
  14909. description: 序号
  14910. type: integer
  14911. Key:
  14912. description: 键名
  14913. type: string
  14914. Name:
  14915. description: 菜单名称
  14916. type: string
  14917. SubMenus:
  14918. description: 子菜单
  14919. items:
  14920. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14921. type: array
  14922. SubTitleType:
  14923. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14924. type: integer
  14925. TradeModes:
  14926. description: 包含市场交易类型
  14927. type: string
  14928. type: object
  14929. models.QuoteSecondaryMenu:
  14930. properties:
  14931. ExExchangeCode:
  14932. description: 外部交易所代码
  14933. type: string
  14934. ExExchangeID:
  14935. description: 外部交易所ID
  14936. type: integer
  14937. GoodsGroupIDs:
  14938. description: 商品组ID列表
  14939. items:
  14940. type: integer
  14941. type: array
  14942. Index:
  14943. description: 序号
  14944. type: integer
  14945. MarketID:
  14946. description: 市场ID
  14947. type: integer
  14948. MenuTitle:
  14949. description: 菜单标题(市场名称或外部交易所名称)
  14950. type: string
  14951. TradeMode:
  14952. description: 交易模式
  14953. type: integer
  14954. type: object
  14955. models.RelatedTaAccount:
  14956. properties:
  14957. accountid:
  14958. description: 资金账户ID
  14959. type: integer
  14960. type: object
  14961. models.RoleMenu:
  14962. properties:
  14963. hasright:
  14964. description: 是否有权限 0-没有权限 1-有权限
  14965. type: integer
  14966. iconame:
  14967. description: 菜单图标
  14968. type: string
  14969. menutype:
  14970. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14971. type: integer
  14972. parentcode:
  14973. description: 上级资源代码
  14974. type: string
  14975. remark:
  14976. description: 菜单备注
  14977. type: string
  14978. resourcecode:
  14979. description: 菜单代码
  14980. type: string
  14981. resourcelevel:
  14982. description: 级别
  14983. type: integer
  14984. resourcename:
  14985. description: 菜单名称
  14986. type: string
  14987. roleid:
  14988. description: 角色id
  14989. type: integer
  14990. sort:
  14991. description: 排序
  14992. type: integer
  14993. subMenu:
  14994. description: 子级菜单(结构同上层一样, swag解析不出来)
  14995. items:
  14996. $ref: '#/definitions/models.RoleMenu'
  14997. type: array
  14998. url:
  14999. description: URL
  15000. type: string
  15001. userid:
  15002. description: 用户id
  15003. type: integer
  15004. type: object
  15005. models.SearchGoods:
  15006. properties:
  15007. goodscode:
  15008. description: 商品代码(内部)
  15009. type: string
  15010. goodsid:
  15011. description: 商品ID(自增ID SEQ_GOODS)
  15012. type: integer
  15013. goodsname:
  15014. description: 商品名称
  15015. type: string
  15016. marketid:
  15017. description: 所属市场ID
  15018. type: integer
  15019. marketname:
  15020. description: 市场名称
  15021. type: string
  15022. trademode:
  15023. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15024. 21:竞拍-大宗式 22:受托竞价
  15025. type: integer
  15026. required:
  15027. - goodscode
  15028. - goodsid
  15029. - goodsname
  15030. - marketid
  15031. - trademode
  15032. type: object
  15033. models.Systemparam:
  15034. properties:
  15035. loginid:
  15036. description: 更新用户账号,登录账号
  15037. type: string
  15038. modifyflag:
  15039. description: 修改标志0 不允许修改 1 允许修改
  15040. type: integer
  15041. paramcode:
  15042. description: 参数代码
  15043. type: string
  15044. paramname:
  15045. description: 参数名
  15046. type: string
  15047. paramtype:
  15048. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15049. type: integer
  15050. paramvalue:
  15051. description: 参数值
  15052. type: string
  15053. paramvalue2:
  15054. description: 参数值(CLOB)
  15055. type: string
  15056. regexpress:
  15057. description: 正则表达式
  15058. type: string
  15059. remark:
  15060. description: 备注
  15061. type: string
  15062. serverip:
  15063. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15064. type: string
  15065. showflag:
  15066. description: 是否显示0 不显示 1 显示
  15067. type: integer
  15068. updatetime:
  15069. description: 更新时间
  15070. type: string
  15071. userid:
  15072. description: 更新用户ID
  15073. type: integer
  15074. required:
  15075. - paramcode
  15076. type: object
  15077. models.Szdz3convertconfig:
  15078. properties:
  15079. canin:
  15080. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15081. type: integer
  15082. canout:
  15083. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15084. type: integer
  15085. converttype:
  15086. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15087. 6:交易转花生米(不设置)
  15088. type: integer
  15089. createtime:
  15090. description: 创建时间
  15091. type: string
  15092. creatorid:
  15093. description: 创建人
  15094. type: integer
  15095. daymaxvalue:
  15096. description: 当日最大转入限制
  15097. type: number
  15098. freezedays:
  15099. description: 冻结天数 [5:花生米转交易]
  15100. type: integer
  15101. innergoodsid:
  15102. description: 内部商品ID[交易]
  15103. type: integer
  15104. inratio:
  15105. description: 目标值
  15106. type: integer
  15107. modifierid:
  15108. description: 修改人
  15109. type: integer
  15110. modifytime:
  15111. description: 修改时间
  15112. type: string
  15113. outergoodscode:
  15114. description: 外部商品代码[JD\PD]
  15115. type: string
  15116. outratio:
  15117. description: 源值
  15118. type: integer
  15119. pddecimalplace:
  15120. description: PD小数位
  15121. type: integer
  15122. timemaxvalue:
  15123. description: 单次最大转入限制
  15124. type: number
  15125. timeminvalue:
  15126. description: 单次最小转入限制
  15127. type: number
  15128. required:
  15129. - converttype
  15130. - innergoodsid
  15131. - outergoodscode
  15132. type: object
  15133. models.Szdz3searchwhitelist:
  15134. properties:
  15135. createtime:
  15136. description: 创建时间
  15137. type: string
  15138. creatorid:
  15139. description: 创建人
  15140. type: integer
  15141. modifierid:
  15142. description: 修改人
  15143. type: integer
  15144. modifytime:
  15145. description: 修改时间
  15146. type: string
  15147. userid:
  15148. description: 用户ID
  15149. type: integer
  15150. required:
  15151. - userid
  15152. type: object
  15153. models.TBGoods:
  15154. properties:
  15155. agreeunit:
  15156. description: 合约乘数
  15157. type: number
  15158. enumdicname:
  15159. description: 单位名称
  15160. type: string
  15161. goodscode:
  15162. description: 商品代码(内部)
  15163. type: string
  15164. goodsid:
  15165. description: 商品ID(自增ID SEQ_GOODS)
  15166. type: integer
  15167. goodsname:
  15168. description: 商品名称
  15169. type: string
  15170. type: object
  15171. models.TBGoodsGroup:
  15172. properties:
  15173. GDLST:
  15174. description: 商品列表
  15175. items:
  15176. $ref: '#/definitions/models.TBGoods'
  15177. type: array
  15178. convertratio:
  15179. description: 折算系数
  15180. type: number
  15181. enumdicname:
  15182. description: 单位名称
  15183. type: string
  15184. exexchangecode:
  15185. description: 交易所代码
  15186. type: string
  15187. exexchangename:
  15188. description: 交易所名称
  15189. type: string
  15190. goodsgroupid:
  15191. description: 商品组ID(自增ID)
  15192. type: integer
  15193. goodsgroupname:
  15194. description: 商品组名称
  15195. type: string
  15196. goodunitid:
  15197. description: 报价单位ID
  15198. type: integer
  15199. type: object
  15200. models.TBMiddleGoods:
  15201. properties:
  15202. GPLST:
  15203. description: 期货品种列表
  15204. items:
  15205. $ref: '#/definitions/models.TBGoodsGroup'
  15206. type: array
  15207. WDLST:
  15208. description: 商品信息列表(现货品类)
  15209. items:
  15210. $ref: '#/definitions/models.TBWrstandard'
  15211. type: array
  15212. areauserid:
  15213. description: 机构用户ID
  15214. type: integer
  15215. enumdicname:
  15216. description: 单位名称
  15217. type: string
  15218. goodsunitid:
  15219. description: 套保品种单位id
  15220. type: integer
  15221. middlegoodscode:
  15222. description: 套保品种代码
  15223. type: string
  15224. middlegoodsid:
  15225. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15226. type: integer
  15227. middlegoodsname:
  15228. description: 套保品种名称
  15229. type: string
  15230. needarbitrageratio:
  15231. description: 套利比率
  15232. type: number
  15233. needhedgeratio:
  15234. description: 套保比率
  15235. type: number
  15236. type: object
  15237. models.TBWrstandard:
  15238. properties:
  15239. convertratio:
  15240. description: 折算系数
  15241. type: number
  15242. deliverygoodsname:
  15243. description: 品种名称
  15244. type: string
  15245. enumdicname:
  15246. description: 单位名称
  15247. type: string
  15248. vatrate:
  15249. description: 增值税率
  15250. type: number
  15251. wrstandardcode:
  15252. description: 现货商品代码
  15253. type: string
  15254. wrstandardid:
  15255. description: 现货商品ID(SEQ_WRSTANDARD)
  15256. type: integer
  15257. wrstandardname:
  15258. description: 现货商品名称
  15259. type: string
  15260. type: object
  15261. models.Taaccount:
  15262. properties:
  15263. accountflag:
  15264. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15265. type: integer
  15266. accountid:
  15267. description: 资金账户ID
  15268. type: integer
  15269. accountname:
  15270. description: 账户名称
  15271. type: string
  15272. balance:
  15273. description: 期初余额
  15274. type: number
  15275. capitalbalance:
  15276. description: 本金余额[外部子账户实际出入金余额]
  15277. type: number
  15278. changeflag:
  15279. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15280. type: integer
  15281. changetime:
  15282. description: 账户状态变更时间
  15283. type: string
  15284. closepl:
  15285. description: 今日平仓盈亏
  15286. type: number
  15287. creditdecrease:
  15288. description: 今日授信减少
  15289. type: number
  15290. creditincrease:
  15291. description: 今日授信增加
  15292. type: number
  15293. curamount:
  15294. description: 总市值(从持仓中统计)
  15295. type: number
  15296. currencyid:
  15297. description: 货币ID
  15298. type: integer
  15299. currentbalance:
  15300. description: 期末余额
  15301. type: number
  15302. freezecharge:
  15303. description: 手续费冻结
  15304. type: number
  15305. freezemargin:
  15306. description: 冻结保证金
  15307. type: number
  15308. fromaccountid:
  15309. description: 所属上级账户
  15310. type: integer
  15311. inamount:
  15312. description: 今日入金金额(包括三方入金)
  15313. type: number
  15314. ismain:
  15315. description: 是否母账号 0:不是母账户 1:是母账户
  15316. type: integer
  15317. ismarketaccount:
  15318. description: 是否机构接单账号 0:不是 1:是
  15319. type: integer
  15320. isreckonaccount:
  15321. description: 是否机构分润账号 0:不是 1:是
  15322. type: integer
  15323. mortgagecredit:
  15324. description: 授信金额
  15325. type: number
  15326. orifreezecharge:
  15327. description: 期初手续费冻结
  15328. type: number
  15329. orifreezemargin:
  15330. description: 期初冻结保证金
  15331. type: number
  15332. orimortgagecredit:
  15333. description: 期初授信金额
  15334. type: number
  15335. oriothercredit:
  15336. description: 期初其它授信金额
  15337. type: number
  15338. oriotherfreezemargin:
  15339. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15340. type: number
  15341. orioutamountfreeze:
  15342. description: 期初出金冻结
  15343. type: number
  15344. oriusedmargin:
  15345. description: 期初占用保证金
  15346. type: number
  15347. othercredit:
  15348. description: 其它授信金额
  15349. type: number
  15350. othercreditdecrease:
  15351. description: 今日其它授信减少
  15352. type: number
  15353. othercreditincrease:
  15354. description: 今日其它授信增加
  15355. type: number
  15356. otherfreezemargin:
  15357. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15358. type: number
  15359. otherincome:
  15360. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15361. type: number
  15362. otherpay:
  15363. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15364. type: number
  15365. outamount:
  15366. description: 今日出金金额(包括三方出金)
  15367. type: number
  15368. outamountfreeze:
  15369. description: 出金冻结
  15370. type: number
  15371. outthreshold:
  15372. description: 出金阈值
  15373. type: number
  15374. parentaccountid:
  15375. description: 所属根账号
  15376. type: integer
  15377. paycharge:
  15378. description: 今日手续费支出
  15379. type: number
  15380. relatedaccountstatus:
  15381. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15382. type: integer
  15383. relateduserid:
  15384. description: 关联用户
  15385. type: integer
  15386. remainamount:
  15387. description: 融资额(从融资合同中统计)
  15388. type: number
  15389. serivcegroup:
  15390. description: 服务分组
  15391. type: integer
  15392. signstatus:
  15393. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15394. type: integer
  15395. sublevelpath:
  15396. description: 账号层级路径(逗号分隔,首尾加逗号)
  15397. type: string
  15398. taaccounttype:
  15399. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15400. type: integer
  15401. thirdinamount:
  15402. description: 今日三方入金
  15403. type: number
  15404. thirdoutamount:
  15405. description: 今日三方出金
  15406. type: number
  15407. tradestatus:
  15408. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15409. type: integer
  15410. tradestatuschangetime:
  15411. description: 激活时间
  15412. type: string
  15413. transferamount:
  15414. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15415. type: number
  15416. usedmargin:
  15417. description: 占用保证金
  15418. type: number
  15419. userid:
  15420. description: 用户ID
  15421. type: integer
  15422. required:
  15423. - accountid
  15424. - userid
  15425. type: object
  15426. models.Tablecolumnconfig:
  15427. properties:
  15428. aligntype:
  15429. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15430. type: integer
  15431. autoid:
  15432. description: AutoID
  15433. type: integer
  15434. columnfield:
  15435. description: 列字段
  15436. type: string
  15437. columntitle:
  15438. description: 列Title
  15439. type: string
  15440. columnwidth:
  15441. description: 列宽
  15442. type: string
  15443. formatterstring:
  15444. description: 格式化字符
  15445. type: string
  15446. formattertype:
  15447. description: 格式化类型
  15448. type: string
  15449. groupname:
  15450. description: 表头分组名称
  15451. type: string
  15452. isshow:
  15453. description: 是否显示 - 0:不显示 1:显示
  15454. type: integer
  15455. needsummary:
  15456. description: 是否需要汇总 - 0:不需要 1:需要
  15457. type: integer
  15458. orderindex:
  15459. description: 顺序
  15460. type: integer
  15461. remark:
  15462. description: 备注
  15463. type: string
  15464. summarytype:
  15465. description: 汇总类型 - 1:加总 2:最后一个
  15466. type: integer
  15467. tablekey:
  15468. description: 列表Key
  15469. type: string
  15470. required:
  15471. - autoid
  15472. type: object
  15473. models.TjmdHolderDetailTradeInfo:
  15474. properties:
  15475. agreeunit:
  15476. description: 合约乘数
  15477. type: number
  15478. buyaccountid:
  15479. description: 买方账户
  15480. type: string
  15481. buyusername:
  15482. description: 买方
  15483. type: string
  15484. delistingdate:
  15485. description: 最后结算日
  15486. type: string
  15487. expiredate:
  15488. description: 到期结算价定价日
  15489. type: string
  15490. exprieprice:
  15491. description: 到期清算价格
  15492. type: string
  15493. goodscode:
  15494. description: 商品代码
  15495. type: string
  15496. goodsid:
  15497. description: 商品ID
  15498. type: integer
  15499. goodsname:
  15500. description: 商品名称(交易标的)
  15501. type: string
  15502. lasttradedate:
  15503. description: 最后交易日
  15504. type: string
  15505. listingdate:
  15506. description: 开始交易日
  15507. type: string
  15508. openprice:
  15509. description: 成交价
  15510. type: number
  15511. openqty:
  15512. description: 交易数量
  15513. type: integer
  15514. sellaccountid:
  15515. description: 卖方账户
  15516. type: string
  15517. sellusername:
  15518. description: 卖方
  15519. type: string
  15520. tradeamount:
  15521. description: 初始名义价值
  15522. type: number
  15523. tradedate:
  15524. description: 成交日期
  15525. type: string
  15526. tradeid:
  15527. description: 成交编号
  15528. type: string
  15529. type: object
  15530. models.TjmdMarketSection:
  15531. properties:
  15532. marketsectionid:
  15533. description: 市场版块ID(SEQ_MARKETSECTION)
  15534. type: integer
  15535. marketsectionname:
  15536. description: 市场版块名称
  15537. type: string
  15538. mlist:
  15539. description: 市场列表(板块下面有多少个市场)
  15540. items:
  15541. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15542. type: array
  15543. orderindex:
  15544. description: 排序
  15545. type: integer
  15546. pictureurl:
  15547. description: 图片url, 规格(90*90)
  15548. type: string
  15549. remark:
  15550. description: 备注
  15551. type: string
  15552. type: object
  15553. models.TjmdMarketSectionConfig:
  15554. properties:
  15555. auctionwrtype:
  15556. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15557. type: integer
  15558. canacceptquote:
  15559. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15560. type: integer
  15561. cangoodsexercise:
  15562. description: '[期权]是否可现货行权- 0:否 1:是'
  15563. type: integer
  15564. cangoodsexercisetype:
  15565. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15566. type: integer
  15567. canmanualquotestrike:
  15568. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15569. type: integer
  15570. canmutistage:
  15571. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15572. type: integer
  15573. canpreexercise:
  15574. description: '[期权]是否可预申报- 0:否 1:是'
  15575. type: integer
  15576. clearinterval:
  15577. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15578. type: integer
  15579. contracttmp:
  15580. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15581. type: string
  15582. exchareaid:
  15583. description: 所属交易所,可以没有
  15584. type: integer
  15585. financemarketid:
  15586. description: 融资回购市场ID [仓单贸易]
  15587. type: integer
  15588. goodstype:
  15589. description: 商品类型 - 1:交易商品 2:仓单商品
  15590. type: integer
  15591. hasrebate:
  15592. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15593. type: integer
  15594. hastradecredit:
  15595. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15596. type: integer
  15597. haswr:
  15598. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15599. type: integer
  15600. isdeductmargin:
  15601. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15602. type: integer
  15603. isrecordsource:
  15604. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15605. type: integer
  15606. isreleasemargin:
  15607. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15608. type: integer
  15609. isupdatereckonprice:
  15610. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15611. type: integer
  15612. listingmode:
  15613. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15614. type: integer
  15615. marginformula:
  15616. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15617. type: integer
  15618. marginformula2:
  15619. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15620. type: integer
  15621. marketid:
  15622. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15623. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15624. type: integer
  15625. marketname:
  15626. description: 市场名称
  15627. type: string
  15628. marketsectionid:
  15629. description: 市场版块ID(SEQ_MARKETSECTION)
  15630. type: integer
  15631. marketserviceid:
  15632. description: 市场服务ID
  15633. type: integer
  15634. marketstatus:
  15635. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15636. type: integer
  15637. markettype:
  15638. description: 市场类型- 1:非交易服务 2:交易服务
  15639. type: integer
  15640. matchermode:
  15641. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15642. type: integer
  15643. nowrquotaflag:
  15644. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15645. type: integer
  15646. openmethod:
  15647. description: 开盘模式 - 0 自动 1手动
  15648. type: integer
  15649. orderindex:
  15650. description: 排序
  15651. type: integer
  15652. otcuserid:
  15653. description: 场外期权做市商[场外期权]
  15654. type: integer
  15655. outersynctime:
  15656. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15657. type: string
  15658. paylaterflag:
  15659. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15660. type: integer
  15661. pendingflag:
  15662. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15663. type: integer
  15664. pendingtime:
  15665. description: 待开市时间[通道交易-对冲](HH:mm)
  15666. type: string
  15667. performancetempid:
  15668. description: 履约计划模板ID - 作废
  15669. type: integer
  15670. premiumquotemode:
  15671. description: 权利金报价方式 - 1:自动 2:手动
  15672. type: integer
  15673. rebateratio:
  15674. description: 返利比率[竞价式]
  15675. type: number
  15676. reckonorder:
  15677. description: 结算顺序
  15678. type: integer
  15679. reckonpricealgorithm:
  15680. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15681. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15682. type: integer
  15683. reckonpriceparam:
  15684. description: 结算价参数
  15685. type: integer
  15686. reckontime:
  15687. description: 结算时间[通道交易-对冲](HH:mm)
  15688. type: string
  15689. roleprioritytype:
  15690. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15691. type: integer
  15692. selllistingauditflag:
  15693. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15694. type: integer
  15695. trademarkettype:
  15696. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15697. type: integer
  15698. trademode:
  15699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15700. 21:竞拍-大宗式 22:受托竞价
  15701. type: integer
  15702. tradeproperty:
  15703. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15704. 8:场外期权
  15705. type: integer
  15706. tradetype:
  15707. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15708. type: integer
  15709. updatereckonpriceinterval:
  15710. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15711. type: integer
  15712. type: object
  15713. models.TjmdQuoteGoods:
  15714. properties:
  15715. buyqty:
  15716. description: 买量(暂不做, 无值, 保留字段)
  15717. type: number
  15718. decimalplace:
  15719. description: 报价小数位
  15720. type: integer
  15721. goodscode:
  15722. description: 合约代码
  15723. type: string
  15724. goodsgroupid:
  15725. description: 商品组ID(自增ID)
  15726. type: integer
  15727. goodsgroupname:
  15728. description: 商品组名称
  15729. type: string
  15730. goodsid:
  15731. description: 合约id
  15732. type: integer
  15733. goodsname:
  15734. description: 合约名称
  15735. type: string
  15736. refgoodscode:
  15737. description: 标的合约代码
  15738. type: string
  15739. refgoodsid:
  15740. description: 标的合约id
  15741. type: integer
  15742. refgoodsname:
  15743. description: 标的合约名称
  15744. type: string
  15745. sellqty:
  15746. description: 卖量(暂不做, 无值, 保留字段)
  15747. type: number
  15748. type: object
  15749. models.TjmdTodayAccountMargin:
  15750. properties:
  15751. accountid:
  15752. description: 账号ID
  15753. type: integer
  15754. goodsid:
  15755. description: 商品ID
  15756. type: integer
  15757. infoc:
  15758. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15759. description: 配置参数
  15760. marketid:
  15761. description: 市场ID
  15762. type: integer
  15763. type: object
  15764. models.TjmdTradeOrderDetail:
  15765. properties:
  15766. buyorsell:
  15767. description: 买卖方向 0-买 1-卖
  15768. type: integer
  15769. goodsid:
  15770. description: 商品id
  15771. type: integer
  15772. marketmaxsub:
  15773. description: 市价最大偏移范围 [浮动价 - 点差]
  15774. type: number
  15775. orderid:
  15776. description: 委托单号
  15777. type: string
  15778. orderprice:
  15779. description: 委托价格
  15780. type: number
  15781. orderqty:
  15782. description: 委托数量
  15783. type: integer
  15784. pricemode:
  15785. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15786. type: integer
  15787. userid:
  15788. description: 用户id
  15789. type: integer
  15790. username:
  15791. description: 用户名称(已脱敏)
  15792. type: string
  15793. type: object
  15794. models.TjmdTransferApply:
  15795. properties:
  15796. applyid:
  15797. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15798. type: integer
  15799. applystatus:
  15800. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15801. type: integer
  15802. applytime:
  15803. description: 申请时间(时间)
  15804. type: string
  15805. auditremark:
  15806. description: 审核备注(拒绝原因?)
  15807. type: string
  15808. begindate:
  15809. description: 开始交易日(yyyymmdd)
  15810. type: string
  15811. buyorsell:
  15812. description: 买卖 - 0:买 1:卖
  15813. type: integer
  15814. enddate:
  15815. description: 结束交易日(yyyymmdd)
  15816. type: string
  15817. goodscode:
  15818. description: 商品代码
  15819. type: string
  15820. goodsid:
  15821. description: 商品ID
  15822. type: integer
  15823. goodsname:
  15824. description: 商品名称
  15825. type: string
  15826. marketid:
  15827. description: 市场ID
  15828. type: integer
  15829. qty:
  15830. description: 转让数量(数量)
  15831. type: number
  15832. tradeid:
  15833. description: 成交单号(关联持仓)
  15834. type: string
  15835. transferamount:
  15836. description: 转让总金额(金额)
  15837. type: number
  15838. transferprice:
  15839. description: 转让价格(协议价格)
  15840. type: number
  15841. type: object
  15842. models.TradeHolderDetail:
  15843. properties:
  15844. accountid:
  15845. description: 账号ID
  15846. type: integer
  15847. agreeunit:
  15848. description: 合约乘数
  15849. type: number
  15850. buyorsell:
  15851. description: 方向 - 0:买 1:卖
  15852. type: integer
  15853. currencyid:
  15854. description: 商品币种id
  15855. type: integer
  15856. currencyname:
  15857. description: 币种名称
  15858. type: string
  15859. decimalplace:
  15860. description: 商品价格小数位
  15861. type: integer
  15862. enumdicname:
  15863. description: 商品单位名称
  15864. type: string
  15865. expirecycle:
  15866. description: 行权周期(天) - 1:滚动行权时填写
  15867. type: integer
  15868. expiredate:
  15869. description: 行权日(yyyyMMdd) - 到期日
  15870. type: string
  15871. expiretype:
  15872. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15873. type: integer
  15874. freezeqty:
  15875. description: 冻结数量
  15876. type: number
  15877. goodscode:
  15878. description: 商品代码
  15879. type: string
  15880. goodsid:
  15881. description: 商品ID
  15882. type: integer
  15883. goodsname:
  15884. description: 商品名称
  15885. type: string
  15886. goodunitid:
  15887. description: 商品单位id
  15888. type: integer
  15889. holderamount:
  15890. description: 持仓金额
  15891. type: number
  15892. holdercredit:
  15893. description: 持仓授信金额
  15894. type: number
  15895. holderdays:
  15896. description: 剩余冻结天数
  15897. type: integer
  15898. holderprice:
  15899. description: 持仓价格
  15900. type: number
  15901. holderqty:
  15902. description: 持仓数量
  15903. type: number
  15904. isconfirmexercise:
  15905. description: 是否确认行权- 0:否 1:是
  15906. type: integer
  15907. ispreexercise:
  15908. description: 是否预申报- 0:否 1:是 2:不可行权
  15909. type: integer
  15910. marketid:
  15911. description: 市场id
  15912. type: integer
  15913. marketname:
  15914. description: 市场名称
  15915. type: string
  15916. openprice:
  15917. description: 建仓价格
  15918. type: number
  15919. openqty:
  15920. description: 建仓数量
  15921. type: number
  15922. optiontype:
  15923. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15924. type: integer
  15925. preexerciseprice:
  15926. description: 预申报价格
  15927. type: number
  15928. premium:
  15929. description: 权利金
  15930. type: number
  15931. qtydecimalplace:
  15932. description: 商品成交量小数位
  15933. type: integer
  15934. refgoodscode:
  15935. description: 标的合约代码
  15936. type: string
  15937. refgoodsid:
  15938. description: 标的合约id
  15939. type: integer
  15940. releaseamount:
  15941. description: 释放持仓金额
  15942. type: number
  15943. releaseholdercredit:
  15944. description: 释放持仓授信金额
  15945. type: number
  15946. taname:
  15947. description: 资金账号名称
  15948. type: string
  15949. tradeamount:
  15950. description: 成交金额
  15951. type: number
  15952. tradedate:
  15953. description: 交易日(yyyyMMdd)
  15954. type: string
  15955. tradeid:
  15956. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15957. type: string
  15958. trademode:
  15959. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15960. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15961. type: integer
  15962. tradeproperty:
  15963. description: 交易属性
  15964. type: integer
  15965. tradetime:
  15966. description: 交易时间
  15967. type: string
  15968. userid:
  15969. description: 用户id
  15970. type: integer
  15971. username:
  15972. description: 用户名称
  15973. type: string
  15974. type: object
  15975. models.Unlinkermcphedgeplan:
  15976. properties:
  15977. accountid:
  15978. description: 期货账户ID - 作废
  15979. type: integer
  15980. accountname:
  15981. description: 交易用户
  15982. type: string
  15983. applyid:
  15984. description: 申请人
  15985. type: integer
  15986. applysrc:
  15987. description: 申请来源 - 1:管理端 2:终端
  15988. type: integer
  15989. applytime:
  15990. description: 申请时间
  15991. type: string
  15992. areauserid:
  15993. description: '[企业ID]机构ID'
  15994. type: integer
  15995. auditid:
  15996. description: 审核人
  15997. type: integer
  15998. auditremark:
  15999. description: 审核备注
  16000. type: string
  16001. auditsrc:
  16002. description: 审核来源 - 1:管理端 2:终端
  16003. type: integer
  16004. audittime:
  16005. description: 审核时间
  16006. type: string
  16007. audittradedate:
  16008. description: 审核交易日(yyyyMMdd)
  16009. type: string
  16010. biztype:
  16011. description: 业务类型 - 1:套保
  16012. type: integer
  16013. contracttype:
  16014. description: 计划类型 - 1:采购 -1:销售
  16015. type: integer
  16016. convertfactor:
  16017. description: 标仓系数 - 作废
  16018. type: number
  16019. createtime:
  16020. description: 创建时间
  16021. type: string
  16022. currencyid:
  16023. description: 结算币种ID - 作废
  16024. type: integer
  16025. deliverygoodsid:
  16026. description: 现货品种ID
  16027. type: integer
  16028. enumdicname:
  16029. description: 结算币种
  16030. type: string
  16031. hedgeplanid:
  16032. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16033. type: string
  16034. hedgeplanno:
  16035. description: '[计划编号]套保计划编号,模糊查询'
  16036. type: string
  16037. hedgeplanstatus:
  16038. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16039. type: integer
  16040. isrelated:
  16041. description: 是否已关联计划项目 - 0:否 1:是
  16042. type: integer
  16043. planqty:
  16044. description: '[计划量]计划数量'
  16045. type: number
  16046. plantime:
  16047. description: 计划时间
  16048. type: string
  16049. producttype:
  16050. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16051. type: integer
  16052. remark:
  16053. description: 备注
  16054. type: string
  16055. spotgoodsdesc:
  16056. description: 商品型号
  16057. type: string
  16058. tradedate:
  16059. description: 交易日(yyyyMMdd)
  16060. type: string
  16061. tradeuserid:
  16062. description: 交易用户ID
  16063. type: integer
  16064. updatetime:
  16065. description: 更新时间
  16066. type: string
  16067. wrstandardid:
  16068. description: 现货商品ID
  16069. type: integer
  16070. wrstandardname:
  16071. description: 现货商品,模糊查询
  16072. type: string
  16073. required:
  16074. - areauserid
  16075. type: object
  16076. models.UserCollectConfig:
  16077. properties:
  16078. accountstatus:
  16079. description: 账户状态 - 1:正常 2:停用 3:注销
  16080. type: integer
  16081. collectaccountname:
  16082. description: 收款人账户名称
  16083. type: string
  16084. collectaccountno:
  16085. description: 收款人账户
  16086. type: string
  16087. collectbankname:
  16088. description: 收款人开户行
  16089. type: string
  16090. collectbranchbankname:
  16091. description: 收款人开户支行
  16092. type: string
  16093. collectconfigid:
  16094. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16095. type: string
  16096. remark:
  16097. description: 备注
  16098. type: string
  16099. userid:
  16100. description: 收款人用户ID
  16101. type: integer
  16102. type: object
  16103. models.UserReceiveInfo:
  16104. properties:
  16105. address:
  16106. description: 提货人详细地址
  16107. type: string
  16108. autoid:
  16109. description: AutoID
  16110. type: integer
  16111. cardnum:
  16112. description: 证件号码(加密存储)
  16113. type: string
  16114. cardtypeid:
  16115. description: 证件类型
  16116. type: integer
  16117. cityid:
  16118. description: 市
  16119. type: integer
  16120. cityname:
  16121. description: 城市名称
  16122. type: string
  16123. countryid:
  16124. description: 国家
  16125. type: integer
  16126. countryname:
  16127. description: 国家名称
  16128. type: string
  16129. districtid:
  16130. description: 地区
  16131. type: integer
  16132. districtname:
  16133. description: 地区名称
  16134. type: string
  16135. hasencrypt:
  16136. description: 数据是否已加密 - 0:未加密 1:已加密
  16137. type: integer
  16138. isdefault:
  16139. description: 是否默认地址 - 0:否 1:是
  16140. type: integer
  16141. phonenum:
  16142. description: 提货人联系方式(加密存储)
  16143. type: string
  16144. provinceid:
  16145. description: 省
  16146. type: integer
  16147. provincename:
  16148. description: 省名称
  16149. type: string
  16150. receivername:
  16151. description: 提货人姓名
  16152. type: string
  16153. takeremark:
  16154. description: 提货备注
  16155. type: string
  16156. userid:
  16157. description: 用户ID
  16158. type: integer
  16159. type: object
  16160. models.Useraccount:
  16161. properties:
  16162. accountname:
  16163. description: 账户名称(机构名称)
  16164. type: string
  16165. accountstatus:
  16166. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16167. type: integer
  16168. applysrc:
  16169. description: 申请来源 - 1:管理端 2:终端
  16170. type: integer
  16171. auditremark:
  16172. description: 审核备注
  16173. type: string
  16174. auditsrc:
  16175. description: 审核来源 - 1:管理端 2:终端
  16176. type: integer
  16177. audittime:
  16178. description: 审核时间
  16179. type: string
  16180. audituserid:
  16181. description: 审核人
  16182. type: integer
  16183. broker:
  16184. description: 所属经纪人ID
  16185. type: integer
  16186. canceltime:
  16187. description: 销户时间
  16188. type: string
  16189. canceluserid:
  16190. description: 销户人
  16191. type: integer
  16192. canrecommend:
  16193. description: 是否可推荐 - 0:不可 1;可
  16194. type: integer
  16195. createtime:
  16196. description: 创建时间
  16197. type: string
  16198. creatorid:
  16199. description: 创建人
  16200. type: integer
  16201. hasauth:
  16202. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16203. type: integer
  16204. isanonymous:
  16205. description: 是否匿名下单 - 0:否 1:是
  16206. type: integer
  16207. maxinvestornum:
  16208. description: 最大用户数(经纪会员下投资者个数)
  16209. type: integer
  16210. memberuserid:
  16211. description: 所属会员ID
  16212. type: integer
  16213. modifierid:
  16214. description: 修改人
  16215. type: integer
  16216. modifyremark:
  16217. description: 变更备注
  16218. type: string
  16219. modifystatus:
  16220. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16221. type: integer
  16222. modifytime:
  16223. description: 修改时间
  16224. type: string
  16225. parenttopuser:
  16226. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16227. type: string
  16228. parentuserid:
  16229. description: 所属机构ID
  16230. type: integer
  16231. reckonaccountid:
  16232. description: 默认结算资金账号ID(机构分润使用) 作废
  16233. type: integer
  16234. refercount:
  16235. description: 推荐总人数
  16236. type: integer
  16237. refereeuserid:
  16238. description: 推荐人ID
  16239. type: integer
  16240. refernum:
  16241. description: 推荐码
  16242. type: string
  16243. rootuserid:
  16244. description: 根用户ID
  16245. type: integer
  16246. subaccountlevel:
  16247. description: 子账户层数
  16248. type: integer
  16249. subarealevelpath:
  16250. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16251. type: string
  16252. userid:
  16253. description: 用户ID
  16254. type: integer
  16255. usertype:
  16256. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16257. type: integer
  16258. required:
  16259. - userid
  16260. type: object
  16261. models.Userfavoritegoods:
  16262. properties:
  16263. goodsid:
  16264. description: 商品ID
  16265. type: integer
  16266. required:
  16267. - goodsid
  16268. type: object
  16269. models.Userinfo:
  16270. properties:
  16271. address:
  16272. description: 地址
  16273. type: string
  16274. attachment1:
  16275. description: 附件1
  16276. type: string
  16277. attachment2:
  16278. description: 附件2
  16279. type: string
  16280. bankaccount:
  16281. description: 银行帐号 (加密存储)
  16282. type: string
  16283. bankaccountname:
  16284. description: 收款人名称
  16285. type: string
  16286. bankcardfrontphotourl:
  16287. description: 银行卡正面照地址
  16288. type: string
  16289. bankid:
  16290. description: 银行编码
  16291. type: string
  16292. bankname:
  16293. description: 银行名称
  16294. type: string
  16295. biznature:
  16296. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16297. type: integer
  16298. bizscope:
  16299. description: 企业经营范围(企业)
  16300. type: string
  16301. cardbackphotourl:
  16302. description: 证件背面图片地址
  16303. type: string
  16304. cardfrontphotourl:
  16305. description: 证件正面图片地址
  16306. type: string
  16307. cardnum:
  16308. description: 证件号码(加密存储)
  16309. type: string
  16310. cardtypeid:
  16311. description: 证件类型ID
  16312. type: integer
  16313. cityid:
  16314. description: 市
  16315. type: integer
  16316. company:
  16317. description: 公司(个人)
  16318. type: string
  16319. contactname:
  16320. description: 联系人
  16321. type: string
  16322. countryid:
  16323. description: 国家
  16324. type: integer
  16325. createtime:
  16326. description: 创建时间
  16327. type: string
  16328. creatorid:
  16329. description: 创建人
  16330. type: integer
  16331. customername:
  16332. description: 客户名称(企业名称)
  16333. type: string
  16334. districtid:
  16335. description: 地区
  16336. type: integer
  16337. email:
  16338. description: 邮件(加密存储)
  16339. type: string
  16340. fax:
  16341. description: 传真(加密存储)
  16342. type: string
  16343. halfbodyphotourl:
  16344. description: 半身照地址
  16345. type: string
  16346. hasencrypt:
  16347. description: 数据是否已加密 - 0:未加密 1:已加密
  16348. type: integer
  16349. headurl:
  16350. description: 头像地址
  16351. type: string
  16352. legalcardbackphotourl:
  16353. description: 法人身份证背面照地址
  16354. type: string
  16355. legalcardfrontphotourl:
  16356. description: 法人身份证正面照地址
  16357. type: string
  16358. legalpersonname:
  16359. description: 法人姓名(企业)
  16360. type: string
  16361. mobile:
  16362. description: 手机号码(加密存储)
  16363. type: string
  16364. mobile2:
  16365. description: 手机号码[明文-尚志]
  16366. type: string
  16367. modifierid:
  16368. description: 修改人
  16369. type: integer
  16370. modifiertime:
  16371. description: 修改时间
  16372. type: string
  16373. needinvoice:
  16374. description: 是否需要发票 - 0:不需要 1:需要
  16375. type: integer
  16376. nickname:
  16377. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16378. type: string
  16379. openmode:
  16380. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16381. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16382. type: integer
  16383. otherurl:
  16384. description: 其它图片地址[使用分号分隔]
  16385. type: string
  16386. postalcode:
  16387. description: 邮政编码
  16388. type: string
  16389. provinceid:
  16390. description: 省
  16391. type: integer
  16392. qq:
  16393. description: QQ(加密存储
  16394. type: string
  16395. remark:
  16396. description: 备注
  16397. type: string
  16398. sex:
  16399. description: '用户性别 0: 女 1: 男'
  16400. type: integer
  16401. signpdfurl:
  16402. description: 签约pdf文件
  16403. type: string
  16404. telphone:
  16405. description: 联系电话(加密存储)
  16406. type: string
  16407. userid:
  16408. description: 用户ID
  16409. type: integer
  16410. userinfotype:
  16411. description: 用户信息类型 - 1:个人 2:企业
  16412. type: integer
  16413. userstatus:
  16414. description: 用户状态 - 1:正常 2:注销
  16415. type: integer
  16416. usertype:
  16417. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16418. type: integer
  16419. wechat:
  16420. description: 微信(加密存储)
  16421. type: string
  16422. wskhinfo:
  16423. description: 开户申请信息(JSON)
  16424. type: string
  16425. required:
  16426. - userid
  16427. type: object
  16428. models.WRSConverTDetail:
  16429. properties:
  16430. convertratio:
  16431. description: 套保系数
  16432. type: number
  16433. deliverygoodscode:
  16434. description: 现货商品代码
  16435. type: string
  16436. deliverygoodsid:
  16437. description: 现货品种ID
  16438. type: integer
  16439. deliverygoodsname:
  16440. description: 现货商品名称
  16441. type: string
  16442. enumdicname:
  16443. description: 单位名称
  16444. type: string
  16445. goodsunitid:
  16446. description: 套保品种单位id
  16447. type: integer
  16448. middlegoodscode:
  16449. description: 套保品种代码
  16450. type: string
  16451. middlegoodsid:
  16452. description: 套保品种ID
  16453. type: integer
  16454. middlegoodsname:
  16455. description: 套保品种名称
  16456. type: string
  16457. modifytime:
  16458. description: 修改时间
  16459. type: string
  16460. wrstandardid:
  16461. description: 品类ID
  16462. type: integer
  16463. type: object
  16464. models.WRStandardInfo:
  16465. properties:
  16466. areauserid:
  16467. description: 所属机构
  16468. type: integer
  16469. convertfactor:
  16470. description: 标仓系数
  16471. type: number
  16472. createtime:
  16473. description: 创建时间
  16474. type: string
  16475. creatorid:
  16476. description: 创建人
  16477. type: integer
  16478. deliverygoodsid:
  16479. description: 品种ID
  16480. type: integer
  16481. deliverygoodsname:
  16482. description: 交割商品名称
  16483. type: string
  16484. factoryitemjson:
  16485. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16486. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16487. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16488. 逗号分隔'
  16489. type: string
  16490. isvalid:
  16491. description: 是否有效 - 0:无效 1:有效
  16492. type: integer
  16493. minivalue:
  16494. description: 最小变动值
  16495. type: integer
  16496. minivaluedp:
  16497. description: 最小变动值小数位
  16498. type: integer
  16499. realminivalue:
  16500. description: 实际最小变动值
  16501. type: integer
  16502. realminivaluedp:
  16503. description: 实际最小变动值小数位
  16504. type: integer
  16505. remark:
  16506. description: 备注
  16507. type: string
  16508. unitid:
  16509. description: 单位ID
  16510. type: integer
  16511. unitname:
  16512. description: 单位
  16513. type: string
  16514. updatetime:
  16515. description: 更新时间
  16516. type: string
  16517. updatorid:
  16518. description: 更新人
  16519. type: integer
  16520. wrsstatus:
  16521. description: 状态 - 作废 - 0:未激活 1:正常
  16522. type: integer
  16523. wrstandardcode:
  16524. description: 现货品类代码
  16525. type: string
  16526. wrstandardid:
  16527. description: 现货品类ID(SEQ_WRSTANDARD)
  16528. type: integer
  16529. wrstandardname:
  16530. description: 现货品类名称
  16531. type: string
  16532. required:
  16533. - wrstandardid
  16534. type: object
  16535. models.WRTradeBargainApply:
  16536. properties:
  16537. accountid:
  16538. description: 摘牌资金账号
  16539. type: integer
  16540. applyprice:
  16541. description: 申请价格(议价价格)
  16542. type: string
  16543. applyqty:
  16544. description: 摘牌数量(议价数量)
  16545. type: number
  16546. applyremark:
  16547. description: 申请备注
  16548. type: string
  16549. applystatus:
  16550. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16551. type: integer
  16552. applytime:
  16553. description: 申请时间(议价时间)
  16554. type: string
  16555. begindate:
  16556. description: 开始交易日(yyyymmdd)
  16557. type: string
  16558. buyorsell:
  16559. description: 买卖(挂牌类型) - 0:买 1:卖
  16560. type: integer
  16561. confirmremark:
  16562. description: 确认备注
  16563. type: string
  16564. confirmtime:
  16565. description: 确认时间
  16566. type: string
  16567. confirmuserid:
  16568. description: 确认人
  16569. type: integer
  16570. deliverygoodscode:
  16571. description: 品种代码
  16572. type: string
  16573. deliverygoodsid:
  16574. description: 品种ID
  16575. type: integer
  16576. deliverygoodsname:
  16577. description: 品种名称
  16578. type: string
  16579. deliverymonth:
  16580. description: 交收月
  16581. type: string
  16582. enddate:
  16583. description: 结束交易日(yyyymmdd)
  16584. type: string
  16585. enumdicname:
  16586. description: 单位名称
  16587. type: string
  16588. fixedprice:
  16589. description: 挂牌价格
  16590. type: number
  16591. handlestatus:
  16592. description: 处理状态
  16593. type: integer
  16594. marginvalue:
  16595. description: 履约保证金比例
  16596. type: number
  16597. marketid:
  16598. description: 市场ID
  16599. type: integer
  16600. matchaccountid:
  16601. description: 挂牌方资金账号
  16602. type: integer
  16603. matchuserid:
  16604. description: 挂牌方用户id
  16605. type: integer
  16606. matchusername:
  16607. description: 挂牌方用户名称(已脱敏)
  16608. type: string
  16609. minivalue:
  16610. description: 现货商品最小变动值
  16611. type: integer
  16612. optioncompare:
  16613. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16614. type: string
  16615. orderqty:
  16616. description: 挂牌数量
  16617. type: integer
  16618. refprice:
  16619. description: 参考价格
  16620. type: string
  16621. retcode:
  16622. description: 委托返回代码
  16623. type: integer
  16624. templatename:
  16625. description: 履约方式(履约模板名称)
  16626. type: string
  16627. tradedate:
  16628. description: 交易日(yyyyMMdd)
  16629. type: string
  16630. userid:
  16631. description: 摘牌人用户ID(议价人ID)
  16632. type: integer
  16633. username:
  16634. description: 议价人名字(已脱敏)
  16635. type: string
  16636. validtime:
  16637. description: 有效期限
  16638. type: string
  16639. warehouseid:
  16640. description: 仓库ID
  16641. type: integer
  16642. warehousename:
  16643. description: 仓库名称
  16644. type: string
  16645. wrbargainid:
  16646. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16647. type: string
  16648. wrfactortypeid:
  16649. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16650. type: string
  16651. wrfactortypename:
  16652. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16653. type: string
  16654. wrstandardcode:
  16655. description: 现货商品代码
  16656. type: string
  16657. wrstandardid:
  16658. description: 现货商品ID
  16659. type: integer
  16660. wrstandardname:
  16661. description: 商品名称
  16662. type: string
  16663. wrtradeorderid:
  16664. description: 关联委托单ID
  16665. type: string
  16666. wrtypename:
  16667. description: 商品
  16668. type: string
  16669. type: object
  16670. models.Warehouseinfo:
  16671. properties:
  16672. address:
  16673. description: 详细地址
  16674. type: string
  16675. areauserid:
  16676. description: 所属机构
  16677. type: integer
  16678. autoid:
  16679. description: 自增ID
  16680. type: integer
  16681. cityid:
  16682. description: 市
  16683. type: integer
  16684. contactname:
  16685. description: 联系人
  16686. type: string
  16687. contactnum:
  16688. description: 联系电话
  16689. type: string
  16690. countryid:
  16691. description: 国家
  16692. type: integer
  16693. createtime:
  16694. description: 创建时间
  16695. type: string
  16696. districtid:
  16697. description: 区
  16698. type: integer
  16699. hasvideo:
  16700. description: 是否有视频 - 0:无 1:有
  16701. type: integer
  16702. provinceid:
  16703. description: 省
  16704. type: integer
  16705. remark:
  16706. description: 审核备注
  16707. type: string
  16708. videourl:
  16709. description: 视频地址
  16710. type: string
  16711. warehousecode:
  16712. description: 仓库代码
  16713. type: string
  16714. warehousename:
  16715. description: 仓库名称
  16716. type: string
  16717. warehousestatus:
  16718. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16719. type: integer
  16720. warehousetype:
  16721. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16722. type: integer
  16723. required:
  16724. - autoid
  16725. - warehousecode
  16726. type: object
  16727. models.WrAverageTradePrice:
  16728. properties:
  16729. averageprice:
  16730. description: 成交均价
  16731. type: number
  16732. tradedate:
  16733. description: 交易日yyyymm
  16734. type: string
  16735. type: object
  16736. models.WrBrandAndYears:
  16737. properties:
  16738. brandlst:
  16739. description: 品牌列表
  16740. items:
  16741. $ref: '#/definitions/models.DgFactoryItem'
  16742. type: array
  16743. yearslst:
  16744. description: 年份列表
  16745. items:
  16746. $ref: '#/definitions/models.DgFactoryItem'
  16747. type: array
  16748. type: object
  16749. models.WrBsGoodsInfo:
  16750. properties:
  16751. buyorsell:
  16752. description: 买卖方向 0-买 1-卖
  16753. type: integer
  16754. goodsid:
  16755. description: 交易合约ID
  16756. type: integer
  16757. lstitem:
  16758. description: 商品信息项
  16759. items:
  16760. $ref: '#/definitions/models.WrTypeItem'
  16761. type: array
  16762. lststep:
  16763. description: 履约规则
  16764. items:
  16765. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16766. type: array
  16767. type: object
  16768. models.WrBuybackDetail:
  16769. properties:
  16770. buybackamount:
  16771. description: 回购金额
  16772. type: number
  16773. buybackqty:
  16774. description: 回购数量
  16775. type: number
  16776. buybackreleasemargin:
  16777. description: 回购释放保证金
  16778. type: number
  16779. buybacktime:
  16780. description: 回购时间
  16781. type: string
  16782. errordesc:
  16783. description: 错误描述
  16784. type: string
  16785. handlestatus:
  16786. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16787. type: integer
  16788. relatedwrid:
  16789. description: 关联仓单ID
  16790. type: integer
  16791. scfcontractid:
  16792. description: SCF合同ID
  16793. type: string
  16794. scfwrbuybackid:
  16795. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16796. type: integer
  16797. tradedate:
  16798. description: 交易日(yyyyMMdd)
  16799. type: string
  16800. type: object
  16801. models.WrClientAdSpaceConfig:
  16802. properties:
  16803. adspaceid:
  16804. description: 广告位ID
  16805. type: integer
  16806. adspacename:
  16807. description: 广告位名称
  16808. type: string
  16809. adspacetype:
  16810. description: 广告位类型 - 1:固定广告位
  16811. type: integer
  16812. areauserid:
  16813. description: 所属机构ID
  16814. type: integer
  16815. createdate:
  16816. description: 创建时间
  16817. type: string
  16818. imagepath:
  16819. description: 图片
  16820. type: string
  16821. modifierid:
  16822. description: 操作人
  16823. type: integer
  16824. recsize:
  16825. description: 推荐尺寸
  16826. type: string
  16827. title:
  16828. description: 标题
  16829. type: string
  16830. updatedate:
  16831. description: 更新时间
  16832. type: string
  16833. urlcontent:
  16834. description: 链接(地址\商品ID\功能菜单Key\appid)
  16835. type: string
  16836. urltype:
  16837. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16838. type: integer
  16839. type: object
  16840. models.WrDeliveryAvalidHoldLB:
  16841. properties:
  16842. accountid:
  16843. description: 资金账号
  16844. type: integer
  16845. avalidqty:
  16846. description: 数量(可点选数量)
  16847. type: number
  16848. deliverygoodsid:
  16849. description: 品种id
  16850. type: integer
  16851. enumdicname:
  16852. description: 单位名称
  16853. type: string
  16854. goodsid:
  16855. description: x合约商品id
  16856. type: integer
  16857. ladingbillid:
  16858. description: 提单id
  16859. type: string
  16860. pgoodscode:
  16861. description: p商品代码(点价合约)
  16862. type: string
  16863. pgoodsid:
  16864. description: p商品id(点价合约)
  16865. type: integer
  16866. pgoodsname:
  16867. description: p商品名称(点价合约)
  16868. type: string
  16869. pricemove:
  16870. description: 升贴水
  16871. type: number
  16872. subnum:
  16873. description: 提单子id
  16874. type: integer
  16875. userid:
  16876. description: 用户id
  16877. type: integer
  16878. username:
  16879. description: 仓单持有人
  16880. type: string
  16881. warehousecode:
  16882. description: 仓库代码
  16883. type: string
  16884. warehouseid:
  16885. description: 仓库id
  16886. type: integer
  16887. warehousename:
  16888. description: 仓库名称
  16889. type: string
  16890. wrfactortypeid:
  16891. description: 仓单要素id
  16892. type: string
  16893. wrstandardcode:
  16894. description: 品代码
  16895. type: string
  16896. wrstandardid:
  16897. description: 品类d
  16898. type: integer
  16899. wrstandardname:
  16900. description: 品类名称
  16901. type: string
  16902. wrtypename:
  16903. description: 商品
  16904. type: string
  16905. xgoodscode:
  16906. description: x合约代码
  16907. type: string
  16908. xgoodsname:
  16909. description: x合约名称
  16910. type: string
  16911. type: object
  16912. models.WrDeliveryDetail:
  16913. properties:
  16914. accountid:
  16915. description: 账号ID
  16916. type: integer
  16917. averageprice:
  16918. description: 交割均价 = 交割金额 / 交割数量
  16919. type: number
  16920. begindate:
  16921. description: 开始交易日(yyyymmdd)
  16922. type: string
  16923. buyorsell:
  16924. description: 方向 - 0:买 1:卖
  16925. type: integer
  16926. deliveryamount:
  16927. description: 货款金额(X总货款+P总货款)
  16928. type: number
  16929. deliveryid:
  16930. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16931. type: string
  16932. deliveryorderid:
  16933. description: 申报单号
  16934. type: string
  16935. deliverypricemove:
  16936. description: 升贴水(升贴水总额)
  16937. type: number
  16938. deliveryqty:
  16939. description: 交收数量(点选数量)
  16940. type: number
  16941. deliverystatus:
  16942. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16943. type: integer
  16944. deliverytime:
  16945. description: 交割时间
  16946. type: string
  16947. deliverytotalamount:
  16948. description: 交收金额
  16949. type: number
  16950. enddate:
  16951. description: 结束交易日(yyyymmdd)
  16952. type: string
  16953. enumdicname:
  16954. description: 单位名称
  16955. type: string
  16956. matchaccountid:
  16957. description: 对手账号ID
  16958. type: integer
  16959. matchusername:
  16960. description: 对手方名称(仓单持有人)
  16961. type: string
  16962. p1goodsremainamount:
  16963. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16964. type: number
  16965. pdeliverycloseqty:
  16966. description: p合约平仓数量
  16967. type: number
  16968. pdeliveryprice:
  16969. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16970. type: number
  16971. pgoodscode:
  16972. description: 商品代码
  16973. type: string
  16974. pgoodsid:
  16975. description: p点选合约id
  16976. type: integer
  16977. pgoodsname:
  16978. description: 商品名称
  16979. type: string
  16980. ppricemode:
  16981. description: 点价价格方式 - 1:商品价 2:固定值
  16982. type: integer
  16983. tradedate:
  16984. description: 交易日(yyyymmdd)
  16985. type: string
  16986. userid:
  16987. description: 用户id
  16988. type: integer
  16989. username:
  16990. description: 用户名称
  16991. type: string
  16992. warehousename:
  16993. description: 仓库名称
  16994. type: string
  16995. wrfactortypeid:
  16996. description: 仓单要素类型ID
  16997. type: string
  16998. wrtypename:
  16999. description: 商品
  17000. type: string
  17001. xdeliverycloseqty:
  17002. description: 合约数量
  17003. type: number
  17004. xgoodsamount:
  17005. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  17006. type: number
  17007. xgoodscode:
  17008. description: 商品代码
  17009. type: string
  17010. xgoodsid:
  17011. description: x交易合约ID
  17012. type: integer
  17013. xgoodsname:
  17014. description: 商品名称
  17015. type: string
  17016. type: object
  17017. models.WrDeliveryGoodsSection:
  17018. properties:
  17019. dglst:
  17020. description: 板块商品列表
  17021. items:
  17022. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17023. type: array
  17024. imagepath:
  17025. description: 图片地址
  17026. type: string
  17027. orderindex:
  17028. description: 排序
  17029. type: integer
  17030. sectionid:
  17031. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17032. = 1的版块1 - 云融指数
  17033. type: integer
  17034. sectionname:
  17035. description: 版块名称
  17036. type: string
  17037. sectiontype:
  17038. description: 版块类型 - 1:指数版块 2:普通版块
  17039. type: integer
  17040. type: object
  17041. models.WrDeliveryGoodsSectionConfig:
  17042. properties:
  17043. deliverygoodscode:
  17044. description: 现货商品代码
  17045. type: string
  17046. deliverygoodsid:
  17047. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17048. type: integer
  17049. deliverygoodsname:
  17050. description: 现货商品名称
  17051. type: string
  17052. orderindex:
  17053. description: 排序
  17054. type: integer
  17055. type: object
  17056. models.WrDraftUserInfo:
  17057. properties:
  17058. address:
  17059. description: 地址
  17060. type: string
  17061. attachment1:
  17062. description: 附件1
  17063. type: string
  17064. attachment2:
  17065. description: 附件2
  17066. type: string
  17067. attachment3:
  17068. description: 附件3
  17069. type: string
  17070. attachment4:
  17071. description: 附件4
  17072. type: string
  17073. attachment5:
  17074. description: 附件5
  17075. type: string
  17076. bankaccount:
  17077. description: 银行帐号 (加密存储)
  17078. type: string
  17079. bankaccountname:
  17080. description: 收款人名称
  17081. type: string
  17082. bankcardfrontphotourl:
  17083. description: 银行卡正面照地址
  17084. type: string
  17085. bankid:
  17086. description: 银行编码
  17087. type: string
  17088. bankname:
  17089. description: 银行名称
  17090. type: string
  17091. birthday:
  17092. description: 生日(个人:年月日)
  17093. type: string
  17094. biznature:
  17095. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17096. type: integer
  17097. bizscope:
  17098. description: 企业经营范围(企业)
  17099. type: string
  17100. biztype:
  17101. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17102. type: integer
  17103. cardbackphotourl:
  17104. description: 证件背面图片地址
  17105. type: string
  17106. cardfrontphotourl:
  17107. description: 证件正面图片地址
  17108. type: string
  17109. cardnum:
  17110. description: 证件号码(加密存储)
  17111. type: string
  17112. cardtypeid:
  17113. description: 证件类型ID
  17114. type: integer
  17115. cityid:
  17116. description: 市
  17117. type: integer
  17118. company:
  17119. description: 公司(个人)
  17120. type: string
  17121. contactcardbackphotourl:
  17122. description: 联系人证件背面图片地址
  17123. type: string
  17124. contactcardfrontphotourl:
  17125. description: 联系人证件正面图片地址
  17126. type: string
  17127. contactname:
  17128. description: 联系人
  17129. type: string
  17130. countryid:
  17131. description: 国家
  17132. type: integer
  17133. createtime:
  17134. description: 创建时间
  17135. type: string
  17136. creatorid:
  17137. description: 创建人
  17138. type: integer
  17139. creditquota:
  17140. description: 授信额度(金瑞)
  17141. type: number
  17142. customername:
  17143. description: 客户名称(企业名称)
  17144. type: string
  17145. districtid:
  17146. description: 地区
  17147. type: integer
  17148. email:
  17149. description: 邮件(加密存储)
  17150. type: string
  17151. fax:
  17152. description: 传真(加密存储)
  17153. type: string
  17154. halfbodyphotourl:
  17155. description: 半身照地址
  17156. type: string
  17157. hasencrypt:
  17158. description: 数据是否已加密 - 0:未加密 1:已加密
  17159. type: integer
  17160. headurl:
  17161. description: 头像地址
  17162. type: string
  17163. legalcardbackphotourl:
  17164. description: 法人身份证背面照地址
  17165. type: string
  17166. legalcardfrontphotourl:
  17167. description: 法人身份证正面照地址
  17168. type: string
  17169. legalpersonname:
  17170. description: 法人姓名(企业)
  17171. type: string
  17172. mobile:
  17173. description: 手机号码(加密存储)
  17174. type: string
  17175. mobile2:
  17176. description: 手机号码[明文-尚志]
  17177. type: string
  17178. modifierid:
  17179. description: 修改人
  17180. type: integer
  17181. modifiertime:
  17182. description: 修改时间
  17183. type: string
  17184. needinvoice:
  17185. description: 是否需要发票 - 0:不需要 1:需要
  17186. type: integer
  17187. nickname:
  17188. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17189. type: string
  17190. openmode:
  17191. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17192. 6:苹果手机端注册 7:PC交易端注册"
  17193. type: integer
  17194. otherurl:
  17195. description: 其它图片地址[使用分号分隔]
  17196. type: string
  17197. postalcode:
  17198. description: 邮政编码
  17199. type: string
  17200. provinceid:
  17201. description: 省
  17202. type: integer
  17203. proxystatementurl:
  17204. description: 授权委托书
  17205. type: string
  17206. qq:
  17207. description: QQ(加密存储
  17208. type: string
  17209. remark:
  17210. description: 备注
  17211. type: string
  17212. sex:
  17213. description: '用户性别 0: 女 1: 男'
  17214. type: integer
  17215. signpdfurl:
  17216. description: 签约pdf文件
  17217. type: string
  17218. taxpayernum:
  17219. description: 纳税人识别号
  17220. type: string
  17221. telphone:
  17222. description: 联系电话(加密存储)
  17223. type: string
  17224. userid:
  17225. description: 用户ID
  17226. type: integer
  17227. userinfotype:
  17228. description: 用户信息类型 - 1:个人 2:企业
  17229. type: integer
  17230. userstatus:
  17231. description: 用户状态 - 1:正常 2:注销
  17232. type: integer
  17233. usertype:
  17234. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17235. type: integer
  17236. wechat:
  17237. description: 微信(加密存储)
  17238. type: string
  17239. wskhinfo:
  17240. description: 开户申请信息(JSON)
  17241. type: string
  17242. type: object
  17243. models.WrFAProductDetail:
  17244. properties:
  17245. accountid:
  17246. description: 资金账号
  17247. type: integer
  17248. areauserid:
  17249. description: 金融机构ID
  17250. type: integer
  17251. financingdays:
  17252. description: 天数(天)
  17253. type: integer
  17254. interestminlen:
  17255. description: 最小起息天数
  17256. type: integer
  17257. interestrate:
  17258. description: 利率
  17259. type: number
  17260. interestratemode:
  17261. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17262. type: integer
  17263. interestsettlemode:
  17264. description: 结息方式 - 1:按日结息 3:按月结息
  17265. type: integer
  17266. interestsettlevalue:
  17267. description: 结息方式值
  17268. type: integer
  17269. isautoloan:
  17270. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17271. type: integer
  17272. loantag:
  17273. description: '放款标识: "放款快" 或者为空'
  17274. type: string
  17275. marginratio:
  17276. description: 保证金比率质押率 - [仓单质押]
  17277. type: number
  17278. productdetailid:
  17279. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17280. type: integer
  17281. productid:
  17282. description: 金融产品ID
  17283. type: integer
  17284. productname:
  17285. description: 产品名称
  17286. type: string
  17287. updatetime:
  17288. description: 更新时间
  17289. type: string
  17290. username:
  17291. description: 融出方
  17292. type: string
  17293. type: object
  17294. models.WrFactorTypeInfo:
  17295. properties:
  17296. deliverygoodscode:
  17297. description: 品种代码
  17298. type: string
  17299. deliverygoodsname:
  17300. description: 品种名称
  17301. type: string
  17302. dgfactoryitemid:
  17303. description: 选择项id
  17304. type: integer
  17305. dgfactoryitemtypeid:
  17306. description: 要素选择项ID (1-仓库 2-品牌)
  17307. type: integer
  17308. dgfactoryitemvalue:
  17309. description: 要素项值
  17310. type: string
  17311. itemtypename:
  17312. description: 要素项名称
  17313. type: string
  17314. optioncompare:
  17315. description: 选择比较串
  17316. type: string
  17317. warehouseid:
  17318. description: 仓库id
  17319. type: integer
  17320. wrfactortypeid:
  17321. description: 仓单要素ID
  17322. type: string
  17323. wrfactortypename:
  17324. description: 要素名称
  17325. type: string
  17326. wrfactortypename2:
  17327. description: 要素名称(不含仓库)
  17328. type: string
  17329. wrstandardcode:
  17330. description: 品类代码
  17331. type: string
  17332. wrstandardid:
  17333. description: 品类id
  17334. type: integer
  17335. wrstandardname:
  17336. description: 品类名称
  17337. type: string
  17338. type: object
  17339. models.WrFilterItem:
  17340. properties:
  17341. itemcode:
  17342. description: 代码
  17343. type: string
  17344. itemid:
  17345. description: 项id
  17346. type: integer
  17347. itemname:
  17348. description: 名称
  17349. type: string
  17350. itemtype:
  17351. description: 类型 1-品种 2-品类(商品) 3-仓库
  17352. type: integer
  17353. type: object
  17354. models.WrFinanceBuyApply:
  17355. properties:
  17356. applydate:
  17357. description: 申请时间
  17358. type: string
  17359. applystatus:
  17360. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17361. type: integer
  17362. applyuserid:
  17363. description: 申请人
  17364. type: integer
  17365. auditdate:
  17366. description: 审核时间
  17367. type: string
  17368. auditremark:
  17369. description: 审核备注
  17370. type: string
  17371. audituserid:
  17372. description: 审核人
  17373. type: integer
  17374. buyaccountid:
  17375. description: 买方资金账号
  17376. type: integer
  17377. buyorsell:
  17378. description: 买卖 - 0:买 1:卖
  17379. type: integer
  17380. buyuserid:
  17381. description: 买方用户ID
  17382. type: integer
  17383. buyusername:
  17384. description: 买方名称
  17385. type: string
  17386. buywrtradeorderid:
  17387. description: 融资方买委托单ID
  17388. type: string
  17389. deliverygoodscode:
  17390. description: 品种代码
  17391. type: string
  17392. deliverygoodsid:
  17393. description: 品种ID
  17394. type: integer
  17395. deliverygoodsname:
  17396. description: 品种名称
  17397. type: string
  17398. deliverymonth:
  17399. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17400. type: string
  17401. enumdicname:
  17402. description: 单位名称
  17403. type: string
  17404. financeaccountid:
  17405. description: 融资方资金帐户ID
  17406. type: integer
  17407. financeapplyid:
  17408. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17409. type: string
  17410. financeareauserid:
  17411. description: 融资方用户ID
  17412. type: string
  17413. financename:
  17414. description: 融出方名称
  17415. type: string
  17416. financetype:
  17417. description: 融资类型 1-融资回购
  17418. type: integer
  17419. financingdays:
  17420. description: 天数(天)
  17421. type: integer
  17422. freezebuymargin:
  17423. description: 冻结融资保证金(买方)
  17424. type: number
  17425. handleremark:
  17426. description: 处理备注
  17427. type: string
  17428. handlestatus:
  17429. description: 处理状态
  17430. type: integer
  17431. interestminlen:
  17432. description: 最小起息天数
  17433. type: integer
  17434. interestrate:
  17435. description: 利率
  17436. type: number
  17437. interestratemode:
  17438. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17439. type: integer
  17440. interestsettlemode:
  17441. description: 结息方式 - 1:按日结息 3:按月结息
  17442. type: integer
  17443. interestsettlevalue:
  17444. description: 结息方式值
  17445. type: integer
  17446. isautoloan:
  17447. description: 是否自动放款 - 0:手动 1:自动
  17448. type: integer
  17449. marginratio:
  17450. description: 保证金比率质押率 - [仓单质押]
  17451. type: number
  17452. marketid:
  17453. description: 市场ID
  17454. type: integer
  17455. minivalue:
  17456. description: 现货商品最小变动值
  17457. type: integer
  17458. optioncompare:
  17459. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17460. type: string
  17461. orderqty:
  17462. description: 委托数量(商品数量)
  17463. type: number
  17464. productdetailid:
  17465. description: 产品组合ID
  17466. type: integer
  17467. productid:
  17468. description: 金融产品ID
  17469. type: integer
  17470. productname:
  17471. description: 产品名称
  17472. type: string
  17473. remark:
  17474. description: 备注
  17475. type: string
  17476. scfcontractid:
  17477. description: 仓单回购合同ID
  17478. type: string
  17479. sellaccountid:
  17480. description: 卖方资金账号
  17481. type: integer
  17482. selluserid:
  17483. description: 卖方用户ID
  17484. type: integer
  17485. sellwrtradeorderid:
  17486. description: 卖方委托单ID
  17487. type: string
  17488. tradeamount:
  17489. description: 成交金额(借款金额)
  17490. type: number
  17491. tradedate:
  17492. description: 交易日(yyyyMMdd)
  17493. type: string
  17494. tradeprice:
  17495. description: 成交价格
  17496. type: number
  17497. warehouseid:
  17498. description: 仓库ID
  17499. type: integer
  17500. warehousename:
  17501. description: 仓库名称
  17502. type: string
  17503. wrfactortypeid:
  17504. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17505. type: string
  17506. wrfactortypename:
  17507. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17508. type: string
  17509. wrpricetype:
  17510. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17511. type: integer
  17512. wrstandardcode:
  17513. description: 现货商品代码
  17514. type: string
  17515. wrstandardid:
  17516. description: 现货商品ID
  17517. type: integer
  17518. wrstandardname:
  17519. description: 商品名称
  17520. type: string
  17521. wrtypename:
  17522. description: 商品
  17523. type: string
  17524. type: object
  17525. models.WrFriendApply:
  17526. properties:
  17527. applicantid:
  17528. description: 申请人
  17529. type: integer
  17530. applyname:
  17531. description: 申请人名称
  17532. type: string
  17533. applysrc:
  17534. description: 申请来源 - 1:管理端 2:终端
  17535. type: integer
  17536. applystatus:
  17537. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17538. type: integer
  17539. applytime:
  17540. description: 申请时间
  17541. type: string
  17542. auditname:
  17543. description: 审核人名称
  17544. type: string
  17545. auditorid:
  17546. description: 审核人
  17547. type: integer
  17548. auditremark:
  17549. description: 审核备注
  17550. type: string
  17551. auditsrc:
  17552. description: 审核来源 - 1:管理端 2:终端
  17553. type: integer
  17554. audittime:
  17555. description: 审核时间
  17556. type: string
  17557. friendapplyid:
  17558. description: 申请ID(SEQ_FRIENDAPPLY)
  17559. type: string
  17560. friendname:
  17561. description: 好友名字(已脱敏)
  17562. type: string
  17563. frienduserid:
  17564. description: 好友用户ID
  17565. type: string
  17566. remark:
  17567. description: 备注
  17568. type: string
  17569. userid:
  17570. description: 申请人用户ID
  17571. type: integer
  17572. type: object
  17573. models.WrFtDeliveryGoods:
  17574. properties:
  17575. deliverygoodscode:
  17576. description: 品种代码
  17577. type: string
  17578. deliverygoodsid:
  17579. description: 品种ID
  17580. type: integer
  17581. deliverygoodsname:
  17582. description: 品种名称
  17583. type: string
  17584. wdlst:
  17585. description: 商品列表
  17586. items:
  17587. $ref: '#/definitions/models.WrFtWrstandard'
  17588. type: array
  17589. type: object
  17590. models.WrFtWrstandard:
  17591. properties:
  17592. enumdicname:
  17593. description: 单位名称
  17594. type: string
  17595. minivalue:
  17596. description: 最小变动值
  17597. type: integer
  17598. wrstandardcode:
  17599. description: 现货商品代码
  17600. type: string
  17601. wrstandardid:
  17602. description: 现货商品ID
  17603. type: integer
  17604. wrstandardname:
  17605. description: 商品名称
  17606. type: string
  17607. type: object
  17608. models.WrGoodsInfo:
  17609. properties:
  17610. haswr:
  17611. description: 0:仓单预售 1:仓单贸易
  17612. type: integer
  17613. lstitem:
  17614. description: 商品信息项
  17615. items:
  17616. $ref: '#/definitions/models.WrTypeItem'
  17617. type: array
  17618. lststep:
  17619. description: 履约规则
  17620. items:
  17621. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17622. type: array
  17623. marketid:
  17624. description: 市场id
  17625. type: integer
  17626. type: object
  17627. models.WrGoodsPerformanceStep:
  17628. properties:
  17629. autoid:
  17630. description: AutoID
  17631. type: integer
  17632. isauto:
  17633. description: 是否自动 - 0:不自动 1:自动
  17634. type: integer
  17635. remark:
  17636. description: 备注
  17637. type: string
  17638. stepdate:
  17639. description: 天数信息(T+N)
  17640. type: string
  17641. stepdays:
  17642. description: 距离上一步天数
  17643. type: integer
  17644. stepindex:
  17645. description: 步骤序号
  17646. type: integer
  17647. stepinfo:
  17648. description: 步骤信息(步骤名称+步骤值)
  17649. type: string
  17650. steptypeid:
  17651. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17652. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17653. type: integer
  17654. steptypename:
  17655. description: 步骤名称
  17656. type: string
  17657. stepvalue:
  17658. description: 步骤值
  17659. type: number
  17660. templateid:
  17661. description: 履约计划模板ID
  17662. type: integer
  17663. type: object
  17664. models.WrHoldLB:
  17665. properties:
  17666. accountid:
  17667. description: 持有人帐户ID
  17668. type: integer
  17669. bannerpicurl:
  17670. description: Banner图
  17671. type: string
  17672. createtime:
  17673. description: 创建时间(过户时间)
  17674. type: string
  17675. deliverygoodscode:
  17676. description: 品种代码
  17677. type: string
  17678. deliverygoodsid:
  17679. description: 品种ID
  17680. type: integer
  17681. deliverygoodsname:
  17682. description: 品种名称
  17683. type: string
  17684. enableqty:
  17685. description: 可用数量
  17686. type: number
  17687. enumdicname:
  17688. description: 单位名称
  17689. type: string
  17690. freezerqty:
  17691. description: 冻结数量
  17692. type: number
  17693. ladingbillid:
  17694. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17695. type: string
  17696. minivalue:
  17697. description: 现货商品最小变动值
  17698. type: integer
  17699. optioncompare:
  17700. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17701. type: string
  17702. parentsubnum:
  17703. description: 拆分父子单号
  17704. type: integer
  17705. pledgeqty:
  17706. description: 质押数量
  17707. type: number
  17708. qty:
  17709. description: 数量
  17710. type: number
  17711. subnum:
  17712. description: 提单子单号
  17713. type: integer
  17714. thumurls:
  17715. description: 缩略图
  17716. type: string
  17717. tradedate:
  17718. description: 交易日(yyyyMMdd)
  17719. type: string
  17720. userid:
  17721. description: 持有人ID
  17722. type: integer
  17723. warehouseid:
  17724. description: 仓库ID
  17725. type: integer
  17726. warehousename:
  17727. description: 仓库名称
  17728. type: string
  17729. wrfactortypeid:
  17730. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17731. type: string
  17732. wrfactortypename:
  17733. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17734. type: string
  17735. wrholdeno:
  17736. description: 仓单编号
  17737. type: string
  17738. wrid:
  17739. description: 仓单变更ID
  17740. type: string
  17741. wrstandardcode:
  17742. description: 现货商品代码
  17743. type: string
  17744. wrstandardid:
  17745. description: 现货商品ID
  17746. type: integer
  17747. wrstandardname:
  17748. description: 商品名称
  17749. type: string
  17750. wrtypename:
  17751. description: 商品
  17752. type: string
  17753. type: object
  17754. models.WrMarketTradeConfig:
  17755. properties:
  17756. basisdownratio:
  17757. description: 浮动价基差下限比例(仓单贸易)
  17758. type: number
  17759. basisupratio:
  17760. description: 浮动价基差上限比例(仓单贸易)
  17761. type: number
  17762. buychargealgorithm:
  17763. description: 买方手续费收取方式 1:比率 2:固定
  17764. type: integer
  17765. buychargealgorithm2:
  17766. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17767. type: integer
  17768. buychargealgorithmvalue:
  17769. description: 买方手续费设置值(交易所部分)
  17770. type: number
  17771. buychargealgorithmvalue2:
  17772. description: 买方手续费设置值(会员部分)
  17773. type: number
  17774. buychargealgorithmvalue3:
  17775. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17776. type: number
  17777. buychargealgorithmvalue4:
  17778. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17779. type: number
  17780. buyfirstmarginalgorithm:
  17781. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17782. type: integer
  17783. buyfirstmarginvalue:
  17784. description: 买方出价保证金设置值 - [竞拍]
  17785. type: number
  17786. buymarginalgorithm:
  17787. description: 买方保证金方式 - 1:比率 2:固定
  17788. type: integer
  17789. buymarginvalue:
  17790. description: 买方保证金设置值
  17791. type: number
  17792. buyreleaseratio:
  17793. description: 买方释放比率[2:分步履约]
  17794. type: number
  17795. executemode:
  17796. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17797. type: integer
  17798. executeside:
  17799. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17800. type: integer
  17801. failedchargealgorithm:
  17802. description: 流拍手续费收取方式 1:比率 2:固定
  17803. type: integer
  17804. failedchargevalue:
  17805. description: 流拍手续费设置值
  17806. type: number
  17807. failedchargevalue2:
  17808. description: 流拍卖方手续费设置值
  17809. type: number
  17810. holddays:
  17811. description: 合同期限[2:分步履约]
  17812. type: integer
  17813. listingmode:
  17814. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17815. type: integer
  17816. marketid:
  17817. description: 市场ID-仓单贸易、竞拍、预售
  17818. type: integer
  17819. minqty:
  17820. description: 最小执行量[2:分步履约]
  17821. type: number
  17822. modifierid:
  17823. description: 修改人
  17824. type: integer
  17825. nowrquotaflag:
  17826. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17827. type: integer
  17828. performancetempid:
  17829. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17830. 立即执行(-1)
  17831. type: integer
  17832. performancetempid2:
  17833. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17834. 立即执行
  17835. type: integer
  17836. performancetempid2s:
  17837. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17838. - 履约方式: 立即执行
  17839. type: string
  17840. performancetempids:
  17841. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17842. - 履约方式: 立即执行(-1)
  17843. type: string
  17844. performanceway:
  17845. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17846. type: integer
  17847. sellchargealgorithm:
  17848. description: 卖方手续费收取方式 1:比率 2:固定
  17849. type: integer
  17850. sellchargealgorithm2:
  17851. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17852. type: integer
  17853. sellchargealgorithmvalue:
  17854. description: 卖方手续费设置值(交易所部分)
  17855. type: number
  17856. sellchargealgorithmvalue2:
  17857. description: 卖方手续费设置值(会员部分)
  17858. type: number
  17859. sellchargealgorithmvalue3:
  17860. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17861. type: number
  17862. sellchargealgorithmvalue4:
  17863. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17864. type: number
  17865. sellmarginalgorithm:
  17866. description: 卖方保证金方式 - 1:比率 2:固定
  17867. type: integer
  17868. sellmarginvalue:
  17869. description: 卖方保证金设置值
  17870. type: number
  17871. sellmarginvalue2:
  17872. description: 卖方保证金设置值(无仓单)
  17873. type: number
  17874. sellreleaseratio:
  17875. description: 卖方释放比率[2:分步履约]
  17876. type: number
  17877. updatetime:
  17878. description: 更新时间
  17879. type: string
  17880. type: object
  17881. models.WrOrderDetail:
  17882. properties:
  17883. accountid:
  17884. description: 交易账号(资金账号)
  17885. type: integer
  17886. allfriendsflag:
  17887. description: 是否全好友可见 - 0:否 1:是
  17888. type: integer
  17889. amount:
  17890. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17891. type: number
  17892. bannerpicurl:
  17893. description: Banner图
  17894. type: string
  17895. begindate:
  17896. description: 开始交易日(yyyymmdd)
  17897. type: string
  17898. buyorsell:
  17899. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17900. type: integer
  17901. canbargain:
  17902. description: 是否可议价 - 0:不可 1:可
  17903. type: integer
  17904. cancelqty:
  17905. description: 撤销数量
  17906. type: number
  17907. canpart:
  17908. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17909. type: integer
  17910. delistminqty:
  17911. description: 起摘数量
  17912. type: integer
  17913. deliverygoodscode:
  17914. description: 品种代码
  17915. type: string
  17916. deliverygoodsid:
  17917. description: 品种ID
  17918. type: integer
  17919. deliverygoodsname:
  17920. description: 品种名称
  17921. type: string
  17922. deliverymonth:
  17923. description: 交收月
  17924. type: string
  17925. enddate:
  17926. description: 结束交易日(yyyymmdd)
  17927. type: string
  17928. enumdicname:
  17929. description: 单位名称
  17930. type: string
  17931. fixedprice:
  17932. description: 固定价格 - [挂牌]
  17933. type: number
  17934. freezecharge:
  17935. description: 冻结手续费
  17936. type: number
  17937. freezemargin:
  17938. description: 冻结保证金(保证金)
  17939. type: number
  17940. futupricemove:
  17941. description: 期货升贴水
  17942. type: number
  17943. futushow:
  17944. description: 期货合约/升贴水
  17945. type: string
  17946. goodscode:
  17947. description: 期货合约
  17948. type: string
  17949. goodsid:
  17950. description: 期货商品id
  17951. type: integer
  17952. goodsname:
  17953. description: 商品名称
  17954. type: string
  17955. haswr:
  17956. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17957. type: integer
  17958. isspecified:
  17959. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17960. type: integer
  17961. ladingbillid:
  17962. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17963. type: string
  17964. marginvalue:
  17965. description: 保证金设置值(履约保证金)
  17966. type: number
  17967. marketid:
  17968. description: 市场ID
  17969. type: integer
  17970. matchusername:
  17971. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17972. type: string
  17973. minivalue:
  17974. description: 现货商品最小变动值
  17975. type: integer
  17976. optioncompare:
  17977. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17978. type: string
  17979. orderqty:
  17980. description: 委托数量
  17981. type: number
  17982. ordertime:
  17983. description: 委托时间(挂牌时间)
  17984. type: string
  17985. performancetemplateid:
  17986. description: 履约模板id
  17987. type: integer
  17988. pricemove:
  17989. description: 升贴水(浮动价时填写) - [挂牌]
  17990. type: number
  17991. taname:
  17992. description: 交易用户名称(资金账号名称)
  17993. type: string
  17994. thumurls:
  17995. description: 缩略图
  17996. type: string
  17997. tradedate:
  17998. description: 交易日(yyyyMMdd)
  17999. type: string
  18000. tradeprice:
  18001. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  18002. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  18003. type: number
  18004. tradeqty:
  18005. description: 成交数量
  18006. type: number
  18007. userid:
  18008. description: 用户ID
  18009. type: integer
  18010. validtime:
  18011. description: 挂牌有效期
  18012. type: string
  18013. validtype:
  18014. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18015. type: integer
  18016. warehouseid:
  18017. description: 仓库ID
  18018. type: integer
  18019. warehousename:
  18020. description: 仓库名称
  18021. type: string
  18022. wrfactortypeid:
  18023. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18024. type: string
  18025. wrfactortypename:
  18026. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18027. type: string
  18028. wrpricetype:
  18029. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18030. type: integer
  18031. wrstandardcode:
  18032. description: 现货商品代码
  18033. type: string
  18034. wrstandardid:
  18035. description: 现货商品ID
  18036. type: integer
  18037. wrstandardname:
  18038. description: 商品名称
  18039. type: string
  18040. wrtradeorderid:
  18041. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18042. type: string
  18043. wrtradeorderstatus:
  18044. 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:撤单解冻贷款失败
  18045. type: integer
  18046. wrtradetype:
  18047. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18048. type: integer
  18049. wrtypename:
  18050. description: 商品
  18051. type: string
  18052. type: object
  18053. models.WrOrderQuote:
  18054. properties:
  18055. bannerpicurl:
  18056. description: Banner图
  18057. type: string
  18058. buyprice:
  18059. description: 买价
  18060. type: number
  18061. buypricemove:
  18062. description: 买升贴水(基差)
  18063. type: number
  18064. buyqty:
  18065. description: 买量
  18066. type: number
  18067. deliverygoodscode:
  18068. description: 品种代码
  18069. type: string
  18070. deliverygoodsid:
  18071. description: 品种id
  18072. type: integer
  18073. deliverygoodsname:
  18074. description: 品种名称
  18075. type: string
  18076. deliverymonth:
  18077. description: 交收月
  18078. type: string
  18079. enumdicname:
  18080. description: 单位名称
  18081. type: string
  18082. goodscode:
  18083. description: 商品合约(浮动价列表才有)
  18084. type: string
  18085. goodsid:
  18086. description: 商品id(浮动价列表才有)
  18087. type: integer
  18088. minivalue:
  18089. description: 现货商品最小变动值
  18090. type: integer
  18091. pictureurls:
  18092. description: 详情图片(逗号分隔)
  18093. type: string
  18094. sellprice:
  18095. description: 卖价
  18096. type: number
  18097. sellpricemove:
  18098. description: 卖升贴水(基差)
  18099. type: number
  18100. sellqty:
  18101. description: 卖量
  18102. type: number
  18103. thumurls:
  18104. description: 缩略图片(1:1)(逗号分隔)
  18105. type: string
  18106. warehousecode:
  18107. description: 仓库代码
  18108. type: string
  18109. warehouseid:
  18110. description: 仓库id
  18111. type: integer
  18112. warehousename:
  18113. description: 仓库名称
  18114. type: string
  18115. wrfactortypeid:
  18116. description: 仓单要素id
  18117. type: string
  18118. wrfactortypename:
  18119. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18120. type: string
  18121. wrgoodsname:
  18122. description: 商品(商品名称+仓库要素名称 拼接)
  18123. type: string
  18124. wrstandardcode:
  18125. description: 商品代码
  18126. type: string
  18127. wrstandardid:
  18128. description: 商品id
  18129. type: integer
  18130. wrstandardname:
  18131. description: 商品名称
  18132. type: string
  18133. type: object
  18134. models.WrOrderQuoteDetail:
  18135. properties:
  18136. buyorsell:
  18137. description: 买卖 - 0:买 1:卖
  18138. type: integer
  18139. delistminqty:
  18140. description: 起摘数量
  18141. type: number
  18142. deliverymonth:
  18143. description: 交收月
  18144. type: string
  18145. enumdicname:
  18146. description: 单位名称
  18147. type: string
  18148. fixedprice:
  18149. description: 买(卖)价
  18150. type: number
  18151. marketid:
  18152. description: 市场id
  18153. type: integer
  18154. minivalue:
  18155. description: 现货商品最小变动值
  18156. type: integer
  18157. orderqty:
  18158. description: 买(卖)量(=委托量-成交量)
  18159. type: number
  18160. ordertime:
  18161. description: 委托时间
  18162. type: string
  18163. pricemove:
  18164. description: 买(卖)升贴水- 基差
  18165. type: number
  18166. userid:
  18167. description: 购买方(销售方)用户ID
  18168. type: integer
  18169. username:
  18170. description: 购买方(销售方)
  18171. type: string
  18172. wrtradeorderid:
  18173. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18174. type: string
  18175. type: object
  18176. models.WrOutInApply:
  18177. properties:
  18178. applyid:
  18179. description: 申请单id
  18180. type: string
  18181. applystatus:
  18182. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18183. 8:已撤销
  18184. type: integer
  18185. applytime:
  18186. description: 申请时间
  18187. type: string
  18188. applytype:
  18189. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18190. type: integer
  18191. bannerpicurl:
  18192. description: Banner图
  18193. type: string
  18194. begindate:
  18195. description: 开始交易日(yyyymmdd)
  18196. type: string
  18197. deliverygoodscode:
  18198. description: 品种代码
  18199. type: string
  18200. deliverygoodsid:
  18201. description: 品种ID
  18202. type: integer
  18203. deliverygoodsname:
  18204. description: 品种名称
  18205. type: string
  18206. enddate:
  18207. description: 结束交易日(yyyymmdd)
  18208. type: string
  18209. enumdicname:
  18210. description: 单位名称
  18211. type: string
  18212. expresscompany:
  18213. description: 物流公司
  18214. type: string
  18215. expressnum:
  18216. description: 物流单号
  18217. type: string
  18218. minivalue:
  18219. description: 现货商品最小变动值
  18220. type: integer
  18221. optioncompare:
  18222. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18223. type: string
  18224. qty:
  18225. description: 数量
  18226. type: integer
  18227. userid:
  18228. description: 用户id
  18229. type: integer
  18230. warehouseid:
  18231. description: 仓库ID
  18232. type: integer
  18233. warehousename:
  18234. description: 仓库名称
  18235. type: string
  18236. wrfactortypeid:
  18237. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18238. type: string
  18239. wrfactortypename:
  18240. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18241. type: string
  18242. wrstandardcode:
  18243. description: 现货商品代码
  18244. type: string
  18245. wrstandardid:
  18246. description: 现货商品ID
  18247. type: integer
  18248. wrstandardname:
  18249. description: 商品名称
  18250. type: string
  18251. wrtypename:
  18252. description: 商品
  18253. type: string
  18254. type: object
  18255. models.WrPerformancePlan:
  18256. properties:
  18257. activatemonth:
  18258. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18259. type: string
  18260. amount:
  18261. description: 履约金额(总金额)
  18262. type: number
  18263. begindate:
  18264. description: 开始交易日(yyyymmdd)
  18265. type: string
  18266. buyaccountid:
  18267. description: 买方账号
  18268. type: integer
  18269. buyerfreezeamount:
  18270. description: 履约冻结(买履约)
  18271. type: number
  18272. buyerfreezeamountremain:
  18273. description: 履约冻结剩余(买履约)
  18274. type: number
  18275. buyorsell:
  18276. description: 买卖方向 0-买 1-卖
  18277. type: integer
  18278. buypaidamount:
  18279. description: 买方已冻/已扣金额 (已付金额)
  18280. type: number
  18281. buyusername:
  18282. description: 买方名字
  18283. type: string
  18284. contractid:
  18285. description: 合同ID
  18286. type: integer
  18287. createtime:
  18288. description: 创建时间
  18289. type: string
  18290. creatorid:
  18291. description: 创建人
  18292. type: integer
  18293. curstepdeadline:
  18294. description: 当前步骤到期时间
  18295. type: string
  18296. curstepid:
  18297. description: 当前步骤ID
  18298. type: string
  18299. curstepname:
  18300. description: 当前步骤名称
  18301. type: string
  18302. deliverygoodscode:
  18303. description: 品种代码
  18304. type: string
  18305. deliverygoodsid:
  18306. description: 品种ID
  18307. type: integer
  18308. deliverygoodsname:
  18309. description: 品种名称
  18310. type: string
  18311. enddate:
  18312. description: 结束交易日(yyyymmdd)
  18313. type: string
  18314. enumdicname:
  18315. description: 单位名称
  18316. type: string
  18317. expressfee:
  18318. description: 运费
  18319. type: number
  18320. expressfeeconfirmed:
  18321. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18322. type: integer
  18323. hasovershort:
  18324. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18325. type: integer
  18326. haswr:
  18327. description: 类型 0-仓单预售 1-仓单贸易
  18328. type: integer
  18329. marketid:
  18330. description: 市场ID
  18331. type: integer
  18332. middleaccountid:
  18333. description: 中间商资金账号ID
  18334. type: integer
  18335. middleuserid:
  18336. description: 中间商用户ID
  18337. type: integer
  18338. minivalue:
  18339. description: 现货商品最小变动值
  18340. type: integer
  18341. optioncompare:
  18342. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18343. type: string
  18344. overshortamount:
  18345. description: 溢短金额
  18346. type: number
  18347. overshortqty:
  18348. description: 溢短数量
  18349. type: number
  18350. paymenttype:
  18351. description: 付款方式 - 1:冻结 2:扣款
  18352. type: integer
  18353. performanceplanid:
  18354. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18355. type: string
  18356. performancestatus:
  18357. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18358. 9:超时待处理 10:超时关闭
  18359. type: integer
  18360. performancetype:
  18361. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18362. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18363. type: integer
  18364. qty:
  18365. description: 履约数量
  18366. type: number
  18367. relatedorderid:
  18368. description: 关联单号(履约类型的关联单号)
  18369. type: string
  18370. remark:
  18371. description: 备注
  18372. type: string
  18373. sellaccountid:
  18374. description: 卖方账号
  18375. type: integer
  18376. sellerfreezeamount:
  18377. description: 履约冻结(卖履约)
  18378. type: number
  18379. sellerfreezeamountremain:
  18380. description: 履约冻结剩余(卖履约)
  18381. type: number
  18382. sellreceivedamount:
  18383. description: 卖方已收金额
  18384. type: number
  18385. sellusername:
  18386. description: 卖方名字
  18387. type: string
  18388. shipremark:
  18389. description: 发货备注[物流单号]
  18390. type: string
  18391. starttime:
  18392. description: 开始时间
  18393. type: string
  18394. steptypeid:
  18395. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18396. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18397. type: integer
  18398. typename:
  18399. description: 履约类型 名称
  18400. type: string
  18401. unpaidamount:
  18402. description: 剩余款(待支付金额)
  18403. type: number
  18404. userid:
  18405. description: 用户id
  18406. type: integer
  18407. warehouseid:
  18408. description: 仓库ID
  18409. type: integer
  18410. warehousename:
  18411. description: 仓库名称
  18412. type: string
  18413. wrfactortypeid:
  18414. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18415. type: string
  18416. wrfactortypename:
  18417. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18418. type: string
  18419. wrstandardcode:
  18420. description: 现货商品代码
  18421. type: string
  18422. wrstandardid:
  18423. description: 现货商品ID
  18424. type: integer
  18425. wrstandardname:
  18426. description: 商品名称
  18427. type: string
  18428. wrtransferuserid:
  18429. description: 仓单受让用户
  18430. type: integer
  18431. wrtypename:
  18432. description: 商品
  18433. type: string
  18434. required:
  18435. - userid
  18436. type: object
  18437. models.WrPerformancePlanStep:
  18438. properties:
  18439. delaydays:
  18440. description: 延期申请天数
  18441. type: integer
  18442. deliverygoodscode:
  18443. description: 品种代码
  18444. type: string
  18445. deliverygoodsid:
  18446. description: 品种ID
  18447. type: integer
  18448. deliverygoodsname:
  18449. description: 品种名称
  18450. type: string
  18451. endtime:
  18452. description: 结束日期
  18453. type: string
  18454. enumdicname:
  18455. description: 单位名称
  18456. type: string
  18457. executeside:
  18458. description: 步骤执行方 - 1:买方 2:卖方
  18459. type: integer
  18460. handlestatus:
  18461. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18462. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18463. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18464. type: integer
  18465. isauto:
  18466. description: 是否自动 - 0:不自动 1:自动
  18467. type: integer
  18468. islastreceivestep:
  18469. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18470. type: integer
  18471. minivalue:
  18472. description: 现货商品最小变动值
  18473. type: integer
  18474. optioncompare:
  18475. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18476. type: string
  18477. overdays:
  18478. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18479. type: integer
  18480. performancestepid:
  18481. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18482. type: string
  18483. planid:
  18484. description: 所属履约计划ID
  18485. type: string
  18486. realamount:
  18487. description: 实际完成金额
  18488. type: number
  18489. relatedorderid:
  18490. description: 关联单号
  18491. type: string
  18492. remaindays:
  18493. description: 剩余天数
  18494. type: integer
  18495. remark:
  18496. description: 错误备注
  18497. type: string
  18498. starttime:
  18499. description: 开始日期
  18500. type: string
  18501. stepamount:
  18502. description: 步骤金额
  18503. type: number
  18504. stepdays:
  18505. description: 距离上一步天数(分钟)
  18506. type: integer
  18507. stepindex:
  18508. description: 步骤序号
  18509. type: integer
  18510. steplanchtype:
  18511. description: 步骤启动类型 - 1:系统自动 2:手动
  18512. type: integer
  18513. stepremark:
  18514. description: 步骤备注
  18515. type: string
  18516. stepstatus:
  18517. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18518. type: integer
  18519. steptypeid:
  18520. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18521. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18522. type: integer
  18523. steptypename:
  18524. description: 步骤名称
  18525. type: string
  18526. stepvalue:
  18527. description: 步骤值
  18528. type: number
  18529. warehouseid:
  18530. description: 仓库ID
  18531. type: integer
  18532. warehousename:
  18533. description: 仓库名称
  18534. type: string
  18535. wrfactortypeid:
  18536. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18537. type: string
  18538. wrfactortypename:
  18539. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18540. type: string
  18541. wrstandardcode:
  18542. description: 现货商品代码
  18543. type: string
  18544. wrstandardid:
  18545. description: 现货商品ID
  18546. type: integer
  18547. wrstandardname:
  18548. description: 商品名称
  18549. type: string
  18550. wrtypename:
  18551. description: 商品
  18552. type: string
  18553. type: object
  18554. models.WrPerformanceStepType:
  18555. properties:
  18556. canauto:
  18557. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18558. type: integer
  18559. steptypeid:
  18560. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18561. type: integer
  18562. steptypename:
  18563. description: 步骤类型名称
  18564. type: string
  18565. type: object
  18566. models.WrPerformanceTemplateEx:
  18567. properties:
  18568. autoid:
  18569. description: AutoID 模板id
  18570. type: integer
  18571. createtime:
  18572. description: 创建时间
  18573. type: string
  18574. creatorid:
  18575. description: 创建人
  18576. type: integer
  18577. lstStep:
  18578. description: 步骤信息列表
  18579. items:
  18580. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18581. type: array
  18582. paymenttype:
  18583. description: 支付方式 - 1:冻结 2:扣款
  18584. type: integer
  18585. takemode:
  18586. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18587. type: integer
  18588. templatename:
  18589. description: 模板名称
  18590. type: string
  18591. templatetype:
  18592. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18593. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18594. type: integer
  18595. userid:
  18596. description: 所属用户
  18597. type: integer
  18598. type: object
  18599. models.WrPosition:
  18600. properties:
  18601. accountid:
  18602. description: 帐户ID
  18603. type: integer
  18604. buyexcuteqty:
  18605. description: 采购履约中数量
  18606. type: number
  18607. creditcurqty:
  18608. description: 授信当前数量(预售仓单:预售当前量)
  18609. type: number
  18610. creditenableqty:
  18611. description: '授信可用数量(预售仓单: 可用数量)'
  18612. type: number
  18613. creditfreezeqty:
  18614. description: '授信冻结数量(预售仓单: 当前数量)'
  18615. type: number
  18616. credittotalqty:
  18617. description: 授信总数量(预售仓单:预售总量)
  18618. type: number
  18619. credittradeqty:
  18620. description: 授信成交数量(预售仓单:成交总量)
  18621. type: number
  18622. deliverygoodscode:
  18623. description: 品种代码
  18624. type: string
  18625. deliverygoodsid:
  18626. description: 品种ID
  18627. type: integer
  18628. deliverygoodsname:
  18629. description: 品种名称
  18630. type: string
  18631. enalbeqty:
  18632. description: 可用数量
  18633. type: number
  18634. enumdicname:
  18635. description: 单位名称
  18636. type: string
  18637. freezeqty:
  18638. description: 总冻结数量
  18639. type: number
  18640. haswr:
  18641. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18642. type: integer
  18643. minivalue:
  18644. description: 现货商品最小变动值
  18645. type: integer
  18646. modifytime:
  18647. description: 修改时间(过户时间)
  18648. type: string
  18649. optioncompare:
  18650. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18651. type: string
  18652. pledgeqty:
  18653. description: 质押数量
  18654. type: number
  18655. querytype:
  18656. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18657. type: integer
  18658. sellexcuteqty:
  18659. description: 销售履约中数量
  18660. type: number
  18661. totalqty:
  18662. description: 总数量(库存数量)
  18663. type: number
  18664. warehouseid:
  18665. description: 仓库ID
  18666. type: integer
  18667. warehousename:
  18668. description: 仓库名称
  18669. type: string
  18670. wrfactortypeid:
  18671. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18672. type: string
  18673. wrfactortypename:
  18674. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18675. type: string
  18676. wrpositionid:
  18677. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18678. type: string
  18679. wrpositionno:
  18680. description: 仓单编号
  18681. type: string
  18682. wrstandardcode:
  18683. description: 现货商品代码
  18684. type: string
  18685. wrstandardid:
  18686. description: 现货商品ID
  18687. type: integer
  18688. wrstandardname:
  18689. description: 商品名称
  18690. type: string
  18691. wrtypename:
  18692. description: 商品
  18693. type: string
  18694. wruserid:
  18695. description: 持有人ID
  18696. type: integer
  18697. type: object
  18698. models.WrPreSaleInfo:
  18699. properties:
  18700. bannerpicurl:
  18701. description: Banner图
  18702. type: string
  18703. baseqty:
  18704. description: 中签基数
  18705. type: number
  18706. createtime:
  18707. description: 创建时间
  18708. type: string
  18709. deliverygoodsid:
  18710. description: 现货品种ID
  18711. type: integer
  18712. enddate:
  18713. description: 预售结束日期
  18714. type: string
  18715. enumdicname:
  18716. description: 单位名称
  18717. type: string
  18718. lotteryflag:
  18719. description: 摇号标识 - 0:未摇号 1:已摇号
  18720. type: integer
  18721. lotteryqty:
  18722. description: 摇号总量
  18723. type: number
  18724. luckyqty:
  18725. description: 已中签量
  18726. type: number
  18727. marketid:
  18728. description: 市场ID
  18729. type: integer
  18730. maxbuyqty:
  18731. description: 单人最大申购量
  18732. type: number
  18733. maxluckyqty:
  18734. description: 单人最大中签量
  18735. type: number
  18736. pictureurls:
  18737. description: 详情图片(逗号分隔)
  18738. type: string
  18739. placeqty:
  18740. description: 已配售量
  18741. type: number
  18742. presaleapplyid:
  18743. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18744. example: "0"
  18745. type: string
  18746. presaleqty:
  18747. description: 预售总量
  18748. type: number
  18749. presalestatus:
  18750. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18751. type: integer
  18752. sellaccountid:
  18753. description: 发行方资金账户ID
  18754. type: integer
  18755. selluserid:
  18756. description: 发行方用户ID
  18757. type: integer
  18758. sellwrtradeorderid:
  18759. description: 发行方卖委托单ID
  18760. type: string
  18761. startdate:
  18762. description: 预售开始日期
  18763. type: string
  18764. takestartdate:
  18765. description: 提货开始日期
  18766. type: string
  18767. thumurls:
  18768. description: 缩略图片(1:1)(逗号分隔)
  18769. type: string
  18770. tradedate:
  18771. description: 交易日
  18772. type: string
  18773. unitid:
  18774. description: 单位ID
  18775. type: integer
  18776. unitprice:
  18777. description: 商品单价
  18778. type: number
  18779. username:
  18780. description: 发行方用户名称
  18781. type: string
  18782. warehousecode:
  18783. description: 仓库代码(仓库简称)
  18784. type: string
  18785. warehouseid:
  18786. description: 仓库ID
  18787. type: integer
  18788. warehousename:
  18789. description: 仓库名称
  18790. type: string
  18791. wrfactortypeid:
  18792. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18793. example: "0"
  18794. type: string
  18795. wrstandardid:
  18796. description: 现货商品ID
  18797. type: integer
  18798. wrstandardname:
  18799. description: 现货商品名称
  18800. type: string
  18801. type: object
  18802. models.WrQuoteOrderMyq:
  18803. properties:
  18804. buyorsell:
  18805. description: 买卖 - 0:买 1:卖
  18806. type: integer
  18807. canbargain:
  18808. description: 是否可议价 - 0:不可 1:可
  18809. type: integer
  18810. canpart:
  18811. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18812. type: integer
  18813. delistminqty:
  18814. description: 起摘数量
  18815. type: number
  18816. deliverygoodscode:
  18817. description: 品种代码
  18818. type: string
  18819. deliverygoodsid:
  18820. description: 品种ID
  18821. type: integer
  18822. deliverygoodsname:
  18823. description: 品种名称
  18824. type: string
  18825. deliverymonth:
  18826. description: 交收月
  18827. type: string
  18828. enumdicname:
  18829. description: 单位名称
  18830. type: string
  18831. fixedprice:
  18832. description: 买(卖)价
  18833. type: number
  18834. goodscode:
  18835. description: 商品合约代码
  18836. type: string
  18837. marginflag:
  18838. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18839. type: integer
  18840. marginvalue:
  18841. description: 保证金设置值
  18842. type: number
  18843. minivalue:
  18844. description: 现货商品最小变动值
  18845. type: integer
  18846. orderqty:
  18847. description: 买(卖)量(=委托量-成交量)
  18848. type: number
  18849. ordertime:
  18850. description: 委托时间
  18851. type: string
  18852. performancetemplateid:
  18853. description: 履约模板id
  18854. type: integer
  18855. pricemove:
  18856. description: 买(卖)升贴水- 基差
  18857. type: number
  18858. templatename:
  18859. description: 履约模板名称
  18860. type: string
  18861. userid:
  18862. description: 购买方(销售方)用户ID
  18863. type: integer
  18864. username:
  18865. description: 购买方(销售方)
  18866. type: string
  18867. validtime:
  18868. description: 有效期限
  18869. type: string
  18870. validtype:
  18871. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18872. type: integer
  18873. warehousename:
  18874. description: 仓库名称
  18875. type: string
  18876. wrfactortypeid:
  18877. description: 仓单要素id
  18878. type: string
  18879. wrstandardcode:
  18880. description: 现货商品代码
  18881. type: string
  18882. wrstandardid:
  18883. description: 现货商品ID
  18884. type: integer
  18885. wrstandardname:
  18886. description: 商品名称
  18887. type: string
  18888. wrtradeorderid:
  18889. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18890. type: string
  18891. wrtypename:
  18892. description: 商品
  18893. type: string
  18894. type: object
  18895. models.WrReckonSpotGoodsTradeSum:
  18896. properties:
  18897. begindate:
  18898. description: 开始日期(结果含开始日期) yyyymmdd
  18899. type: string
  18900. enddate:
  18901. description: 结束日期(结果含结束日期) yyyymmdd
  18902. type: string
  18903. istoday:
  18904. description: 是否当日
  18905. type: boolean
  18906. marketid:
  18907. description: 市场ID
  18908. type: integer
  18909. price:
  18910. description: 价格 = 日成交金额 / 日成交数量
  18911. type: string
  18912. reckondate:
  18913. description: 日期 格式 yyyymmdd
  18914. type: string
  18915. tradeamount:
  18916. description: 日成交金额(当日单方向成交金额)
  18917. type: number
  18918. tradeqty:
  18919. description: 日成交数量(当日单方向成交数量)
  18920. type: number
  18921. wrstandardid:
  18922. description: 现货商品ID
  18923. type: integer
  18924. type: object
  18925. models.WrScfContract:
  18926. properties:
  18927. borroweruserid:
  18928. description: 借款用户ID
  18929. type: integer
  18930. buybackwrpositionqty:
  18931. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18932. type: number
  18933. closeinterest:
  18934. description: 已结利息 -> 已结费用
  18935. type: number
  18936. currisklevel:
  18937. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18938. type: integer
  18939. deadline:
  18940. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18941. type: string
  18942. deliverygoodscode:
  18943. description: 品种代码
  18944. type: string
  18945. deliverygoodsid:
  18946. description: 品种ID
  18947. type: integer
  18948. deliverygoodsname:
  18949. description: 品种名称
  18950. type: string
  18951. enumdicname:
  18952. description: 单位名称
  18953. type: string
  18954. financingdays:
  18955. description: 天数(天)
  18956. type: integer
  18957. initmargin:
  18958. description: 保证金 - [仓单回购]
  18959. type: number
  18960. interestamount:
  18961. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18962. type: number
  18963. interestdebt:
  18964. description: 利息欠款(记录负数) -> 费用欠款
  18965. type: number
  18966. interestminlen:
  18967. description: 最小起息天数
  18968. type: integer
  18969. interestrate:
  18970. description: 利率
  18971. type: number
  18972. interestratemode:
  18973. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18974. type: integer
  18975. interestsettlemode:
  18976. description: 结息方式 - 1:按日结息 3:按月结息
  18977. type: integer
  18978. interestsettlevalue:
  18979. description: 结息方式值
  18980. type: integer
  18981. isautoloan:
  18982. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18983. type: integer
  18984. lastcloseinterestday:
  18985. description: 最近结息日(yyyyMMdd)
  18986. type: string
  18987. lenderamount:
  18988. description: 贷款金额 -> 借款金额
  18989. type: number
  18990. lenderuserid:
  18991. description: 贷款方用户ID -> 融出方用户ID
  18992. type: integer
  18993. lenderusername:
  18994. description: 融出方
  18995. type: string
  18996. marginratio:
  18997. description: 保证金比率质押率 - [仓单质押]
  18998. type: number
  18999. marketid:
  19000. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  19001. type: integer
  19002. minivalue:
  19003. description: 现货商品最小变动值
  19004. type: integer
  19005. optioncompare:
  19006. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19007. type: string
  19008. pricemove:
  19009. description: 估值升贴水值
  19010. type: number
  19011. productdetailid:
  19012. description: 产品组合ID
  19013. type: integer
  19014. productid:
  19015. description: 金融产品ID
  19016. type: integer
  19017. productname:
  19018. description: 产品名称
  19019. type: string
  19020. remainamount:
  19021. description: 合同剩余金额 -> 剩余金额
  19022. type: number
  19023. remainwrpositionqty:
  19024. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19025. type: number
  19026. remark:
  19027. description: 备注
  19028. type: string
  19029. scfcontractid:
  19030. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19031. type: string
  19032. scfcontractstatus:
  19033. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19034. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19035. type: integer
  19036. scfcontracttype:
  19037. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19038. type: integer
  19039. startinterestday:
  19040. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19041. type: string
  19042. totalinterest:
  19043. description: 已计利息 -> 已计费用
  19044. type: number
  19045. unpaidinterest:
  19046. description: 未结费用
  19047. type: number
  19048. updatetime:
  19049. description: 更新时间
  19050. type: string
  19051. warehouseid:
  19052. description: 仓库ID
  19053. type: integer
  19054. warehousename:
  19055. description: 仓库名称
  19056. type: string
  19057. wrfactortypeid:
  19058. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19059. type: string
  19060. wrfactortypename:
  19061. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19062. type: string
  19063. wrqty:
  19064. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19065. type: number
  19066. wrstandardcode:
  19067. description: 现货商品代码
  19068. type: string
  19069. wrstandardid:
  19070. description: 现货商品ID
  19071. type: integer
  19072. wrstandardname:
  19073. description: 商品名称
  19074. type: string
  19075. wrtypename:
  19076. description: 商品
  19077. type: string
  19078. type: object
  19079. models.WrScfContractInterest:
  19080. properties:
  19081. closeinterest:
  19082. description: 已结利息
  19083. type: number
  19084. closeintereststatus:
  19085. description: 结息状态 - 1:未结 2:已结
  19086. type: integer
  19087. closetime:
  19088. description: 结息时间
  19089. type: string
  19090. closetradedate:
  19091. description: 结息交易日
  19092. type: string
  19093. creatorid:
  19094. description: 操作人ID
  19095. type: integer
  19096. dayrate:
  19097. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19098. type: number
  19099. interest:
  19100. description: 利息
  19101. type: number
  19102. interestamount:
  19103. description: 计息金额
  19104. type: number
  19105. interestday:
  19106. description: 计息日(yyyyMMdd)
  19107. type: string
  19108. scfcontractid:
  19109. description: SCF合同ID
  19110. type: string
  19111. scfcontractinterestid:
  19112. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19113. type: integer
  19114. updatetime:
  19115. description: 更新时间
  19116. type: string
  19117. type: object
  19118. models.WrSearchUser:
  19119. properties:
  19120. userid:
  19121. description: 用户ID
  19122. type: integer
  19123. username:
  19124. description: 用户名称(已脱敏)
  19125. type: string
  19126. username2:
  19127. description: 用户名称(未脱敏)
  19128. type: string
  19129. usertype:
  19130. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19131. type: integer
  19132. required:
  19133. - username
  19134. type: object
  19135. models.WrSiteColumnDetail:
  19136. properties:
  19137. brief:
  19138. description: 简介
  19139. type: string
  19140. context:
  19141. description: 内容
  19142. type: string
  19143. coverimage:
  19144. description: 封面图片
  19145. type: string
  19146. creaedate:
  19147. description: 创建时间
  19148. type: string
  19149. id:
  19150. description: ID(SEQ_SITE_COLUMNDETAIL)
  19151. type: integer
  19152. istop:
  19153. description: 是否置顶 - 0:不置 1:置顶
  19154. type: integer
  19155. publishdate:
  19156. description: 发布日期
  19157. type: string
  19158. title:
  19159. description: 标题
  19160. type: string
  19161. updatedate:
  19162. description: 修改时间
  19163. type: string
  19164. type: object
  19165. models.WrSpecialMatchOrder:
  19166. properties:
  19167. amount:
  19168. description: 金额 = 数量 * 价格
  19169. type: number
  19170. buyorsell:
  19171. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19172. type: integer
  19173. cancelqty:
  19174. description: 撤销数量
  19175. type: number
  19176. deliverygoodscode:
  19177. description: 品种代码
  19178. type: string
  19179. deliverygoodsid:
  19180. description: 品种ID
  19181. type: integer
  19182. deliverygoodsname:
  19183. description: 品种名称
  19184. type: string
  19185. enumdicname:
  19186. description: 单位名称
  19187. type: string
  19188. fixedprice:
  19189. description: 固定价格(价格)
  19190. type: number
  19191. haswr:
  19192. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19193. type: integer
  19194. isspecified:
  19195. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19196. type: integer
  19197. marketid:
  19198. description: 市场ID
  19199. type: integer
  19200. matchuserid:
  19201. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19202. type: integer
  19203. matchusername:
  19204. description: 指定方
  19205. type: string
  19206. minivalue:
  19207. description: 现货商品最小变动值
  19208. type: integer
  19209. optioncompare:
  19210. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19211. type: string
  19212. orderqty:
  19213. description: 委托数量
  19214. type: number
  19215. ordertime:
  19216. description: 委托时间
  19217. type: string
  19218. pricemove:
  19219. description: 升贴水(浮动价时填写) - [挂牌]
  19220. type: number
  19221. tradedate:
  19222. description: 交易日(yyyyMMdd)
  19223. type: string
  19224. tradeprice:
  19225. description: 成交价格
  19226. type: number
  19227. tradeqty:
  19228. description: 成交数量
  19229. type: number
  19230. userid:
  19231. description: 用户ID
  19232. type: integer
  19233. username:
  19234. description: 发起方
  19235. type: string
  19236. warehouseid:
  19237. description: 仓库ID
  19238. type: integer
  19239. warehousename:
  19240. description: 仓库名称
  19241. type: string
  19242. wrfactortypeid:
  19243. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19244. type: string
  19245. wrfactortypename:
  19246. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19247. type: string
  19248. wrpricetype:
  19249. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19250. type: integer
  19251. wrstandardcode:
  19252. description: 现货商品代码
  19253. type: string
  19254. wrstandardid:
  19255. description: 现货商品ID
  19256. type: integer
  19257. wrstandardname:
  19258. description: 商品名称
  19259. type: string
  19260. wrtradeorderid:
  19261. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19262. type: string
  19263. wrtradeorderstatus:
  19264. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19265. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19266. type: integer
  19267. wrtradetype:
  19268. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19269. type: integer
  19270. wrtypename:
  19271. description: 商品
  19272. type: string
  19273. type: object
  19274. models.WrSpotGroupTradeSum:
  19275. properties:
  19276. deliverygoodscode:
  19277. description: 现货品种代码
  19278. type: string
  19279. deliverygoodsid:
  19280. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19281. type: integer
  19282. deliverygoodsname:
  19283. description: 现货品种名称
  19284. type: string
  19285. lastavgprice:
  19286. description: 上上个交易日价格(前2天价格)
  19287. type: string
  19288. lastreckondate:
  19289. description: 上上个交易日(前2天交易日)
  19290. type: string
  19291. reckondate:
  19292. description: 上个交易日(前1天交易日)
  19293. type: string
  19294. todayavgprice:
  19295. description: 上个交易日价格(前1天价格)
  19296. type: string
  19297. updown:
  19298. description: 涨跌
  19299. type: string
  19300. updownratio:
  19301. description: 涨幅(已格式化, 直接显示即可)
  19302. type: string
  19303. type: object
  19304. models.WrSpotGroupTradeSumDetail:
  19305. properties:
  19306. deliverygoodsid:
  19307. description: 现货商品id
  19308. type: integer
  19309. price:
  19310. description: 价格
  19311. type: number
  19312. reckondate:
  19313. description: 日期(yyymmdd, 如:20211031)
  19314. type: string
  19315. type: object
  19316. models.WrSpotGroupTradeSumEx:
  19317. properties:
  19318. lst:
  19319. description: 指数列表
  19320. items:
  19321. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19322. type: array
  19323. prereckondate:
  19324. description: 上上个交易日(yyymmdd)
  19325. type: string
  19326. reckondate:
  19327. description: 上个交易日(yyyymmdd)
  19328. type: string
  19329. type: object
  19330. models.WrStandardFactoryItem:
  19331. properties:
  19332. dgfactoryitemid:
  19333. description: 选择项id
  19334. type: integer
  19335. dgfactoryitemvalue:
  19336. description: 要素项值
  19337. type: string
  19338. warehouseid:
  19339. description: 仓库id
  19340. type: integer
  19341. type: object
  19342. models.WrStandardFactoryItemEx:
  19343. properties:
  19344. dgfactoryitemtypeid:
  19345. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19346. type: integer
  19347. itemlst:
  19348. description: 要素项列表
  19349. items:
  19350. $ref: '#/definitions/models.WrStandardFactoryItem'
  19351. type: array
  19352. itemtypename:
  19353. description: 要素项类型名称
  19354. type: string
  19355. wrstandardid:
  19356. description: 品类
  19357. type: integer
  19358. type: object
  19359. models.WrTradeDetail:
  19360. properties:
  19361. accountid:
  19362. description: 资金账号
  19363. type: integer
  19364. bannerpicurl:
  19365. description: Banner图
  19366. type: string
  19367. begindate:
  19368. description: 开始交易日(yyyymmdd)
  19369. type: string
  19370. buyorsell:
  19371. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19372. type: integer
  19373. chargevalue:
  19374. description: 手续费
  19375. type: number
  19376. deliverygoodscode:
  19377. description: 品种代码
  19378. type: string
  19379. deliverygoodsid:
  19380. description: 品种ID
  19381. type: integer
  19382. deliverygoodsname:
  19383. description: 品种名称
  19384. type: string
  19385. deliverymonth:
  19386. description: 交收月
  19387. type: string
  19388. enddate:
  19389. description: 结束交易日(yyyymmdd)
  19390. type: string
  19391. enumdicname:
  19392. description: 单位名称
  19393. type: string
  19394. haswr:
  19395. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19396. type: integer
  19397. marketid:
  19398. description: 市场ID
  19399. type: integer
  19400. matchaccountid:
  19401. description: 对手账号
  19402. type: integer
  19403. matchusername:
  19404. description: 对手方
  19405. type: string
  19406. minivalue:
  19407. description: 现货商品最小变动值
  19408. type: integer
  19409. optioncompare:
  19410. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19411. type: string
  19412. thumurls:
  19413. description: 缩略图
  19414. type: string
  19415. tradedate:
  19416. description: 交易日(yyyyMMdd)
  19417. type: string
  19418. tradeprice:
  19419. description: 成交价格
  19420. type: number
  19421. tradeqty:
  19422. description: 成交数量
  19423. type: number
  19424. tradetime:
  19425. description: 成交时间
  19426. type: string
  19427. userid:
  19428. description: 用户ID
  19429. type: integer
  19430. warehouseid:
  19431. description: 仓库ID
  19432. type: integer
  19433. warehousename:
  19434. description: 仓库名称
  19435. type: string
  19436. wrfactortypeid:
  19437. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19438. type: string
  19439. wrfactortypename:
  19440. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19441. type: string
  19442. wrstandardcode:
  19443. description: 现货商品代码
  19444. type: string
  19445. wrstandardid:
  19446. description: 现货商品ID
  19447. type: integer
  19448. wrstandardname:
  19449. description: 商品名称
  19450. type: string
  19451. wrtradedetailid:
  19452. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19453. type: string
  19454. wrtradetype:
  19455. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19456. type: integer
  19457. wrtypename:
  19458. description: 商品
  19459. type: string
  19460. type: object
  19461. models.WrTradeOrderDetail:
  19462. properties:
  19463. buyorsell:
  19464. description: 买卖方向 0-买 1-卖
  19465. type: integer
  19466. goodsid:
  19467. description: 商品id
  19468. type: integer
  19469. orderid:
  19470. description: 委托单号
  19471. type: string
  19472. orderprice:
  19473. description: 委托价格
  19474. type: number
  19475. orderqty:
  19476. description: 委托数量
  19477. type: integer
  19478. userid:
  19479. description: 用户id
  19480. type: integer
  19481. username:
  19482. description: 用户名称(已脱敏)
  19483. type: string
  19484. type: object
  19485. models.WrTypeItem:
  19486. properties:
  19487. name:
  19488. description: 名称
  19489. type: string
  19490. value:
  19491. description: 值
  19492. type: string
  19493. type: object
  19494. models.WrUserFriend:
  19495. properties:
  19496. friendname:
  19497. description: 朋友名称(已脱敏)
  19498. type: string
  19499. frienduserid:
  19500. description: 朋友id
  19501. type: integer
  19502. isfriend:
  19503. description: 是否好友 0-不是 1-是
  19504. type: integer
  19505. userid:
  19506. description: 用户id
  19507. type: integer
  19508. type: object
  19509. models.WrUserReceiptInfo:
  19510. properties:
  19511. address:
  19512. description: 地址[发票类型:企业]
  19513. type: string
  19514. autoid:
  19515. description: AutoID
  19516. type: integer
  19517. contactinfo:
  19518. description: 联系方式
  19519. type: string
  19520. idnum:
  19521. description: 身份证号码[发票类型:个人]
  19522. type: string
  19523. isdefault:
  19524. description: 是否默认地址 - 0:否 1:是
  19525. type: integer
  19526. receiptaccount:
  19527. description: 发票帐号[发票类型:企业]
  19528. type: string
  19529. receiptbank:
  19530. description: 发票开户行[发票类型:企业]
  19531. type: string
  19532. receipttype:
  19533. description: 发票类型 - 1:个人 2:企业
  19534. type: integer
  19535. taxpayerid:
  19536. description: 纳税人识别号
  19537. type: string
  19538. userid:
  19539. description: 用户ID
  19540. type: integer
  19541. username:
  19542. description: 户名(个人姓名或企业名称)
  19543. type: string
  19544. type: object
  19545. models.Wrtradetradequote:
  19546. properties:
  19547. begindate:
  19548. description: 开始日期(结果含开始日期) yyyymmdd
  19549. type: string
  19550. buyaccountid:
  19551. description: 买方账号ID
  19552. type: integer
  19553. buyuserid:
  19554. description: 买方用户ID
  19555. type: integer
  19556. deliverygoodsid:
  19557. description: 现货品种ID
  19558. type: integer
  19559. enddate:
  19560. description: 结束日期(结果含结束日期) yyyymmdd
  19561. type: string
  19562. marketid:
  19563. description: 市场ID
  19564. type: integer
  19565. sellaccountid:
  19566. description: 卖方账号ID
  19567. type: integer
  19568. selluserid:
  19569. description: 卖方用户ID
  19570. type: integer
  19571. tradeamount:
  19572. description: 成交金额
  19573. type: number
  19574. tradedate:
  19575. description: 交易日(yyyyMMdd)
  19576. type: string
  19577. tradeprice:
  19578. description: 成交价格
  19579. type: number
  19580. tradeqty:
  19581. description: 成交数量
  19582. type: integer
  19583. tradetime:
  19584. description: 成交时间
  19585. type: string
  19586. wrfactortypeid:
  19587. description: 仓单要素类型ID
  19588. type: integer
  19589. wrstandardid:
  19590. description: 现货商品ID
  19591. type: integer
  19592. wrtradedetailid:
  19593. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19594. type: string
  19595. type: object
  19596. models.XHBRAND:
  19597. properties:
  19598. brandid:
  19599. description: 品牌id
  19600. type: integer
  19601. brandname:
  19602. description: 品牌名称
  19603. type: string
  19604. isvalid:
  19605. description: 是否有效 0-无效 1-有效
  19606. type: integer
  19607. type: object
  19608. models.XHDeliveryGoods:
  19609. properties:
  19610. areauserid:
  19611. description: 所属机构
  19612. type: integer
  19613. bdlst:
  19614. description: 品牌列表
  19615. items:
  19616. $ref: '#/definitions/models.XHBRAND'
  19617. type: array
  19618. deliverygoodscode:
  19619. description: 现货品种代码
  19620. type: string
  19621. deliverygoodsid:
  19622. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19623. type: integer
  19624. deliverygoodsname:
  19625. description: 现货品种名称
  19626. type: string
  19627. dgstatus:
  19628. description: 品种状态 - 作废 - 0:未激活 1:正常
  19629. type: integer
  19630. filterSubEmpty:
  19631. description: 过滤下级为空的
  19632. type: integer
  19633. isvalid:
  19634. description: 是否有效 - 0:无效 1:有效
  19635. type: integer
  19636. remark:
  19637. description: 备注
  19638. type: string
  19639. unitid:
  19640. description: 单位id(目前看,数据库中是空值)
  19641. type: integer
  19642. wdlst:
  19643. description: 品类(现货商品)列表
  19644. items:
  19645. $ref: '#/definitions/models.XHWrstandard'
  19646. type: array
  19647. type: object
  19648. models.XHMiddleGoods:
  19649. properties:
  19650. GPLST:
  19651. description: 期货品种列表
  19652. items:
  19653. $ref: '#/definitions/models.TBGoodsGroup'
  19654. type: array
  19655. convertratio:
  19656. description: 拆算系数
  19657. type: number
  19658. costratio:
  19659. description: 成本权重
  19660. type: number
  19661. deliverygoodsid:
  19662. description: 现货商品id
  19663. type: integer
  19664. enumdicname:
  19665. description: 单位名称
  19666. type: string
  19667. middlegoodscode:
  19668. description: 套保品种代码
  19669. type: string
  19670. middlegoodsid:
  19671. description: 套保品种id
  19672. type: integer
  19673. middlegoodsname:
  19674. description: 套保品种名称
  19675. type: string
  19676. unitid:
  19677. description: 单位id
  19678. type: integer
  19679. type: object
  19680. models.XHWrstandard:
  19681. properties:
  19682. bannerpicurl:
  19683. description: banner图
  19684. type: string
  19685. deliverygoodsid:
  19686. description: 品种ID
  19687. type: integer
  19688. enumdicname:
  19689. description: 单位名称
  19690. type: string
  19691. mglst:
  19692. description: 套保品列表
  19693. items:
  19694. $ref: '#/definitions/models.XHMiddleGoods'
  19695. type: array
  19696. pictureurls:
  19697. description: 详情图片(逗号分隔)
  19698. type: string
  19699. thumurls:
  19700. description: 缩略图片(1:1)(逗号分隔)
  19701. type: string
  19702. unitid:
  19703. description: 单位id
  19704. type: integer
  19705. vatrate:
  19706. description: 增值税率
  19707. type: number
  19708. wrstandardcode:
  19709. description: 现货商品代码
  19710. type: string
  19711. wrstandardid:
  19712. description: 现货商品ID(SEQ_WRSTANDARD)
  19713. type: integer
  19714. wrstandardname:
  19715. description: 现货商品名称
  19716. type: string
  19717. type: object
  19718. models.XhcpSellBackApplyEx:
  19719. properties:
  19720. applyremark:
  19721. description: 申请备注
  19722. type: string
  19723. expirytype:
  19724. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19725. type: integer
  19726. goodsspec:
  19727. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19728. type: integer
  19729. holeflag:
  19730. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19731. type: integer
  19732. isunopened:
  19733. description: 是否原封 - 1:否 2:是
  19734. type: integer
  19735. mpflag:
  19736. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19737. type: integer
  19738. openflag:
  19739. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19740. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19741. type: integer
  19742. phonenum:
  19743. description: 联系电话
  19744. type: string
  19745. userid:
  19746. description: 所属用户ID
  19747. type: integer
  19748. zpflag:
  19749. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19750. type: integer
  19751. required:
  19752. - userid
  19753. type: object
  19754. models.Xhcpsellbackapply:
  19755. properties:
  19756. applyid:
  19757. description: 申请人
  19758. type: integer
  19759. applyremark:
  19760. description: 申请备注
  19761. type: string
  19762. applysrc:
  19763. description: 申请来源 - 1:管理端 2:终端
  19764. type: integer
  19765. applystatus:
  19766. description: 申请状态 - 1:待确认 2:已处理
  19767. type: integer
  19768. applytime:
  19769. description: 申请时间
  19770. type: string
  19771. auditremark:
  19772. description: 审核备注
  19773. type: string
  19774. auditsrc:
  19775. description: 审核来源 - 1:管理端 2:终端
  19776. type: integer
  19777. expirytype:
  19778. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19779. type: integer
  19780. goodsspec:
  19781. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19782. type: integer
  19783. holeflag:
  19784. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19785. type: integer
  19786. isunopened:
  19787. description: 是否原封 - 1:否 2:是
  19788. type: integer
  19789. mpflag:
  19790. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19791. type: integer
  19792. openflag:
  19793. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19794. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19795. type: integer
  19796. phonenum:
  19797. description: 联系电话
  19798. type: string
  19799. sellbackapplyid:
  19800. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19801. type: string
  19802. userid:
  19803. description: 所属用户ID
  19804. type: integer
  19805. zpflag:
  19806. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19807. type: integer
  19808. required:
  19809. - userid
  19810. type: object
  19811. order.QueryHisTradeDetailRsp:
  19812. properties:
  19813. accountid:
  19814. description: 账户ID[报价币种]
  19815. type: integer
  19816. advanceratio:
  19817. description: 首付比率
  19818. type: number
  19819. buildtype:
  19820. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19821. type: integer
  19822. buyorsell:
  19823. description: 方向 - 0:买 1:卖
  19824. type: integer
  19825. charge:
  19826. description: 手续费
  19827. type: number
  19828. closecharge:
  19829. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19830. type: number
  19831. closeexchagechargevalue:
  19832. description: 平仓交易所手续费设置值
  19833. type: number
  19834. closefeealgorithm:
  19835. description: 平仓手续费收取方式 1:比率 2:固定
  19836. type: integer
  19837. closememberchargevalue:
  19838. description: 平仓会员手续费设置值
  19839. type: number
  19840. closepl:
  19841. description: 平仓盈亏
  19842. type: number
  19843. closepl2:
  19844. description: 平仓盈亏[逐笔]
  19845. type: number
  19846. closeqty:
  19847. description: 平仓数量(先建后平操作 需要记录)
  19848. type: number
  19849. creditamount:
  19850. description: 授信金额
  19851. type: number
  19852. decimalplace:
  19853. description: 商品报价小数位
  19854. type: integer
  19855. enumdicname:
  19856. description: 单位名称
  19857. type: string
  19858. gcaccountid:
  19859. description: 账户ID[合约币种]
  19860. type: integer
  19861. goodscode:
  19862. description: 商品代码
  19863. type: string
  19864. goodsid:
  19865. description: 商品ID
  19866. type: integer
  19867. goodsname:
  19868. description: 商品名称
  19869. type: string
  19870. goodunitid:
  19871. description: 商品单位id
  19872. type: integer
  19873. histradedate:
  19874. description: 历史交易日
  19875. type: string
  19876. intclosepl:
  19877. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19878. type: integer
  19879. isconfirmexercise:
  19880. description: 是否确认行权- 0:否 1:是
  19881. type: integer
  19882. ismain:
  19883. description: 是否主单 - 0:不是 1:是
  19884. type: integer
  19885. ispreexercise:
  19886. description: 是否预申报- 0:否 1:是
  19887. type: integer
  19888. isreckoned:
  19889. description: 是否结算 - 0:未结算 1:已结算
  19890. type: integer
  19891. isvaliddata:
  19892. description: 是否有效 - 0:无效 1:有效
  19893. type: integer
  19894. listingselecttype:
  19895. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19896. type: integer
  19897. marketid:
  19898. description: 市场ID
  19899. type: integer
  19900. marketname:
  19901. description: 市场名称
  19902. type: string
  19903. matchaccountid:
  19904. description: 对手账号id
  19905. type: integer
  19906. memberuserid:
  19907. description: 会员id 个人投资者 需要填写
  19908. type: integer
  19909. opencharge:
  19910. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19911. type: number
  19912. openexchagechargevalue:
  19913. description: 建仓交易所手续费设置值
  19914. type: number
  19915. openfeealgorithm:
  19916. description: 建仓手续费收取方式 1:比率 2:固定
  19917. type: integer
  19918. openmemberchargevalue:
  19919. description: 建仓会员手续费设置值
  19920. type: number
  19921. openqty:
  19922. description: 开仓数量(先建后平操作 需要记录)
  19923. type: number
  19924. optiontype:
  19925. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19926. type: integer
  19927. orderid:
  19928. description: 委托单号
  19929. type: string
  19930. payamount:
  19931. description: 支付金额(付款金额)
  19932. type: number
  19933. performanceplanid:
  19934. description: 履约计划ID[期权]
  19935. type: integer
  19936. performancestatus:
  19937. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19938. type: integer
  19939. preexerciseprice:
  19940. description: 预申报价格
  19941. type: number
  19942. premium:
  19943. description: 权利金 - [持仓单的权利金]
  19944. type: number
  19945. qtydecimalplace:
  19946. description: 商品报价小数位
  19947. type: integer
  19948. recvamount:
  19949. description: 到账金额 = 成交金额 - 手续费
  19950. type: number
  19951. relatedouttradeid:
  19952. description: 关联外部成交单ID
  19953. type: integer
  19954. status:
  19955. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19956. type: integer
  19957. totalamount:
  19958. description: 订单总额 = 成交金额 + 手续费
  19959. type: number
  19960. tradeamount:
  19961. description: 成交金额[账户币种,用于所有权]
  19962. type: number
  19963. tradedate:
  19964. description: 交易日(yyyyMMdd)
  19965. type: string
  19966. tradeid:
  19967. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19968. type: string
  19969. trademode:
  19970. description: 交易模式
  19971. type: integer
  19972. tradeprice:
  19973. description: 成交价格
  19974. type: number
  19975. tradeproperty:
  19976. description: 交易属性
  19977. type: integer
  19978. tradeqty:
  19979. description: 成交数量
  19980. type: number
  19981. tradetime:
  19982. description: 成交时间
  19983. type: string
  19984. tradetype:
  19985. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19986. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19987. type: integer
  19988. required:
  19989. - accountid
  19990. - buyorsell
  19991. - goodsid
  19992. - histradedate
  19993. - marketid
  19994. - memberuserid
  19995. - orderid
  19996. - tradeamount
  19997. - tradedate
  19998. - tradeid
  19999. - tradeprice
  20000. - tradeqty
  20001. - tradetime
  20002. type: object
  20003. order.QueryHisTradeOrderDetailRsp:
  20004. properties:
  20005. accountid:
  20006. description: 账户ID[报价币种]
  20007. type: integer
  20008. buildtype:
  20009. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20010. type: integer
  20011. buyorsell:
  20012. description: 买卖 - 0:买 1:卖
  20013. type: integer
  20014. cancelorderid:
  20015. description: 撤单单号(撤单时填写)
  20016. type: string
  20017. cancelqty:
  20018. description: 撤单数量
  20019. type: number
  20020. clientordertime:
  20021. description: 客户端委托时间
  20022. type: string
  20023. clientticket:
  20024. description: 客户端流水号
  20025. type: string
  20026. clienttype:
  20027. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20028. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20029. type: integer
  20030. closeexchagechargevalue:
  20031. description: 平仓交易所手续费设置值
  20032. type: number
  20033. closefeealgorithm:
  20034. description: 平仓手续费收取方式 1:比率 2:固定
  20035. type: integer
  20036. closefreezecharge:
  20037. description: 平仓冻结手续费(先建后平操作,需要记录)
  20038. type: number
  20039. closememberchargevalue:
  20040. description: 平仓会员手续费设置值
  20041. type: number
  20042. closeqty:
  20043. description: 平仓数量(先建后平操作 需要记录)
  20044. type: number
  20045. closetradeqty:
  20046. description: 平仓成交数量(先建后平操作,需要记录)
  20047. type: number
  20048. closeunfreezecharge:
  20049. description: 平仓解冻手续费(先建后平操作,需要记录)
  20050. type: number
  20051. decimalplace:
  20052. description: 商品报价小数位
  20053. type: integer
  20054. delistingtype:
  20055. description: 摘牌类型 - 1:价格最优 2:点选成交
  20056. type: integer
  20057. enumdicname:
  20058. description: 单位名称
  20059. type: string
  20060. freezecharge:
  20061. description: 冻结手续费
  20062. type: number
  20063. freezemargin:
  20064. description: 冻结保证金(冻结交易金额)
  20065. type: number
  20066. gcaccountid:
  20067. description: 账户ID[合约币种]
  20068. type: integer
  20069. goodscode:
  20070. description: 商品代码
  20071. type: string
  20072. goodsid:
  20073. description: 商品ID
  20074. type: integer
  20075. goodsname:
  20076. description: 商品名称
  20077. type: string
  20078. goodunitid:
  20079. description: 商品单位id
  20080. type: integer
  20081. histradedate:
  20082. description: 历史交易日
  20083. type: string
  20084. isconfirmexercise:
  20085. description: 是否确认行权- 0:否 1:是
  20086. type: integer
  20087. ispreexercise:
  20088. description: 是否预申报- 0:否 1:是
  20089. type: integer
  20090. isvaliddata:
  20091. description: 是否有效 - 0:无效 1:有效
  20092. type: integer
  20093. listingselecttype:
  20094. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20095. type: integer
  20096. marginalgorithm:
  20097. description: 保证金收取方式 1:比率 2:固定
  20098. type: integer
  20099. marginvalue:
  20100. description: 即市保证金设置值
  20101. type: number
  20102. marketid:
  20103. description: 市场ID
  20104. type: integer
  20105. marketmaxsub:
  20106. description: 市价最大偏移范围
  20107. type: number
  20108. marketname:
  20109. description: 市场名称
  20110. type: string
  20111. memberuserid:
  20112. description: 所属会员UserID
  20113. type: integer
  20114. openexchagechargevalue:
  20115. description: 建仓交易所手续费设置值
  20116. type: number
  20117. openfeealgorithm:
  20118. description: 建仓手续费收取方式 1:比率 2:固定
  20119. type: integer
  20120. openfreezecharge:
  20121. description: 开仓冻结手续费(先建后平操作,需要记录)
  20122. type: number
  20123. openmemberchargevalue:
  20124. description: 建仓会员手续费设置值
  20125. type: number
  20126. openqty:
  20127. description: 开仓数量(先建后平操作,需要记录)
  20128. type: number
  20129. opentradeqty:
  20130. description: 开仓成交数量(先建后平操作,需要记录)
  20131. type: number
  20132. openunfreezecharge:
  20133. description: 开仓解冻手续费(先建后平操作,需要记录)
  20134. type: number
  20135. operatetype:
  20136. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20137. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20138. 15:管理端协议转让
  20139. type: integer
  20140. operatorid:
  20141. description: 登录账号(LoginID)
  20142. type: integer
  20143. optiontype:
  20144. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20145. type: integer
  20146. orderid:
  20147. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20148. type: string
  20149. orderprice:
  20150. description: 委托价格
  20151. type: number
  20152. orderqty:
  20153. description: 委托数量
  20154. type: number
  20155. ordersrc:
  20156. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20157. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20158. type: integer
  20159. orderstatus:
  20160. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20161. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20162. 16:成交失败违约(荷兰式竞拍专用)
  20163. type: integer
  20164. ordertime:
  20165. description: 委托时间
  20166. type: string
  20167. preexerciseprice:
  20168. description: 预申报价格
  20169. type: number
  20170. premium:
  20171. description: 权利金
  20172. type: number
  20173. preorderid:
  20174. description: 关联预埋单号(止盈止损单时填写)
  20175. type: string
  20176. pricemode:
  20177. description: '取价方式 - 1:市价 2: 限价'
  20178. type: integer
  20179. qtydecimalplace:
  20180. description: 成交量小数位
  20181. type: integer
  20182. quoteid:
  20183. description: 报价单ID
  20184. type: integer
  20185. relatedid:
  20186. description: 关联单号(交割单)
  20187. type: string
  20188. retcode:
  20189. description: 错误代码
  20190. type: integer
  20191. sessionid:
  20192. description: 会话ID
  20193. type: integer
  20194. tradedate:
  20195. description: 交易日(yyyyMMdd)
  20196. type: string
  20197. trademode:
  20198. description: 交易模式
  20199. type: integer
  20200. tradeproperty:
  20201. description: 交易属性
  20202. type: integer
  20203. tradeqty:
  20204. description: 成交数量
  20205. type: number
  20206. unfreezecharge:
  20207. description: 解冻手续费
  20208. type: number
  20209. unfreezemargin:
  20210. description: 解冻保证金
  20211. type: number
  20212. updatetime:
  20213. description: 更新时间
  20214. type: string
  20215. uuid:
  20216. description: 发起端唯一id
  20217. type: string
  20218. validtime:
  20219. description: 有效期限
  20220. type: string
  20221. validtype:
  20222. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20223. type: integer
  20224. volumetype:
  20225. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20226. type: integer
  20227. required:
  20228. - accountid
  20229. - buildtype
  20230. - buyorsell
  20231. - goodsid
  20232. - histradedate
  20233. - marketid
  20234. - memberuserid
  20235. - operatetype
  20236. - orderid
  20237. - orderqty
  20238. - ordertime
  20239. - pricemode
  20240. - tradedate
  20241. - validtype
  20242. type: object
  20243. order.QueryTradeDetailRsp:
  20244. properties:
  20245. accountid:
  20246. description: 账户ID[报价币种]
  20247. type: integer
  20248. advanceratio:
  20249. description: 首付比率
  20250. type: number
  20251. buildtype:
  20252. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20253. type: integer
  20254. buyorsell:
  20255. description: 方向 - 0:买 1:卖
  20256. type: integer
  20257. charge:
  20258. description: 手续费
  20259. type: number
  20260. closecharge:
  20261. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20262. type: number
  20263. closeexchagechargevalue:
  20264. description: 平仓交易所手续费设置值
  20265. type: number
  20266. closefeealgorithm:
  20267. description: 平仓手续费收取方式 1:比率 2:固定
  20268. type: integer
  20269. closememberchargevalue:
  20270. description: 平仓会员手续费设置值
  20271. type: number
  20272. closepl:
  20273. description: 平仓盈亏
  20274. type: number
  20275. closepl2:
  20276. description: 平仓盈亏[逐笔]
  20277. type: number
  20278. closeqty:
  20279. description: 平仓数量(先建后平操作 需要记录)
  20280. type: number
  20281. creditamount:
  20282. description: 授信金额
  20283. type: number
  20284. decimalplace:
  20285. description: 商品报价小数位
  20286. type: integer
  20287. enumdicname:
  20288. description: 单位名称
  20289. type: string
  20290. gcaccountid:
  20291. description: 账户ID[合约币种]
  20292. type: integer
  20293. goodscode:
  20294. description: 商品代码
  20295. type: string
  20296. goodsid:
  20297. description: 商品ID
  20298. type: integer
  20299. goodsname:
  20300. description: 商品名称
  20301. type: string
  20302. goodunitid:
  20303. description: 商品单位id
  20304. type: integer
  20305. intclosepl:
  20306. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20307. type: integer
  20308. isconfirmexercise:
  20309. description: 是否确认行权- 0:否 1:是
  20310. type: integer
  20311. ismain:
  20312. description: 是否主单 - 0:不是 1:是
  20313. type: integer
  20314. ispreexercise:
  20315. description: 是否预申报- 0:否 1:是
  20316. type: integer
  20317. isreckoned:
  20318. description: 是否结算 - 0:未结算 1:已结算
  20319. type: integer
  20320. listingselecttype:
  20321. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20322. type: integer
  20323. marketid:
  20324. description: 市场ID
  20325. type: integer
  20326. marketname:
  20327. description: 市场名称
  20328. type: string
  20329. matchaccountid:
  20330. description: 对手账号id
  20331. type: integer
  20332. memberuserid:
  20333. description: 会员id 个人投资者 需要填写
  20334. type: integer
  20335. opencharge:
  20336. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20337. type: number
  20338. openexchagechargevalue:
  20339. description: 建仓交易所手续费设置值
  20340. type: number
  20341. openfeealgorithm:
  20342. description: 建仓手续费收取方式 1:比率 2:固定
  20343. type: integer
  20344. openmemberchargevalue:
  20345. description: 建仓会员手续费设置值
  20346. type: number
  20347. openqty:
  20348. description: 开仓数量(先建后平操作 需要记录)
  20349. type: number
  20350. optiontype:
  20351. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20352. type: integer
  20353. orderid:
  20354. description: 委托单号
  20355. type: string
  20356. payamount:
  20357. description: 支付金额(付款金额)
  20358. type: number
  20359. performanceplanid:
  20360. description: 履约计划ID[期权]
  20361. type: integer
  20362. performancestatus:
  20363. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20364. type: integer
  20365. preexerciseprice:
  20366. description: 预申报价格
  20367. type: number
  20368. premium:
  20369. description: 权利金 - [持仓单的权利金]
  20370. type: number
  20371. qtydecimalplace:
  20372. description: 商品报价小数位
  20373. type: integer
  20374. recvamount:
  20375. description: 到账金额 = 成交金额 - 手续费
  20376. type: number
  20377. relatedouttradeid:
  20378. description: 关联外部成交单ID
  20379. type: integer
  20380. status:
  20381. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20382. type: integer
  20383. totalamount:
  20384. description: 订单总额 = 成交金额 + 手续费
  20385. type: number
  20386. tradeamount:
  20387. description: 成交金额[账户币种,用于所有权]
  20388. type: number
  20389. tradedate:
  20390. description: 交易日(yyyyMMdd)
  20391. type: string
  20392. tradeid:
  20393. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20394. type: string
  20395. trademode:
  20396. description: 交易模式
  20397. type: integer
  20398. tradeprice:
  20399. description: 成交价格
  20400. type: number
  20401. tradeproperty:
  20402. description: 交易属性
  20403. type: integer
  20404. tradeqty:
  20405. description: 成交数量
  20406. type: number
  20407. tradetime:
  20408. description: 成交时间
  20409. type: string
  20410. tradetype:
  20411. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20412. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20413. type: integer
  20414. required:
  20415. - accountid
  20416. - buyorsell
  20417. - goodsid
  20418. - marketid
  20419. - memberuserid
  20420. - orderid
  20421. - tradeamount
  20422. - tradedate
  20423. - tradeid
  20424. - tradeprice
  20425. - tradeqty
  20426. - tradetime
  20427. type: object
  20428. order.QueryTradeOrderDetailRsp:
  20429. properties:
  20430. accountid:
  20431. description: 账户ID[报价币种]
  20432. type: integer
  20433. buildtype:
  20434. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20435. type: integer
  20436. buyorsell:
  20437. description: 买卖 - 0:买 1:卖
  20438. type: integer
  20439. cancelorderid:
  20440. description: 撤单单号(撤单时填写)
  20441. type: string
  20442. cancelqty:
  20443. description: 撤单数量
  20444. type: number
  20445. clienttype:
  20446. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20447. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20448. type: integer
  20449. closefreezecharge:
  20450. description: 平仓冻结手续费(先建后平操作,需要记录)
  20451. type: number
  20452. closeqty:
  20453. description: 平仓数量(先建后平操作 需要记录)
  20454. type: number
  20455. closetradeqty:
  20456. description: 平仓成交数量(先建后平操作,需要记录)
  20457. type: number
  20458. closeunfreezecharge:
  20459. description: 平仓解冻手续费(先建后平操作,需要记录)
  20460. type: number
  20461. decimalplace:
  20462. description: 商品报价小数位
  20463. type: integer
  20464. delistingtype:
  20465. description: 摘牌类型 - 1:价格最优 2:点选成交
  20466. type: integer
  20467. enableqty:
  20468. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20469. type: number
  20470. enumdicname:
  20471. description: 单位名称
  20472. type: string
  20473. freezecharge:
  20474. description: 冻结手续费
  20475. type: number
  20476. freezemargin:
  20477. description: 冻结保证金(冻结交易金额)
  20478. type: number
  20479. goodscode:
  20480. description: 商品代码
  20481. type: string
  20482. goodsid:
  20483. description: 商品ID
  20484. type: integer
  20485. goodsname:
  20486. description: 商品名称
  20487. type: string
  20488. goodunitid:
  20489. description: 商品单位id
  20490. type: integer
  20491. listingselecttype:
  20492. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20493. type: integer
  20494. marketid:
  20495. description: 市场ID
  20496. type: integer
  20497. marketname:
  20498. description: 市场名称
  20499. type: string
  20500. openfreezecharge:
  20501. description: 开仓冻结手续费(先建后平操作,需要记录)
  20502. type: number
  20503. openqty:
  20504. description: 开仓数量(先建后平操作,需要记录)
  20505. type: number
  20506. opentradeqty:
  20507. description: 开仓成交数量(先建后平操作,需要记录)
  20508. type: number
  20509. openunfreezecharge:
  20510. description: 开仓解冻手续费(先建后平操作,需要记录)
  20511. type: number
  20512. operatetype:
  20513. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20514. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20515. 15:管理端协议转让
  20516. type: integer
  20517. operatorid:
  20518. description: 登录账号(LoginID)
  20519. type: integer
  20520. orderid:
  20521. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20522. type: string
  20523. orderprice:
  20524. description: 委托价格
  20525. type: number
  20526. orderqty:
  20527. description: 委托数量
  20528. type: number
  20529. ordersrc:
  20530. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20531. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20532. type: integer
  20533. orderstatus:
  20534. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20535. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20536. 16:成交失败违约(荷兰式竞拍专用)
  20537. type: integer
  20538. ordertime:
  20539. description: 委托时间
  20540. type: string
  20541. preorderid:
  20542. description: 关联预埋单号(止盈止损单时填写)
  20543. type: string
  20544. pricemode:
  20545. description: '取价方式 - 1:市价 2: 限价'
  20546. type: integer
  20547. qtydecimalplace:
  20548. description: 商品报价小数位
  20549. type: integer
  20550. relatedid:
  20551. description: 关联单号(交割单)
  20552. type: string
  20553. tradedate:
  20554. description: 交易日(yyyyMMdd)
  20555. type: string
  20556. trademode:
  20557. description: 交易模式
  20558. type: integer
  20559. tradeqty:
  20560. description: 成交数量
  20561. type: number
  20562. unfreezecharge:
  20563. description: 解冻手续费
  20564. type: number
  20565. unfreezemargin:
  20566. description: 解冻保证金
  20567. type: number
  20568. validtime:
  20569. description: 有效期限
  20570. type: string
  20571. validtype:
  20572. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20573. type: integer
  20574. volumetype:
  20575. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20576. type: integer
  20577. required:
  20578. - accountid
  20579. - buildtype
  20580. - buyorsell
  20581. - goodsid
  20582. - marketid
  20583. - operatetype
  20584. - orderqty
  20585. - ordertime
  20586. - pricemode
  20587. - tradedate
  20588. - validtype
  20589. type: object
  20590. order.QueryTradePositionRsp:
  20591. properties:
  20592. accountid:
  20593. description: 资金账户
  20594. type: integer
  20595. agreeunit:
  20596. description: 合约单位
  20597. type: number
  20598. averageprice:
  20599. description: 持仓均价
  20600. type: number
  20601. buyorsell:
  20602. description: 方向 - 0:买 1:卖
  20603. type: integer
  20604. closetotalqty:
  20605. description: 平仓总数量
  20606. type: number
  20607. curholderamount:
  20608. description: 当前持仓总金额[商品币种]
  20609. type: number
  20610. curpositionqty:
  20611. description: 当前持仓总数量
  20612. type: number
  20613. currencyid:
  20614. description: 报价货币ID
  20615. type: integer
  20616. curtdposition:
  20617. description: 期末今日头寸
  20618. type: number
  20619. decimalplace:
  20620. description: 报价小数位
  20621. type: integer
  20622. enableqty:
  20623. description: 可用量
  20624. type: number
  20625. fretdposition:
  20626. description: 冻结今日头寸
  20627. type: number
  20628. frozenqty:
  20629. description: 持仓冻结数量
  20630. type: number
  20631. goodscode:
  20632. description: 商品代码
  20633. type: string
  20634. goodsid:
  20635. description: 商品Id
  20636. type: integer
  20637. goodsname:
  20638. description: 商品名称
  20639. type: string
  20640. goodunit:
  20641. description: 报价单位
  20642. type: string
  20643. goodunitid:
  20644. description: 报价单位ID
  20645. type: integer
  20646. holderamount:
  20647. description: 期初持仓总金额[商品币种]
  20648. type: number
  20649. lastprice:
  20650. description: 最新价
  20651. type: number
  20652. marketamount:
  20653. description: 市值
  20654. type: number
  20655. marketid:
  20656. description: 所属市场ID
  20657. type: integer
  20658. openreqqty:
  20659. description: 开仓申请数量(用于比较最大持仓数量)
  20660. type: number
  20661. opentotalqty:
  20662. description: 开仓总数量
  20663. type: number
  20664. otherfrozenqty:
  20665. description: 持仓其他冻结数量(交割冻结)
  20666. type: number
  20667. positionpl:
  20668. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20669. * 合约单位
  20670. type: number
  20671. positionplrate:
  20672. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20673. type: number
  20674. positionqty:
  20675. description: 期初持仓数量
  20676. type: number
  20677. qtydecimalplace:
  20678. description: 成交量小数位
  20679. type: integer
  20680. refgoodscode:
  20681. description: 参考商品代码
  20682. type: string
  20683. refgoodsid:
  20684. description: 参考商品ID
  20685. type: integer
  20686. tnqty:
  20687. description: T+N冻结总量
  20688. type: number
  20689. tnusedqty:
  20690. description: T+N使用量(可以使用T+N的冻结数量)
  20691. type: number
  20692. trademode:
  20693. description: 交易模式
  20694. type: integer
  20695. tradeproperty:
  20696. description: 交易属性
  20697. type: integer
  20698. usedmargin:
  20699. description: 占用保证金[商品币种]
  20700. type: number
  20701. required:
  20702. - goodsid
  20703. type: object
  20704. pb.GoodsMarginCfgStruct:
  20705. properties:
  20706. CustomerTypeID:
  20707. description: 投资者客户类型
  20708. type: integer
  20709. GoodsID:
  20710. description: 商品ID
  20711. type: integer
  20712. IsDefault:
  20713. description: 是否默认标志位
  20714. type: integer
  20715. LockMarginValue:
  20716. description: 锁仓保证金
  20717. type: number
  20718. MarginAlgorithm:
  20719. description: 保证金计算方式
  20720. type: integer
  20721. MarketMarginValue:
  20722. description: 即市保证金值
  20723. type: number
  20724. RealMarginAlgorithm:
  20725. description: 实付保证金计算方式
  20726. type: integer
  20727. RealMarginValue:
  20728. description: 实付比例
  20729. type: number
  20730. ReckonMarginValue:
  20731. description: 结算保证金值
  20732. type: number
  20733. type: object
  20734. quote.HistoryData:
  20735. properties:
  20736. c:
  20737. description: 收盘价
  20738. type: number
  20739. f:
  20740. description: 是否补充数据
  20741. type: boolean
  20742. h:
  20743. description: 最高价
  20744. type: number
  20745. hv:
  20746. description: 持仓量
  20747. type: integer
  20748. l:
  20749. description: 最低价
  20750. type: number
  20751. o:
  20752. description: 开盘价
  20753. type: number
  20754. s:
  20755. description: 结算价,日线周期(包括)以上才有
  20756. type: number
  20757. ts:
  20758. description: 时间
  20759. type: string
  20760. tt:
  20761. description: 总金额
  20762. type: number
  20763. tv:
  20764. description: 总量(成交量)
  20765. type: integer
  20766. type: object
  20767. quote.HistoryTikData:
  20768. properties:
  20769. AV:
  20770. description: 卖量
  20771. type: integer
  20772. Ask:
  20773. description: 卖价
  20774. type: number
  20775. BV:
  20776. description: 买量
  20777. type: integer
  20778. Bid:
  20779. description: 买价
  20780. type: number
  20781. HI:
  20782. description: 单笔持仓
  20783. type: integer
  20784. HV:
  20785. description: 持仓量
  20786. type: integer
  20787. PE:
  20788. description: 现价
  20789. type: number
  20790. TDR:
  20791. description: 交易方向,0:买 1:卖
  20792. type: integer
  20793. TK:
  20794. description: 交易类型
  20795. type: integer
  20796. TS:
  20797. description: 行情时间文本
  20798. type: string
  20799. TT:
  20800. description: 现金额
  20801. type: number
  20802. Vol:
  20803. description: 现量
  20804. type: integer
  20805. type: object
  20806. quote.QueryQuoteDayRsp:
  20807. properties:
  20808. ask:
  20809. description: 卖1
  20810. type: number
  20811. ask2:
  20812. description: 卖2
  20813. type: number
  20814. ask3:
  20815. description: 卖3
  20816. type: number
  20817. ask4:
  20818. description: 卖4
  20819. type: number
  20820. ask5:
  20821. description: 卖5
  20822. type: number
  20823. ask6:
  20824. description: 卖6
  20825. type: number
  20826. ask7:
  20827. description: 卖7
  20828. type: number
  20829. ask8:
  20830. description: 卖8
  20831. type: number
  20832. ask9:
  20833. description: 卖9
  20834. type: number
  20835. ask10:
  20836. description: 卖10
  20837. type: number
  20838. askorderid:
  20839. description: 卖单号1
  20840. type: integer
  20841. askorderid2:
  20842. description: 卖单号2
  20843. type: integer
  20844. askorderid3:
  20845. description: 卖单号3
  20846. type: integer
  20847. askorderid4:
  20848. description: 卖单号4
  20849. type: integer
  20850. askorderid5:
  20851. description: 卖单号5
  20852. type: integer
  20853. askordervolume:
  20854. description: 卖单量1
  20855. type: integer
  20856. askordervolume2:
  20857. description: 卖单量2
  20858. type: integer
  20859. askordervolume3:
  20860. description: 卖单量3
  20861. type: integer
  20862. askordervolume4:
  20863. description: 卖单量4
  20864. type: integer
  20865. askordervolume5:
  20866. description: 卖单量5
  20867. type: integer
  20868. askordervolume6:
  20869. description: 卖单量6
  20870. type: integer
  20871. askordervolume7:
  20872. description: 卖单量7
  20873. type: integer
  20874. askordervolume8:
  20875. description: 卖单量8
  20876. type: integer
  20877. askordervolume9:
  20878. description: 卖单量9
  20879. type: integer
  20880. askordervolume10:
  20881. description: 卖单量10
  20882. type: integer
  20883. askqueueinfo:
  20884. description: 大利市卖港股用
  20885. type: string
  20886. askvolume:
  20887. description: 卖量1
  20888. type: integer
  20889. askvolume2:
  20890. description: 卖量2
  20891. type: integer
  20892. askvolume3:
  20893. description: 卖量3
  20894. type: integer
  20895. askvolume4:
  20896. description: 卖量4
  20897. type: integer
  20898. askvolume5:
  20899. description: 卖量5
  20900. type: integer
  20901. askvolume6:
  20902. description: 卖量6
  20903. type: integer
  20904. askvolume7:
  20905. description: 卖量7
  20906. type: integer
  20907. askvolume8:
  20908. description: 卖量8
  20909. type: integer
  20910. askvolume9:
  20911. description: 卖量9
  20912. type: integer
  20913. askvolume10:
  20914. description: 卖量10
  20915. type: integer
  20916. averageprice:
  20917. description: 均价
  20918. type: number
  20919. bid:
  20920. description: 买1
  20921. type: number
  20922. bid2:
  20923. description: 买2
  20924. type: number
  20925. bid3:
  20926. description: 买3
  20927. type: number
  20928. bid4:
  20929. description: 买4
  20930. type: number
  20931. bid5:
  20932. description: 买5
  20933. type: number
  20934. bid6:
  20935. description: 买6
  20936. type: number
  20937. bid7:
  20938. description: 买7
  20939. type: number
  20940. bid8:
  20941. description: 买8
  20942. type: number
  20943. bid9:
  20944. description: 买9
  20945. type: number
  20946. bid10:
  20947. description: 买10
  20948. type: number
  20949. bidorderid:
  20950. description: 买单号1
  20951. type: integer
  20952. bidorderid2:
  20953. description: 买单号2
  20954. type: integer
  20955. bidorderid3:
  20956. description: 买单号3
  20957. type: integer
  20958. bidorderid4:
  20959. description: 买单号4
  20960. type: integer
  20961. bidorderid5:
  20962. description: 买单号5
  20963. type: integer
  20964. bidordervolume:
  20965. description: 买单量1
  20966. type: integer
  20967. bidordervolume2:
  20968. description: 买单量2
  20969. type: integer
  20970. bidordervolume3:
  20971. description: 买单量3
  20972. type: integer
  20973. bidordervolume4:
  20974. description: 买单量4
  20975. type: integer
  20976. bidordervolume5:
  20977. description: 买单量5
  20978. type: integer
  20979. bidordervolume6:
  20980. description: 买单量6
  20981. type: integer
  20982. bidordervolume7:
  20983. description: 买单量7
  20984. type: integer
  20985. bidordervolume8:
  20986. description: 买单量8
  20987. type: integer
  20988. bidordervolume9:
  20989. description: 买单量9
  20990. type: integer
  20991. bidordervolume10:
  20992. description: 买单量10
  20993. type: integer
  20994. bidqueueinfo:
  20995. description: 大利市买港股用
  20996. type: string
  20997. bidvolume:
  20998. description: 买量1
  20999. type: integer
  21000. bidvolume2:
  21001. description: 买量2
  21002. type: integer
  21003. bidvolume3:
  21004. description: 买量3
  21005. type: integer
  21006. bidvolume4:
  21007. description: 买量4
  21008. type: integer
  21009. bidvolume5:
  21010. description: 买量5
  21011. type: integer
  21012. bidvolume6:
  21013. description: 买量6
  21014. type: integer
  21015. bidvolume7:
  21016. description: 买量7
  21017. type: integer
  21018. bidvolume8:
  21019. description: 买量8
  21020. type: integer
  21021. bidvolume9:
  21022. description: 买量9
  21023. type: integer
  21024. bidvolume10:
  21025. description: 买量10
  21026. type: integer
  21027. calloptionpremiums:
  21028. description: 认购期权1
  21029. type: integer
  21030. calloptionpremiums2:
  21031. description: 认购期权2
  21032. type: integer
  21033. calloptionpremiums3:
  21034. description: 认购期权3
  21035. type: integer
  21036. calloptionpremiums4:
  21037. description: 认购期权4
  21038. type: integer
  21039. calloptionpremiums5:
  21040. description: 认购期权5
  21041. type: integer
  21042. cleartime:
  21043. description: 清盘时间
  21044. type: integer
  21045. exchangecode:
  21046. description: 交易所代码
  21047. type: integer
  21048. exchangedate:
  21049. description: 交易日
  21050. type: integer
  21051. goodscode:
  21052. description: 商品代码
  21053. type: string
  21054. grepmarketprice:
  21055. description: 暗盘价 港股专用
  21056. type: number
  21057. highest:
  21058. description: 最高价
  21059. type: number
  21060. holdincrement:
  21061. description: 单笔持仓
  21062. type: integer
  21063. holdvolume:
  21064. description: 持仓
  21065. type: integer
  21066. iep:
  21067. description: 平衡价 港股专用
  21068. type: number
  21069. iev:
  21070. description: 平衡量 港股专用
  21071. type: number
  21072. inventory:
  21073. description: 库存
  21074. type: integer
  21075. iscleared:
  21076. description: 是否清盘标志
  21077. type: integer
  21078. issettled:
  21079. description: 是否结算标志
  21080. type: integer
  21081. last:
  21082. description: 最新价
  21083. type: number
  21084. lastlot:
  21085. description: 最新成交手数
  21086. type: integer
  21087. lasttime:
  21088. description: 行情时间(只有现价变化行情时间才变化)
  21089. type: string
  21090. lastturnover:
  21091. description: 最新成交金额
  21092. type: number
  21093. lastvolume:
  21094. description: 最新成交量
  21095. type: integer
  21096. limitdown:
  21097. description: 跌停价
  21098. type: number
  21099. limitup:
  21100. description: 涨停价
  21101. type: number
  21102. lowest:
  21103. description: 最低价
  21104. type: number
  21105. nontotalholdervolume:
  21106. description: 非交易持仓量
  21107. type: integer
  21108. nontotallot:
  21109. description: 非交易总手数
  21110. type: integer
  21111. nontotalturnover:
  21112. description: 非交易总金额
  21113. type: integer
  21114. nontotalvolume:
  21115. description: 非交易总量
  21116. type: integer
  21117. opened:
  21118. description: 开盘价
  21119. type: number
  21120. opentime:
  21121. description: 开盘时间
  21122. type: string
  21123. orderid:
  21124. description: 序号
  21125. type: integer
  21126. preclose:
  21127. description: 昨收
  21128. type: number
  21129. preholdvolume:
  21130. description: 昨持仓
  21131. type: integer
  21132. presettle:
  21133. description: 昨结价
  21134. type: number
  21135. publictradetype:
  21136. description: 公共交易标志类型 港股专用
  21137. type: string
  21138. putoptionpremiums:
  21139. description: 认沽期权1
  21140. type: integer
  21141. putoptionpremiums2:
  21142. description: 认沽期权2
  21143. type: integer
  21144. putoptionpremiums3:
  21145. description: 认沽期权3
  21146. type: integer
  21147. putoptionpremiums4:
  21148. description: 认沽期权4
  21149. type: integer
  21150. putoptionpremiums5:
  21151. description: 认沽期权5
  21152. type: integer
  21153. settle:
  21154. description: 结算价
  21155. type: number
  21156. strikeprice:
  21157. description: 发行价
  21158. type: number
  21159. totalaskvolume:
  21160. description: 内盘
  21161. type: integer
  21162. totalbidvolume:
  21163. description: 外盘
  21164. type: integer
  21165. totallot:
  21166. description: 总手数
  21167. type: integer
  21168. totalturnover:
  21169. description: 总金额
  21170. type: number
  21171. totalvolume:
  21172. description: 总量
  21173. type: integer
  21174. utclasttime:
  21175. description: utc的行情时间
  21176. type: string
  21177. type: object
  21178. quote.QueryTSDataRsp:
  21179. properties:
  21180. Count:
  21181. description: 交易日应有数据个数
  21182. type: integer
  21183. decimalPlace:
  21184. description: 小数位
  21185. type: integer
  21186. endTime:
  21187. description: 结束时间
  21188. type: string
  21189. goodsCode:
  21190. description: 商品代码
  21191. type: string
  21192. historyDatas:
  21193. description: 历史数据
  21194. items:
  21195. $ref: '#/definitions/quote.HistoryData'
  21196. type: array
  21197. outGoodsCode:
  21198. description: 外部商品代码
  21199. type: string
  21200. preSettle:
  21201. description: 昨结价
  21202. type: number
  21203. runSteps:
  21204. description: 交易日开休市计划
  21205. items:
  21206. $ref: '#/definitions/quote.TSDataRunStep'
  21207. type: array
  21208. startTime:
  21209. description: 开始时间
  21210. type: string
  21211. tradeDate:
  21212. description: 交易日
  21213. type: string
  21214. type: object
  21215. quote.TSDataRunStep:
  21216. properties:
  21217. end:
  21218. description: 真实结束时间
  21219. type: string
  21220. endflag:
  21221. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21222. type: integer
  21223. endtime:
  21224. description: 结束时间(HH:mm)
  21225. type: string
  21226. endweekday:
  21227. description: 结束周几
  21228. type: integer
  21229. groupid:
  21230. description: 分组ID
  21231. type: integer
  21232. runstep:
  21233. description: 运行阶段 - 2:连续交易
  21234. type: integer
  21235. sectionid:
  21236. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21237. 结束时间=结算时间 结束周几=结算周几
  21238. type: integer
  21239. start:
  21240. description: 真实开始时间
  21241. type: string
  21242. startflag:
  21243. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21244. type: integer
  21245. starttime:
  21246. description: 起始时间(HH:mm)
  21247. type: string
  21248. startweekday:
  21249. description: 起始周几
  21250. type: integer
  21251. tradeweekday:
  21252. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21253. type: integer
  21254. type: object
  21255. szdz.QueryConvertLogRsp:
  21256. properties:
  21257. accountid:
  21258. description: 资金账户ID
  21259. type: integer
  21260. clientticket:
  21261. description: 客户端流水号
  21262. type: string
  21263. converttype:
  21264. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21265. type: integer
  21266. createtime:
  21267. description: 记账时间
  21268. type: string
  21269. daymaxvalue:
  21270. description: 配置当日最大转入限制
  21271. type: number
  21272. daymaxvalue2:
  21273. description: 配置当日最大转入限制(转入)
  21274. type: number
  21275. goodscode:
  21276. description: 商品代码
  21277. type: string
  21278. goodsname:
  21279. description: 商品名称
  21280. type: string
  21281. handlestatus:
  21282. description: 处理状态
  21283. type: integer
  21284. innergoodsid:
  21285. description: 内部商品ID
  21286. type: integer
  21287. inratio:
  21288. description: 配置转入比值
  21289. type: integer
  21290. invalue:
  21291. description: 目标值
  21292. type: number
  21293. logid:
  21294. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21295. type: integer
  21296. mobile:
  21297. description: 手机号码(加密存储)
  21298. type: string
  21299. outergoodscode:
  21300. description: 外部商品代码[JD\PD]
  21301. type: string
  21302. outratio:
  21303. description: 配置转出比值
  21304. type: integer
  21305. outvalue:
  21306. description: 源值
  21307. type: number
  21308. pddecimalplace:
  21309. description: PD小数位
  21310. type: integer
  21311. qty:
  21312. description: 数量
  21313. type: string
  21314. remark:
  21315. description: 备注
  21316. type: string
  21317. sessionid:
  21318. description: 会话ID
  21319. type: integer
  21320. timemaxvalue:
  21321. description: 配置单次最大转入限制
  21322. type: number
  21323. timemaxvalue2:
  21324. description: 配置单次最大转入限制(转入)
  21325. type: number
  21326. timeminvalue:
  21327. description: 配置单次最小数量限制
  21328. type: number
  21329. timeminvalue2:
  21330. description: 配置单次最小数量限制(转入)
  21331. type: number
  21332. tradedate:
  21333. description: 交易日(yyyyMMdd)
  21334. type: string
  21335. userid:
  21336. description: 用户ID
  21337. type: integer
  21338. required:
  21339. - logid
  21340. type: object
  21341. szdz.QueryGoodsPickupRsp:
  21342. properties:
  21343. accountid:
  21344. description: 账户ID
  21345. type: integer
  21346. address:
  21347. description: 提货人详细地址
  21348. type: string
  21349. auditer:
  21350. description: 审核人
  21351. type: integer
  21352. audittime:
  21353. description: 审核时间
  21354. type: string
  21355. cardnum:
  21356. description: 提货人证件号码
  21357. type: string
  21358. cardtypeid:
  21359. description: 提货人证件类型
  21360. type: integer
  21361. checkremark:
  21362. description: 审核备注
  21363. type: string
  21364. goodscode:
  21365. description: 商品代码
  21366. type: string
  21367. goodsid:
  21368. description: 商品ID
  21369. type: integer
  21370. goodsname:
  21371. description: 商品名称
  21372. type: string
  21373. handlestatus:
  21374. description: 处理状态
  21375. type: integer
  21376. marketid:
  21377. description: 市场ID
  21378. type: integer
  21379. phonenum:
  21380. description: 提货人联系方式
  21381. type: string
  21382. qty:
  21383. description: 提货数量
  21384. type: number
  21385. recivername:
  21386. description: 提货人姓名
  21387. type: string
  21388. reqtime:
  21389. description: 更新时间
  21390. type: string
  21391. takemode:
  21392. description: 提货方式 - 2:自提 3:配送
  21393. type: integer
  21394. takeorderid:
  21395. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21396. type: string
  21397. takeorderstatus:
  21398. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21399. type: integer
  21400. takeremark:
  21401. description: 提货备注
  21402. type: string
  21403. tradedate:
  21404. description: 交易日(yyyyMMdd)
  21405. type: string
  21406. userid:
  21407. description: 用户ID
  21408. type: integer
  21409. required:
  21410. - takeorderid
  21411. type: object
  21412. szdz.QueryRecieptOrderRsp:
  21413. properties:
  21414. accountName:
  21415. description: 所属账号名称(已脱敏)
  21416. type: string
  21417. accountid:
  21418. description: 资金账号
  21419. type: integer
  21420. buyorsell:
  21421. description: 方向 - 0:买 1:卖
  21422. type: integer
  21423. enableqty:
  21424. description: 可摘数量
  21425. type: integer
  21426. goodscode:
  21427. description: 商品代码
  21428. type: string
  21429. goodsid:
  21430. description: 商品ID
  21431. type: integer
  21432. goodsname:
  21433. description: 商品名称
  21434. type: string
  21435. orderid:
  21436. description: 委托单号
  21437. type: string
  21438. orderprice:
  21439. description: 委托价格
  21440. type: number
  21441. ordertime:
  21442. description: 委托时间
  21443. type: string
  21444. tradedate:
  21445. description: 交易日(yyyyMMdd)
  21446. type: string
  21447. required:
  21448. - ordertime
  21449. type: object
  21450. szdz.QuerySZDZTradePositionRsp:
  21451. properties:
  21452. accountid:
  21453. description: 账号Id
  21454. type: integer
  21455. agreeunit:
  21456. description: 合约单位
  21457. type: number
  21458. averageprice:
  21459. description: 持仓均价
  21460. type: number
  21461. buyorsell:
  21462. description: 方向 - 0:买 1:卖
  21463. type: integer
  21464. closetotalqty:
  21465. description: 平仓总数量
  21466. type: integer
  21467. curholderamount:
  21468. description: 当前持仓总金额
  21469. type: number
  21470. curpositionqty:
  21471. description: 当前持仓总数量
  21472. type: integer
  21473. currencyid:
  21474. description: 报价货币ID
  21475. type: integer
  21476. curtdposition:
  21477. description: 期末今日头寸
  21478. type: integer
  21479. decimalplace:
  21480. description: 报价小数位
  21481. type: integer
  21482. enableqty:
  21483. description: 可用量
  21484. type: integer
  21485. fretdposition:
  21486. description: 冻结今日头寸
  21487. type: integer
  21488. frozenqty:
  21489. description: 持仓冻结数量
  21490. type: integer
  21491. goodscode:
  21492. description: 商品代码(内部)
  21493. type: string
  21494. goodsid:
  21495. description: 商品Id
  21496. type: integer
  21497. goodsname:
  21498. description: 商品名称
  21499. type: string
  21500. goodunit:
  21501. description: 报价单位
  21502. type: string
  21503. goodunitid:
  21504. description: 报价单位ID
  21505. type: integer
  21506. holderamount:
  21507. description: 期初持仓总金额
  21508. type: number
  21509. marketid:
  21510. description: 市场ID
  21511. type: integer
  21512. openreqqty:
  21513. description: 开仓申请数量
  21514. type: integer
  21515. opentotalqty:
  21516. description: 开仓总数量
  21517. type: integer
  21518. otherfrozenqty:
  21519. description: 持仓其他冻结数量(交割冻结)
  21520. type: integer
  21521. positionqty:
  21522. description: 期初持仓数量
  21523. type: integer
  21524. szdz3freezqty:
  21525. description: 尚志大宗转换冻结总数量
  21526. type: integer
  21527. tnqty:
  21528. description: T+N冻结总量
  21529. type: integer
  21530. tnusedqty:
  21531. description: T+N使用量
  21532. type: integer
  21533. trademode:
  21534. description: 交易模式
  21535. type: integer
  21536. usedmargin:
  21537. description: 占用保证金
  21538. type: number
  21539. type: object
  21540. taaccount.QueryAmountLogRsp:
  21541. properties:
  21542. OPERATETYPENAME:
  21543. description: 资金操作类型名称
  21544. type: string
  21545. accountid:
  21546. description: 资金账户ID
  21547. type: integer
  21548. agoodscode:
  21549. description: 竞拍商品代码
  21550. type: string
  21551. agoodsname:
  21552. description: 竞拍商品名称
  21553. type: string
  21554. amount:
  21555. description: 资金金额
  21556. type: number
  21557. amountadjusttype:
  21558. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21559. type: integer
  21560. autoid:
  21561. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21562. type: integer
  21563. balance:
  21564. description: 期初余额
  21565. type: number
  21566. businesscode:
  21567. description: 业务编号
  21568. type: integer
  21569. createtime:
  21570. description: 发生时间
  21571. type: string
  21572. currencyid:
  21573. description: 币种ID
  21574. type: integer
  21575. currentbalance:
  21576. description: 期末余额(变动后金额)
  21577. type: number
  21578. dgoodscode:
  21579. description: 交割商品代码
  21580. type: string
  21581. dgoodsname:
  21582. description: 交割商品名称
  21583. type: string
  21584. goodscode:
  21585. description: 商品代码
  21586. type: string
  21587. goodsid:
  21588. description: 商品ID
  21589. type: integer
  21590. goodsname:
  21591. description: 商品名称
  21592. type: string
  21593. marketid:
  21594. description: 市场ID
  21595. type: integer
  21596. marketname:
  21597. description: 市场名称
  21598. type: string
  21599. moneyticket:
  21600. description: 资金流水号:银行端流水号
  21601. type: integer
  21602. operatetype:
  21603. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21604. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21605. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21606. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21607. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21608. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21609. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21610. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21611. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21612. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21613. type: integer
  21614. relationorderid:
  21615. description: 关联单号
  21616. type: string
  21617. remark:
  21618. description: 备注
  21619. type: string
  21620. trademode:
  21621. description: 交易模式
  21622. type: integer
  21623. required:
  21624. - accountid
  21625. - amount
  21626. - amountadjusttype
  21627. - autoid
  21628. - balance
  21629. - createtime
  21630. - currentbalance
  21631. - operatetype
  21632. type: object
  21633. taaccount.QueryHisAmountLogRsp:
  21634. properties:
  21635. OPERATETYPENAME:
  21636. description: 资金操作类型名称
  21637. type: string
  21638. accountid:
  21639. description: 资金账户ID
  21640. type: integer
  21641. agoodscode:
  21642. description: 竞拍商品代码
  21643. type: string
  21644. agoodsname:
  21645. description: 竞拍商品名称
  21646. type: string
  21647. amount:
  21648. description: 资金金额
  21649. type: number
  21650. amountadjusttype:
  21651. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21652. type: integer
  21653. autoid:
  21654. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21655. type: integer
  21656. balance:
  21657. description: 期初余额
  21658. type: number
  21659. businesscode:
  21660. description: 业务编号
  21661. type: integer
  21662. createtime:
  21663. description: 发生时间
  21664. type: string
  21665. currencyid:
  21666. description: 币种ID
  21667. type: integer
  21668. currentbalance:
  21669. description: 期末余额(变动后金额)
  21670. type: number
  21671. dgoodscode:
  21672. description: 交割商品代码
  21673. type: string
  21674. dgoodsname:
  21675. description: 交割商品名称
  21676. type: string
  21677. goodscode:
  21678. description: 商品代码
  21679. type: string
  21680. goodsid:
  21681. description: 商品ID
  21682. type: integer
  21683. goodsname:
  21684. description: 商品名称
  21685. type: string
  21686. histradedate:
  21687. description: 历史交易日
  21688. type: string
  21689. isvaliddata:
  21690. description: 是否有效 - 0:无效 1:有效
  21691. type: integer
  21692. marketid:
  21693. description: 市场ID
  21694. type: integer
  21695. marketname:
  21696. description: 市场名称
  21697. type: string
  21698. moneyticket:
  21699. description: 资金流水号:银行端流水号
  21700. type: integer
  21701. operatetype:
  21702. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21703. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21704. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21705. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21706. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21707. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21708. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21709. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21710. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21711. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21712. type: integer
  21713. relationorderid:
  21714. description: 关联单号
  21715. type: string
  21716. remark:
  21717. description: 备注
  21718. type: string
  21719. trademode:
  21720. description: 交易模式
  21721. type: integer
  21722. required:
  21723. - accountid
  21724. - amount
  21725. - amountadjusttype
  21726. - autoid
  21727. - balance
  21728. - createtime
  21729. - currentbalance
  21730. - histradedate
  21731. - operatetype
  21732. type: object
  21733. trade.QueryRecieptOrderRsp:
  21734. properties:
  21735. accountName:
  21736. description: 所属账号名称(已脱敏)
  21737. type: string
  21738. accountid:
  21739. description: 资金账号
  21740. type: integer
  21741. buyorsell:
  21742. description: 方向 - 0:买 1:卖
  21743. type: integer
  21744. enableqty:
  21745. description: 可摘数量
  21746. type: integer
  21747. goodscode:
  21748. description: 商品代码
  21749. type: string
  21750. goodsid:
  21751. description: 商品ID
  21752. type: integer
  21753. goodsname:
  21754. description: 商品名称
  21755. type: string
  21756. orderid:
  21757. description: 委托单号
  21758. type: string
  21759. orderprice:
  21760. description: 委托价格
  21761. type: number
  21762. ordertime:
  21763. description: 委托时间
  21764. type: string
  21765. tradedate:
  21766. description: 交易日(yyyyMMdd)
  21767. type: string
  21768. required:
  21769. - ordertime
  21770. type: object
  21771. user.LoginQueryRsp:
  21772. properties:
  21773. areaRoles:
  21774. description: 所属角色信息
  21775. items:
  21776. $ref: '#/definitions/models.Arearole'
  21777. type: array
  21778. externalExchanges:
  21779. description: 外部交易所
  21780. items:
  21781. $ref: '#/definitions/models.Externalexchange'
  21782. type: array
  21783. goodsgroups:
  21784. description: 商品组
  21785. items:
  21786. $ref: '#/definitions/models.Goodsgroup'
  21787. type: array
  21788. loginAccount:
  21789. $ref: '#/definitions/models.Loginaccount'
  21790. description: 登录账号
  21791. markets:
  21792. description: 市场
  21793. items:
  21794. $ref: '#/definitions/models.Market'
  21795. type: array
  21796. systemParams:
  21797. description: 系统参数
  21798. items:
  21799. $ref: '#/definitions/models.Systemparam'
  21800. type: array
  21801. userAccount:
  21802. $ref: '#/definitions/models.Useraccount'
  21803. description: 用户账号
  21804. userInfo:
  21805. $ref: '#/definitions/models.Userinfo'
  21806. description: 用户信息
  21807. username:
  21808. description: 用户姓名
  21809. type: string
  21810. type: object
  21811. info:
  21812. contact: {}
  21813. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21814. termsOfService: http://www.muchinfo.cn
  21815. title: MTP2.0 查询服务 API
  21816. version: "1.0"
  21817. paths:
  21818. /CPTrade/QueryCPTradeMyBidInfos:
  21819. get:
  21820. parameters:
  21821. - description: 资金账户
  21822. in: query
  21823. name: accountid
  21824. required: true
  21825. type: integer
  21826. - description: 预售市场ID
  21827. in: query
  21828. name: marketid
  21829. type: integer
  21830. - description: 预售商品ID
  21831. in: query
  21832. name: goodsid
  21833. type: integer
  21834. produces:
  21835. - application/json
  21836. responses:
  21837. "200":
  21838. description: OK
  21839. schema:
  21840. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21841. "500":
  21842. description: Internal Server Error
  21843. schema:
  21844. $ref: '#/definitions/app.Response'
  21845. security:
  21846. - ApiKeyAuth: []
  21847. summary: 查询产能预售我的出价信息
  21848. tags:
  21849. - 产能预售
  21850. /CPTrade/QueryCPTradeOrderDetail:
  21851. get:
  21852. parameters:
  21853. - description: 预售商品ID
  21854. in: query
  21855. name: goodsid
  21856. type: integer
  21857. - description: 预售市场ID
  21858. in: query
  21859. name: marketid
  21860. type: integer
  21861. - description: 预售商品ID列表 - 格式:1,2,3
  21862. in: query
  21863. name: goodsids
  21864. type: string
  21865. produces:
  21866. - application/json
  21867. responses:
  21868. "200":
  21869. description: OK
  21870. schema:
  21871. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21872. "500":
  21873. description: Internal Server Error
  21874. schema:
  21875. $ref: '#/definitions/app.Response'
  21876. security:
  21877. - ApiKeyAuth: []
  21878. summary: 查询产能预售委托单信息
  21879. tags:
  21880. - 产能预售
  21881. /CPTrade/QueryMyCPTradeGoods:
  21882. get:
  21883. parameters:
  21884. - description: 资金账户
  21885. in: query
  21886. name: accountid
  21887. required: true
  21888. type: integer
  21889. produces:
  21890. - application/json
  21891. responses:
  21892. "200":
  21893. description: OK
  21894. schema:
  21895. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21896. "500":
  21897. description: Internal Server Error
  21898. schema:
  21899. $ref: '#/definitions/app.Response'
  21900. security:
  21901. - ApiKeyAuth: []
  21902. summary: 查询我的预售信息
  21903. tags:
  21904. - 产能预售
  21905. /CPTrade/QueryPositionCancel:
  21906. get:
  21907. parameters:
  21908. - description: 账户ID
  21909. in: query
  21910. name: userid
  21911. required: true
  21912. type: integer
  21913. - description: 注销ID
  21914. in: query
  21915. name: cancelid
  21916. type: integer
  21917. - description: 资金账户ID
  21918. in: query
  21919. name: accountid
  21920. type: integer
  21921. produces:
  21922. - application/json
  21923. responses:
  21924. "200":
  21925. description: OK
  21926. schema:
  21927. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21928. "500":
  21929. description: Internal Server Error
  21930. schema:
  21931. $ref: '#/definitions/app.Response'
  21932. security:
  21933. - ApiKeyAuth: []
  21934. summary: 查询远期订单注销申请信息
  21935. tags:
  21936. - 产能预售
  21937. /CPTrade/QueryPreasleApply:
  21938. get:
  21939. parameters:
  21940. - description: 账户ID
  21941. in: query
  21942. name: userid
  21943. required: true
  21944. type: integer
  21945. - description: 申请ID
  21946. in: query
  21947. name: applyid
  21948. type: integer
  21949. - description: 资金账户ID
  21950. in: query
  21951. name: accountid
  21952. type: integer
  21953. produces:
  21954. - application/json
  21955. responses:
  21956. "200":
  21957. description: OK
  21958. schema:
  21959. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21960. "500":
  21961. description: Internal Server Error
  21962. schema:
  21963. $ref: '#/definitions/app.Response'
  21964. security:
  21965. - ApiKeyAuth: []
  21966. summary: 查询产能预售申请信息
  21967. tags:
  21968. - 产能预售
  21969. /CPTrade/QueryPresaleGoodsEx:
  21970. get:
  21971. parameters:
  21972. - description: 预售商品ID
  21973. in: query
  21974. name: goodsid
  21975. type: integer
  21976. - description: 预售市场ID
  21977. in: query
  21978. name: marketid
  21979. type: integer
  21980. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21981. in: query
  21982. name: presalemode
  21983. type: integer
  21984. - description: 预售商品ID列表 - 格式:1,2,3
  21985. in: query
  21986. name: goodsids
  21987. type: string
  21988. - description: 预售商品代码
  21989. in: query
  21990. name: goodscode
  21991. type: string
  21992. produces:
  21993. - application/json
  21994. responses:
  21995. "200":
  21996. description: OK
  21997. schema:
  21998. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21999. "500":
  22000. description: Internal Server Error
  22001. schema:
  22002. $ref: '#/definitions/app.Response'
  22003. security:
  22004. - ApiKeyAuth: []
  22005. summary: 查询产能预售商品扩展信息
  22006. tags:
  22007. - 产能预售
  22008. /CPTrade/QueryUserGoodsData:
  22009. get:
  22010. parameters:
  22011. - description: 资金账户ID
  22012. in: query
  22013. name: accountid
  22014. required: true
  22015. type: integer
  22016. produces:
  22017. - application/json
  22018. responses:
  22019. "200":
  22020. description: OK
  22021. schema:
  22022. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  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/GetAllEnums:
  22033. get:
  22034. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22035. parameters:
  22036. - description: 起始自增ID
  22037. in: query
  22038. name: autoid
  22039. type: integer
  22040. produces:
  22041. - application/json
  22042. responses:
  22043. "200":
  22044. description: OK
  22045. schema:
  22046. $ref: '#/definitions/models.Enumdicitem'
  22047. "500":
  22048. description: Internal Server Error
  22049. schema:
  22050. $ref: '#/definitions/app.Response'
  22051. summary: 获取所有枚举信息
  22052. tags:
  22053. - 通用服务
  22054. /Common/GetClientMenus:
  22055. get:
  22056. parameters:
  22057. - description: 登录账号
  22058. in: query
  22059. name: loginID
  22060. required: true
  22061. type: integer
  22062. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22063. in: query
  22064. name: clientType
  22065. type: integer
  22066. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22067. in: query
  22068. name: name
  22069. type: string
  22070. produces:
  22071. - application/json
  22072. responses:
  22073. "200":
  22074. description: OK
  22075. schema:
  22076. items:
  22077. $ref: '#/definitions/common.ClientMenu'
  22078. type: array
  22079. "500":
  22080. description: Internal Server Error
  22081. schema:
  22082. $ref: '#/definitions/app.Response'
  22083. security:
  22084. - ApiKeyAuth: []
  22085. summary: 获取交易端菜单
  22086. tags:
  22087. - 通用服务
  22088. /Common/GetDivisions:
  22089. get:
  22090. produces:
  22091. - application/json
  22092. responses:
  22093. "200":
  22094. description: OK
  22095. schema:
  22096. $ref: '#/definitions/models.Division'
  22097. "500":
  22098. description: Internal Server Error
  22099. schema:
  22100. $ref: '#/definitions/app.Response'
  22101. summary: 查询区域信息
  22102. tags:
  22103. - 通用服务
  22104. /Common/GetPCWebMenus:
  22105. get:
  22106. parameters:
  22107. - description: 登录账号
  22108. in: query
  22109. name: loginID
  22110. required: true
  22111. type: integer
  22112. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22113. in: query
  22114. name: name
  22115. type: string
  22116. produces:
  22117. - application/json
  22118. responses:
  22119. "200":
  22120. description: OK
  22121. schema:
  22122. items:
  22123. $ref: '#/definitions/common.PCWebMenu'
  22124. type: array
  22125. "500":
  22126. description: Internal Server Error
  22127. schema:
  22128. $ref: '#/definitions/app.Response'
  22129. security:
  22130. - ApiKeyAuth: []
  22131. summary: 获取PCWeb交易端菜单
  22132. tags:
  22133. - 通用服务
  22134. /Common/GetServerTime:
  22135. get:
  22136. produces:
  22137. - application/json
  22138. responses:
  22139. "200":
  22140. description: OK
  22141. schema:
  22142. $ref: '#/definitions/app.Response'
  22143. "500":
  22144. description: Internal Server Error
  22145. schema:
  22146. $ref: '#/definitions/app.Response'
  22147. summary: 获取服务器时间
  22148. tags:
  22149. - 通用服务
  22150. /Common/NoticeReaded:
  22151. post:
  22152. parameters:
  22153. - description: 登录账号
  22154. in: query
  22155. name: loginID
  22156. required: true
  22157. type: integer
  22158. - description: 通知公告ID
  22159. in: query
  22160. name: noticeID
  22161. required: true
  22162. type: integer
  22163. produces:
  22164. - application/json
  22165. responses:
  22166. "200":
  22167. description: OK
  22168. schema:
  22169. $ref: '#/definitions/app.Response'
  22170. "500":
  22171. description: Internal Server Error
  22172. schema:
  22173. $ref: '#/definitions/app.Response'
  22174. security:
  22175. - ApiKeyAuth: []
  22176. summary: 通知公告设置已读请求
  22177. tags:
  22178. - 通用服务
  22179. /Common/QueryErrorInfos:
  22180. get:
  22181. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22182. parameters:
  22183. - description: 起始行号前索引
  22184. in: query
  22185. name: rowNumber
  22186. type: string
  22187. produces:
  22188. - application/json
  22189. responses:
  22190. "200":
  22191. description: OK
  22192. schema:
  22193. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22194. "500":
  22195. description: Internal Server Error
  22196. schema:
  22197. $ref: '#/definitions/app.Response'
  22198. summary: 获取数据库错误信息
  22199. tags:
  22200. - 通用服务
  22201. /Common/QueryImageConfigs:
  22202. get:
  22203. parameters:
  22204. - description: 用户id
  22205. in: query
  22206. name: userId
  22207. type: integer
  22208. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22209. in: query
  22210. name: imageType
  22211. type: integer
  22212. produces:
  22213. - application/json
  22214. responses:
  22215. "200":
  22216. description: OK
  22217. schema:
  22218. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22219. "500":
  22220. description: Internal Server Error
  22221. schema:
  22222. $ref: '#/definitions/app.Response'
  22223. summary: 查询轮播图配置信息
  22224. tags:
  22225. - 通用服务
  22226. /Common/QueryNotice:
  22227. get:
  22228. parameters:
  22229. - description: 页码
  22230. in: query
  22231. name: page
  22232. type: integer
  22233. - description: 每页条数
  22234. in: query
  22235. name: pagesize
  22236. type: integer
  22237. - description: 登录账号
  22238. in: query
  22239. name: loginID
  22240. required: true
  22241. type: integer
  22242. - description: 消息类型 - 1:公告通知 2:系统消息
  22243. in: query
  22244. name: msgType
  22245. type: integer
  22246. - description: 是否只获取未读信息
  22247. in: query
  22248. name: onlyUnRead
  22249. type: boolean
  22250. - description: 自增ID,传入后会返回这个ID后面的记录
  22251. in: query
  22252. name: lastID
  22253. type: integer
  22254. produces:
  22255. - application/json
  22256. responses:
  22257. "200":
  22258. description: OK
  22259. schema:
  22260. $ref: '#/definitions/common.QueryNoticeRsp'
  22261. "500":
  22262. description: Internal Server Error
  22263. schema:
  22264. $ref: '#/definitions/app.Response'
  22265. security:
  22266. - ApiKeyAuth: []
  22267. summary: 通知公告系统消息查询
  22268. tags:
  22269. - 通用服务
  22270. /Common/QueryProvincesAndCities:
  22271. get:
  22272. parameters:
  22273. - description: 省ID
  22274. in: query
  22275. name: provinceID
  22276. type: integer
  22277. produces:
  22278. - application/json
  22279. responses:
  22280. "200":
  22281. description: OK
  22282. schema:
  22283. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22284. "500":
  22285. description: Internal Server Error
  22286. schema:
  22287. $ref: '#/definitions/app.Response'
  22288. summary: 查询省市信息(不包括区)
  22289. tags:
  22290. - 通用服务
  22291. /Common/QueryTableDefine:
  22292. get:
  22293. parameters:
  22294. - description: 表key
  22295. in: query
  22296. name: tableKey
  22297. type: string
  22298. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22299. in: query
  22300. name: tableType
  22301. type: integer
  22302. produces:
  22303. - application/json
  22304. responses:
  22305. "200":
  22306. description: OK
  22307. schema:
  22308. $ref: '#/definitions/common.QueryTableDefineRsp'
  22309. "500":
  22310. description: Internal Server Error
  22311. schema:
  22312. $ref: '#/definitions/app.Response'
  22313. summary: 查询交易端列表头信息
  22314. tags:
  22315. - 通用服务
  22316. /Common/QueryTraderMenu:
  22317. get:
  22318. parameters:
  22319. - description: 登录账号
  22320. in: query
  22321. name: loginid
  22322. required: true
  22323. type: integer
  22324. produces:
  22325. - application/json
  22326. responses:
  22327. "200":
  22328. description: OK
  22329. schema:
  22330. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22331. "500":
  22332. description: Internal Server Error
  22333. schema:
  22334. $ref: '#/definitions/app.Response'
  22335. summary: 查询交易端菜单
  22336. tags:
  22337. - 通用服务
  22338. /Delivery/QueryDeliveryRelation:
  22339. get:
  22340. parameters:
  22341. - description: 商品ID
  22342. in: query
  22343. name: goodsid
  22344. type: integer
  22345. - description: 品种ID
  22346. in: query
  22347. name: deliverygoodsid
  22348. type: integer
  22349. - description: 市场ID
  22350. in: query
  22351. name: marketid
  22352. type: integer
  22353. produces:
  22354. - application/json
  22355. responses:
  22356. "200":
  22357. description: OK
  22358. schema:
  22359. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22360. "500":
  22361. description: Internal Server Error
  22362. schema:
  22363. $ref: '#/definitions/app.Response'
  22364. security:
  22365. - ApiKeyAuth: []
  22366. summary: 查询商品交割关系表
  22367. tags:
  22368. - 交割服务
  22369. /Ermcp/GetErmcpGoods:
  22370. get:
  22371. parameters:
  22372. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22373. in: query
  22374. name: userid
  22375. type: integer
  22376. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22377. in: query
  22378. name: lastUpdateTime
  22379. type: string
  22380. produces:
  22381. - application/json
  22382. responses:
  22383. "200":
  22384. description: OK
  22385. schema:
  22386. $ref: '#/definitions/models.ErmcpGoods'
  22387. "500":
  22388. description: Internal Server Error
  22389. schema:
  22390. $ref: '#/definitions/app.Response'
  22391. security:
  22392. - ApiKeyAuth: []
  22393. summary: 查询企业风管期货商品信息
  22394. tags:
  22395. - 企业风险管理(app)
  22396. /Ermcp/GetErmcpGoodsSortByPosition:
  22397. get:
  22398. parameters:
  22399. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22400. in: query
  22401. name: sortIndex
  22402. type: string
  22403. produces:
  22404. - application/json
  22405. responses:
  22406. "200":
  22407. description: OK
  22408. schema:
  22409. $ref: '#/definitions/models.Goodssortbypreposition'
  22410. "500":
  22411. description: Internal Server Error
  22412. schema:
  22413. $ref: '#/definitions/app.Response'
  22414. security:
  22415. - ApiKeyAuth: []
  22416. summary: 查询企业风管期货主力、次主力商品信息
  22417. tags:
  22418. - 企业风险管理(app)
  22419. /Ermcp/GetErmcpOutAccountStatus:
  22420. get:
  22421. parameters:
  22422. - description: 登录账号
  22423. in: query
  22424. name: loginID
  22425. required: true
  22426. type: integer
  22427. produces:
  22428. - application/json
  22429. responses:
  22430. "200":
  22431. description: OK
  22432. schema:
  22433. $ref: '#/definitions/models.Hedgemarketopenlog'
  22434. "500":
  22435. description: Internal Server Error
  22436. schema:
  22437. $ref: '#/definitions/app.Response'
  22438. security:
  22439. - ApiKeyAuth: []
  22440. summary: 获取目标登录账号当前对冲账号在线状态
  22441. tags:
  22442. - 企业风险管理(app)
  22443. /Ermcp/GetErmcpRoleFuncMenuLists:
  22444. get:
  22445. parameters:
  22446. - description: 登录账号
  22447. in: query
  22448. name: loginID
  22449. required: true
  22450. type: integer
  22451. produces:
  22452. - application/json
  22453. responses:
  22454. "200":
  22455. description: OK
  22456. schema:
  22457. $ref: '#/definitions/models.Funcmenulist'
  22458. "500":
  22459. description: Internal Server Error
  22460. schema:
  22461. $ref: '#/definitions/app.Response'
  22462. security:
  22463. - ApiKeyAuth: []
  22464. summary: 获取企业风管终端权限
  22465. tags:
  22466. - 企业风险管理(app)
  22467. /Ermcp/QueryAccMgrBizGroupSet:
  22468. get:
  22469. parameters:
  22470. - description: 用户ID
  22471. in: query
  22472. name: userid
  22473. required: true
  22474. type: integer
  22475. - description: 现货商品id
  22476. in: query
  22477. name: deliverygoodsid
  22478. type: integer
  22479. produces:
  22480. - application/json
  22481. responses:
  22482. "200":
  22483. description: OK
  22484. schema:
  22485. items:
  22486. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22487. type: array
  22488. "500":
  22489. description: Internal Server Error
  22490. schema:
  22491. $ref: '#/definitions/app.Response'
  22492. security:
  22493. - ApiKeyAuth: []
  22494. summary: 查询业务类型分组(账户管理/账户设置)
  22495. tags:
  22496. - 企业风险管理(app)
  22497. /Ermcp/QueryAccMgrLoginUser:
  22498. get:
  22499. parameters:
  22500. - description: 用户ID
  22501. in: query
  22502. name: userid
  22503. required: true
  22504. type: integer
  22505. - description: 用户类型 2-机构 7-企业成员
  22506. in: query
  22507. name: usertype
  22508. type: integer
  22509. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22510. in: query
  22511. name: querytype
  22512. required: true
  22513. type: integer
  22514. produces:
  22515. - application/json
  22516. responses:
  22517. "200":
  22518. description: OK
  22519. schema:
  22520. items:
  22521. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22522. type: array
  22523. "500":
  22524. description: Internal Server Error
  22525. schema:
  22526. $ref: '#/definitions/app.Response'
  22527. security:
  22528. - ApiKeyAuth: []
  22529. summary: 查询账户管理登录账号(账户管理/登录账号)
  22530. tags:
  22531. - 企业风险管理(app)
  22532. /Ermcp/QueryAccMgrMainAccountInfo:
  22533. get:
  22534. parameters:
  22535. - description: 用户ID
  22536. in: query
  22537. name: userid
  22538. type: integer
  22539. - description: 主账号id
  22540. in: query
  22541. name: accountid
  22542. type: integer
  22543. produces:
  22544. - application/json
  22545. responses:
  22546. "200":
  22547. description: OK
  22548. schema:
  22549. items:
  22550. $ref: '#/definitions/models.MainAccountInfo'
  22551. type: array
  22552. "500":
  22553. description: Internal Server Error
  22554. schema:
  22555. $ref: '#/definitions/app.Response'
  22556. security:
  22557. - ApiKeyAuth: []
  22558. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22559. tags:
  22560. - 企业风险管理(app)
  22561. /Ermcp/QueryAccMgrRole:
  22562. get:
  22563. parameters:
  22564. - description: 用户ID
  22565. in: query
  22566. name: userid
  22567. required: true
  22568. type: integer
  22569. produces:
  22570. - application/json
  22571. responses:
  22572. "200":
  22573. description: OK
  22574. schema:
  22575. items:
  22576. $ref: '#/definitions/models.ErmcpRole'
  22577. type: array
  22578. "500":
  22579. description: Internal Server Error
  22580. schema:
  22581. $ref: '#/definitions/app.Response'
  22582. security:
  22583. - ApiKeyAuth: []
  22584. summary: 查询账户管理角色设置(账户管理/角色设置)
  22585. tags:
  22586. - 企业风险管理(app)
  22587. /Ermcp/QueryAccMgrRoleMenu:
  22588. get:
  22589. parameters:
  22590. - description: 用户ID
  22591. in: query
  22592. name: userid
  22593. required: true
  22594. type: integer
  22595. - description: 角色id(可多个,逗号隔开)
  22596. in: query
  22597. name: roleid
  22598. type: string
  22599. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22600. in: query
  22601. name: menutype
  22602. type: integer
  22603. produces:
  22604. - application/json
  22605. responses:
  22606. "200":
  22607. description: OK
  22608. schema:
  22609. items:
  22610. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22611. type: array
  22612. "500":
  22613. description: Internal Server Error
  22614. schema:
  22615. $ref: '#/definitions/app.Response'
  22616. security:
  22617. - ApiKeyAuth: []
  22618. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22619. tags:
  22620. - 企业风险管理(app)
  22621. /Ermcp/QueryAccMgrTaAccountInfo:
  22622. get:
  22623. parameters:
  22624. - description: 用户ID
  22625. in: query
  22626. name: userid
  22627. required: true
  22628. type: integer
  22629. - description: 账号id
  22630. in: query
  22631. name: accountid
  22632. type: integer
  22633. produces:
  22634. - application/json
  22635. responses:
  22636. "200":
  22637. description: OK
  22638. schema:
  22639. items:
  22640. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22641. type: array
  22642. "500":
  22643. description: Internal Server Error
  22644. schema:
  22645. $ref: '#/definitions/app.Response'
  22646. security:
  22647. - ApiKeyAuth: []
  22648. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22649. tags:
  22650. - 企业风险管理(app)
  22651. /Ermcp/QueryAccMgrTaaccount:
  22652. get:
  22653. parameters:
  22654. - description: 用户ID
  22655. in: query
  22656. name: userid
  22657. required: true
  22658. type: integer
  22659. produces:
  22660. - application/json
  22661. responses:
  22662. "200":
  22663. description: OK
  22664. schema:
  22665. items:
  22666. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22667. type: array
  22668. "500":
  22669. description: Internal Server Error
  22670. schema:
  22671. $ref: '#/definitions/app.Response'
  22672. security:
  22673. - ApiKeyAuth: []
  22674. summary: 查询账户管理期货账号(账户管理/期货账号)
  22675. tags:
  22676. - 企业风险管理(app)
  22677. /Ermcp/QueryAvaildGoodsGroup:
  22678. get:
  22679. parameters:
  22680. - description: 所属机构ID
  22681. in: query
  22682. name: userid
  22683. required: true
  22684. type: integer
  22685. produces:
  22686. - application/json
  22687. responses:
  22688. "200":
  22689. description: OK
  22690. schema:
  22691. items:
  22692. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22693. type: array
  22694. "500":
  22695. description: Internal Server Error
  22696. schema:
  22697. $ref: '#/definitions/app.Response'
  22698. security:
  22699. - ApiKeyAuth: []
  22700. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22701. tags:
  22702. - 企业风险管理(app)
  22703. /Ermcp/QueryBusinessDj:
  22704. get:
  22705. parameters:
  22706. - description: 用户ID
  22707. in: query
  22708. name: UserId
  22709. required: true
  22710. type: integer
  22711. - description: 用户类型 2-机构 7-企业成员
  22712. in: query
  22713. name: usertype
  22714. type: integer
  22715. - description: 现货合同ID, 不填则查所有
  22716. in: query
  22717. name: relatedid
  22718. type: string
  22719. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22720. in: query
  22721. name: applystatus
  22722. type: string
  22723. produces:
  22724. - application/json
  22725. responses:
  22726. "200":
  22727. description: OK
  22728. schema:
  22729. items:
  22730. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22731. type: array
  22732. "500":
  22733. description: Internal Server Error
  22734. schema:
  22735. $ref: '#/definitions/app.Response'
  22736. security:
  22737. - ApiKeyAuth: []
  22738. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22739. tags:
  22740. - 企业风险管理(app)
  22741. /Ermcp/QueryBusinessFp:
  22742. get:
  22743. parameters:
  22744. - description: 用户ID
  22745. in: query
  22746. name: UserId
  22747. required: true
  22748. type: integer
  22749. - description: 用户类型 2-机构 7-企业成员
  22750. in: query
  22751. name: usertype
  22752. type: integer
  22753. - description: 现货合同ID, 不填则查所有
  22754. in: query
  22755. name: relatedid
  22756. type: string
  22757. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22758. in: query
  22759. name: applystatus
  22760. type: string
  22761. produces:
  22762. - application/json
  22763. responses:
  22764. "200":
  22765. description: OK
  22766. schema:
  22767. items:
  22768. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22769. type: array
  22770. "500":
  22771. description: Internal Server Error
  22772. schema:
  22773. $ref: '#/definitions/app.Response'
  22774. security:
  22775. - ApiKeyAuth: []
  22776. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22777. tags:
  22778. - 企业风险管理(app)
  22779. /Ermcp/QueryBusinessJs:
  22780. get:
  22781. parameters:
  22782. - description: 用户ID
  22783. in: query
  22784. name: UserId
  22785. required: true
  22786. type: integer
  22787. - description: 用户类型 2-机构 7-企业成员
  22788. in: query
  22789. name: usertype
  22790. type: integer
  22791. - description: 现货合同ID, 不填则查所有
  22792. in: query
  22793. name: relatedid
  22794. type: string
  22795. - description: 操作申请id
  22796. in: query
  22797. name: operateapplyid
  22798. type: string
  22799. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22800. in: query
  22801. name: applystatus
  22802. type: string
  22803. produces:
  22804. - application/json
  22805. responses:
  22806. "200":
  22807. description: OK
  22808. schema:
  22809. items:
  22810. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22811. type: array
  22812. "500":
  22813. description: Internal Server Error
  22814. schema:
  22815. $ref: '#/definitions/app.Response'
  22816. security:
  22817. - ApiKeyAuth: []
  22818. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22819. tags:
  22820. - 企业风险管理(app)
  22821. /Ermcp/QueryBusinessJsEx:
  22822. get:
  22823. parameters:
  22824. - description: 用户ID
  22825. in: query
  22826. name: UserId
  22827. required: true
  22828. type: integer
  22829. - description: 用户类型 2-机构 7-企业成员
  22830. in: query
  22831. name: usertype
  22832. type: integer
  22833. - description: 现货合同ID, 不填则查所有
  22834. in: query
  22835. name: relatedid
  22836. type: string
  22837. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22838. in: query
  22839. name: applystatus
  22840. type: string
  22841. produces:
  22842. - application/json
  22843. responses:
  22844. "200":
  22845. description: OK
  22846. schema:
  22847. items:
  22848. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22849. type: array
  22850. "500":
  22851. description: Internal Server Error
  22852. schema:
  22853. $ref: '#/definitions/app.Response'
  22854. security:
  22855. - ApiKeyAuth: []
  22856. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22857. tags:
  22858. - 企业风险管理(app)
  22859. /Ermcp/QueryBusinessKx:
  22860. get:
  22861. parameters:
  22862. - description: 用户ID
  22863. in: query
  22864. name: UserId
  22865. required: true
  22866. type: integer
  22867. - description: 用户类型 2-机构 7-企业成员
  22868. in: query
  22869. name: usertype
  22870. type: integer
  22871. - description: 现货合同ID, 不填则查所有
  22872. in: query
  22873. name: relatedid
  22874. type: string
  22875. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22876. in: query
  22877. name: applystatus
  22878. type: string
  22879. produces:
  22880. - application/json
  22881. responses:
  22882. "200":
  22883. description: OK
  22884. schema:
  22885. items:
  22886. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22887. type: array
  22888. "500":
  22889. description: Internal Server Error
  22890. schema:
  22891. $ref: '#/definitions/app.Response'
  22892. security:
  22893. - ApiKeyAuth: []
  22894. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22895. tags:
  22896. - 企业风险管理(app)
  22897. /Ermcp/QueryChangeLog:
  22898. get:
  22899. parameters:
  22900. - description: 合同ID
  22901. in: query
  22902. name: RelatedId
  22903. required: true
  22904. type: string
  22905. produces:
  22906. - application/json
  22907. responses:
  22908. "200":
  22909. description: OK
  22910. schema:
  22911. items:
  22912. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22913. type: array
  22914. "500":
  22915. description: Internal Server Error
  22916. schema:
  22917. $ref: '#/definitions/app.Response'
  22918. security:
  22919. - ApiKeyAuth: []
  22920. summary: 查询变更记录
  22921. tags:
  22922. - 企业风险管理(app)
  22923. /Ermcp/QueryErmcpHisOrderDetails:
  22924. get:
  22925. parameters:
  22926. - description: 资金账户ID
  22927. in: query
  22928. name: accountID
  22929. required: true
  22930. type: integer
  22931. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22932. in: query
  22933. name: startDate
  22934. type: string
  22935. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22936. in: query
  22937. name: endDate
  22938. type: string
  22939. produces:
  22940. - application/json
  22941. responses:
  22942. "200":
  22943. description: OK
  22944. schema:
  22945. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22946. "500":
  22947. description: Internal Server Error
  22948. schema:
  22949. $ref: '#/definitions/app.Response'
  22950. security:
  22951. - ApiKeyAuth: []
  22952. summary: 获取企业风管期货历史委托单信息
  22953. tags:
  22954. - 企业风险管理(app)
  22955. /Ermcp/QueryErmcpHisTradeDetails:
  22956. get:
  22957. parameters:
  22958. - description: 资金账户ID
  22959. in: query
  22960. name: accountID
  22961. required: true
  22962. type: integer
  22963. - description: 商品ID
  22964. in: query
  22965. name: goodsID
  22966. type: integer
  22967. - description: 买卖方向,0:买 1:卖
  22968. in: query
  22969. name: buyOrSell
  22970. type: integer
  22971. - description: 关联委托单号
  22972. in: query
  22973. name: orderID
  22974. type: integer
  22975. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22976. in: query
  22977. name: startDate
  22978. type: string
  22979. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22980. in: query
  22981. name: endDate
  22982. type: string
  22983. produces:
  22984. - application/json
  22985. responses:
  22986. "200":
  22987. description: OK
  22988. schema:
  22989. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22990. "500":
  22991. description: Internal Server Error
  22992. schema:
  22993. $ref: '#/definitions/app.Response'
  22994. security:
  22995. - ApiKeyAuth: []
  22996. summary: 获取企业风管期货历史成交单信息
  22997. tags:
  22998. - 企业风险管理(app)
  22999. /Ermcp/QueryErmcpInnerHolderDetails:
  23000. get:
  23001. parameters:
  23002. - description: 资金账户ID
  23003. in: query
  23004. name: accountID
  23005. required: true
  23006. type: integer
  23007. - description: 商品ID
  23008. in: query
  23009. name: goodsID
  23010. type: integer
  23011. - description: 买卖方向,0:买 1:卖
  23012. in: query
  23013. name: buyOrSell
  23014. type: integer
  23015. produces:
  23016. - application/json
  23017. responses:
  23018. "200":
  23019. description: OK
  23020. schema:
  23021. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23022. "500":
  23023. description: Internal Server Error
  23024. schema:
  23025. $ref: '#/definitions/app.Response'
  23026. security:
  23027. - ApiKeyAuth: []
  23028. summary: 获取企业风管期货内部持仓单信息
  23029. tags:
  23030. - 企业风险管理(app)
  23031. /Ermcp/QueryErmcpOrderDetails:
  23032. get:
  23033. parameters:
  23034. - description: 资金账户ID
  23035. in: query
  23036. name: accountID
  23037. required: true
  23038. type: integer
  23039. produces:
  23040. - application/json
  23041. responses:
  23042. "200":
  23043. description: OK
  23044. schema:
  23045. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23046. "500":
  23047. description: Internal Server Error
  23048. schema:
  23049. $ref: '#/definitions/app.Response'
  23050. security:
  23051. - ApiKeyAuth: []
  23052. summary: 获取企业风管期货委托单信息
  23053. tags:
  23054. - 企业风险管理(app)
  23055. /Ermcp/QueryErmcpTradeDetails:
  23056. get:
  23057. parameters:
  23058. - description: 资金账户ID
  23059. in: query
  23060. name: accountID
  23061. required: true
  23062. type: integer
  23063. - description: 商品ID
  23064. in: query
  23065. name: goodsID
  23066. type: integer
  23067. - description: 买卖方向,0:买 1:卖
  23068. in: query
  23069. name: buyOrSell
  23070. type: integer
  23071. - description: 关联委托单号
  23072. in: query
  23073. name: orderID
  23074. type: integer
  23075. produces:
  23076. - application/json
  23077. responses:
  23078. "200":
  23079. description: OK
  23080. schema:
  23081. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23082. "500":
  23083. description: Internal Server Error
  23084. schema:
  23085. $ref: '#/definitions/app.Response'
  23086. security:
  23087. - ApiKeyAuth: []
  23088. summary: 获取企业风管期货成交单信息
  23089. tags:
  23090. - 企业风险管理(app)
  23091. /Ermcp/QueryErmcpTradePosition:
  23092. get:
  23093. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23094. parameters:
  23095. - description: 资金账户ID
  23096. in: query
  23097. name: accountID
  23098. required: true
  23099. type: integer
  23100. - description: 所属市场ID
  23101. in: query
  23102. name: marketID
  23103. type: integer
  23104. produces:
  23105. - application/json
  23106. responses:
  23107. "200":
  23108. description: OK
  23109. schema:
  23110. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23111. "500":
  23112. description: Internal Server Error
  23113. schema:
  23114. $ref: '#/definitions/app.Response'
  23115. security:
  23116. - ApiKeyAuth: []
  23117. summary: 获取企业风管期货持仓头寸信息
  23118. tags:
  23119. - 企业风险管理(app)
  23120. /Ermcp/QueryExposureDetail:
  23121. get:
  23122. parameters:
  23123. - description: 所属机构ID
  23124. in: query
  23125. name: areaUserId
  23126. required: true
  23127. type: integer
  23128. - description: 套保商品
  23129. in: query
  23130. name: middleGoodsId
  23131. required: true
  23132. type: integer
  23133. produces:
  23134. - application/json
  23135. responses:
  23136. "200":
  23137. description: OK
  23138. schema:
  23139. items:
  23140. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23141. type: array
  23142. "500":
  23143. description: Internal Server Error
  23144. schema:
  23145. $ref: '#/definitions/app.Response'
  23146. security:
  23147. - ApiKeyAuth: []
  23148. summary: 查询敞口现货明细
  23149. tags:
  23150. - 企业风险管理(app)
  23151. /Ermcp/QueryExposureGoods:
  23152. get:
  23153. parameters:
  23154. - description: 套保商品id
  23155. in: query
  23156. name: middlegoodsid
  23157. required: true
  23158. type: integer
  23159. produces:
  23160. - application/json
  23161. responses:
  23162. "200":
  23163. description: OK
  23164. schema:
  23165. items:
  23166. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23167. type: array
  23168. "500":
  23169. description: Internal Server Error
  23170. schema:
  23171. $ref: '#/definitions/app.Response'
  23172. security:
  23173. - ApiKeyAuth: []
  23174. summary: 查询敞口主力合约
  23175. tags:
  23176. - 企业风险管理(app)
  23177. /Ermcp/QueryExposureHedgePosition:
  23178. get:
  23179. parameters:
  23180. - description: 用户id
  23181. in: query
  23182. name: userid
  23183. required: true
  23184. type: integer
  23185. produces:
  23186. - application/json
  23187. responses:
  23188. "200":
  23189. description: OK
  23190. schema:
  23191. items:
  23192. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23193. type: array
  23194. "500":
  23195. description: Internal Server Error
  23196. schema:
  23197. $ref: '#/definitions/app.Response'
  23198. security:
  23199. - ApiKeyAuth: []
  23200. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23201. tags:
  23202. - 企业风险管理(app)
  23203. /Ermcp/QueryExposureHedgePositionDetail:
  23204. get:
  23205. parameters:
  23206. - description: 所属机构ID
  23207. in: query
  23208. name: userid
  23209. required: true
  23210. type: integer
  23211. - description: 商品id
  23212. in: query
  23213. name: goodsId
  23214. required: true
  23215. type: integer
  23216. produces:
  23217. - application/json
  23218. responses:
  23219. "200":
  23220. description: OK
  23221. schema:
  23222. items:
  23223. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23224. type: array
  23225. "500":
  23226. description: Internal Server Error
  23227. schema:
  23228. $ref: '#/definitions/app.Response'
  23229. security:
  23230. - ApiKeyAuth: []
  23231. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23232. tags:
  23233. - 企业风险管理(app)
  23234. /Ermcp/QueryExposureSpot:
  23235. get:
  23236. parameters:
  23237. - description: 所属机构ID
  23238. in: query
  23239. name: areaUserId
  23240. required: true
  23241. type: integer
  23242. produces:
  23243. - application/json
  23244. responses:
  23245. "200":
  23246. description: OK
  23247. schema:
  23248. items:
  23249. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23250. type: array
  23251. "500":
  23252. description: Internal Server Error
  23253. schema:
  23254. $ref: '#/definitions/app.Response'
  23255. security:
  23256. - ApiKeyAuth: []
  23257. summary: 查询敞口现货头寸(敞口/现货头寸)
  23258. tags:
  23259. - 企业风险管理(app)
  23260. /Ermcp/QueryExposureSpotDetail:
  23261. get:
  23262. parameters:
  23263. - description: 所属机构ID
  23264. in: query
  23265. name: areaUserId
  23266. required: true
  23267. type: integer
  23268. - description: 现货品种ID
  23269. in: query
  23270. name: wrstandardId
  23271. required: true
  23272. type: integer
  23273. produces:
  23274. - application/json
  23275. responses:
  23276. "200":
  23277. description: OK
  23278. schema:
  23279. items:
  23280. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23281. type: array
  23282. "500":
  23283. description: Internal Server Error
  23284. schema:
  23285. $ref: '#/definitions/app.Response'
  23286. security:
  23287. - ApiKeyAuth: []
  23288. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23289. tags:
  23290. - 企业风险管理(app)
  23291. /Ermcp/QueryFuturesCompany:
  23292. get:
  23293. produces:
  23294. - application/json
  23295. responses:
  23296. "200":
  23297. description: OK
  23298. schema:
  23299. items:
  23300. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23301. type: array
  23302. "500":
  23303. description: Internal Server Error
  23304. schema:
  23305. $ref: '#/definitions/app.Response'
  23306. security:
  23307. - ApiKeyAuth: []
  23308. summary: 查询期货公司
  23309. tags:
  23310. - 企业风险管理(app)
  23311. /Ermcp/QueryGGConvertConfig:
  23312. get:
  23313. parameters:
  23314. - description: 品种id(不填则查所有)
  23315. in: query
  23316. name: goodsgroupid
  23317. type: integer
  23318. produces:
  23319. - application/json
  23320. responses:
  23321. "200":
  23322. description: OK
  23323. schema:
  23324. items:
  23325. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23326. type: array
  23327. "500":
  23328. description: Internal Server Error
  23329. schema:
  23330. $ref: '#/definitions/app.Response'
  23331. security:
  23332. - ApiKeyAuth: []
  23333. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23334. tags:
  23335. - 企业风险管理(app)
  23336. /Ermcp/QueryGoodsBrand:
  23337. get:
  23338. parameters:
  23339. - description: 用户ID
  23340. in: query
  23341. name: userid
  23342. required: true
  23343. type: integer
  23344. - description: 现货商品ID
  23345. in: query
  23346. name: wrstandardid
  23347. type: integer
  23348. produces:
  23349. - application/json
  23350. responses:
  23351. "200":
  23352. description: OK
  23353. schema:
  23354. items:
  23355. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23356. type: array
  23357. "500":
  23358. description: Internal Server Error
  23359. schema:
  23360. $ref: '#/definitions/app.Response'
  23361. security:
  23362. - ApiKeyAuth: []
  23363. summary: 查询商品品牌
  23364. tags:
  23365. - 企业风险管理(app)
  23366. /Ermcp/QueryGoodsModel:
  23367. get:
  23368. parameters:
  23369. - description: 用户ID
  23370. in: query
  23371. name: userid
  23372. required: true
  23373. type: integer
  23374. produces:
  23375. - application/json
  23376. responses:
  23377. "200":
  23378. description: OK
  23379. schema:
  23380. items:
  23381. $ref: '#/definitions/models.ErmcpGoodsModel'
  23382. type: array
  23383. "500":
  23384. description: Internal Server Error
  23385. schema:
  23386. $ref: '#/definitions/app.Response'
  23387. security:
  23388. - ApiKeyAuth: []
  23389. summary: 查询商品型号
  23390. tags:
  23391. - 企业风险管理(app)
  23392. /Ermcp/QueryHisExposure:
  23393. get:
  23394. parameters:
  23395. - description: 用户id
  23396. in: query
  23397. name: userid
  23398. required: true
  23399. type: integer
  23400. - description: 每个品种记录数
  23401. in: query
  23402. name: lastNum
  23403. required: true
  23404. type: integer
  23405. produces:
  23406. - application/json
  23407. responses:
  23408. "200":
  23409. description: OK
  23410. schema:
  23411. items:
  23412. $ref: '#/definitions/ermcp.HisExposureRsp'
  23413. type: array
  23414. "500":
  23415. description: Internal Server Error
  23416. schema:
  23417. $ref: '#/definitions/app.Response'
  23418. security:
  23419. - ApiKeyAuth: []
  23420. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23421. tags:
  23422. - 企业风险管理(app)
  23423. /Ermcp/QueryMiddleGoods:
  23424. get:
  23425. parameters:
  23426. - description: 所属机构ID
  23427. in: query
  23428. name: userid
  23429. required: true
  23430. type: integer
  23431. - description: 状态 0-停用 1-正常
  23432. in: query
  23433. name: status
  23434. required: true
  23435. type: integer
  23436. produces:
  23437. - application/json
  23438. responses:
  23439. "200":
  23440. description: OK
  23441. schema:
  23442. items:
  23443. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23444. type: array
  23445. "500":
  23446. description: Internal Server Error
  23447. schema:
  23448. $ref: '#/definitions/app.Response'
  23449. security:
  23450. - ApiKeyAuth: []
  23451. summary: 查询套保品种(菜单:套保品种)
  23452. tags:
  23453. - 企业风险管理(app)
  23454. /Ermcp/QueryMiddleGoodsChangeLog:
  23455. get:
  23456. parameters:
  23457. - description: 所属机构ID
  23458. in: query
  23459. name: userid
  23460. required: true
  23461. type: integer
  23462. - description: 套保品种id
  23463. in: query
  23464. name: middlegoodsid
  23465. required: true
  23466. type: integer
  23467. produces:
  23468. - application/json
  23469. responses:
  23470. "200":
  23471. description: OK
  23472. schema:
  23473. items:
  23474. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23475. type: array
  23476. "500":
  23477. description: Internal Server Error
  23478. schema:
  23479. $ref: '#/definitions/app.Response'
  23480. security:
  23481. - ApiKeyAuth: []
  23482. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23483. tags:
  23484. - 企业风险管理(app)
  23485. /Ermcp/QueryMiddleGoodsDetail:
  23486. get:
  23487. parameters:
  23488. - description: 所属机构ID
  23489. in: query
  23490. name: userid
  23491. required: true
  23492. type: integer
  23493. - description: 套保品种id
  23494. in: query
  23495. name: middlegoodsid
  23496. type: integer
  23497. produces:
  23498. - application/json
  23499. responses:
  23500. "200":
  23501. description: OK
  23502. schema:
  23503. items:
  23504. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23505. type: array
  23506. "500":
  23507. description: Internal Server Error
  23508. schema:
  23509. $ref: '#/definitions/app.Response'
  23510. security:
  23511. - ApiKeyAuth: []
  23512. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23513. tags:
  23514. - 企业风险管理(app)
  23515. /Ermcp/QueryPendingAuditInfo:
  23516. get:
  23517. parameters:
  23518. - description: 用户ID
  23519. in: query
  23520. name: UserId
  23521. required: true
  23522. type: integer
  23523. produces:
  23524. - application/json
  23525. responses:
  23526. "200":
  23527. description: OK
  23528. schema:
  23529. items:
  23530. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23531. type: array
  23532. "500":
  23533. description: Internal Server Error
  23534. schema:
  23535. $ref: '#/definitions/app.Response'
  23536. security:
  23537. - ApiKeyAuth: []
  23538. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23539. tags:
  23540. - 企业风险管理(app)
  23541. /Ermcp/QueryRealtimeExposure:
  23542. get:
  23543. parameters:
  23544. - description: 所属机构ID
  23545. in: query
  23546. name: userid
  23547. required: true
  23548. type: integer
  23549. produces:
  23550. - application/json
  23551. responses:
  23552. "200":
  23553. description: OK
  23554. schema:
  23555. items:
  23556. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  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. /Ermcp/QueryRealtimeExposurePosition:
  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. produces:
  23581. - application/json
  23582. responses:
  23583. "200":
  23584. description: OK
  23585. schema:
  23586. items:
  23587. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23588. type: array
  23589. "500":
  23590. description: Internal Server Error
  23591. schema:
  23592. $ref: '#/definitions/app.Response'
  23593. security:
  23594. - ApiKeyAuth: []
  23595. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23596. tags:
  23597. - 企业风险管理(app)
  23598. /Ermcp/QueryRoleMenu:
  23599. get:
  23600. parameters:
  23601. - description: 登录ID
  23602. in: query
  23603. name: loginid
  23604. required: true
  23605. type: integer
  23606. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23607. in: query
  23608. name: menutype
  23609. type: integer
  23610. produces:
  23611. - application/json
  23612. responses:
  23613. "200":
  23614. description: OK
  23615. schema:
  23616. items:
  23617. $ref: '#/definitions/models.RoleMenu'
  23618. type: array
  23619. "500":
  23620. description: Internal Server Error
  23621. schema:
  23622. $ref: '#/definitions/app.Response'
  23623. security:
  23624. - ApiKeyAuth: []
  23625. summary: 查询角色菜单和权限
  23626. tags:
  23627. - 企业风险管理(app)
  23628. /Ermcp/QueryTradeConfigTMP:
  23629. get:
  23630. parameters:
  23631. - description: 所属机构id
  23632. in: query
  23633. name: areauserid
  23634. type: integer
  23635. produces:
  23636. - application/json
  23637. responses:
  23638. "200":
  23639. description: OK
  23640. schema:
  23641. items:
  23642. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23643. type: array
  23644. "500":
  23645. description: Internal Server Error
  23646. schema:
  23647. $ref: '#/definitions/app.Response'
  23648. security:
  23649. - ApiKeyAuth: []
  23650. summary: 查询交易模板配置
  23651. tags:
  23652. - 企业风险管理(app)
  23653. /Ermcp/QueryUserInfo:
  23654. get:
  23655. parameters:
  23656. - description: 所属机构用户ID
  23657. in: query
  23658. name: MemberUserID
  23659. required: true
  23660. type: integer
  23661. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23662. in: query
  23663. name: queryType
  23664. required: true
  23665. type: integer
  23666. produces:
  23667. - application/json
  23668. responses:
  23669. "200":
  23670. description: OK
  23671. schema:
  23672. items:
  23673. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23674. type: array
  23675. "500":
  23676. description: Internal Server Error
  23677. schema:
  23678. $ref: '#/definitions/app.Response'
  23679. security:
  23680. - ApiKeyAuth: []
  23681. summary: 查询客户资料
  23682. tags:
  23683. - 企业风险管理(app)
  23684. /Ermcp/QueryWarehouseInfo:
  23685. get:
  23686. parameters:
  23687. - description: 用户ID
  23688. in: query
  23689. name: userid
  23690. required: true
  23691. type: integer
  23692. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23693. in: query
  23694. name: status
  23695. type: string
  23696. produces:
  23697. - application/json
  23698. responses:
  23699. "200":
  23700. description: OK
  23701. schema:
  23702. items:
  23703. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23704. type: array
  23705. "500":
  23706. description: Internal Server Error
  23707. schema:
  23708. $ref: '#/definitions/app.Response'
  23709. security:
  23710. - ApiKeyAuth: []
  23711. summary: 查询仓库信息
  23712. tags:
  23713. - 企业风险管理(app)
  23714. /Ermcp3/QryAreaExpourseContractDetail:
  23715. get:
  23716. parameters:
  23717. - description: 用户ID
  23718. in: query
  23719. name: userid
  23720. required: true
  23721. type: integer
  23722. - description: 套保商品id
  23723. in: query
  23724. name: middlegoodsid
  23725. required: true
  23726. type: integer
  23727. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23728. in: query
  23729. name: cycletype
  23730. required: true
  23731. type: integer
  23732. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23733. 全(0)【原值】
  23734. in: query
  23735. name: cycletime
  23736. required: true
  23737. type: string
  23738. produces:
  23739. - application/json
  23740. responses:
  23741. "200":
  23742. description: OK
  23743. schema:
  23744. items:
  23745. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23746. type: array
  23747. "500":
  23748. description: Internal Server Error
  23749. schema:
  23750. $ref: '#/definitions/app.Response'
  23751. security:
  23752. - ApiKeyAuth: []
  23753. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23754. tags:
  23755. - 企业风险管理v3(app)
  23756. /Ermcp3/QryAreaExpourseFutuDetail:
  23757. get:
  23758. parameters:
  23759. - description: 用户ID
  23760. in: query
  23761. name: userid
  23762. required: true
  23763. type: integer
  23764. - description: 套保商品id
  23765. in: query
  23766. name: middlegoodsid
  23767. required: true
  23768. type: integer
  23769. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23770. in: query
  23771. name: cycletype
  23772. required: true
  23773. type: integer
  23774. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23775. 全(0)【原值】
  23776. in: query
  23777. name: cycletime
  23778. required: true
  23779. type: string
  23780. produces:
  23781. - application/json
  23782. responses:
  23783. "200":
  23784. description: OK
  23785. schema:
  23786. items:
  23787. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23788. type: array
  23789. "500":
  23790. description: Internal Server Error
  23791. schema:
  23792. $ref: '#/definitions/app.Response'
  23793. security:
  23794. - ApiKeyAuth: []
  23795. summary: 查询敞口期货明细(敞口报表/期货明细)
  23796. tags:
  23797. - 企业风险管理v3(app)
  23798. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23799. get:
  23800. parameters:
  23801. - description: 用户ID
  23802. in: query
  23803. name: userid
  23804. required: true
  23805. type: integer
  23806. - description: 套保商品id
  23807. in: query
  23808. name: middlegoodsid
  23809. required: true
  23810. type: integer
  23811. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23812. in: query
  23813. name: cycletype
  23814. required: true
  23815. type: integer
  23816. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23817. 全(0)【原值】
  23818. in: query
  23819. name: cycletime
  23820. required: true
  23821. type: string
  23822. produces:
  23823. - application/json
  23824. responses:
  23825. "200":
  23826. description: OK
  23827. schema:
  23828. items:
  23829. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23830. type: array
  23831. "500":
  23832. description: Internal Server Error
  23833. schema:
  23834. $ref: '#/definitions/app.Response'
  23835. security:
  23836. - ApiKeyAuth: []
  23837. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23838. tags:
  23839. - 企业风险管理v3(app)
  23840. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23841. get:
  23842. parameters:
  23843. - description: 用户ID
  23844. in: query
  23845. name: userid
  23846. required: true
  23847. type: integer
  23848. - description: 套保商品id
  23849. in: query
  23850. name: middlegoodsid
  23851. required: true
  23852. type: integer
  23853. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23854. in: query
  23855. name: cycletype
  23856. required: true
  23857. type: integer
  23858. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23859. 全(0)【原值】
  23860. in: query
  23861. name: cycletime
  23862. required: true
  23863. type: string
  23864. produces:
  23865. - application/json
  23866. responses:
  23867. "200":
  23868. description: OK
  23869. schema:
  23870. items:
  23871. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23872. type: array
  23873. "500":
  23874. description: Internal Server Error
  23875. schema:
  23876. $ref: '#/definitions/app.Response'
  23877. security:
  23878. - ApiKeyAuth: []
  23879. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23880. tags:
  23881. - 企业风险管理v3(app)
  23882. /Ermcp3/QryAreaExpourseReport:
  23883. get:
  23884. parameters:
  23885. - description: 用户ID
  23886. in: query
  23887. name: userid
  23888. required: true
  23889. type: integer
  23890. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23891. in: query
  23892. name: querytype
  23893. required: true
  23894. type: integer
  23895. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23896. in: query
  23897. name: cycletype
  23898. required: true
  23899. type: integer
  23900. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23901. 全(0)【原值】
  23902. in: query
  23903. name: cycletime
  23904. required: true
  23905. type: string
  23906. produces:
  23907. - application/json
  23908. responses:
  23909. "200":
  23910. description: OK
  23911. schema:
  23912. items:
  23913. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23914. type: array
  23915. "500":
  23916. description: Internal Server Error
  23917. schema:
  23918. $ref: '#/definitions/app.Response'
  23919. security:
  23920. - ApiKeyAuth: []
  23921. summary: 查询敞口报表
  23922. tags:
  23923. - 企业风险管理v3(app)
  23924. /Ermcp3/QryAreaSpotplReport:
  23925. get:
  23926. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23927. parameters:
  23928. - description: 用户ID
  23929. in: query
  23930. name: userid
  23931. required: true
  23932. type: integer
  23933. - description: 查询类型 1-报表 2-报表明细
  23934. in: query
  23935. name: querytype
  23936. required: true
  23937. type: integer
  23938. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23939. in: query
  23940. name: cycletype
  23941. required: true
  23942. type: integer
  23943. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23944. 全(0)【原值】
  23945. in: query
  23946. name: cycletime
  23947. required: true
  23948. type: string
  23949. - description: 现货品种id(明细必填)
  23950. in: query
  23951. name: deliverygoodsid
  23952. type: integer
  23953. - description: 币种id(明细必填)
  23954. in: query
  23955. name: currencyid
  23956. type: integer
  23957. - description: 日/周/月报表汇总维度 1:品种+品类
  23958. in: query
  23959. name: sumflag
  23960. type: integer
  23961. produces:
  23962. - application/json
  23963. responses:
  23964. "200":
  23965. description: OK
  23966. schema:
  23967. items:
  23968. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23969. type: array
  23970. "500":
  23971. description: Internal Server Error
  23972. schema:
  23973. $ref: '#/definitions/app.Response'
  23974. security:
  23975. - ApiKeyAuth: []
  23976. summary: 查询现货报表
  23977. tags:
  23978. - 企业风险管理v3(app)
  23979. /Ermcp3/QryAreaStockReport:
  23980. get:
  23981. parameters:
  23982. - description: 用户ID
  23983. in: query
  23984. name: userid
  23985. required: true
  23986. type: integer
  23987. - description: 查询类型 1-报表 2-报表明细
  23988. in: query
  23989. name: querytype
  23990. required: true
  23991. type: integer
  23992. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23993. in: query
  23994. name: cycletype
  23995. required: true
  23996. type: integer
  23997. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23998. 全(0)【原值】
  23999. in: query
  24000. name: cycletime
  24001. required: true
  24002. type: string
  24003. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  24004. in: query
  24005. name: sumfields
  24006. type: string
  24007. - description: 品种ID
  24008. in: query
  24009. name: deliverygoodsid
  24010. type: integer
  24011. - description: 品类ID
  24012. in: query
  24013. name: wrstandardid
  24014. type: integer
  24015. - description: 品牌ID
  24016. in: query
  24017. name: spotgoodsbrandid
  24018. type: integer
  24019. - description: 仓库ID
  24020. in: query
  24021. name: warehouseinfoid
  24022. type: integer
  24023. produces:
  24024. - application/json
  24025. responses:
  24026. "200":
  24027. description: OK
  24028. schema:
  24029. items:
  24030. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24031. type: array
  24032. "500":
  24033. description: Internal Server Error
  24034. schema:
  24035. $ref: '#/definitions/app.Response'
  24036. security:
  24037. - ApiKeyAuth: []
  24038. summary: 查询库存报表
  24039. tags:
  24040. - 企业风险管理v3(app)
  24041. /Ermcp3/QryAreaSumPL:
  24042. get:
  24043. parameters:
  24044. - description: 用户ID
  24045. in: query
  24046. name: userid
  24047. required: true
  24048. type: integer
  24049. - description: 查询类型 1-报表 2-报表明细
  24050. in: query
  24051. name: querytype
  24052. required: true
  24053. type: integer
  24054. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24055. in: query
  24056. name: cycletype
  24057. required: true
  24058. type: integer
  24059. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24060. 全(0)【原值】
  24061. in: query
  24062. name: cycletime
  24063. required: true
  24064. type: string
  24065. - description: 币种id(明细必填)
  24066. in: query
  24067. name: currencyid
  24068. type: integer
  24069. - description: 套保品种ID, 查询类型为2时起效
  24070. in: query
  24071. name: middlegoodsid
  24072. type: integer
  24073. produces:
  24074. - application/json
  24075. responses:
  24076. "200":
  24077. description: OK
  24078. schema:
  24079. items:
  24080. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24081. type: array
  24082. "500":
  24083. description: Internal Server Error
  24084. schema:
  24085. $ref: '#/definitions/app.Response'
  24086. security:
  24087. - ApiKeyAuth: []
  24088. summary: 查询汇总损益表
  24089. tags:
  24090. - 企业风险管理v3(app)
  24091. /Ermcp3/QryFinanceReport:
  24092. get:
  24093. parameters:
  24094. - description: 用户ID
  24095. in: query
  24096. name: userid
  24097. required: true
  24098. type: integer
  24099. - description: 查询类型 1-报表 2-报表明细
  24100. in: query
  24101. name: querytype
  24102. required: true
  24103. type: integer
  24104. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24105. in: query
  24106. name: cycletype
  24107. required: true
  24108. type: integer
  24109. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24110. 全(0)【原值】
  24111. in: query
  24112. name: cycletime
  24113. required: true
  24114. type: string
  24115. - description: 币种id(报表明细必填)
  24116. in: query
  24117. name: currencyid
  24118. type: integer
  24119. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24120. in: query
  24121. name: sumfields
  24122. type: string
  24123. produces:
  24124. - application/json
  24125. responses:
  24126. "200":
  24127. description: OK
  24128. schema:
  24129. items:
  24130. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24131. type: array
  24132. "500":
  24133. description: Internal Server Error
  24134. schema:
  24135. $ref: '#/definitions/app.Response'
  24136. security:
  24137. - ApiKeyAuth: []
  24138. summary: 查询财务报表
  24139. tags:
  24140. - 企业风险管理v3(app)
  24141. /Ermcp3/QrySCMiddleGoodsReport:
  24142. get:
  24143. parameters:
  24144. - description: 用户ID
  24145. in: query
  24146. name: userid
  24147. required: true
  24148. type: integer
  24149. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24150. in: query
  24151. name: cycletype
  24152. required: true
  24153. type: integer
  24154. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24155. 全(0)【原值】
  24156. in: query
  24157. name: cycletime
  24158. required: true
  24159. type: string
  24160. - description: 合同id
  24161. in: query
  24162. name: spotcontractid
  24163. type: integer
  24164. - description: 套保品种id
  24165. in: query
  24166. name: middlegoodsid
  24167. type: integer
  24168. - description: 现货品种id
  24169. in: query
  24170. name: deliverygoodsid
  24171. type: integer
  24172. - description: 现货商品id
  24173. in: query
  24174. name: wrstandardid
  24175. type: integer
  24176. - description: 合同编号(模糊匹配)
  24177. in: query
  24178. name: contractno
  24179. type: string
  24180. produces:
  24181. - application/json
  24182. responses:
  24183. "200":
  24184. description: OK
  24185. schema:
  24186. items:
  24187. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24188. type: array
  24189. "500":
  24190. description: Internal Server Error
  24191. schema:
  24192. $ref: '#/definitions/app.Response'
  24193. security:
  24194. - ApiKeyAuth: []
  24195. summary: 查询定价报表
  24196. tags:
  24197. - 企业风险管理v3(app)
  24198. /Ermcp3/QryTaFutureDataReport:
  24199. get:
  24200. parameters:
  24201. - description: 用户ID
  24202. in: query
  24203. name: userid
  24204. required: true
  24205. type: integer
  24206. - description: 查询类型 1-报表 2-报表明细
  24207. in: query
  24208. name: querytype
  24209. required: true
  24210. type: integer
  24211. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24212. in: query
  24213. name: cycletype
  24214. required: true
  24215. type: integer
  24216. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24217. 全(0)【原值】
  24218. in: query
  24219. name: cycletime
  24220. required: true
  24221. type: string
  24222. - description: 币种id(查明细必填)
  24223. in: query
  24224. name: currencyid
  24225. type: integer
  24226. - description: 品种id(查明细必填)
  24227. in: query
  24228. name: goodsgroupid
  24229. type: integer
  24230. - description: 商品id(查明细必填)
  24231. in: query
  24232. name: goodsid
  24233. type: integer
  24234. - description: 买卖方向(查明细必填)
  24235. in: query
  24236. name: buyorsell
  24237. type: integer
  24238. produces:
  24239. - application/json
  24240. responses:
  24241. "200":
  24242. description: OK
  24243. schema:
  24244. items:
  24245. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24246. type: array
  24247. "500":
  24248. description: Internal Server Error
  24249. schema:
  24250. $ref: '#/definitions/app.Response'
  24251. security:
  24252. - ApiKeyAuth: []
  24253. summary: 查询期货报表
  24254. tags:
  24255. - 企业风险管理v3(app)
  24256. /Ermcp3/QueryAreaStock:
  24257. get:
  24258. parameters:
  24259. - description: 用户ID
  24260. in: query
  24261. name: userid
  24262. required: true
  24263. type: integer
  24264. produces:
  24265. - application/json
  24266. responses:
  24267. "200":
  24268. description: OK
  24269. schema:
  24270. items:
  24271. $ref: '#/definitions/models.Ermcp3AreaStock'
  24272. type: array
  24273. "500":
  24274. description: Internal Server Error
  24275. schema:
  24276. $ref: '#/definitions/app.Response'
  24277. security:
  24278. - ApiKeyAuth: []
  24279. summary: 查询机构库存(库存管理/当前库存)
  24280. tags:
  24281. - 企业风险管理v3(app)
  24282. /Ermcp3/QueryAreaStockApply:
  24283. get:
  24284. parameters:
  24285. - description: 用户ID
  24286. in: query
  24287. name: userid
  24288. required: true
  24289. type: integer
  24290. - description: 用户类型 2-机构 7-企业成员
  24291. in: query
  24292. name: usertype
  24293. type: integer
  24294. - description: 现货商品ID
  24295. in: query
  24296. name: deliverygoodsid
  24297. type: integer
  24298. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24299. in: query
  24300. name: inouttype
  24301. type: string
  24302. - description: 合同ID
  24303. in: query
  24304. name: spotcontractid
  24305. type: integer
  24306. - description: 品类ID
  24307. in: query
  24308. name: wrstandardid
  24309. type: integer
  24310. - description: 品牌ID
  24311. in: query
  24312. name: spotgoodsbrandid
  24313. type: integer
  24314. - description: 仓库ID
  24315. in: query
  24316. name: warehouseinfoid
  24317. type: integer
  24318. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24319. in: query
  24320. name: applystatus
  24321. type: string
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. items:
  24329. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24330. type: array
  24331. "500":
  24332. description: Internal Server Error
  24333. schema:
  24334. $ref: '#/definitions/app.Response'
  24335. security:
  24336. - ApiKeyAuth: []
  24337. summary: 查询库存申请(出入库记录|库存审核)
  24338. tags:
  24339. - 企业风险管理v3(app)
  24340. /Ermcp3/QueryAreaStockApplySum:
  24341. get:
  24342. parameters:
  24343. - description: 合同ID
  24344. in: query
  24345. name: spotcontractid
  24346. required: true
  24347. type: integer
  24348. produces:
  24349. - application/json
  24350. responses:
  24351. "200":
  24352. description: OK
  24353. schema:
  24354. items:
  24355. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24356. type: array
  24357. "500":
  24358. description: Internal Server Error
  24359. schema:
  24360. $ref: '#/definitions/app.Response'
  24361. security:
  24362. - ApiKeyAuth: []
  24363. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24364. tags:
  24365. - 企业风险管理v3(app)
  24366. /Ermcp3/QueryDGFactoryItem:
  24367. get:
  24368. parameters:
  24369. - description: 用户id
  24370. in: query
  24371. name: userid
  24372. type: integer
  24373. - description: 用户类型 2-机构 7-企业成员
  24374. in: query
  24375. name: usertype
  24376. type: integer
  24377. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24378. in: query
  24379. name: dgfactoryitemid
  24380. type: integer
  24381. - description: 现货品种ID
  24382. in: query
  24383. name: deliverygoodsid
  24384. type: integer
  24385. - description: 要素项类型
  24386. in: query
  24387. name: dgfactoryitemtypeid
  24388. type: integer
  24389. - description: 顺序
  24390. in: query
  24391. name: orderindex
  24392. type: integer
  24393. produces:
  24394. - application/json
  24395. responses:
  24396. "200":
  24397. description: OK
  24398. schema:
  24399. items:
  24400. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24401. type: array
  24402. "500":
  24403. description: Internal Server Error
  24404. schema:
  24405. $ref: '#/definitions/app.Response'
  24406. security:
  24407. - ApiKeyAuth: []
  24408. summary: 查询品种要素定义项
  24409. tags:
  24410. - 企业风险管理v3(app)
  24411. /Ermcp3/QueryDeliveryGoods:
  24412. get:
  24413. parameters:
  24414. - description: 用户id
  24415. in: query
  24416. name: userid
  24417. required: true
  24418. type: integer
  24419. - description: 用户类型 2-机构 7-企业成员
  24420. in: query
  24421. name: usertype
  24422. type: integer
  24423. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24424. in: query
  24425. name: excludecfg
  24426. type: integer
  24427. produces:
  24428. - application/json
  24429. responses:
  24430. "200":
  24431. description: OK
  24432. schema:
  24433. items:
  24434. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24435. type: array
  24436. "500":
  24437. description: Internal Server Error
  24438. schema:
  24439. $ref: '#/definitions/app.Response'
  24440. security:
  24441. - ApiKeyAuth: []
  24442. summary: 查询现货商品
  24443. tags:
  24444. - 企业风险管理v3(app)
  24445. /Ermcp3/QueryDeliveryGoodsDetail:
  24446. get:
  24447. parameters:
  24448. - description: 用户id
  24449. in: query
  24450. name: userid
  24451. required: true
  24452. type: integer
  24453. - description: 用户类型 2-机构 7-企业成员
  24454. in: query
  24455. name: usertype
  24456. type: integer
  24457. - description: 现货商品id
  24458. in: query
  24459. name: deliverygoodsid
  24460. type: integer
  24461. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24462. in: query
  24463. name: filtersubempty
  24464. type: integer
  24465. produces:
  24466. - application/json
  24467. responses:
  24468. "200":
  24469. description: OK
  24470. schema:
  24471. items:
  24472. $ref: '#/definitions/models.XHDeliveryGoods'
  24473. type: array
  24474. "500":
  24475. description: Internal Server Error
  24476. schema:
  24477. $ref: '#/definitions/app.Response'
  24478. security:
  24479. - ApiKeyAuth: []
  24480. summary: 查询现货商品详情
  24481. tags:
  24482. - 企业风险管理v3(app)
  24483. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24484. get:
  24485. parameters:
  24486. - description: 合同id
  24487. in: query
  24488. name: spotcontractid
  24489. required: true
  24490. type: string
  24491. produces:
  24492. - application/json
  24493. responses:
  24494. "200":
  24495. description: OK
  24496. schema:
  24497. items:
  24498. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24499. type: array
  24500. "500":
  24501. description: Internal Server Error
  24502. schema:
  24503. $ref: '#/definitions/app.Response'
  24504. security:
  24505. - ApiKeyAuth: []
  24506. summary: 查询现货合同期现配置信息
  24507. tags:
  24508. - 企业风险管理v3(app)
  24509. /Ermcp3/QueryExposureDetail:
  24510. get:
  24511. parameters:
  24512. - description: 用户id
  24513. in: query
  24514. name: userid
  24515. required: true
  24516. type: integer
  24517. - description: 用户类型 2-机构 7-企业成员
  24518. in: query
  24519. name: usertype
  24520. type: integer
  24521. - description: 套保商品
  24522. in: query
  24523. name: middlegoodsid
  24524. required: true
  24525. type: integer
  24526. produces:
  24527. - application/json
  24528. responses:
  24529. "200":
  24530. description: OK
  24531. schema:
  24532. items:
  24533. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24534. type: array
  24535. "500":
  24536. description: Internal Server Error
  24537. schema:
  24538. $ref: '#/definitions/app.Response'
  24539. security:
  24540. - ApiKeyAuth: []
  24541. summary: 查询敞口现货明细
  24542. tags:
  24543. - 企业风险管理v3(app)
  24544. /Ermcp3/QueryExposureSpot:
  24545. get:
  24546. parameters:
  24547. - description: 用户id
  24548. in: query
  24549. name: userid
  24550. required: true
  24551. type: integer
  24552. - description: 用户类型 2-机构 7-企业成员
  24553. in: query
  24554. name: usertype
  24555. type: integer
  24556. produces:
  24557. - application/json
  24558. responses:
  24559. "200":
  24560. description: OK
  24561. schema:
  24562. items:
  24563. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24564. type: array
  24565. "500":
  24566. description: Internal Server Error
  24567. schema:
  24568. $ref: '#/definitions/app.Response'
  24569. security:
  24570. - ApiKeyAuth: []
  24571. summary: 查询敞口现货头寸(敞口/现货头寸)
  24572. tags:
  24573. - 企业风险管理v3(app)
  24574. /Ermcp3/QueryExposureSpotDetail:
  24575. get:
  24576. parameters:
  24577. - description: 用户id
  24578. in: query
  24579. name: userid
  24580. required: true
  24581. type: integer
  24582. - description: 用户类型 2-机构 7-企业成员
  24583. in: query
  24584. name: usertype
  24585. type: integer
  24586. - description: 现货商品ID
  24587. in: query
  24588. name: wrstandardid
  24589. required: true
  24590. type: integer
  24591. produces:
  24592. - application/json
  24593. responses:
  24594. "200":
  24595. description: OK
  24596. schema:
  24597. items:
  24598. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24599. type: array
  24600. "500":
  24601. description: Internal Server Error
  24602. schema:
  24603. $ref: '#/definitions/app.Response'
  24604. security:
  24605. - ApiKeyAuth: []
  24606. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24607. tags:
  24608. - 企业风险管理v3(app)
  24609. /Ermcp3/QueryGoodsGroup:
  24610. get:
  24611. parameters:
  24612. - description: 用户id
  24613. in: query
  24614. name: userid
  24615. required: true
  24616. type: integer
  24617. - description: 用户类型 2-机构 7-企业成员
  24618. in: query
  24619. name: usertype
  24620. type: integer
  24621. - description: 排除套保品中已关联的商品组 1-排除
  24622. in: query
  24623. name: excludecfg
  24624. type: integer
  24625. produces:
  24626. - application/json
  24627. responses:
  24628. "200":
  24629. description: OK
  24630. schema:
  24631. items:
  24632. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24633. type: array
  24634. "500":
  24635. description: Internal Server Error
  24636. schema:
  24637. $ref: '#/definitions/app.Response'
  24638. security:
  24639. - ApiKeyAuth: []
  24640. summary: 查询期货商品组
  24641. tags:
  24642. - 企业风险管理v3(app)
  24643. /Ermcp3/QueryGoodsWrstandard:
  24644. get:
  24645. parameters:
  24646. - description: 用户id
  24647. in: query
  24648. name: userid
  24649. required: true
  24650. type: integer
  24651. - description: 用户类型 2-机构 7-企业成员
  24652. in: query
  24653. name: usertype
  24654. type: integer
  24655. - description: 现货商品id
  24656. in: query
  24657. name: deliverygoodsid
  24658. type: integer
  24659. produces:
  24660. - application/json
  24661. responses:
  24662. "200":
  24663. description: OK
  24664. schema:
  24665. items:
  24666. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24667. type: array
  24668. "500":
  24669. description: Internal Server Error
  24670. schema:
  24671. $ref: '#/definitions/app.Response'
  24672. security:
  24673. - ApiKeyAuth: []
  24674. summary: 查询商品品类
  24675. tags:
  24676. - 企业风险管理v3(app)
  24677. /Ermcp3/QueryGoodsbrand:
  24678. get:
  24679. parameters:
  24680. - description: 用户id
  24681. in: query
  24682. name: userid
  24683. required: true
  24684. type: integer
  24685. - description: 用户类型 2-机构 7-企业成员
  24686. in: query
  24687. name: usertype
  24688. type: integer
  24689. produces:
  24690. - application/json
  24691. responses:
  24692. "200":
  24693. description: OK
  24694. schema:
  24695. items:
  24696. $ref: '#/definitions/models.Ermcp3Brand'
  24697. type: array
  24698. "500":
  24699. description: Internal Server Error
  24700. schema:
  24701. $ref: '#/definitions/app.Response'
  24702. security:
  24703. - ApiKeyAuth: []
  24704. summary: 查询商品品牌
  24705. tags:
  24706. - 企业风险管理v3(app)
  24707. /Ermcp3/QueryHPMiddleGoods:
  24708. get:
  24709. parameters:
  24710. - description: 用户ID(填登录用户的userid)
  24711. in: query
  24712. name: userid
  24713. required: true
  24714. type: integer
  24715. - description: 买卖方向 0-买 1-卖
  24716. in: query
  24717. name: buyorsell
  24718. required: true
  24719. type: integer
  24720. - description: 商品组id
  24721. in: query
  24722. name: goodsgroupid
  24723. required: true
  24724. type: integer
  24725. - description: 套保计划编号(模糊匹配)
  24726. in: query
  24727. name: hedgeplanno
  24728. type: string
  24729. - description: 现货商品名称(模糊匹配)
  24730. in: query
  24731. name: wrstandardname
  24732. type: string
  24733. produces:
  24734. - application/json
  24735. responses:
  24736. "200":
  24737. description: OK
  24738. schema:
  24739. items:
  24740. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24741. type: array
  24742. "500":
  24743. description: Internal Server Error
  24744. schema:
  24745. $ref: '#/definitions/app.Response'
  24746. security:
  24747. - ApiKeyAuth: []
  24748. summary: 查询可关联套保计划
  24749. tags:
  24750. - 企业风险管理v3(app)
  24751. /Ermcp3/QueryHedgePlan:
  24752. get:
  24753. parameters:
  24754. - description: 用户ID
  24755. in: query
  24756. name: userid
  24757. required: true
  24758. type: integer
  24759. - description: 用户类型 2-机构 7-企业成员
  24760. in: query
  24761. name: usertype
  24762. type: integer
  24763. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24764. in: query
  24765. name: hedgeplanstatus
  24766. required: true
  24767. type: string
  24768. produces:
  24769. - application/json
  24770. responses:
  24771. "200":
  24772. description: OK
  24773. schema:
  24774. items:
  24775. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24776. type: array
  24777. "500":
  24778. description: Internal Server Error
  24779. schema:
  24780. $ref: '#/definitions/app.Response'
  24781. security:
  24782. - ApiKeyAuth: []
  24783. summary: 查询套保计划
  24784. tags:
  24785. - 企业风险管理v3(app)
  24786. /Ermcp3/QueryInnerTradeLink:
  24787. get:
  24788. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24789. parameters:
  24790. - description: 外部成交单号
  24791. in: query
  24792. name: outtradeid
  24793. required: true
  24794. type: integer
  24795. produces:
  24796. - application/json
  24797. responses:
  24798. "200":
  24799. description: OK
  24800. schema:
  24801. items:
  24802. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24803. type: array
  24804. "500":
  24805. description: Internal Server Error
  24806. schema:
  24807. $ref: '#/definitions/app.Response'
  24808. security:
  24809. - ApiKeyAuth: []
  24810. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24811. tags:
  24812. - 企业风险管理v3(app)
  24813. /Ermcp3/QueryMiddleGoodsDetail:
  24814. get:
  24815. parameters:
  24816. - description: 用户id
  24817. in: query
  24818. name: userid
  24819. required: true
  24820. type: integer
  24821. - description: 用户类型 2-机构 7-企业成员
  24822. in: query
  24823. name: usertype
  24824. type: integer
  24825. - description: 套保品种id
  24826. in: query
  24827. name: middlegoodsid
  24828. type: integer
  24829. produces:
  24830. - application/json
  24831. responses:
  24832. "200":
  24833. description: OK
  24834. schema:
  24835. items:
  24836. $ref: '#/definitions/models.TBMiddleGoods'
  24837. type: array
  24838. "500":
  24839. description: Internal Server Error
  24840. schema:
  24841. $ref: '#/definitions/app.Response'
  24842. security:
  24843. - ApiKeyAuth: []
  24844. summary: 查询套保品种详情(套保品种/商品详情)
  24845. tags:
  24846. - 企业风险管理v3(app)
  24847. /Ermcp3/QueryOutTradeLink:
  24848. get:
  24849. description: 页面 app 现货->期现关联->外部成交单关联
  24850. parameters:
  24851. - description: 用户ID(填登录用户的userid)
  24852. in: query
  24853. name: userid
  24854. required: true
  24855. type: integer
  24856. - description: 外部订单号(模糊匹配)
  24857. in: query
  24858. name: outtradeid
  24859. type: string
  24860. - description: 合约名称/代码(模糊匹配)
  24861. in: query
  24862. name: goodsname
  24863. type: string
  24864. - description: 关联状态 0-未关联 1-已关联
  24865. in: query
  24866. name: hasinnerorder
  24867. type: integer
  24868. produces:
  24869. - application/json
  24870. responses:
  24871. "200":
  24872. description: OK
  24873. schema:
  24874. items:
  24875. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24876. type: array
  24877. "500":
  24878. description: Internal Server Error
  24879. schema:
  24880. $ref: '#/definitions/app.Response'
  24881. security:
  24882. - ApiKeyAuth: []
  24883. summary: 查询外部成交单关联
  24884. tags:
  24885. - 企业风险管理v3(app)
  24886. /Ermcp3/QueryPaAreaAuditCfg:
  24887. get:
  24888. parameters:
  24889. - description: 用户id
  24890. in: query
  24891. name: userid
  24892. required: true
  24893. type: integer
  24894. produces:
  24895. - application/json
  24896. responses:
  24897. "200":
  24898. description: OK
  24899. schema:
  24900. items:
  24901. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24902. type: array
  24903. "500":
  24904. description: Internal Server Error
  24905. schema:
  24906. $ref: '#/definitions/app.Response'
  24907. security:
  24908. - ApiKeyAuth: []
  24909. summary: 查询审核设置
  24910. tags:
  24911. - 企业风险管理v3(app)
  24912. /Ermcp3/QueryPaAreaSubject:
  24913. get:
  24914. parameters:
  24915. - description: 用户id
  24916. in: query
  24917. name: userid
  24918. required: true
  24919. type: integer
  24920. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24921. in: query
  24922. name: subjectid
  24923. type: integer
  24924. - description: 主体类型 - 1:交易主体 2:业务部门
  24925. in: query
  24926. name: subjecttype
  24927. type: integer
  24928. - description: '主体状态 - 1:正常 2: 停用'
  24929. in: query
  24930. name: subjectstatus
  24931. type: integer
  24932. produces:
  24933. - application/json
  24934. responses:
  24935. "200":
  24936. description: OK
  24937. schema:
  24938. items:
  24939. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24940. type: array
  24941. "500":
  24942. description: Internal Server Error
  24943. schema:
  24944. $ref: '#/definitions/app.Response'
  24945. security:
  24946. - ApiKeyAuth: []
  24947. summary: 查询交易主体
  24948. tags:
  24949. - 企业风险管理v3(app)
  24950. /Ermcp3/QueryPaTradeLink:
  24951. get:
  24952. description: 页面 app 现货->期现关联->期现单据关联
  24953. parameters:
  24954. - description: 用户ID
  24955. in: query
  24956. name: userid
  24957. required: true
  24958. type: integer
  24959. produces:
  24960. - application/json
  24961. responses:
  24962. "200":
  24963. description: OK
  24964. schema:
  24965. items:
  24966. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24967. type: array
  24968. "500":
  24969. description: Internal Server Error
  24970. schema:
  24971. $ref: '#/definitions/app.Response'
  24972. security:
  24973. - ApiKeyAuth: []
  24974. summary: 查询期现单据关联
  24975. tags:
  24976. - 企业风险管理v3(app)
  24977. /Ermcp3/QueryPaTradeLinkDetail:
  24978. get:
  24979. description: 页面 app 现货->期现关联->关联记录
  24980. parameters:
  24981. - description: 用户ID(填登录用户的userid)
  24982. in: query
  24983. name: userid
  24984. required: true
  24985. type: integer
  24986. - description: 关联状态 1:成功 2:失败 3:解绑
  24987. in: query
  24988. name: linkstatus
  24989. type: integer
  24990. - description: 期货订单号(模糊匹配)
  24991. in: query
  24992. name: tradeid
  24993. type: string
  24994. - description: 现货编号(模糊匹配)
  24995. in: query
  24996. name: contractno
  24997. type: string
  24998. - description: 期货账户(模糊匹配)
  24999. in: query
  25000. name: taname
  25001. type: string
  25002. produces:
  25003. - application/json
  25004. responses:
  25005. "200":
  25006. description: OK
  25007. schema:
  25008. items:
  25009. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25010. type: array
  25011. "500":
  25012. description: Internal Server Error
  25013. schema:
  25014. $ref: '#/definitions/app.Response'
  25015. security:
  25016. - ApiKeyAuth: []
  25017. summary: 查询期现关联记录
  25018. tags:
  25019. - 企业风险管理v3(app)
  25020. /Ermcp3/QueryParamChangeApp:
  25021. get:
  25022. description: |-
  25023. 原型页面:
  25024. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25025. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25026. parameters:
  25027. - description: 用户ID
  25028. in: query
  25029. name: userid
  25030. required: true
  25031. type: integer
  25032. - description: 现货品种id
  25033. in: query
  25034. name: deliverygoodsid
  25035. type: integer
  25036. - description: 现货商品id
  25037. in: query
  25038. name: wrstandardid
  25039. type: integer
  25040. - description: 套保商品id
  25041. in: query
  25042. name: middlegoodsid
  25043. type: integer
  25044. - description: 操作类型 1:新增 2:修改
  25045. in: query
  25046. name: operatetype
  25047. type: integer
  25048. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25049. in: query
  25050. name: paramchangetype
  25051. type: integer
  25052. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25053. in: query
  25054. name: ftstatus
  25055. type: string
  25056. produces:
  25057. - application/json
  25058. responses:
  25059. "200":
  25060. description: OK
  25061. schema:
  25062. items:
  25063. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25064. type: array
  25065. "500":
  25066. description: Internal Server Error
  25067. schema:
  25068. $ref: '#/definitions/app.Response'
  25069. security:
  25070. - ApiKeyAuth: []
  25071. summary: 查询现货商品参数变更申请(流水)
  25072. tags:
  25073. - 企业风险管理v3(app)
  25074. /Ermcp3/QueryRootUserAccount:
  25075. get:
  25076. parameters:
  25077. - description: 用户ID
  25078. in: query
  25079. name: userid
  25080. required: true
  25081. type: integer
  25082. produces:
  25083. - application/json
  25084. responses:
  25085. "200":
  25086. description: OK
  25087. schema:
  25088. items:
  25089. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25090. type: array
  25091. "500":
  25092. description: Internal Server Error
  25093. schema:
  25094. $ref: '#/definitions/app.Response'
  25095. security:
  25096. - ApiKeyAuth: []
  25097. summary: 查询顶级用户信息
  25098. tags:
  25099. - 企业风险管理v3(app)
  25100. /Ermcp3/QuerySCMiddleGoods:
  25101. get:
  25102. description: |-
  25103. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25104. 现货编号 即 合同编号
  25105. parameters:
  25106. - description: 用户ID(填登录用户的userid)
  25107. in: query
  25108. name: userid
  25109. required: true
  25110. type: integer
  25111. - description: 买卖方向 0-买 1-卖
  25112. in: query
  25113. name: buyorsell
  25114. required: true
  25115. type: integer
  25116. - description: 商品组id
  25117. in: query
  25118. name: goodsgroupid
  25119. required: true
  25120. type: integer
  25121. - description: 业务类型 1:套保 2:套利
  25122. in: query
  25123. name: biztype
  25124. type: integer
  25125. - description: 现货编号(模糊匹配)
  25126. in: query
  25127. name: contractno
  25128. type: string
  25129. - description: 对手方(模糊匹配)
  25130. in: query
  25131. name: customername
  25132. type: string
  25133. - description: 现货商品名称(模糊匹配)
  25134. in: query
  25135. name: wrstandardname
  25136. type: string
  25137. produces:
  25138. - application/json
  25139. responses:
  25140. "200":
  25141. description: OK
  25142. schema:
  25143. items:
  25144. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25145. type: array
  25146. "500":
  25147. description: Internal Server Error
  25148. schema:
  25149. $ref: '#/definitions/app.Response'
  25150. security:
  25151. - ApiKeyAuth: []
  25152. summary: 查询现货订单
  25153. tags:
  25154. - 企业风险管理v3(app)
  25155. /Ermcp3/QuerySpotContract:
  25156. get:
  25157. parameters:
  25158. - description: 用户id(当指定contractid, userid可不填)
  25159. in: query
  25160. name: userid
  25161. required: true
  25162. type: integer
  25163. - description: 用户类型 2-机构 7-企业成员
  25164. in: query
  25165. name: usertype
  25166. type: integer
  25167. - description: 合同类型 1-采购, -1-销售
  25168. in: query
  25169. name: contracttype
  25170. type: integer
  25171. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25172. in: query
  25173. name: querytype
  25174. type: string
  25175. - description: 合同ID(SpotContractId)
  25176. in: query
  25177. name: contractid
  25178. type: string
  25179. - description: 合同编号(模糊匹配)
  25180. in: query
  25181. name: contractno
  25182. type: string
  25183. - description: 商品名称(模糊匹配)
  25184. in: query
  25185. name: wrstandardname
  25186. type: string
  25187. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25188. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25189. in: query
  25190. name: status
  25191. type: string
  25192. - description: 是否只查今日的合同 1-查今日合同
  25193. in: query
  25194. name: istoday
  25195. type: integer
  25196. produces:
  25197. - application/json
  25198. responses:
  25199. "200":
  25200. description: OK
  25201. schema:
  25202. items:
  25203. $ref: '#/definitions/models.Ermcp3Contract'
  25204. type: array
  25205. "500":
  25206. description: Internal Server Error
  25207. schema:
  25208. $ref: '#/definitions/app.Response'
  25209. security:
  25210. - ApiKeyAuth: []
  25211. summary: 查询现货合同
  25212. tags:
  25213. - 企业风险管理v3(app)
  25214. /Ermcp3/QuerySpotContractBS:
  25215. get:
  25216. parameters:
  25217. - description: 用户id
  25218. in: query
  25219. name: userid
  25220. required: true
  25221. type: integer
  25222. - description: 用户类型 2-机构 7-企业成员
  25223. in: query
  25224. name: usertype
  25225. type: integer
  25226. - description: 合同类型 1-采购, -1-销售
  25227. in: query
  25228. name: contracttype
  25229. required: true
  25230. type: integer
  25231. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25232. in: query
  25233. name: querytype
  25234. type: integer
  25235. - description: 合同ID(SpotContractId)
  25236. in: query
  25237. name: contractid
  25238. type: string
  25239. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25240. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25241. in: query
  25242. name: status
  25243. type: string
  25244. - description: 是否只查今日的合同 1-查今日合同
  25245. in: query
  25246. name: istoday
  25247. type: integer
  25248. produces:
  25249. - application/json
  25250. responses:
  25251. "200":
  25252. description: OK
  25253. schema:
  25254. items:
  25255. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25256. type: array
  25257. "500":
  25258. description: Internal Server Error
  25259. schema:
  25260. $ref: '#/definitions/app.Response'
  25261. security:
  25262. - ApiKeyAuth: []
  25263. summary: 查询合同(采购/销售)
  25264. tags:
  25265. - 企业风险管理v3(app)
  25266. /Ermcp3/QuerySpotGoodsPrice:
  25267. get:
  25268. parameters:
  25269. - description: 用户ID
  25270. in: query
  25271. name: userid
  25272. required: true
  25273. type: integer
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. items:
  25281. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25282. type: array
  25283. "500":
  25284. description: Internal Server Error
  25285. schema:
  25286. $ref: '#/definitions/app.Response'
  25287. security:
  25288. - ApiKeyAuth: []
  25289. summary: 查询现货市价(现货市价)
  25290. tags:
  25291. - 企业风险管理v3(app)
  25292. /Ermcp3/QuerySpotGoodsPriceLog:
  25293. get:
  25294. parameters:
  25295. - description: 用户ID
  25296. in: query
  25297. name: userid
  25298. required: true
  25299. type: integer
  25300. - description: 现货商品ID
  25301. in: query
  25302. name: deliverygoodsid
  25303. required: true
  25304. type: integer
  25305. - description: 品牌ID
  25306. in: query
  25307. name: brandid
  25308. type: integer
  25309. - description: 品类ID
  25310. in: query
  25311. name: wrstandardid
  25312. type: integer
  25313. produces:
  25314. - application/json
  25315. responses:
  25316. "200":
  25317. description: OK
  25318. schema:
  25319. items:
  25320. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25321. type: array
  25322. "500":
  25323. description: Internal Server Error
  25324. schema:
  25325. $ref: '#/definitions/app.Response'
  25326. security:
  25327. - ApiKeyAuth: []
  25328. summary: 查询现货市价详情(现货市价/详情)
  25329. tags:
  25330. - 企业风险管理v3(app)
  25331. /Ermcp3/QuerySubTaaccount:
  25332. get:
  25333. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25334. parameters:
  25335. - description: 母账号id
  25336. in: query
  25337. name: parentaccountid
  25338. type: integer
  25339. - description: 母账号代码
  25340. in: query
  25341. name: parentaccountcode
  25342. type: string
  25343. produces:
  25344. - application/json
  25345. responses:
  25346. "200":
  25347. description: OK
  25348. schema:
  25349. items:
  25350. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25351. type: array
  25352. "500":
  25353. description: Internal Server Error
  25354. schema:
  25355. $ref: '#/definitions/app.Response'
  25356. security:
  25357. - ApiKeyAuth: []
  25358. summary: 查询期货子账户
  25359. tags:
  25360. - 企业风险管理v3(app)
  25361. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25362. get:
  25363. parameters:
  25364. - description: 套期项目ID
  25365. in: query
  25366. name: hedgeditemid
  25367. required: true
  25368. type: integer
  25369. produces:
  25370. - application/json
  25371. responses:
  25372. "200":
  25373. description: OK
  25374. schema:
  25375. items:
  25376. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25377. type: array
  25378. "500":
  25379. description: Internal Server Error
  25380. schema:
  25381. $ref: '#/definitions/app.Response'
  25382. security:
  25383. - ApiKeyAuth: []
  25384. summary: 现货成交明细查询
  25385. tags:
  25386. - 企业风险管理v8
  25387. /Ermcp8/QueryERMCP2HedgedItemspot:
  25388. get:
  25389. parameters:
  25390. - description: 套期项目ID
  25391. in: query
  25392. name: hedgeditemid
  25393. required: true
  25394. type: integer
  25395. produces:
  25396. - application/json
  25397. responses:
  25398. "200":
  25399. description: OK
  25400. schema:
  25401. items:
  25402. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25403. type: array
  25404. "500":
  25405. description: Internal Server Error
  25406. schema:
  25407. $ref: '#/definitions/app.Response'
  25408. security:
  25409. - ApiKeyAuth: []
  25410. summary: 套期计划明细查询
  25411. tags:
  25412. - 企业风险管理v8
  25413. /Ermcp8/QueryERMCPJRLinkPos:
  25414. get:
  25415. parameters:
  25416. - description: 套期项目ID
  25417. in: query
  25418. name: hedgeditemid
  25419. required: true
  25420. type: integer
  25421. produces:
  25422. - application/json
  25423. responses:
  25424. "200":
  25425. description: OK
  25426. schema:
  25427. items:
  25428. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25429. type: array
  25430. "500":
  25431. description: Internal Server Error
  25432. schema:
  25433. $ref: '#/definitions/app.Response'
  25434. security:
  25435. - ApiKeyAuth: []
  25436. summary: 期货持仓明细查询
  25437. tags:
  25438. - 企业风险管理v8
  25439. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25440. get:
  25441. parameters:
  25442. - description: 套期项目ID
  25443. in: query
  25444. name: hedgeditemid
  25445. required: true
  25446. type: integer
  25447. produces:
  25448. - application/json
  25449. responses:
  25450. "200":
  25451. description: OK
  25452. schema:
  25453. items:
  25454. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25455. type: array
  25456. "500":
  25457. description: Internal Server Error
  25458. schema:
  25459. $ref: '#/definitions/app.Response'
  25460. security:
  25461. - ApiKeyAuth: []
  25462. summary: 期货成交单明细查询
  25463. tags:
  25464. - 企业风险管理v8
  25465. /Ermcp8/QueryErmcp2AreaExposure:
  25466. get:
  25467. parameters:
  25468. - description: 用户ID
  25469. in: query
  25470. name: userid
  25471. required: true
  25472. type: string
  25473. produces:
  25474. - application/json
  25475. responses:
  25476. "200":
  25477. description: OK
  25478. schema:
  25479. items:
  25480. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25481. type: array
  25482. "500":
  25483. description: Internal Server Error
  25484. schema:
  25485. $ref: '#/definitions/app.Response'
  25486. security:
  25487. - ApiKeyAuth: []
  25488. summary: 企业敞口查询
  25489. tags:
  25490. - 企业风险管理v8
  25491. /Ermcp8/QueryErmcp2HedgedItem:
  25492. get:
  25493. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25494. parameters:
  25495. - description: 用户ID
  25496. in: query
  25497. name: userid
  25498. required: true
  25499. type: string
  25500. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25501. in: query
  25502. name: hedgedtype
  25503. type: integer
  25504. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25505. in: query
  25506. name: hedgeditemstatus
  25507. type: integer
  25508. produces:
  25509. - application/json
  25510. responses:
  25511. "200":
  25512. description: OK
  25513. schema:
  25514. items:
  25515. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25516. type: array
  25517. "500":
  25518. description: Internal Server Error
  25519. schema:
  25520. $ref: '#/definitions/app.Response'
  25521. security:
  25522. - ApiKeyAuth: []
  25523. summary: 查询被套期项目信息
  25524. tags:
  25525. - 企业风险管理v8
  25526. /Ermcp8/QueryErmcp2HedgedItemLink:
  25527. get:
  25528. parameters:
  25529. - description: 现货合同ID
  25530. in: query
  25531. name: spotcontractid
  25532. required: true
  25533. type: integer
  25534. produces:
  25535. - application/json
  25536. responses:
  25537. "200":
  25538. description: OK
  25539. schema:
  25540. items:
  25541. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  25542. type: array
  25543. "500":
  25544. description: Internal Server Error
  25545. schema:
  25546. $ref: '#/definitions/app.Response'
  25547. security:
  25548. - ApiKeyAuth: []
  25549. summary: 现货合同关联被套期项目查询
  25550. tags:
  25551. - 企业风险管理v8
  25552. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25553. get:
  25554. parameters:
  25555. - description: 用户ID
  25556. in: query
  25557. name: userid
  25558. required: true
  25559. type: integer
  25560. - description: 套保品种ID
  25561. in: query
  25562. name: middlegoodsid
  25563. required: true
  25564. type: integer
  25565. produces:
  25566. - application/json
  25567. responses:
  25568. "200":
  25569. description: OK
  25570. schema:
  25571. items:
  25572. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25573. type: array
  25574. "500":
  25575. description: Internal Server Error
  25576. schema:
  25577. $ref: '#/definitions/app.Response'
  25578. security:
  25579. - ApiKeyAuth: []
  25580. summary: 敞口明细 - 计划变动明细
  25581. tags:
  25582. - 企业风险管理v8
  25583. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25584. get:
  25585. parameters:
  25586. - description: 用户ID
  25587. in: query
  25588. name: userid
  25589. required: true
  25590. type: integer
  25591. - description: 套保品种ID
  25592. in: query
  25593. name: middlegoodsid
  25594. required: true
  25595. type: integer
  25596. produces:
  25597. - application/json
  25598. responses:
  25599. "200":
  25600. description: OK
  25601. schema:
  25602. items:
  25603. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25604. type: array
  25605. "500":
  25606. description: Internal Server Error
  25607. schema:
  25608. $ref: '#/definitions/app.Response'
  25609. security:
  25610. - ApiKeyAuth: []
  25611. summary: 敞口明细 - 现货变动明细查询
  25612. tags:
  25613. - 企业风险管理v8
  25614. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25615. get:
  25616. parameters:
  25617. - description: 用户ID
  25618. in: query
  25619. name: userid
  25620. required: true
  25621. type: integer
  25622. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25623. in: query
  25624. name: spottype
  25625. required: true
  25626. type: integer
  25627. - description: 现货商品ID
  25628. in: query
  25629. name: wrstandardid
  25630. type: integer
  25631. produces:
  25632. - application/json
  25633. responses:
  25634. "200":
  25635. description: OK
  25636. schema:
  25637. items:
  25638. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25639. type: array
  25640. "500":
  25641. description: Internal Server Error
  25642. schema:
  25643. $ref: '#/definitions/app.Response'
  25644. security:
  25645. - ApiKeyAuth: []
  25646. summary: 可关联项目查询
  25647. tags:
  25648. - 企业风险管理v8
  25649. /Ermcp8/QueryErmcp8HedgeditemReport:
  25650. get:
  25651. parameters:
  25652. - description: 用户ID
  25653. in: query
  25654. name: userid
  25655. required: true
  25656. type: integer
  25657. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25658. in: query
  25659. name: cycletype
  25660. type: integer
  25661. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25662. 全(0)【原值】
  25663. in: query
  25664. name: cycletime
  25665. required: true
  25666. type: string
  25667. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25668. in: query
  25669. name: hedgedtype
  25670. type: integer
  25671. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25672. in: query
  25673. name: hedgeditemstatus
  25674. type: integer
  25675. - description: 项目编号,模糊查询
  25676. in: query
  25677. name: hedgeditemnum
  25678. type: string
  25679. - description: 现货商品ID
  25680. in: query
  25681. name: wrstandardid
  25682. type: integer
  25683. produces:
  25684. - application/json
  25685. responses:
  25686. "200":
  25687. description: OK
  25688. schema:
  25689. items:
  25690. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25691. type: array
  25692. "500":
  25693. description: Internal Server Error
  25694. schema:
  25695. $ref: '#/definitions/app.Response'
  25696. security:
  25697. - ApiKeyAuth: []
  25698. summary: 套期项目报表查询
  25699. tags:
  25700. - 企业风险管理v8
  25701. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25702. get:
  25703. parameters:
  25704. - description: 用户ID
  25705. in: query
  25706. name: userid
  25707. required: true
  25708. type: string
  25709. produces:
  25710. - application/json
  25711. responses:
  25712. "200":
  25713. description: OK
  25714. schema:
  25715. items:
  25716. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25717. type: array
  25718. "500":
  25719. description: Internal Server Error
  25720. schema:
  25721. $ref: '#/definitions/app.Response'
  25722. security:
  25723. - ApiKeyAuth: []
  25724. summary: 查询执行中项目查询信息
  25725. tags:
  25726. - 企业风险管理v8
  25727. /Ermcp8/QueryInternalEnableTradeDetail:
  25728. get:
  25729. parameters:
  25730. - description: 企业ID
  25731. in: query
  25732. name: areauserid
  25733. required: true
  25734. type: integer
  25735. - description: 期货合约ID
  25736. in: query
  25737. name: goodsid
  25738. required: true
  25739. type: integer
  25740. - description: 交易用户ID
  25741. in: query
  25742. name: tradeuserid
  25743. required: true
  25744. type: integer
  25745. produces:
  25746. - application/json
  25747. responses:
  25748. "200":
  25749. description: OK
  25750. schema:
  25751. items:
  25752. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25753. type: array
  25754. "500":
  25755. description: Internal Server Error
  25756. schema:
  25757. $ref: '#/definitions/app.Response'
  25758. security:
  25759. - ApiKeyAuth: []
  25760. summary: 内部成交单可关联项目查询
  25761. tags:
  25762. - 企业风险管理v8
  25763. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25764. get:
  25765. parameters:
  25766. - description: 用户编号
  25767. in: query
  25768. name: userid
  25769. required: true
  25770. type: integer
  25771. - description: 起始日期(格式yyyymmdd)
  25772. in: query
  25773. name: begindate
  25774. type: string
  25775. - description: 终止日期(格式yyyymmdd)
  25776. in: query
  25777. name: enddate
  25778. type: string
  25779. - description: 合约代码
  25780. in: query
  25781. name: goodscode
  25782. type: string
  25783. - description: 合约名称
  25784. in: query
  25785. name: goodsname
  25786. type: string
  25787. - description: 成交单号
  25788. in: query
  25789. name: tradeid
  25790. type: integer
  25791. - description: 方向 - 0:买 1:卖
  25792. in: query
  25793. name: buyorsell
  25794. type: integer
  25795. - description: 套期主体
  25796. in: query
  25797. name: accountname
  25798. type: string
  25799. produces:
  25800. - application/json
  25801. responses:
  25802. "200":
  25803. description: OK
  25804. schema:
  25805. items:
  25806. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25807. type: array
  25808. "500":
  25809. description: Internal Server Error
  25810. schema:
  25811. $ref: '#/definitions/app.Response'
  25812. security:
  25813. - ApiKeyAuth: []
  25814. summary: 内部未关联成交单查询
  25815. tags:
  25816. - 企业风险管理v8
  25817. /Ermcp8/QueryMarketCalendar:
  25818. get:
  25819. parameters:
  25820. - description: 市场ID
  25821. in: query
  25822. name: marketid
  25823. type: integer
  25824. produces:
  25825. - application/json
  25826. responses:
  25827. "200":
  25828. description: OK
  25829. schema:
  25830. items:
  25831. $ref: '#/definitions/models.Marketcalendar'
  25832. type: array
  25833. "500":
  25834. description: Internal Server Error
  25835. schema:
  25836. $ref: '#/definitions/app.Response'
  25837. security:
  25838. - ApiKeyAuth: []
  25839. summary: 市场节假日查询
  25840. tags:
  25841. - 企业风险管理v8
  25842. /Ermcp8/QueryPatradeLinkDetail:
  25843. get:
  25844. parameters:
  25845. - description: 用户ID
  25846. in: query
  25847. name: userid
  25848. required: true
  25849. type: integer
  25850. - description: 套保品种ID
  25851. in: query
  25852. name: middlegoodsid
  25853. required: true
  25854. type: integer
  25855. produces:
  25856. - application/json
  25857. responses:
  25858. "200":
  25859. description: OK
  25860. schema:
  25861. items:
  25862. $ref: '#/definitions/models.Patradelinkdetail'
  25863. type: array
  25864. "500":
  25865. description: Internal Server Error
  25866. schema:
  25867. $ref: '#/definitions/app.Response'
  25868. security:
  25869. - ApiKeyAuth: []
  25870. summary: 敞口明细 - 期货变动明细
  25871. tags:
  25872. - 企业风险管理v8
  25873. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25874. get:
  25875. parameters:
  25876. - description: 企业ID
  25877. in: query
  25878. name: areauserid
  25879. required: true
  25880. type: integer
  25881. - description: 计划类型 - 1:采购 -1:销售
  25882. in: query
  25883. name: contracttype
  25884. type: integer
  25885. - description: 计划编号,模糊查询
  25886. in: query
  25887. name: hedgeplanno
  25888. type: string
  25889. - description: 现货商品,模糊查询
  25890. in: query
  25891. name: wrstandardname
  25892. type: string
  25893. produces:
  25894. - application/json
  25895. responses:
  25896. "200":
  25897. description: OK
  25898. schema:
  25899. items:
  25900. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25901. type: array
  25902. "500":
  25903. description: Internal Server Error
  25904. schema:
  25905. $ref: '#/definitions/app.Response'
  25906. security:
  25907. - ApiKeyAuth: []
  25908. summary: 未关联购销计划
  25909. tags:
  25910. - 企业风险管理v8
  25911. /Ermcp8/QueryUnLinkSpotContract:
  25912. get:
  25913. parameters:
  25914. - description: 用户ID
  25915. in: query
  25916. name: userid
  25917. required: true
  25918. type: integer
  25919. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25920. in: query
  25921. name: pricetype
  25922. type: integer
  25923. - description: 合同编号, 模拟查询
  25924. in: query
  25925. name: contractno
  25926. type: string
  25927. - description: 对手方, 模拟查询
  25928. in: query
  25929. name: customername
  25930. type: string
  25931. - description: 项合同类型 - 1:采购 -1:销售
  25932. in: query
  25933. name: contracttype
  25934. type: integer
  25935. produces:
  25936. - application/json
  25937. responses:
  25938. "200":
  25939. description: OK
  25940. schema:
  25941. items:
  25942. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25943. type: array
  25944. "500":
  25945. description: Internal Server Error
  25946. schema:
  25947. $ref: '#/definitions/app.Response'
  25948. security:
  25949. - ApiKeyAuth: []
  25950. summary: 未关联合同查询
  25951. tags:
  25952. - 企业风险管理v8
  25953. /Erms2/QueryArbitrageStrategy:
  25954. get:
  25955. parameters:
  25956. - description: 账户ID
  25957. in: query
  25958. name: userid
  25959. required: true
  25960. type: integer
  25961. - description: 商品组ID(品种ID)
  25962. in: query
  25963. name: goodsgroupid
  25964. type: string
  25965. produces:
  25966. - application/json
  25967. responses:
  25968. "200":
  25969. description: OK
  25970. schema:
  25971. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25972. "500":
  25973. description: Internal Server Error
  25974. schema:
  25975. $ref: '#/definitions/app.Response'
  25976. security:
  25977. - ApiKeyAuth: []
  25978. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25979. tags:
  25980. - 风险管理
  25981. /Erms2/QueryInnerTradeDetail:
  25982. get:
  25983. parameters:
  25984. - description: 资金账户
  25985. in: query
  25986. name: accountid
  25987. required: true
  25988. type: integer
  25989. produces:
  25990. - application/json
  25991. responses:
  25992. "200":
  25993. description: OK
  25994. schema:
  25995. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25996. "500":
  25997. description: Internal Server Error
  25998. schema:
  25999. $ref: '#/definitions/app.Response'
  26000. security:
  26001. - ApiKeyAuth: []
  26002. summary: 查询内部成交单信息
  26003. tags:
  26004. - 风险管理
  26005. /Erms2/QuerySpotContract:
  26006. get:
  26007. parameters:
  26008. - description: 策略申请ID
  26009. in: query
  26010. name: asapplyid
  26011. required: true
  26012. type: integer
  26013. - description: 现货合同ID
  26014. in: query
  26015. name: spotcontractid
  26016. type: integer
  26017. produces:
  26018. - application/json
  26019. responses:
  26020. "200":
  26021. description: OK
  26022. schema:
  26023. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26024. "500":
  26025. description: Internal Server Error
  26026. schema:
  26027. $ref: '#/definitions/app.Response'
  26028. security:
  26029. - ApiKeyAuth: []
  26030. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26031. tags:
  26032. - 风险管理
  26033. /Erms3/AddErms2ASApply:
  26034. post:
  26035. parameters:
  26036. - description: 申请参数
  26037. in: body
  26038. name: jsonBody
  26039. required: true
  26040. schema:
  26041. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26042. produces:
  26043. - application/json
  26044. responses:
  26045. "200":
  26046. description: OK
  26047. schema:
  26048. $ref: '#/definitions/app.Response'
  26049. "500":
  26050. description: Internal Server Error
  26051. schema:
  26052. $ref: '#/definitions/app.Response'
  26053. security:
  26054. - ApiKeyAuth: []
  26055. summary: 新增期现套利业务申请
  26056. tags:
  26057. - 风险管理v3
  26058. /Erms3/AddErms2SpotTradeApply:
  26059. post:
  26060. parameters:
  26061. - description: 申请参数
  26062. in: body
  26063. name: jsonBody
  26064. required: true
  26065. schema:
  26066. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26067. produces:
  26068. - application/json
  26069. responses:
  26070. "200":
  26071. description: OK
  26072. schema:
  26073. $ref: '#/definitions/app.Response'
  26074. "500":
  26075. description: Internal Server Error
  26076. schema:
  26077. $ref: '#/definitions/app.Response'
  26078. security:
  26079. - ApiKeyAuth: []
  26080. summary: 新增现货贸易业务申请
  26081. tags:
  26082. - 风险管理v3
  26083. /Erms3/AddSpotContractApply:
  26084. post:
  26085. parameters:
  26086. - description: 申请参数
  26087. in: body
  26088. name: jsonBody
  26089. required: true
  26090. schema:
  26091. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26092. produces:
  26093. - application/json
  26094. responses:
  26095. "200":
  26096. description: OK
  26097. schema:
  26098. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26099. "500":
  26100. description: Internal Server Error
  26101. schema:
  26102. $ref: '#/definitions/app.Response'
  26103. security:
  26104. - ApiKeyAuth: []
  26105. summary: 新增现货合同申请
  26106. tags:
  26107. - 风险管理v3
  26108. /Erms3/AddUserInfoApply:
  26109. post:
  26110. parameters:
  26111. - description: 用户信息
  26112. in: body
  26113. name: jsonBody
  26114. required: true
  26115. schema:
  26116. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26117. produces:
  26118. - application/json
  26119. responses:
  26120. "200":
  26121. description: OK
  26122. schema:
  26123. $ref: '#/definitions/app.Response'
  26124. "500":
  26125. description: Internal Server Error
  26126. schema:
  26127. $ref: '#/definitions/app.Response'
  26128. security:
  26129. - ApiKeyAuth: []
  26130. summary: 新增客户申请
  26131. tags:
  26132. - 风险管理v3
  26133. /Erms3/DeleteUserInfoApply:
  26134. get:
  26135. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26136. parameters:
  26137. - description: 用户ID
  26138. in: query
  26139. name: userID
  26140. required: true
  26141. type: integer
  26142. produces:
  26143. - application/json
  26144. responses:
  26145. "200":
  26146. description: OK
  26147. schema:
  26148. $ref: '#/definitions/app.Response'
  26149. "500":
  26150. description: Internal Server Error
  26151. schema:
  26152. $ref: '#/definitions/app.Response'
  26153. security:
  26154. - ApiKeyAuth: []
  26155. summary: 删除客户申请
  26156. tags:
  26157. - 风险管理v3
  26158. /Erms3/ModifyUserInfoApply:
  26159. post:
  26160. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26161. int, "userstate": 2 }'
  26162. parameters:
  26163. - description: 用户信息
  26164. in: body
  26165. name: jsonBody
  26166. required: true
  26167. schema:
  26168. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26169. produces:
  26170. - application/json
  26171. responses:
  26172. "200":
  26173. description: OK
  26174. schema:
  26175. $ref: '#/definitions/app.Response'
  26176. "500":
  26177. description: Internal Server Error
  26178. schema:
  26179. $ref: '#/definitions/app.Response'
  26180. security:
  26181. - ApiKeyAuth: []
  26182. summary: 修改客户申请
  26183. tags:
  26184. - 风险管理v3
  26185. /Erms3/QueryBusinessInfo:
  26186. get:
  26187. parameters:
  26188. - description: 资金账号ID列表,用逗号分隔
  26189. in: query
  26190. name: accountids
  26191. required: true
  26192. type: string
  26193. - description: 状态,0为未结束 1为已结束
  26194. in: query
  26195. name: status
  26196. required: true
  26197. type: integer
  26198. produces:
  26199. - application/json
  26200. responses:
  26201. "200":
  26202. description: OK
  26203. schema:
  26204. items:
  26205. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26206. type: array
  26207. "500":
  26208. description: Internal Server Error
  26209. schema:
  26210. $ref: '#/definitions/app.Response'
  26211. security:
  26212. - ApiKeyAuth: []
  26213. summary: 查询业务表单数据
  26214. tags:
  26215. - 风险管理v3
  26216. /Erms3/QueryPendingAuditContract:
  26217. get:
  26218. parameters:
  26219. - description: 资金账号ID列表,逗号隔开
  26220. in: query
  26221. name: accountids
  26222. required: true
  26223. type: string
  26224. - description: 合同类型 1-采购 -1-销售
  26225. in: query
  26226. name: contracttype
  26227. required: true
  26228. type: integer
  26229. - description: 合同模式 1-普通 2-回购
  26230. in: query
  26231. name: contractmode
  26232. required: true
  26233. type: integer
  26234. produces:
  26235. - application/json
  26236. responses:
  26237. "200":
  26238. description: OK
  26239. schema:
  26240. items:
  26241. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26242. type: array
  26243. "500":
  26244. description: Internal Server Error
  26245. schema:
  26246. $ref: '#/definitions/app.Response'
  26247. security:
  26248. - ApiKeyAuth: []
  26249. summary: 查询待审核合同
  26250. tags:
  26251. - 风险管理v3
  26252. /Erms3/QueryPendingBusiness:
  26253. get:
  26254. parameters:
  26255. - description: 资金账号ID列表,逗号隔开
  26256. in: query
  26257. name: accountids
  26258. required: true
  26259. type: string
  26260. produces:
  26261. - application/json
  26262. responses:
  26263. "200":
  26264. description: OK
  26265. schema:
  26266. items:
  26267. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26268. type: array
  26269. "500":
  26270. description: Internal Server Error
  26271. schema:
  26272. $ref: '#/definitions/app.Response'
  26273. security:
  26274. - ApiKeyAuth: []
  26275. summary: 查询待审核基差贸易业务
  26276. tags:
  26277. - 风险管理v3
  26278. /Erms3/QuerySpotContractAppleForm:
  26279. get:
  26280. parameters:
  26281. - description: 登录账号
  26282. in: query
  26283. name: loginID
  26284. required: true
  26285. type: integer
  26286. produces:
  26287. - application/json
  26288. responses:
  26289. "200":
  26290. description: OK
  26291. schema:
  26292. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26293. "500":
  26294. description: Internal Server Error
  26295. schema:
  26296. $ref: '#/definitions/app.Response'
  26297. security:
  26298. - ApiKeyAuth: []
  26299. summary: 查询合同申请表单数据
  26300. tags:
  26301. - 风险管理v3
  26302. /Erms3/QuerySpotContractDetail:
  26303. get:
  26304. parameters:
  26305. - description: 资金账号ID列表,用逗号分隔
  26306. in: query
  26307. name: accountids
  26308. required: true
  26309. type: string
  26310. - description: 合同类型,1为采购合同 -1为销售合同
  26311. in: query
  26312. name: contracttype
  26313. required: true
  26314. type: integer
  26315. - description: 合同模式,1为普通合同 2为回购销售合同
  26316. in: query
  26317. name: contractmode
  26318. required: true
  26319. type: integer
  26320. - description: 状态,0为履约中 1为已完成
  26321. in: query
  26322. name: status
  26323. required: true
  26324. type: integer
  26325. produces:
  26326. - application/json
  26327. responses:
  26328. "200":
  26329. description: OK
  26330. schema:
  26331. items:
  26332. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26333. type: array
  26334. "500":
  26335. description: Internal Server Error
  26336. schema:
  26337. $ref: '#/definitions/app.Response'
  26338. security:
  26339. - ApiKeyAuth: []
  26340. summary: 查询合同详细信息
  26341. tags:
  26342. - 风险管理v3
  26343. /Erms3/QueryUserInfoApplies:
  26344. get:
  26345. parameters:
  26346. - description: 页码
  26347. in: query
  26348. name: page
  26349. type: integer
  26350. - description: 每页条数
  26351. in: query
  26352. name: pagesize
  26353. type: integer
  26354. - description: 客户名称,支持模糊查询
  26355. in: query
  26356. name: userName
  26357. type: string
  26358. produces:
  26359. - application/json
  26360. responses:
  26361. "200":
  26362. description: OK
  26363. schema:
  26364. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26365. "500":
  26366. description: Internal Server Error
  26367. schema:
  26368. $ref: '#/definitions/app.Response'
  26369. security:
  26370. - ApiKeyAuth: []
  26371. summary: 客户申请信息查询
  26372. tags:
  26373. - 风险管理v3
  26374. /Erms3/QueryUserInfos:
  26375. get:
  26376. parameters:
  26377. - description: 页码
  26378. in: query
  26379. name: page
  26380. type: integer
  26381. - description: 每页条数
  26382. in: query
  26383. name: pagesize
  26384. type: integer
  26385. - description: 客户名称,支持模糊查询
  26386. in: query
  26387. name: userName
  26388. type: string
  26389. produces:
  26390. - application/json
  26391. responses:
  26392. "200":
  26393. description: OK
  26394. schema:
  26395. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26396. "500":
  26397. description: Internal Server Error
  26398. schema:
  26399. $ref: '#/definitions/app.Response'
  26400. security:
  26401. - ApiKeyAuth: []
  26402. summary: 客户信息查询
  26403. tags:
  26404. - 风险管理v3
  26405. /HSBY/GetHsbyMyCount:
  26406. get:
  26407. description: 说明: 不包括已完成的数量。
  26408. parameters:
  26409. - description: 资金账户列表,格式:1,2,3
  26410. in: query
  26411. name: accountIDs
  26412. required: true
  26413. type: string
  26414. produces:
  26415. - application/json
  26416. responses:
  26417. "200":
  26418. description: OK
  26419. schema:
  26420. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26421. "500":
  26422. description: Internal Server Error
  26423. schema:
  26424. $ref: '#/definitions/app.Response'
  26425. security:
  26426. - ApiKeyAuth: []
  26427. summary: 获取我的订单与包裹数量
  26428. tags:
  26429. - 定制【海商报业】
  26430. /HSBY/QueryClientFixedADConfigs:
  26431. get:
  26432. produces:
  26433. - application/json
  26434. responses:
  26435. "200":
  26436. description: OK
  26437. schema:
  26438. $ref: '#/definitions/models.Clientfixedadconfig'
  26439. "500":
  26440. description: Internal Server Error
  26441. schema:
  26442. $ref: '#/definitions/app.Response'
  26443. security:
  26444. - ApiKeyAuth: []
  26445. summary: 获取终端固定广告配置
  26446. tags:
  26447. - 定制【海商报业】
  26448. /HSBY/QueryHsbyBuyMyTradeDetail:
  26449. get:
  26450. parameters:
  26451. - description: 页码
  26452. in: query
  26453. name: page
  26454. type: integer
  26455. - description: 每页条数
  26456. in: query
  26457. name: pagesize
  26458. type: integer
  26459. - description: 资金账户列表,格式:1,2,3
  26460. in: query
  26461. name: accountIDs
  26462. required: true
  26463. type: string
  26464. produces:
  26465. - application/json
  26466. responses:
  26467. "200":
  26468. description: OK
  26469. schema:
  26470. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26471. "500":
  26472. description: Internal Server Error
  26473. schema:
  26474. $ref: '#/definitions/app.Response'
  26475. security:
  26476. - ApiKeyAuth: []
  26477. summary: 查询"我的订单 - 已完成"单据信息
  26478. tags:
  26479. - 定制【海商报业】
  26480. /HSBY/QueryHsbyGoodsOrderDetails:
  26481. get:
  26482. description: 说明:查询结果已按委托价格和委托时间排序
  26483. parameters:
  26484. - description: 商品ID
  26485. in: query
  26486. name: goodsID
  26487. required: true
  26488. type: integer
  26489. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26490. in: query
  26491. name: accountIDs
  26492. type: string
  26493. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26494. in: query
  26495. name: buyOrSell
  26496. type: integer
  26497. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26498. in: query
  26499. name: price
  26500. type: number
  26501. - description: 档位,不传则默认为3档
  26502. in: query
  26503. name: speed
  26504. type: integer
  26505. produces:
  26506. - application/json
  26507. responses:
  26508. "200":
  26509. description: OK
  26510. schema:
  26511. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26512. "500":
  26513. description: Internal Server Error
  26514. schema:
  26515. $ref: '#/definitions/app.Response'
  26516. security:
  26517. - ApiKeyAuth: []
  26518. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26519. tags:
  26520. - 定制【海商报业】
  26521. /HSBY/QueryHsbyListingGoodsDetail:
  26522. get:
  26523. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26524. parameters:
  26525. - description: 商品ID
  26526. in: query
  26527. name: goodsID
  26528. required: true
  26529. type: integer
  26530. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26531. in: query
  26532. name: accountID
  26533. type: integer
  26534. produces:
  26535. - application/json
  26536. responses:
  26537. "200":
  26538. description: OK
  26539. schema:
  26540. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26541. "500":
  26542. description: Internal Server Error
  26543. schema:
  26544. $ref: '#/definitions/app.Response'
  26545. security:
  26546. - ApiKeyAuth: []
  26547. summary: 查询二级市场(挂牌点选)商品信息详情
  26548. tags:
  26549. - 定制【海商报业】
  26550. /HSBY/QueryHsbyMarketGoodsDetail:
  26551. get:
  26552. parameters:
  26553. - description: 委托单号
  26554. in: query
  26555. name: orderID
  26556. required: true
  26557. type: integer
  26558. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26559. in: query
  26560. name: accountID
  26561. type: integer
  26562. produces:
  26563. - application/json
  26564. responses:
  26565. "200":
  26566. description: OK
  26567. schema:
  26568. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26569. "500":
  26570. description: Internal Server Error
  26571. schema:
  26572. $ref: '#/definitions/app.Response'
  26573. security:
  26574. - ApiKeyAuth: []
  26575. summary: 查询三级市场(商城)商品信息详情
  26576. tags:
  26577. - 定制【海商报业】
  26578. /HSBY/QueryHsbyMarketGoodses:
  26579. get:
  26580. parameters:
  26581. - description: 页码
  26582. in: query
  26583. name: page
  26584. type: integer
  26585. - description: 每页条数
  26586. in: query
  26587. name: pagesize
  26588. type: integer
  26589. - description: 市场ID列表,格式:1,2,3
  26590. in: query
  26591. name: marketIDs
  26592. required: true
  26593. type: string
  26594. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26595. in: query
  26596. name: accountID
  26597. required: true
  26598. type: integer
  26599. - description: 类别ID
  26600. in: query
  26601. name: categoryID
  26602. type: integer
  26603. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26604. in: query
  26605. name: goodsIDs
  26606. type: string
  26607. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26608. in: query
  26609. name: couponTypeID
  26610. type: integer
  26611. produces:
  26612. - application/json
  26613. responses:
  26614. "200":
  26615. description: OK
  26616. schema:
  26617. $ref: '#/definitions/models.HsbyMarketGoods'
  26618. "500":
  26619. description: Internal Server Error
  26620. schema:
  26621. $ref: '#/definitions/app.Response'
  26622. security:
  26623. - ApiKeyAuth: []
  26624. summary: 查询特卖商品列表(三级商城)
  26625. tags:
  26626. - 定制【海商报业】
  26627. /HSBY/QueryHsbyMarkets:
  26628. get:
  26629. produces:
  26630. - application/json
  26631. responses:
  26632. "200":
  26633. description: OK
  26634. schema:
  26635. $ref: '#/definitions/models.HsbyMarketInfo'
  26636. "500":
  26637. description: Internal Server Error
  26638. schema:
  26639. $ref: '#/definitions/app.Response'
  26640. security:
  26641. - ApiKeyAuth: []
  26642. summary: 查询海商报业相关市场信息
  26643. tags:
  26644. - 定制【海商报业】
  26645. /HSBY/QueryHsbyMyBuyOrderDetails:
  26646. get:
  26647. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26648. parameters:
  26649. - description: 资金账户列表,格式:1,2,3
  26650. in: query
  26651. name: accountIDs
  26652. required: true
  26653. type: string
  26654. produces:
  26655. - application/json
  26656. responses:
  26657. "200":
  26658. description: OK
  26659. schema:
  26660. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26661. "500":
  26662. description: Internal Server Error
  26663. schema:
  26664. $ref: '#/definitions/app.Response'
  26665. security:
  26666. - ApiKeyAuth: []
  26667. summary: 查询“我的订单”信息
  26668. tags:
  26669. - 定制【海商报业】
  26670. /HSBY/QueryHsbyMyGoods:
  26671. get:
  26672. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26673. parameters:
  26674. - description: 资金账户列表,格式:1,2,3
  26675. in: query
  26676. name: accountIDs
  26677. required: true
  26678. type: string
  26679. produces:
  26680. - application/json
  26681. responses:
  26682. "200":
  26683. description: OK
  26684. schema:
  26685. $ref: '#/definitions/models.HsbyMyGoods'
  26686. "500":
  26687. description: Internal Server Error
  26688. schema:
  26689. $ref: '#/definitions/app.Response'
  26690. security:
  26691. - ApiKeyAuth: []
  26692. summary: 查询“我的商品”信息
  26693. tags:
  26694. - 定制【海商报业】
  26695. /HSBY/QueryHsbyMyPackages:
  26696. get:
  26697. parameters:
  26698. - description: 资金账户列表,格式:1,2,3
  26699. in: query
  26700. name: accountIDs
  26701. required: true
  26702. type: string
  26703. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26704. in: query
  26705. name: takeOrderStatus
  26706. type: integer
  26707. produces:
  26708. - application/json
  26709. responses:
  26710. "200":
  26711. description: OK
  26712. schema:
  26713. $ref: '#/definitions/models.HsbyMyPackage'
  26714. "500":
  26715. description: Internal Server Error
  26716. schema:
  26717. $ref: '#/definitions/app.Response'
  26718. security:
  26719. - ApiKeyAuth: []
  26720. summary: 查询我的包裹信息
  26721. tags:
  26722. - 定制【海商报业】
  26723. /HSBY/QueryHsbyPreGoodsDetail:
  26724. get:
  26725. parameters:
  26726. - description: 商品ID
  26727. in: query
  26728. name: goodsID
  26729. required: true
  26730. type: integer
  26731. - description: 资金账户,主要用于获取预售商品购买上限
  26732. in: query
  26733. name: accountID
  26734. type: integer
  26735. produces:
  26736. - application/json
  26737. responses:
  26738. "200":
  26739. description: OK
  26740. schema:
  26741. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26742. "500":
  26743. description: Internal Server Error
  26744. schema:
  26745. $ref: '#/definitions/app.Response'
  26746. security:
  26747. - ApiKeyAuth: []
  26748. summary: 查询一级市场(预售)商品信息详情
  26749. tags:
  26750. - 定制【海商报业】
  26751. /HSBY/QueryHsbyPreGoodses:
  26752. get:
  26753. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26754. parameters:
  26755. - description: 页码
  26756. in: query
  26757. name: page
  26758. type: integer
  26759. - description: 每页条数
  26760. in: query
  26761. name: pagesize
  26762. type: integer
  26763. - description: 市场ID列表,格式:1,2,3
  26764. in: query
  26765. name: marketIDs
  26766. required: true
  26767. type: string
  26768. - description: 目的地(省)ID
  26769. in: query
  26770. name: descProvinceID
  26771. type: integer
  26772. - description: 目的地(市)ID
  26773. in: query
  26774. name: descCityID
  26775. type: integer
  26776. produces:
  26777. - application/json
  26778. responses:
  26779. "200":
  26780. description: OK
  26781. schema:
  26782. $ref: '#/definitions/models.HsbyPreGoods'
  26783. "500":
  26784. description: Internal Server Error
  26785. schema:
  26786. $ref: '#/definitions/app.Response'
  26787. security:
  26788. - ApiKeyAuth: []
  26789. summary: 查询新品上市商品列表(一级市场预售)
  26790. tags:
  26791. - 定制【海商报业】
  26792. /HSBY/QueryHsbySellMyDetails:
  26793. get:
  26794. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26795. parameters:
  26796. - description: 页码
  26797. in: query
  26798. name: page
  26799. type: integer
  26800. - description: 每页条数
  26801. in: query
  26802. name: pagesize
  26803. type: integer
  26804. - description: 资金账户列表,格式:1,2,3
  26805. in: query
  26806. name: accountIDs
  26807. required: true
  26808. type: string
  26809. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26810. in: query
  26811. name: orderType
  26812. type: integer
  26813. produces:
  26814. - application/json
  26815. responses:
  26816. "200":
  26817. description: OK
  26818. schema:
  26819. $ref: '#/definitions/models.HsbySellMyDetail'
  26820. "500":
  26821. description: Internal Server Error
  26822. schema:
  26823. $ref: '#/definitions/app.Response'
  26824. security:
  26825. - ApiKeyAuth: []
  26826. summary: 查询"我的闲置"单据信息
  26827. tags:
  26828. - 定制【海商报业】
  26829. /HSBY/QueryHsbyTopGoodses:
  26830. get:
  26831. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26832. parameters:
  26833. - description: 页码
  26834. in: query
  26835. name: page
  26836. type: integer
  26837. - description: 每页条数
  26838. in: query
  26839. name: pagesize
  26840. type: integer
  26841. - description: 市场ID列表,格式:1,2,3
  26842. in: query
  26843. name: marketIDs
  26844. required: true
  26845. type: string
  26846. - description: 目的地(省)ID
  26847. in: query
  26848. name: descProvinceID
  26849. type: integer
  26850. - description: 目的地(市)ID
  26851. in: query
  26852. name: descCityID
  26853. type: integer
  26854. produces:
  26855. - application/json
  26856. responses:
  26857. "200":
  26858. description: OK
  26859. schema:
  26860. $ref: '#/definitions/models.HsbyTopGoods'
  26861. "500":
  26862. description: Internal Server Error
  26863. schema:
  26864. $ref: '#/definitions/app.Response'
  26865. security:
  26866. - ApiKeyAuth: []
  26867. summary: 查询热卖商品列表(二级市场挂牌点选)
  26868. tags:
  26869. - 定制【海商报业】
  26870. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26871. get:
  26872. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26873. parameters:
  26874. - description: 商品ID
  26875. in: query
  26876. name: goodsID
  26877. required: true
  26878. type: integer
  26879. produces:
  26880. - application/json
  26881. responses:
  26882. "200":
  26883. description: OK
  26884. schema:
  26885. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26886. "500":
  26887. description: Internal Server Error
  26888. schema:
  26889. $ref: '#/definitions/app.Response'
  26890. security:
  26891. - ApiKeyAuth: []
  26892. summary: 查询游客三级市场(商城)商品信息详情
  26893. tags:
  26894. - 定制【海商报业】
  26895. /HSBY/QueryHsbyVisitorMarketGoodses:
  26896. get:
  26897. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26898. parameters:
  26899. - description: 页码
  26900. in: query
  26901. name: page
  26902. type: integer
  26903. - description: 每页条数
  26904. in: query
  26905. name: pagesize
  26906. type: integer
  26907. - description: 市场ID列表,格式:1,2,3
  26908. in: query
  26909. name: marketIDs
  26910. required: true
  26911. type: string
  26912. - description: 类别ID
  26913. in: query
  26914. name: categoryID
  26915. type: integer
  26916. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26917. in: query
  26918. name: goodsIDs
  26919. type: string
  26920. produces:
  26921. - application/json
  26922. responses:
  26923. "200":
  26924. description: OK
  26925. schema:
  26926. $ref: '#/definitions/models.HsbyMarketGoods'
  26927. "500":
  26928. description: Internal Server Error
  26929. schema:
  26930. $ref: '#/definitions/app.Response'
  26931. security:
  26932. - ApiKeyAuth: []
  26933. summary: 查询游客特卖商品列表(三级商城)
  26934. tags:
  26935. - 定制【海商报业】
  26936. /HSBY/QueryMyCollectionOrders:
  26937. get:
  26938. parameters:
  26939. - description: 页码
  26940. in: query
  26941. name: page
  26942. type: integer
  26943. - description: 每页条数
  26944. in: query
  26945. name: pagesize
  26946. type: integer
  26947. - description: 资金账户,格式:1,2,3
  26948. in: query
  26949. name: accountIDs
  26950. required: true
  26951. type: string
  26952. produces:
  26953. - application/json
  26954. responses:
  26955. "200":
  26956. description: OK
  26957. schema:
  26958. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26959. "500":
  26960. description: Internal Server Error
  26961. schema:
  26962. $ref: '#/definitions/app.Response'
  26963. security:
  26964. - ApiKeyAuth: []
  26965. summary: 我的闲置中收款信息查询
  26966. tags:
  26967. - 定制【海商报业】
  26968. /HSBY/QueryMyCouponHolds:
  26969. get:
  26970. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26971. parameters:
  26972. - description: 资金账户列表,格式:1,2,3
  26973. in: query
  26974. name: accountIDs
  26975. required: true
  26976. type: string
  26977. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26978. in: query
  26979. name: holdStatus
  26980. type: string
  26981. produces:
  26982. - application/json
  26983. responses:
  26984. "200":
  26985. description: OK
  26986. schema:
  26987. $ref: '#/definitions/models.MyCouponHold'
  26988. "500":
  26989. description: Internal Server Error
  26990. schema:
  26991. $ref: '#/definitions/app.Response'
  26992. security:
  26993. - ApiKeyAuth: []
  26994. summary: 我的优惠卷持仓查询
  26995. tags:
  26996. - 定制【海商报业】
  26997. /HSBY/QueryMyCoupons:
  26998. get:
  26999. parameters:
  27000. - description: 资金账户列表,格式:1,2,3
  27001. in: query
  27002. name: accountIDs
  27003. required: true
  27004. type: string
  27005. - description: 商品ID, 一般与sellUserID配套传入
  27006. in: query
  27007. name: goodsID
  27008. type: integer
  27009. - description: 卖方UserID
  27010. in: query
  27011. name: sellUserID
  27012. type: integer
  27013. produces:
  27014. - application/json
  27015. responses:
  27016. "200":
  27017. description: OK
  27018. schema:
  27019. $ref: '#/definitions/models.MyCoupon'
  27020. "500":
  27021. description: Internal Server Error
  27022. schema:
  27023. $ref: '#/definitions/app.Response'
  27024. security:
  27025. - ApiKeyAuth: []
  27026. summary: 我的优惠卷查询
  27027. tags:
  27028. - 定制【海商报业】
  27029. /HSBY/QueryMyPayOrders:
  27030. get:
  27031. parameters:
  27032. - description: 页码
  27033. in: query
  27034. name: page
  27035. type: integer
  27036. - description: 每页条数
  27037. in: query
  27038. name: pagesize
  27039. type: integer
  27040. - description: 资金账户列表,格式:1,2,3
  27041. in: query
  27042. name: accountIDs
  27043. required: true
  27044. type: string
  27045. - description: 买方委托单号
  27046. in: query
  27047. name: buyOrderID
  27048. type: integer
  27049. - description: 卖方委托单号
  27050. in: query
  27051. name: sellOrderID
  27052. type: integer
  27053. produces:
  27054. - application/json
  27055. responses:
  27056. "200":
  27057. description: OK
  27058. schema:
  27059. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  27060. "500":
  27061. description: Internal Server Error
  27062. schema:
  27063. $ref: '#/definitions/app.Response'
  27064. security:
  27065. - ApiKeyAuth: []
  27066. summary: 获取我的订单中待付款信息
  27067. tags:
  27068. - 定制【海商报业】
  27069. /HSBY/QueryMyUsedCoupon:
  27070. get:
  27071. parameters:
  27072. - description: 资金账户列表,格式:1,2,3
  27073. in: query
  27074. name: accountIDs
  27075. required: true
  27076. type: string
  27077. produces:
  27078. - application/json
  27079. responses:
  27080. "200":
  27081. description: OK
  27082. schema:
  27083. $ref: '#/definitions/models.MyUsedCoupon'
  27084. "500":
  27085. description: Internal Server Error
  27086. schema:
  27087. $ref: '#/definitions/app.Response'
  27088. security:
  27089. - ApiKeyAuth: []
  27090. summary: 已使用优惠卷查询
  27091. tags:
  27092. - 定制【海商报业】
  27093. /HSBY/QueryProvincesAndCities:
  27094. get:
  27095. description: 查询结果只包括二级市场商品已关连的省市信息。
  27096. parameters:
  27097. - description: 省ID
  27098. in: query
  27099. name: provinceID
  27100. type: integer
  27101. produces:
  27102. - application/json
  27103. responses:
  27104. "200":
  27105. description: OK
  27106. schema:
  27107. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  27108. "500":
  27109. description: Internal Server Error
  27110. schema:
  27111. $ref: '#/definitions/app.Response'
  27112. security:
  27113. - ApiKeyAuth: []
  27114. summary: 查询省市信息(不包括区)
  27115. tags:
  27116. - 定制【海商报业】
  27117. /HSBY/SetHsbyMyPackagesStatus:
  27118. post:
  27119. parameters:
  27120. - description: 提货单号
  27121. in: query
  27122. name: takeOrderID
  27123. required: true
  27124. type: string
  27125. - description: 资金账号
  27126. in: query
  27127. name: accountID
  27128. required: true
  27129. type: integer
  27130. produces:
  27131. - application/json
  27132. responses:
  27133. "200":
  27134. description: OK
  27135. schema:
  27136. $ref: '#/definitions/app.Response'
  27137. "500":
  27138. description: Internal Server Error
  27139. schema:
  27140. $ref: '#/definitions/app.Response'
  27141. security:
  27142. - ApiKeyAuth: []
  27143. summary: 设置我的包裹已收货状态
  27144. tags:
  27145. - 定制【海商报业】
  27146. /Market/GetAllExExchanges:
  27147. get:
  27148. produces:
  27149. - application/json
  27150. responses:
  27151. "200":
  27152. description: OK
  27153. schema:
  27154. $ref: '#/definitions/models.Goods'
  27155. "500":
  27156. description: Internal Server Error
  27157. schema:
  27158. $ref: '#/definitions/app.Response'
  27159. security:
  27160. - ApiKeyAuth: []
  27161. summary: 获取所有外部交易所信息
  27162. tags:
  27163. - 通用市场
  27164. /Market/QueryGoodsesByLoginID:
  27165. get:
  27166. parameters:
  27167. - description: 登录账号
  27168. in: query
  27169. name: loginID
  27170. required: true
  27171. type: integer
  27172. - description: 市场ID列表,格式:1,2,3
  27173. in: query
  27174. name: marketIDs
  27175. type: string
  27176. produces:
  27177. - application/json
  27178. responses:
  27179. "200":
  27180. description: OK
  27181. schema:
  27182. $ref: '#/definitions/models.Goods'
  27183. "500":
  27184. description: Internal Server Error
  27185. schema:
  27186. $ref: '#/definitions/app.Response'
  27187. security:
  27188. - ApiKeyAuth: []
  27189. summary: 获取登录账号有权限的商品信息
  27190. tags:
  27191. - 通用市场
  27192. /Market/QueryMarketRun:
  27193. get:
  27194. parameters:
  27195. - description: 市场ID,不传返回所有
  27196. in: query
  27197. name: marketID
  27198. type: integer
  27199. produces:
  27200. - application/json
  27201. responses:
  27202. "200":
  27203. description: OK
  27204. schema:
  27205. $ref: '#/definitions/models.Marketrun'
  27206. "500":
  27207. description: Internal Server Error
  27208. schema:
  27209. $ref: '#/definitions/app.Response'
  27210. security:
  27211. - ApiKeyAuth: []
  27212. summary: 查询市场运行信息
  27213. tags:
  27214. - 通用市场
  27215. /Market/QueryMarketsByLoginID:
  27216. get:
  27217. parameters:
  27218. - description: 登录账号
  27219. in: query
  27220. name: loginID
  27221. required: true
  27222. type: integer
  27223. produces:
  27224. - application/json
  27225. responses:
  27226. "200":
  27227. description: OK
  27228. schema:
  27229. $ref: '#/definitions/models.Market'
  27230. "500":
  27231. description: Internal Server Error
  27232. schema:
  27233. $ref: '#/definitions/app.Response'
  27234. security:
  27235. - ApiKeyAuth: []
  27236. summary: 获取登录账号有权限的市场信息
  27237. tags:
  27238. - 通用市场
  27239. /Order/QueryHisTradeDetail:
  27240. get:
  27241. parameters:
  27242. - description: 资金账户 - 格式:1,2,3
  27243. in: query
  27244. name: accountID
  27245. required: true
  27246. type: string
  27247. - description: 成交单号
  27248. in: query
  27249. name: tradeID
  27250. type: integer
  27251. - description: 委托单号
  27252. in: query
  27253. name: orderID
  27254. type: integer
  27255. - description: 商品ID
  27256. in: query
  27257. name: goodsID
  27258. type: integer
  27259. - description: 交易模式 - 格式:1,2,3
  27260. in: query
  27261. name: tradeMode
  27262. type: string
  27263. - description: 委托单据类型
  27264. in: query
  27265. name: buildType
  27266. type: integer
  27267. - description: 成交类别 - 格式:1,2,3
  27268. in: query
  27269. name: tradeType
  27270. type: string
  27271. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27272. in: query
  27273. name: startDate
  27274. type: string
  27275. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27276. in: query
  27277. name: endDate
  27278. type: string
  27279. produces:
  27280. - application/json
  27281. responses:
  27282. "200":
  27283. description: OK
  27284. schema:
  27285. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27286. "500":
  27287. description: Internal Server Error
  27288. schema:
  27289. $ref: '#/definitions/app.Response'
  27290. security:
  27291. - ApiKeyAuth: []
  27292. summary: 历史成交单查询(合约市场)
  27293. tags:
  27294. - 通用单据
  27295. /Order/QueryHisTradeOrderDetail:
  27296. get:
  27297. parameters:
  27298. - description: 资金账户 - 格式:1,2,3
  27299. in: query
  27300. name: accountID
  27301. required: true
  27302. type: string
  27303. - description: 交易模式 - 格式:1,2,3
  27304. in: query
  27305. name: tradeMode
  27306. type: string
  27307. - description: 委托状态 - 格式:1,2,3
  27308. in: query
  27309. name: orderStatus
  27310. type: string
  27311. - description: 委托单号
  27312. in: query
  27313. name: orderID
  27314. type: integer
  27315. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27316. in: query
  27317. name: startDate
  27318. type: string
  27319. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27320. in: query
  27321. name: endDate
  27322. type: string
  27323. produces:
  27324. - application/json
  27325. responses:
  27326. "200":
  27327. description: OK
  27328. schema:
  27329. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27330. "500":
  27331. description: Internal Server Error
  27332. schema:
  27333. $ref: '#/definitions/app.Response'
  27334. security:
  27335. - ApiKeyAuth: []
  27336. summary: 历史委托单查询请求(合约市场)
  27337. tags:
  27338. - 通用单据
  27339. /Order/QueryTradeDetail:
  27340. get:
  27341. parameters:
  27342. - description: 资金账户 - 格式:1,2,3
  27343. in: query
  27344. name: accountID
  27345. required: true
  27346. type: string
  27347. - description: 成交单号
  27348. in: query
  27349. name: tradeID
  27350. type: integer
  27351. - description: 委托单号
  27352. in: query
  27353. name: orderID
  27354. type: integer
  27355. - description: 交易模式 - 格式:1,2,3
  27356. in: query
  27357. name: tradeMode
  27358. type: string
  27359. - description: 委托单据类型
  27360. in: query
  27361. name: buildType
  27362. type: integer
  27363. - description: 成交类别 - 格式:1,2,3
  27364. in: query
  27365. name: tradeType
  27366. type: string
  27367. - description: 商品ID
  27368. in: query
  27369. name: goodsID
  27370. type: integer
  27371. produces:
  27372. - application/json
  27373. responses:
  27374. "200":
  27375. description: OK
  27376. schema:
  27377. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27378. "500":
  27379. description: Internal Server Error
  27380. schema:
  27381. $ref: '#/definitions/app.Response'
  27382. security:
  27383. - ApiKeyAuth: []
  27384. summary: 成交单查询(合约市场)
  27385. tags:
  27386. - 通用单据
  27387. /Order/QueryTradeHolderDetail:
  27388. get:
  27389. parameters:
  27390. - description: 用户id
  27391. in: query
  27392. name: userid
  27393. type: integer
  27394. - description: 资金账号, 格式 1,2,3
  27395. in: query
  27396. name: accids
  27397. type: string
  27398. - description: 交易模式, 格式 1,2,3
  27399. in: query
  27400. name: trademodes
  27401. type: string
  27402. - description: 市场id, 格式 1,2,3
  27403. in: query
  27404. name: marketids
  27405. type: string
  27406. - description: 商品id
  27407. in: query
  27408. name: goodsid
  27409. type: integer
  27410. - description: 买卖方向 0-买 1-卖
  27411. in: query
  27412. name: buyorsell
  27413. type: integer
  27414. produces:
  27415. - application/json
  27416. responses:
  27417. "200":
  27418. description: OK
  27419. schema:
  27420. items:
  27421. $ref: '#/definitions/models.TradeHolderDetail'
  27422. type: array
  27423. "500":
  27424. description: Internal Server Error
  27425. schema:
  27426. $ref: '#/definitions/app.Response'
  27427. security:
  27428. - ApiKeyAuth: []
  27429. summary: 查询持仓明细
  27430. tags:
  27431. - 通用单据
  27432. /Order/QueryTradeOrderDetail:
  27433. get:
  27434. parameters:
  27435. - description: 资金账户 - 格式:1,2,3
  27436. in: query
  27437. name: accountID
  27438. required: true
  27439. type: string
  27440. - description: 交易模式 - 格式:1,2,3
  27441. in: query
  27442. name: tradeMode
  27443. type: string
  27444. - description: 委托状态 - 格式:1,2,3
  27445. in: query
  27446. name: orderStatus
  27447. type: string
  27448. - description: 委托单号
  27449. in: query
  27450. name: orderID
  27451. type: integer
  27452. produces:
  27453. - application/json
  27454. responses:
  27455. "200":
  27456. description: OK
  27457. schema:
  27458. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27459. "500":
  27460. description: Internal Server Error
  27461. schema:
  27462. $ref: '#/definitions/app.Response'
  27463. security:
  27464. - ApiKeyAuth: []
  27465. summary: 委托单查询请求(合约市场)
  27466. tags:
  27467. - 通用单据
  27468. /Order/QueryTradePosition:
  27469. get:
  27470. parameters:
  27471. - description: 资金账户 - 格式:1,2,3
  27472. in: query
  27473. name: accountID
  27474. required: true
  27475. type: string
  27476. - description: 交易模式 - 格式:1,2,3
  27477. in: query
  27478. name: tradeMode
  27479. type: string
  27480. produces:
  27481. - application/json
  27482. responses:
  27483. "200":
  27484. description: OK
  27485. schema:
  27486. $ref: '#/definitions/order.QueryTradePositionRsp'
  27487. "500":
  27488. description: Internal Server Error
  27489. schema:
  27490. $ref: '#/definitions/app.Response'
  27491. security:
  27492. - ApiKeyAuth: []
  27493. summary: 持仓汇总查询(合约市场)
  27494. tags:
  27495. - 通用单据
  27496. /Qhj/QueryAccountInOutApply:
  27497. get:
  27498. parameters:
  27499. - description: 用户ID
  27500. in: query
  27501. name: userid
  27502. required: true
  27503. type: integer
  27504. - description: 申请起始日期(格式yyyymmdd)
  27505. in: query
  27506. name: begindate
  27507. type: string
  27508. - description: 申请截止日期(格式yyyymmdd)
  27509. in: query
  27510. name: enddate
  27511. type: string
  27512. - description: 模糊搜索名称
  27513. in: query
  27514. name: likename
  27515. type: string
  27516. produces:
  27517. - application/json
  27518. responses:
  27519. "200":
  27520. description: OK
  27521. schema:
  27522. items:
  27523. $ref: '#/definitions/models.QhjAccountOutInApply'
  27524. type: array
  27525. "500":
  27526. description: Internal Server Error
  27527. schema:
  27528. $ref: '#/definitions/app.Response'
  27529. security:
  27530. - ApiKeyAuth: []
  27531. summary: 查询充值提现
  27532. tags:
  27533. - 大连千海金
  27534. /Qhj/QueryAreaFinanceConfig:
  27535. get:
  27536. parameters:
  27537. - description: 机构用户ID 其他做市关系,都设置为 1
  27538. in: query
  27539. name: userid
  27540. type: integer
  27541. produces:
  27542. - application/json
  27543. responses:
  27544. "200":
  27545. description: OK
  27546. schema:
  27547. items:
  27548. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27549. type: array
  27550. "500":
  27551. description: Internal Server Error
  27552. schema:
  27553. $ref: '#/definitions/app.Response'
  27554. security:
  27555. - ApiKeyAuth: []
  27556. summary: 查询企业配置表
  27557. tags:
  27558. - 大连千海金
  27559. /Qhj/QueryBankAccountSign:
  27560. get:
  27561. parameters:
  27562. - description: 用户ID
  27563. in: query
  27564. name: userid
  27565. required: true
  27566. type: integer
  27567. produces:
  27568. - application/json
  27569. responses:
  27570. "200":
  27571. description: OK
  27572. schema:
  27573. items:
  27574. $ref: '#/definitions/models.QhjBankAccountSign'
  27575. type: array
  27576. "500":
  27577. description: Internal Server Error
  27578. schema:
  27579. $ref: '#/definitions/app.Response'
  27580. security:
  27581. - ApiKeyAuth: []
  27582. summary: 查询签约银行信息(提现账户管理)
  27583. tags:
  27584. - 大连千海金
  27585. /Qhj/QueryBankInfo:
  27586. get:
  27587. produces:
  27588. - application/json
  27589. responses:
  27590. "200":
  27591. description: OK
  27592. schema:
  27593. items:
  27594. $ref: '#/definitions/models.QhjBankInfo'
  27595. type: array
  27596. "500":
  27597. description: Internal Server Error
  27598. schema:
  27599. $ref: '#/definitions/app.Response'
  27600. security:
  27601. - ApiKeyAuth: []
  27602. summary: 查询开户行
  27603. tags:
  27604. - 大连千海金
  27605. /Qhj/QueryBrokerApply:
  27606. get:
  27607. parameters:
  27608. - description: 所属机构ID
  27609. in: query
  27610. name: userid
  27611. type: integer
  27612. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27613. in: query
  27614. name: filterstatus
  27615. type: string
  27616. produces:
  27617. - application/json
  27618. responses:
  27619. "200":
  27620. description: OK
  27621. schema:
  27622. items:
  27623. $ref: '#/definitions/models.QhjBrokerApply'
  27624. type: array
  27625. "500":
  27626. description: Internal Server Error
  27627. schema:
  27628. $ref: '#/definitions/app.Response'
  27629. security:
  27630. - ApiKeyAuth: []
  27631. summary: 查询经纪人申请
  27632. tags:
  27633. - 大连千海金
  27634. /Qhj/QueryBrokerApplyEx:
  27635. get:
  27636. parameters:
  27637. - description: 所属机构ID
  27638. in: query
  27639. name: userid
  27640. type: integer
  27641. produces:
  27642. - application/json
  27643. responses:
  27644. "200":
  27645. description: OK
  27646. schema:
  27647. items:
  27648. $ref: '#/definitions/models.QhjBrokerApplyEx'
  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/QueryBrokerRewardLog:
  27660. get:
  27661. parameters:
  27662. - description: 用户ID
  27663. in: query
  27664. name: userid
  27665. required: true
  27666. type: integer
  27667. - description: 开始交易日(yyyymmdd)
  27668. in: query
  27669. name: begindate
  27670. type: string
  27671. - description: 结束交易日(yyyymmdd)
  27672. in: query
  27673. name: enddate
  27674. type: string
  27675. produces:
  27676. - application/json
  27677. responses:
  27678. "200":
  27679. description: OK
  27680. schema:
  27681. items:
  27682. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27683. type: array
  27684. "500":
  27685. description: Internal Server Error
  27686. schema:
  27687. $ref: '#/definitions/app.Response'
  27688. security:
  27689. - ApiKeyAuth: []
  27690. summary: 查询奖励流水(我的奖励)
  27691. tags:
  27692. - 大连千海金
  27693. /Qhj/QueryContract:
  27694. get:
  27695. parameters:
  27696. - description: 用户ID
  27697. in: query
  27698. name: userid
  27699. type: integer
  27700. - description: scf合同id
  27701. in: query
  27702. name: scfcontractid
  27703. type: integer
  27704. produces:
  27705. - application/json
  27706. responses:
  27707. "200":
  27708. description: OK
  27709. schema:
  27710. items:
  27711. $ref: '#/definitions/models.QhjContract'
  27712. type: array
  27713. "500":
  27714. description: Internal Server Error
  27715. schema:
  27716. $ref: '#/definitions/app.Response'
  27717. security:
  27718. - ApiKeyAuth: []
  27719. summary: 查询融资明细(合同)
  27720. tags:
  27721. - 大连千海金
  27722. /Qhj/QueryContractLog:
  27723. get:
  27724. parameters:
  27725. - description: scf合同id
  27726. in: query
  27727. name: scfcontractid
  27728. required: true
  27729. type: integer
  27730. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27731. in: query
  27732. name: amounttype
  27733. type: string
  27734. produces:
  27735. - application/json
  27736. responses:
  27737. "200":
  27738. description: OK
  27739. schema:
  27740. items:
  27741. $ref: '#/definitions/models.QhjContractLog'
  27742. type: array
  27743. "500":
  27744. description: Internal Server Error
  27745. schema:
  27746. $ref: '#/definitions/app.Response'
  27747. security:
  27748. - ApiKeyAuth: []
  27749. summary: 查询融资明细流水(融资明细详情页中的流水)
  27750. tags:
  27751. - 大连千海金
  27752. /Qhj/QueryCusBankSignBank:
  27753. get:
  27754. produces:
  27755. - application/json
  27756. responses:
  27757. "200":
  27758. description: OK
  27759. schema:
  27760. items:
  27761. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27762. type: array
  27763. "500":
  27764. description: Internal Server Error
  27765. schema:
  27766. $ref: '#/definitions/app.Response'
  27767. security:
  27768. - ApiKeyAuth: []
  27769. summary: 查询托管银行
  27770. tags:
  27771. - 大连千海金
  27772. /Qhj/QueryCustomerInfo:
  27773. get:
  27774. parameters:
  27775. - description: 用户ID
  27776. in: query
  27777. name: userid
  27778. required: true
  27779. type: integer
  27780. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27781. in: query
  27782. name: querytype
  27783. required: true
  27784. type: integer
  27785. - description: 客户类型 1-个人 2-企业
  27786. in: query
  27787. name: userinfotype
  27788. type: integer
  27789. - description: 客户名称(模糊匹配)
  27790. in: query
  27791. name: customername
  27792. type: string
  27793. - description: 昵称(模糊匹配)
  27794. in: query
  27795. name: nickname
  27796. type: string
  27797. - description: 是否包含子级 1-包含
  27798. in: query
  27799. name: includesub
  27800. type: integer
  27801. produces:
  27802. - application/json
  27803. responses:
  27804. "200":
  27805. description: OK
  27806. schema:
  27807. items:
  27808. $ref: '#/definitions/models.QhjCustomer'
  27809. type: array
  27810. "500":
  27811. description: Internal Server Error
  27812. schema:
  27813. $ref: '#/definitions/app.Response'
  27814. security:
  27815. - ApiKeyAuth: []
  27816. summary: 查询客户资料
  27817. tags:
  27818. - 大连千海金
  27819. /Qhj/QueryGoodsEx:
  27820. get:
  27821. parameters:
  27822. - description: 商品id
  27823. in: query
  27824. name: goodsid
  27825. type: integer
  27826. produces:
  27827. - application/json
  27828. responses:
  27829. "200":
  27830. description: OK
  27831. schema:
  27832. items:
  27833. $ref: '#/definitions/models.Qhjgoodsex'
  27834. type: array
  27835. "500":
  27836. description: Internal Server Error
  27837. schema:
  27838. $ref: '#/definitions/app.Response'
  27839. security:
  27840. - ApiKeyAuth: []
  27841. summary: 交易商品扩展表
  27842. tags:
  27843. - 大连千海金
  27844. /Qhj/QueryMyTeam:
  27845. get:
  27846. parameters:
  27847. - description: 用户ID
  27848. in: query
  27849. name: userid
  27850. required: true
  27851. type: integer
  27852. produces:
  27853. - application/json
  27854. responses:
  27855. "200":
  27856. description: OK
  27857. schema:
  27858. items:
  27859. $ref: '#/definitions/models.QhjMyTeamEx'
  27860. type: array
  27861. "500":
  27862. description: Internal Server Error
  27863. schema:
  27864. $ref: '#/definitions/app.Response'
  27865. security:
  27866. - ApiKeyAuth: []
  27867. summary: 查询我的团队
  27868. tags:
  27869. - 大连千海金
  27870. /Qhj/QueryMyTeamOrder:
  27871. get:
  27872. parameters:
  27873. - description: 页码
  27874. in: query
  27875. name: page
  27876. type: integer
  27877. - description: 每页条数
  27878. in: query
  27879. name: pagesize
  27880. type: integer
  27881. - description: 用户ID
  27882. in: query
  27883. name: userid
  27884. required: true
  27885. type: integer
  27886. - description: 交易模式
  27887. in: query
  27888. name: trademode
  27889. type: integer
  27890. - description: 名称(模糊搜索账户)
  27891. in: query
  27892. name: filtername
  27893. type: string
  27894. produces:
  27895. - application/json
  27896. responses:
  27897. "200":
  27898. description: OK
  27899. schema:
  27900. items:
  27901. $ref: '#/definitions/models.QhjTeamOrder'
  27902. type: array
  27903. "500":
  27904. description: Internal Server Error
  27905. schema:
  27906. $ref: '#/definitions/app.Response'
  27907. security:
  27908. - ApiKeyAuth: []
  27909. summary: 查询团队订单(我的团队/团队订单)
  27910. tags:
  27911. - 大连千海金
  27912. /Qhj/QueryParentAreaList:
  27913. get:
  27914. parameters:
  27915. - description: 用户ID
  27916. in: query
  27917. name: userid
  27918. required: true
  27919. type: integer
  27920. produces:
  27921. - application/json
  27922. responses:
  27923. "200":
  27924. description: OK
  27925. schema:
  27926. items:
  27927. $ref: '#/definitions/models.QhjParentAreaList'
  27928. type: array
  27929. "500":
  27930. description: Internal Server Error
  27931. schema:
  27932. $ref: '#/definitions/app.Response'
  27933. security:
  27934. - ApiKeyAuth: []
  27935. summary: 查询所属机构列表
  27936. tags:
  27937. - 大连千海金
  27938. /Qhj/QueryPayOrder:
  27939. get:
  27940. parameters:
  27941. - description: 资金账号id
  27942. in: query
  27943. name: accountid
  27944. required: true
  27945. type: integer
  27946. - description: 成交单号
  27947. in: query
  27948. name: tradeid
  27949. type: integer
  27950. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27951. in: query
  27952. name: payflag
  27953. type: string
  27954. produces:
  27955. - application/json
  27956. responses:
  27957. "200":
  27958. description: OK
  27959. schema:
  27960. items:
  27961. $ref: '#/definitions/models.QhjPayOrder'
  27962. type: array
  27963. "500":
  27964. description: Internal Server Error
  27965. schema:
  27966. $ref: '#/definitions/app.Response'
  27967. security:
  27968. - ApiKeyAuth: []
  27969. summary: 查询待付款单据
  27970. tags:
  27971. - 大连千海金
  27972. /Qhj/QueryPickArea:
  27973. get:
  27974. parameters:
  27975. - description: 用户ID
  27976. in: query
  27977. name: userid
  27978. type: integer
  27979. produces:
  27980. - application/json
  27981. responses:
  27982. "200":
  27983. description: OK
  27984. schema:
  27985. items:
  27986. $ref: '#/definitions/models.QhjPickArea'
  27987. type: array
  27988. "500":
  27989. description: Internal Server Error
  27990. schema:
  27991. $ref: '#/definitions/app.Response'
  27992. security:
  27993. - ApiKeyAuth: []
  27994. summary: 查询提货门店
  27995. tags:
  27996. - 大连千海金
  27997. /Qhj/QueryPickGoods:
  27998. get:
  27999. parameters:
  28000. - description: 交易商品id
  28001. in: query
  28002. name: goodsid
  28003. required: true
  28004. type: integer
  28005. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28006. in: query
  28007. name: status
  28008. type: string
  28009. produces:
  28010. - application/json
  28011. responses:
  28012. "200":
  28013. description: OK
  28014. schema:
  28015. items:
  28016. $ref: '#/definitions/models.QhjPickGoods'
  28017. type: array
  28018. "500":
  28019. description: Internal Server Error
  28020. schema:
  28021. $ref: '#/definitions/app.Response'
  28022. security:
  28023. - ApiKeyAuth: []
  28024. summary: 查询提货商品
  28025. tags:
  28026. - 大连千海金
  28027. /Qhj/QueryRSTriggerLog:
  28028. get:
  28029. parameters:
  28030. - description: 用户ID
  28031. in: query
  28032. name: userid
  28033. type: integer
  28034. - description: 定投策略id
  28035. in: query
  28036. name: regularlystrategyid
  28037. type: integer
  28038. - description: 商品id
  28039. in: query
  28040. name: goodsid
  28041. type: integer
  28042. - description: 开始交易日(yyyymmdd)
  28043. in: query
  28044. name: begindate
  28045. type: string
  28046. - description: 结束交易日(yyyymmdd)
  28047. in: query
  28048. name: enddate
  28049. type: string
  28050. - description: 名称(模糊搜索账户)
  28051. in: query
  28052. name: filtername
  28053. type: string
  28054. produces:
  28055. - application/json
  28056. responses:
  28057. "200":
  28058. description: OK
  28059. schema:
  28060. items:
  28061. $ref: '#/definitions/models.QhjRSTriggerLog'
  28062. type: array
  28063. "500":
  28064. description: Internal Server Error
  28065. schema:
  28066. $ref: '#/definitions/app.Response'
  28067. security:
  28068. - ApiKeyAuth: []
  28069. summary: 查询定投记录(定投管理/详情/定投记录)
  28070. tags:
  28071. - 大连千海金
  28072. /Qhj/QueryRStrategy:
  28073. get:
  28074. parameters:
  28075. - description: 用户ID
  28076. in: query
  28077. name: userid
  28078. type: integer
  28079. - description: 商品id
  28080. in: query
  28081. name: goodsid
  28082. type: integer
  28083. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28084. in: query
  28085. name: status
  28086. type: string
  28087. - description: 名称(模糊搜索账户)
  28088. in: query
  28089. name: filtername
  28090. type: string
  28091. produces:
  28092. - application/json
  28093. responses:
  28094. "200":
  28095. description: OK
  28096. schema:
  28097. items:
  28098. $ref: '#/definitions/models.QhjRStrategy'
  28099. type: array
  28100. "500":
  28101. description: Internal Server Error
  28102. schema:
  28103. $ref: '#/definitions/app.Response'
  28104. security:
  28105. - ApiKeyAuth: []
  28106. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28107. tags:
  28108. - 大连千海金
  28109. /Qhj/QueryReckonPriceLog:
  28110. get:
  28111. parameters:
  28112. - description: 商品ID
  28113. in: query
  28114. name: goodsid
  28115. type: integer
  28116. - description: 交易日 格式(yyyymmdd)
  28117. in: query
  28118. name: tradedate
  28119. type: string
  28120. produces:
  28121. - application/json
  28122. responses:
  28123. "200":
  28124. description: OK
  28125. schema:
  28126. items:
  28127. $ref: '#/definitions/models.QhjReckonPriceLog'
  28128. type: array
  28129. "500":
  28130. description: Internal Server Error
  28131. schema:
  28132. $ref: '#/definitions/app.Response'
  28133. security:
  28134. - ApiKeyAuth: []
  28135. summary: 查询定投价(结算价)
  28136. tags:
  28137. - 大连千海金
  28138. /Qhj/QueryScoreLog:
  28139. get:
  28140. parameters:
  28141. - description: 用户ID
  28142. in: query
  28143. name: userid
  28144. required: true
  28145. type: integer
  28146. - description: 开始交易日(yyyymmdd)
  28147. in: query
  28148. name: begindate
  28149. type: string
  28150. - description: 结束交易日(yyyymmdd)
  28151. in: query
  28152. name: enddate
  28153. type: string
  28154. - description: 最近多少条
  28155. in: query
  28156. name: lastnum
  28157. type: integer
  28158. produces:
  28159. - application/json
  28160. responses:
  28161. "200":
  28162. description: OK
  28163. schema:
  28164. items:
  28165. $ref: '#/definitions/models.QhjScoreLog'
  28166. type: array
  28167. "500":
  28168. description: Internal Server Error
  28169. schema:
  28170. $ref: '#/definitions/app.Response'
  28171. security:
  28172. - ApiKeyAuth: []
  28173. summary: 查询积分流水(我的积分)
  28174. tags:
  28175. - 大连千海金
  28176. /Qhj/QuerySiteColumnDetail:
  28177. get:
  28178. parameters:
  28179. - description: 用户ID
  28180. in: query
  28181. name: userid
  28182. required: true
  28183. type: integer
  28184. produces:
  28185. - application/json
  28186. responses:
  28187. "200":
  28188. description: OK
  28189. schema:
  28190. items:
  28191. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28192. type: array
  28193. "500":
  28194. description: Internal Server Error
  28195. schema:
  28196. $ref: '#/definitions/app.Response'
  28197. security:
  28198. - ApiKeyAuth: []
  28199. summary: 查询资讯
  28200. tags:
  28201. - 大连千海金
  28202. /Qhj/QueryTradeGoodsPickup:
  28203. get:
  28204. parameters:
  28205. - description: 用户ID
  28206. in: query
  28207. name: userid
  28208. required: true
  28209. type: integer
  28210. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28211. 7:已拒绝 8:已撤销
  28212. in: query
  28213. name: takeorderstatus
  28214. type: integer
  28215. produces:
  28216. - application/json
  28217. responses:
  28218. "200":
  28219. description: OK
  28220. schema:
  28221. items:
  28222. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28223. type: array
  28224. "500":
  28225. description: Internal Server Error
  28226. schema:
  28227. $ref: '#/definitions/app.Response'
  28228. security:
  28229. - ApiKeyAuth: []
  28230. summary: 查询提货
  28231. tags:
  28232. - 大连千海金
  28233. /Qhj/QueryUserCollectConfig:
  28234. get:
  28235. parameters:
  28236. - description: 用户ID
  28237. in: query
  28238. name: userid
  28239. required: true
  28240. type: integer
  28241. produces:
  28242. - application/json
  28243. responses:
  28244. "200":
  28245. description: OK
  28246. schema:
  28247. items:
  28248. $ref: '#/definitions/models.UserCollectConfig'
  28249. type: array
  28250. "500":
  28251. description: Internal Server Error
  28252. schema:
  28253. $ref: '#/definitions/app.Response'
  28254. security:
  28255. - ApiKeyAuth: []
  28256. summary: 查询提现账户设置
  28257. tags:
  28258. - 大连千海金
  28259. /Qhj/QueryUserReceiveInfo:
  28260. get:
  28261. parameters:
  28262. - description: 用户ID
  28263. in: query
  28264. name: userid
  28265. required: true
  28266. type: integer
  28267. produces:
  28268. - application/json
  28269. responses:
  28270. "200":
  28271. description: OK
  28272. schema:
  28273. items:
  28274. $ref: '#/definitions/models.UserReceiveInfo'
  28275. type: array
  28276. "500":
  28277. description: Internal Server Error
  28278. schema:
  28279. $ref: '#/definitions/app.Response'
  28280. security:
  28281. - ApiKeyAuth: []
  28282. summary: 查询收货地址信息
  28283. tags:
  28284. - 大连千海金
  28285. /QhjMgr/QueryAccountInOutApply:
  28286. get:
  28287. parameters:
  28288. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28289. in: query
  28290. name: querytype
  28291. required: true
  28292. type: integer
  28293. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28294. in: query
  28295. name: applystatus
  28296. type: integer
  28297. - description: 申请起始日期(格式yyyymmdd)
  28298. in: query
  28299. name: begindate
  28300. type: string
  28301. - description: 申请截止日期(格式yyyymmdd)
  28302. in: query
  28303. name: enddate
  28304. type: string
  28305. - description: 模糊搜索名称
  28306. in: query
  28307. name: likename
  28308. type: string
  28309. produces:
  28310. - application/json
  28311. responses:
  28312. "200":
  28313. description: OK
  28314. schema:
  28315. items:
  28316. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28317. type: array
  28318. "500":
  28319. description: Internal Server Error
  28320. schema:
  28321. $ref: '#/definitions/app.Response'
  28322. security:
  28323. - ApiKeyAuth: []
  28324. summary: 查询充值提现
  28325. tags:
  28326. - 大连千海金(PCWeb)
  28327. /QhjMgr/QueryBrokerApply:
  28328. get:
  28329. parameters:
  28330. - description: 所属机构ID
  28331. in: query
  28332. name: userid
  28333. type: integer
  28334. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28335. in: query
  28336. name: filterstatus
  28337. type: string
  28338. - description: 名称(模糊匹配)
  28339. in: query
  28340. name: filtername
  28341. type: string
  28342. - description: 是否包含子级 1-包含
  28343. in: query
  28344. name: includesub
  28345. type: integer
  28346. produces:
  28347. - application/json
  28348. responses:
  28349. "200":
  28350. description: OK
  28351. schema:
  28352. items:
  28353. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28354. type: array
  28355. "500":
  28356. description: Internal Server Error
  28357. schema:
  28358. $ref: '#/definitions/app.Response'
  28359. security:
  28360. - ApiKeyAuth: []
  28361. summary: 查询经纪人申请
  28362. tags:
  28363. - 大连千海金(PCWeb)
  28364. /QhjMgr/QueryBrokerRewardReport:
  28365. get:
  28366. parameters:
  28367. - description: 所属机构ID
  28368. in: query
  28369. name: userid
  28370. required: true
  28371. type: integer
  28372. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28373. in: query
  28374. name: cycletype
  28375. required: true
  28376. type: integer
  28377. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28378. in: query
  28379. name: cycletime
  28380. required: true
  28381. type: string
  28382. - description: 名称(模糊匹配)
  28383. in: query
  28384. name: filtername
  28385. type: string
  28386. - description: 是否包含子级 1-包含
  28387. in: query
  28388. name: includesub
  28389. type: integer
  28390. produces:
  28391. - application/json
  28392. responses:
  28393. "200":
  28394. description: OK
  28395. schema:
  28396. items:
  28397. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28398. type: array
  28399. "500":
  28400. description: Internal Server Error
  28401. schema:
  28402. $ref: '#/definitions/app.Response'
  28403. security:
  28404. - ApiKeyAuth: []
  28405. summary: 查询经纪人奖励报表(废弃)
  28406. tags:
  28407. - 大连千海金(PCWeb)
  28408. /QhjMgr/QueryContract:
  28409. get:
  28410. parameters:
  28411. - description: 用户ID
  28412. in: query
  28413. name: userid
  28414. type: integer
  28415. - description: 商品id
  28416. in: query
  28417. name: goodsid
  28418. type: integer
  28419. - description: 名称(模糊搜索账户)
  28420. in: query
  28421. name: filtername
  28422. type: string
  28423. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28424. in: query
  28425. name: risklevel
  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. produces:
  28436. - application/json
  28437. responses:
  28438. "200":
  28439. description: OK
  28440. schema:
  28441. items:
  28442. $ref: '#/definitions/models.QhjMgrContract'
  28443. type: array
  28444. "500":
  28445. description: Internal Server Error
  28446. schema:
  28447. $ref: '#/definitions/app.Response'
  28448. security:
  28449. - ApiKeyAuth: []
  28450. summary: 查询融资信息(合同)
  28451. tags:
  28452. - 大连千海金(PCWeb)
  28453. /QhjMgr/QueryCustomerInfo:
  28454. get:
  28455. parameters:
  28456. - description: 用户ID
  28457. in: query
  28458. name: userid
  28459. required: true
  28460. type: integer
  28461. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28462. in: query
  28463. name: querytype
  28464. required: true
  28465. type: integer
  28466. - description: 客户类型 1-个人 2-企业
  28467. in: query
  28468. name: userinfotype
  28469. type: integer
  28470. - description: 客户名称(模糊匹配)
  28471. in: query
  28472. name: customername
  28473. type: string
  28474. - description: 昵称(模糊匹配)
  28475. in: query
  28476. name: nickname
  28477. type: string
  28478. - description: 所属客户经理(模糊匹配)
  28479. in: query
  28480. name: brokername
  28481. type: string
  28482. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28483. 如0503 -5月3日)
  28484. in: query
  28485. name: birthday
  28486. type: string
  28487. - description: 是否包含子级 1-包含
  28488. in: query
  28489. name: includesub
  28490. type: integer
  28491. produces:
  28492. - application/json
  28493. responses:
  28494. "200":
  28495. description: OK
  28496. schema:
  28497. items:
  28498. $ref: '#/definitions/models.QhjMgrCustomer'
  28499. type: array
  28500. "500":
  28501. description: Internal Server Error
  28502. schema:
  28503. $ref: '#/definitions/app.Response'
  28504. security:
  28505. - ApiKeyAuth: []
  28506. summary: 查询客户资料
  28507. tags:
  28508. - 大连千海金(PCWeb)
  28509. /QhjMgr/QueryPickGoods:
  28510. get:
  28511. parameters:
  28512. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28513. in: query
  28514. name: status
  28515. type: string
  28516. produces:
  28517. - application/json
  28518. responses:
  28519. "200":
  28520. description: OK
  28521. schema:
  28522. items:
  28523. $ref: '#/definitions/models.QhjMgrPickGoods'
  28524. type: array
  28525. "500":
  28526. description: Internal Server Error
  28527. schema:
  28528. $ref: '#/definitions/app.Response'
  28529. security:
  28530. - ApiKeyAuth: []
  28531. summary: 查询提货商品
  28532. tags:
  28533. - 大连千海金(PCWeb)
  28534. /QhjMgr/QuerySubArea:
  28535. get:
  28536. parameters:
  28537. - description: 用户ID
  28538. in: query
  28539. name: userid
  28540. required: true
  28541. type: integer
  28542. produces:
  28543. - application/json
  28544. responses:
  28545. "200":
  28546. description: OK
  28547. schema:
  28548. items:
  28549. $ref: '#/definitions/models.QhjMgrSubArea'
  28550. type: array
  28551. "500":
  28552. description: Internal Server Error
  28553. schema:
  28554. $ref: '#/definitions/app.Response'
  28555. security:
  28556. - ApiKeyAuth: []
  28557. summary: 查询子机构列表
  28558. tags:
  28559. - 大连千海金(PCWeb)
  28560. /QhjMgr/QueryTradeDetail:
  28561. get:
  28562. parameters:
  28563. - description: 用户ID
  28564. in: query
  28565. name: userid
  28566. required: true
  28567. type: integer
  28568. - description: 用户类型 1-个人 2-企业
  28569. in: query
  28570. name: userinfotype
  28571. type: integer
  28572. - description: 交易模式
  28573. in: query
  28574. name: trademode
  28575. type: integer
  28576. - description: 商品id
  28577. in: query
  28578. name: goodsid
  28579. type: integer
  28580. - description: 名称(模糊搜索账户)
  28581. in: query
  28582. name: filtername
  28583. type: string
  28584. - description: 开始交易日(yyyymmdd)
  28585. in: query
  28586. name: begindate
  28587. type: string
  28588. - description: 结束交易日(yyyymmdd)
  28589. in: query
  28590. name: enddate
  28591. type: string
  28592. - description: 是否包含子级 1-包含
  28593. in: query
  28594. name: includesub
  28595. type: integer
  28596. produces:
  28597. - application/json
  28598. responses:
  28599. "200":
  28600. description: OK
  28601. schema:
  28602. items:
  28603. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28604. type: array
  28605. "500":
  28606. description: Internal Server Error
  28607. schema:
  28608. $ref: '#/definitions/app.Response'
  28609. security:
  28610. - ApiKeyAuth: []
  28611. summary: 查询成交明细
  28612. tags:
  28613. - 大连千海金(PCWeb)
  28614. /QhjMgr/QueryTradeOrderDetail:
  28615. get:
  28616. parameters:
  28617. - description: 用户ID
  28618. in: query
  28619. name: userid
  28620. required: true
  28621. type: integer
  28622. - description: 用户类型 1-个人 2-企业
  28623. in: query
  28624. name: userinfotype
  28625. type: integer
  28626. - description: 交易模式
  28627. in: query
  28628. name: trademode
  28629. type: integer
  28630. - description: 商品id
  28631. in: query
  28632. name: goodsid
  28633. type: integer
  28634. - description: 名称(模糊搜索账户)
  28635. in: query
  28636. name: filtername
  28637. type: string
  28638. - description: 开始交易日(yyyymmdd)
  28639. in: query
  28640. name: begindate
  28641. type: string
  28642. - description: 结束交易日(yyyymmdd)
  28643. in: query
  28644. name: enddate
  28645. type: string
  28646. - description: 是否包含子级 1-包含
  28647. in: query
  28648. name: includesub
  28649. type: integer
  28650. produces:
  28651. - application/json
  28652. responses:
  28653. "200":
  28654. description: OK
  28655. schema:
  28656. items:
  28657. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28658. type: array
  28659. "500":
  28660. description: Internal Server Error
  28661. schema:
  28662. $ref: '#/definitions/app.Response'
  28663. security:
  28664. - ApiKeyAuth: []
  28665. summary: 查询委托明细
  28666. tags:
  28667. - 大连千海金(PCWeb)
  28668. /QhjMgr/QueryTradePayOrder:
  28669. get:
  28670. parameters:
  28671. - description: 用户ID
  28672. in: query
  28673. name: userid
  28674. required: true
  28675. type: integer
  28676. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28677. in: query
  28678. name: payflag
  28679. type: string
  28680. - description: 用户类型 1-个人 2-企业
  28681. in: query
  28682. name: userinfotype
  28683. type: integer
  28684. - description: 交易模式
  28685. in: query
  28686. name: trademode
  28687. type: integer
  28688. - description: 商品id
  28689. in: query
  28690. name: goodsid
  28691. type: integer
  28692. - description: 名称(模糊搜索账户)
  28693. in: query
  28694. name: filtername
  28695. type: string
  28696. - description: 开始交易日(yyyymmdd)
  28697. in: query
  28698. name: begindate
  28699. type: string
  28700. - description: 结束交易日(yyyymmdd)
  28701. in: query
  28702. name: enddate
  28703. type: string
  28704. - description: 是否包含子级 1-包含
  28705. in: query
  28706. name: includesub
  28707. type: integer
  28708. produces:
  28709. - application/json
  28710. responses:
  28711. "200":
  28712. description: OK
  28713. schema:
  28714. items:
  28715. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28716. type: array
  28717. "500":
  28718. description: Internal Server Error
  28719. schema:
  28720. $ref: '#/definitions/app.Response'
  28721. security:
  28722. - ApiKeyAuth: []
  28723. summary: 查询待付款单
  28724. tags:
  28725. - 大连千海金(PCWeb)
  28726. /QhjMgr/QueryTradePosition:
  28727. get:
  28728. parameters:
  28729. - description: 用户ID
  28730. in: query
  28731. name: userid
  28732. required: true
  28733. type: integer
  28734. - description: 用户类型 1-个人 2-企业
  28735. in: query
  28736. name: userinfotype
  28737. type: integer
  28738. - description: 交易模式
  28739. in: query
  28740. name: trademode
  28741. type: integer
  28742. - description: 商品id
  28743. in: query
  28744. name: goodsid
  28745. type: integer
  28746. - description: 名称(模糊搜索账户)
  28747. in: query
  28748. name: filtername
  28749. type: string
  28750. - description: 是否包含子级 1-包含
  28751. in: query
  28752. name: includesub
  28753. type: integer
  28754. produces:
  28755. - application/json
  28756. responses:
  28757. "200":
  28758. description: OK
  28759. schema:
  28760. items:
  28761. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28762. type: array
  28763. "500":
  28764. description: Internal Server Error
  28765. schema:
  28766. $ref: '#/definitions/app.Response'
  28767. security:
  28768. - ApiKeyAuth: []
  28769. summary: 查询持仓汇总
  28770. tags:
  28771. - 大连千海金(PCWeb)
  28772. /QhjSys/QueryAgreementChangeLog:
  28773. get:
  28774. parameters:
  28775. - description: 协议ID
  28776. in: query
  28777. name: agreementid
  28778. type: integer
  28779. - description: 协议版本号
  28780. in: query
  28781. name: agreementversion
  28782. type: integer
  28783. - description: 协议类型 - 1:注册 2:登录 3:交易
  28784. in: query
  28785. name: agreementtype
  28786. type: integer
  28787. - description: 协议编号(模糊匹配)
  28788. in: query
  28789. name: agreementno
  28790. type: string
  28791. - description: 协议名称(模糊匹配)
  28792. in: query
  28793. name: agreementname
  28794. type: string
  28795. produces:
  28796. - application/json
  28797. responses:
  28798. "200":
  28799. description: OK
  28800. schema:
  28801. items:
  28802. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28803. type: array
  28804. "500":
  28805. description: Internal Server Error
  28806. schema:
  28807. $ref: '#/definitions/app.Response'
  28808. security:
  28809. - ApiKeyAuth: []
  28810. summary: 查询协议配置变更流水
  28811. tags:
  28812. - 大连千海金(协议和签约信息)
  28813. /QhjSys/QueryAgreementConfig:
  28814. get:
  28815. parameters:
  28816. - description: 协议ID
  28817. in: query
  28818. name: agreementid
  28819. type: integer
  28820. - description: 协议版本号
  28821. in: query
  28822. name: agreementversion
  28823. type: integer
  28824. - description: 协议类型 - 1:注册 2:登录 3:交易
  28825. in: query
  28826. name: agreementtype
  28827. type: integer
  28828. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28829. in: query
  28830. name: isvalid
  28831. type: integer
  28832. - description: 协议编号(模糊匹配)
  28833. in: query
  28834. name: agreementno
  28835. type: string
  28836. - description: 协议名称(模糊匹配)
  28837. in: query
  28838. name: agreementname
  28839. type: string
  28840. produces:
  28841. - application/json
  28842. responses:
  28843. "200":
  28844. description: OK
  28845. schema:
  28846. items:
  28847. $ref: '#/definitions/models.QhjAgreementConfig'
  28848. type: array
  28849. "500":
  28850. description: Internal Server Error
  28851. schema:
  28852. $ref: '#/definitions/app.Response'
  28853. security:
  28854. - ApiKeyAuth: []
  28855. summary: 查询协议配置
  28856. tags:
  28857. - 大连千海金(协议和签约信息)
  28858. /QhjSys/QueryCustomerSignStatus:
  28859. get:
  28860. parameters:
  28861. - description: 客户ID
  28862. in: query
  28863. name: userid
  28864. type: integer
  28865. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28866. in: query
  28867. name: nodetype
  28868. type: integer
  28869. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28870. in: query
  28871. name: goodsid
  28872. type: integer
  28873. - description: 创建交易日(yyyyMMdd)
  28874. in: query
  28875. name: tradedate
  28876. type: string
  28877. - description: 用户名称(模糊匹配)
  28878. in: query
  28879. name: username
  28880. type: string
  28881. produces:
  28882. - application/json
  28883. responses:
  28884. "200":
  28885. description: OK
  28886. schema:
  28887. items:
  28888. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28889. type: array
  28890. "500":
  28891. description: Internal Server Error
  28892. schema:
  28893. $ref: '#/definitions/app.Response'
  28894. security:
  28895. - ApiKeyAuth: []
  28896. summary: 查询客户协议签约状态
  28897. tags:
  28898. - 大连千海金(协议和签约信息)
  28899. /QhjSys/QueryNodeAgreementConfig:
  28900. get:
  28901. parameters:
  28902. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28903. in: query
  28904. name: configid
  28905. type: integer
  28906. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28907. in: query
  28908. name: nodetype
  28909. type: integer
  28910. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28911. in: query
  28912. name: goodsid
  28913. type: integer
  28914. - description: 协议ID
  28915. in: query
  28916. name: agreementid
  28917. type: integer
  28918. - description: 协议类型 - 1:注册 2:登录 3:交易
  28919. in: query
  28920. name: agreementtype
  28921. type: integer
  28922. - description: 协议版本号
  28923. in: query
  28924. name: agreementversion
  28925. type: integer
  28926. - description: 协议编号(模糊匹配)
  28927. in: query
  28928. name: agreementno
  28929. type: string
  28930. - description: 协议名称(模糊匹配)
  28931. in: query
  28932. name: agreementname
  28933. type: string
  28934. produces:
  28935. - application/json
  28936. responses:
  28937. "200":
  28938. description: OK
  28939. schema:
  28940. items:
  28941. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28942. type: array
  28943. "500":
  28944. description: Internal Server Error
  28945. schema:
  28946. $ref: '#/definitions/app.Response'
  28947. security:
  28948. - ApiKeyAuth: []
  28949. summary: 查询协议节点配置
  28950. tags:
  28951. - 大连千海金(协议和签约信息)
  28952. /QhjSys/QueryQhjCustomerSignLog:
  28953. get:
  28954. parameters:
  28955. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28956. in: query
  28957. name: logid
  28958. type: integer
  28959. - description: 客户ID
  28960. in: query
  28961. name: userid
  28962. type: integer
  28963. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28964. in: query
  28965. name: nodetype
  28966. type: integer
  28967. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28968. in: query
  28969. name: goodsid
  28970. type: integer
  28971. - description: 协议ID
  28972. in: query
  28973. name: agreementid
  28974. type: integer
  28975. - description: 用户名称(模糊匹配)
  28976. in: query
  28977. name: username
  28978. type: string
  28979. - description: 协议编号(模糊匹配)
  28980. in: query
  28981. name: agreementno
  28982. type: string
  28983. - description: 协议名称(模糊匹配)
  28984. in: query
  28985. name: agreementname
  28986. type: string
  28987. produces:
  28988. - application/json
  28989. responses:
  28990. "200":
  28991. description: OK
  28992. schema:
  28993. items:
  28994. $ref: '#/definitions/models.QhjCustomerSignLog'
  28995. type: array
  28996. "500":
  28997. description: Internal Server Error
  28998. schema:
  28999. $ref: '#/definitions/app.Response'
  29000. security:
  29001. - ApiKeyAuth: []
  29002. summary: 查询客户协议签约流水
  29003. tags:
  29004. - 大连千海金(协议和签约信息)
  29005. /QhjSys/QueryUserNodeCfgAndStatus:
  29006. get:
  29007. parameters:
  29008. - description: 客户ID
  29009. in: query
  29010. name: userid
  29011. type: integer
  29012. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29013. in: query
  29014. name: configid
  29015. type: integer
  29016. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29017. in: query
  29018. name: nodetype
  29019. type: string
  29020. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29021. in: query
  29022. name: goodsid
  29023. type: integer
  29024. - description: 协议ID
  29025. in: query
  29026. name: agreementid
  29027. type: integer
  29028. - description: 协议类型 - 1:注册 2:登录 3:交易
  29029. in: query
  29030. name: agreementtype
  29031. type: integer
  29032. - description: 协议版本号
  29033. in: query
  29034. name: agreementversion
  29035. type: integer
  29036. - description: 协议编号(模糊匹配)
  29037. in: query
  29038. name: agreementno
  29039. type: string
  29040. - description: 协议名称(模糊匹配)
  29041. in: query
  29042. name: agreementname
  29043. type: string
  29044. produces:
  29045. - application/json
  29046. responses:
  29047. "200":
  29048. description: OK
  29049. schema:
  29050. items:
  29051. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29052. type: array
  29053. "500":
  29054. description: Internal Server Error
  29055. schema:
  29056. $ref: '#/definitions/app.Response'
  29057. security:
  29058. - ApiKeyAuth: []
  29059. summary: 查询用户协议节点配置和状态
  29060. tags:
  29061. - 大连千海金(协议和签约信息)
  29062. /Quote/QueryHistoryDatas:
  29063. get:
  29064. parameters:
  29065. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29066. 日线 12:周线 13:月线 14:年线'
  29067. in: query
  29068. name: cycleType
  29069. required: true
  29070. type: integer
  29071. - description: 商品代码
  29072. in: query
  29073. name: goodsCode
  29074. required: true
  29075. type: string
  29076. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29077. in: query
  29078. name: startTime
  29079. type: string
  29080. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29081. in: query
  29082. name: endTime
  29083. type: string
  29084. - description: 条数
  29085. in: query
  29086. name: count
  29087. type: integer
  29088. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29089. in: query
  29090. name: isAsc
  29091. type: boolean
  29092. produces:
  29093. - application/json
  29094. responses:
  29095. "200":
  29096. description: OK
  29097. schema:
  29098. $ref: '#/definitions/quote.HistoryData'
  29099. "500":
  29100. description: Internal Server Error
  29101. schema:
  29102. $ref: '#/definitions/app.Response'
  29103. security:
  29104. - ApiKeyAuth: []
  29105. summary: 查询行情历史数据
  29106. tags:
  29107. - 行情服务
  29108. /Quote/QueryHistoryTikDatas:
  29109. get:
  29110. parameters:
  29111. - description: 商品代码
  29112. in: query
  29113. name: goodsCode
  29114. required: true
  29115. type: string
  29116. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29117. in: query
  29118. name: startTime
  29119. type: string
  29120. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29121. in: query
  29122. name: endTime
  29123. type: string
  29124. - description: 条数
  29125. in: query
  29126. name: count
  29127. type: integer
  29128. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29129. in: query
  29130. name: isAsc
  29131. type: boolean
  29132. produces:
  29133. - application/json
  29134. responses:
  29135. "200":
  29136. description: OK
  29137. schema:
  29138. $ref: '#/definitions/quote.HistoryTikData'
  29139. "500":
  29140. description: Internal Server Error
  29141. schema:
  29142. $ref: '#/definitions/app.Response'
  29143. security:
  29144. - ApiKeyAuth: []
  29145. summary: 查询行情Tik数据
  29146. tags:
  29147. - 行情服务
  29148. /Quote/QueryQuoteDay:
  29149. get:
  29150. parameters:
  29151. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29152. in: query
  29153. name: goodsCodes
  29154. type: string
  29155. produces:
  29156. - application/json
  29157. responses:
  29158. "200":
  29159. description: OK
  29160. schema:
  29161. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29162. "500":
  29163. description: Internal Server Error
  29164. schema:
  29165. $ref: '#/definitions/app.Response'
  29166. security:
  29167. - ApiKeyAuth: []
  29168. summary: 获取商品盘面信息
  29169. tags:
  29170. - 行情服务
  29171. /Quote/QueryTSData:
  29172. get:
  29173. parameters:
  29174. - description: 商品代码
  29175. in: query
  29176. name: goodsCode
  29177. required: true
  29178. type: string
  29179. produces:
  29180. - application/json
  29181. responses:
  29182. "200":
  29183. description: OK
  29184. schema:
  29185. $ref: '#/definitions/quote.QueryTSDataRsp'
  29186. "500":
  29187. description: Internal Server Error
  29188. schema:
  29189. $ref: '#/definitions/app.Response'
  29190. security:
  29191. - ApiKeyAuth: []
  29192. summary: 分时图数据查询
  29193. tags:
  29194. - 行情服务
  29195. /SZDZ/QueryConvertConfig:
  29196. get:
  29197. parameters:
  29198. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29199. 6:交易转花生米(不设置)
  29200. in: query
  29201. name: convertType
  29202. type: integer
  29203. - description: 外部商品代码[JD\PD]
  29204. in: query
  29205. name: outerGoodsCode
  29206. type: string
  29207. - description: 内部商品ID列表[交易],格式:1,2,3
  29208. in: query
  29209. name: innerGoodsIDs
  29210. type: string
  29211. produces:
  29212. - application/json
  29213. responses:
  29214. "200":
  29215. description: OK
  29216. schema:
  29217. $ref: '#/definitions/models.Szdz3convertconfig'
  29218. "500":
  29219. description: Internal Server Error
  29220. schema:
  29221. $ref: '#/definitions/app.Response'
  29222. security:
  29223. - ApiKeyAuth: []
  29224. summary: 查询交易系统转换设置
  29225. tags:
  29226. - 定制【尚志大宗】
  29227. /SZDZ/QueryConvertLog:
  29228. get:
  29229. parameters:
  29230. - description: 资金账户 - 格式:1,2,3
  29231. in: query
  29232. name: accountID
  29233. required: true
  29234. type: string
  29235. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29236. in: query
  29237. name: startDate
  29238. type: string
  29239. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29240. in: query
  29241. name: endDate
  29242. type: string
  29243. produces:
  29244. - application/json
  29245. responses:
  29246. "200":
  29247. description: OK
  29248. schema:
  29249. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29250. "500":
  29251. description: Internal Server Error
  29252. schema:
  29253. $ref: '#/definitions/app.Response'
  29254. security:
  29255. - ApiKeyAuth: []
  29256. summary: 交易系统转换流水查询
  29257. tags:
  29258. - 定制【尚志大宗】
  29259. /SZDZ/QueryGoodsPickup:
  29260. get:
  29261. parameters:
  29262. - description: 资金账户 - 格式:1,2,3
  29263. in: query
  29264. name: accountID
  29265. required: true
  29266. type: string
  29267. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29268. in: query
  29269. name: takeOrderStatus
  29270. type: integer
  29271. produces:
  29272. - application/json
  29273. responses:
  29274. "200":
  29275. description: OK
  29276. schema:
  29277. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29278. "500":
  29279. description: Internal Server Error
  29280. schema:
  29281. $ref: '#/definitions/app.Response'
  29282. security:
  29283. - ApiKeyAuth: []
  29284. summary: 商品提货单查询
  29285. tags:
  29286. - 定制【尚志大宗】
  29287. /SZDZ/QueryRecieptOrder:
  29288. get:
  29289. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29290. parameters:
  29291. - description: 页码
  29292. in: query
  29293. name: page
  29294. type: integer
  29295. - description: 每页条数
  29296. in: query
  29297. name: pagesize
  29298. type: integer
  29299. - description: 商品ID
  29300. in: query
  29301. name: goodsID
  29302. required: true
  29303. type: integer
  29304. - description: 所属账户名称
  29305. in: query
  29306. name: accountName
  29307. type: string
  29308. - description: 市场ID
  29309. in: query
  29310. name: marketID
  29311. type: integer
  29312. - description: 方向 - 0:买 1:卖
  29313. in: query
  29314. name: buyorsell
  29315. required: true
  29316. type: integer
  29317. produces:
  29318. - application/json
  29319. responses:
  29320. "200":
  29321. description: OK
  29322. schema:
  29323. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29324. "500":
  29325. description: Internal Server Error
  29326. schema:
  29327. $ref: '#/definitions/app.Response'
  29328. security:
  29329. - ApiKeyAuth: []
  29330. summary: 点选挂牌委托单据查询(摘牌大厅)
  29331. tags:
  29332. - 定制【尚志大宗】
  29333. /SZDZ/QuerySZDZTradePosition:
  29334. get:
  29335. parameters:
  29336. - description: 资金账户
  29337. in: query
  29338. name: accountID
  29339. required: true
  29340. type: integer
  29341. produces:
  29342. - application/json
  29343. responses:
  29344. "200":
  29345. description: OK
  29346. schema:
  29347. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29348. "500":
  29349. description: Internal Server Error
  29350. schema:
  29351. $ref: '#/definitions/app.Response'
  29352. security:
  29353. - ApiKeyAuth: []
  29354. summary: 持仓汇总查询(尚志大宗)
  29355. tags:
  29356. - 定制【尚志大宗】
  29357. /SZDZ/SearchWhite:
  29358. get:
  29359. parameters:
  29360. - description: 用户ID
  29361. in: query
  29362. name: userID
  29363. required: true
  29364. type: integer
  29365. produces:
  29366. - application/json
  29367. responses:
  29368. "200":
  29369. description: OK
  29370. schema:
  29371. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29372. "500":
  29373. description: Internal Server Error
  29374. schema:
  29375. $ref: '#/definitions/app.Response'
  29376. security:
  29377. - ApiKeyAuth: []
  29378. summary: 搜索白名单
  29379. tags:
  29380. - 定制【尚志大宗】
  29381. /Search/SearchGoodses:
  29382. get:
  29383. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29384. parameters:
  29385. - description: 检索内容
  29386. in: query
  29387. name: content
  29388. required: true
  29389. type: string
  29390. - description: 交易模式,格式:1,2,3
  29391. in: query
  29392. name: tradeModes
  29393. type: string
  29394. produces:
  29395. - application/json
  29396. responses:
  29397. "200":
  29398. description: OK
  29399. schema:
  29400. $ref: '#/definitions/models.SearchGoods'
  29401. "500":
  29402. description: Internal Server Error
  29403. schema:
  29404. $ref: '#/definitions/app.Response'
  29405. summary: 检索商品信息
  29406. tags:
  29407. - 检索服务
  29408. /TaAccount/GetTaAccounts:
  29409. get:
  29410. parameters:
  29411. - description: 登录账户
  29412. in: query
  29413. name: loginID
  29414. required: true
  29415. type: integer
  29416. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29417. in: query
  29418. name: taAccountType
  29419. type: integer
  29420. produces:
  29421. - application/json
  29422. responses:
  29423. "200":
  29424. description: OK
  29425. schema:
  29426. $ref: '#/definitions/models.Taaccount'
  29427. "500":
  29428. description: Internal Server Error
  29429. schema:
  29430. $ref: '#/definitions/app.Response'
  29431. security:
  29432. - ApiKeyAuth: []
  29433. summary: 获取资金账户信息
  29434. tags:
  29435. - 资金账户
  29436. /TaAccount/QueryAmountLog:
  29437. get:
  29438. parameters:
  29439. - description: 页码
  29440. in: query
  29441. name: page
  29442. type: integer
  29443. - description: 每页条数
  29444. in: query
  29445. name: pagesize
  29446. type: integer
  29447. - description: 资金账户 - 格式:1,2,3
  29448. in: query
  29449. name: accountID
  29450. required: true
  29451. type: string
  29452. - description: 资金操作类型 - 格式:1,2,3
  29453. in: query
  29454. name: OperateType
  29455. type: string
  29456. produces:
  29457. - application/json
  29458. responses:
  29459. "200":
  29460. description: OK
  29461. schema:
  29462. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29463. "500":
  29464. description: Internal Server Error
  29465. schema:
  29466. $ref: '#/definitions/app.Response'
  29467. security:
  29468. - ApiKeyAuth: []
  29469. summary: 资金流水查询(当前)
  29470. tags:
  29471. - 资金账户
  29472. /TaAccount/QueryHisAmountLog:
  29473. get:
  29474. parameters:
  29475. - description: 页码
  29476. in: query
  29477. name: page
  29478. type: integer
  29479. - description: 每页条数
  29480. in: query
  29481. name: pagesize
  29482. type: integer
  29483. - description: 资金账户 - 格式:1,2,3
  29484. in: query
  29485. name: accountID
  29486. required: true
  29487. type: string
  29488. - description: 资金操作类型 - 格式:1,2,3
  29489. in: query
  29490. name: OperateType
  29491. type: string
  29492. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29493. in: query
  29494. name: startDate
  29495. type: string
  29496. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29497. in: query
  29498. name: endDate
  29499. type: string
  29500. produces:
  29501. - application/json
  29502. responses:
  29503. "200":
  29504. description: OK
  29505. schema:
  29506. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29507. "500":
  29508. description: Internal Server Error
  29509. schema:
  29510. $ref: '#/definitions/app.Response'
  29511. security:
  29512. - ApiKeyAuth: []
  29513. summary: 资金流水查询(历史)
  29514. tags:
  29515. - 资金账户
  29516. /TaAccount/QueryRelatedTaAccount:
  29517. get:
  29518. parameters:
  29519. - description: 关联UserID
  29520. in: query
  29521. name: relateduserid
  29522. required: true
  29523. type: integer
  29524. produces:
  29525. - application/json
  29526. responses:
  29527. "200":
  29528. description: OK
  29529. schema:
  29530. items:
  29531. $ref: '#/definitions/models.RelatedTaAccount'
  29532. type: array
  29533. "500":
  29534. description: Internal Server Error
  29535. schema:
  29536. $ref: '#/definitions/app.Response'
  29537. security:
  29538. - ApiKeyAuth: []
  29539. summary: 查询关联资金账户信息
  29540. tags:
  29541. - 资金账户
  29542. /Tjmd/QueryQuoteGoodsList:
  29543. get:
  29544. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29545. parameters:
  29546. - description: 用户类型
  29547. in: query
  29548. name: usertype
  29549. required: true
  29550. type: integer
  29551. - description: 市场id, 格式 1,2,3
  29552. in: query
  29553. name: marketids
  29554. type: string
  29555. - description: 商品组id
  29556. in: query
  29557. name: goodsgroupid
  29558. type: integer
  29559. - description: 商品id
  29560. in: query
  29561. name: goodsid
  29562. type: integer
  29563. produces:
  29564. - application/json
  29565. responses:
  29566. "200":
  29567. description: OK
  29568. schema:
  29569. items:
  29570. $ref: '#/definitions/models.TjmdQuoteGoods'
  29571. type: array
  29572. "500":
  29573. description: Internal Server Error
  29574. schema:
  29575. $ref: '#/definitions/app.Response'
  29576. security:
  29577. - ApiKeyAuth: []
  29578. summary: 查询掉期报价列表
  29579. tags:
  29580. - 天津麦顿
  29581. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29582. get:
  29583. parameters:
  29584. - description: 成交单号
  29585. in: query
  29586. name: tradeid
  29587. required: true
  29588. type: string
  29589. produces:
  29590. - application/json
  29591. responses:
  29592. "200":
  29593. description: OK
  29594. schema:
  29595. items:
  29596. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29597. type: array
  29598. "500":
  29599. description: Internal Server Error
  29600. schema:
  29601. $ref: '#/definitions/app.Response'
  29602. security:
  29603. - ApiKeyAuth: []
  29604. summary: 掉期商品订单详情(交易确认书)
  29605. tags:
  29606. - 天津麦顿
  29607. /Tjmd/QueryTjmdMarketSection:
  29608. get:
  29609. produces:
  29610. - application/json
  29611. responses:
  29612. "200":
  29613. description: OK
  29614. schema:
  29615. items:
  29616. $ref: '#/definitions/models.TjmdMarketSection'
  29617. type: array
  29618. "500":
  29619. description: Internal Server Error
  29620. schema:
  29621. $ref: '#/definitions/app.Response'
  29622. security:
  29623. - ApiKeyAuth: []
  29624. summary: 查询市场板块
  29625. tags:
  29626. - 天津麦顿
  29627. /Tjmd/QueryTjmdTodayAccountMargin:
  29628. get:
  29629. parameters:
  29630. - description: 市场id
  29631. in: query
  29632. name: marketid
  29633. type: string
  29634. - description: 商品id
  29635. in: query
  29636. name: goodsid
  29637. type: string
  29638. - description: 资金账号
  29639. in: query
  29640. name: accountid
  29641. type: string
  29642. produces:
  29643. - application/json
  29644. responses:
  29645. "200":
  29646. description: OK
  29647. schema:
  29648. items:
  29649. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29650. type: array
  29651. "500":
  29652. description: Internal Server Error
  29653. schema:
  29654. $ref: '#/definitions/app.Response'
  29655. security:
  29656. - ApiKeyAuth: []
  29657. summary: 查询今日账户保证金配置
  29658. tags:
  29659. - 天津麦顿
  29660. /Tjmd/QueryTjmdTradeOrderDetail:
  29661. get:
  29662. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29663. parameters:
  29664. - description: 页码
  29665. in: query
  29666. name: page
  29667. type: integer
  29668. - description: 每页条数
  29669. in: query
  29670. name: pagesize
  29671. type: integer
  29672. - description: 用户id
  29673. in: query
  29674. name: userid
  29675. required: true
  29676. type: integer
  29677. - description: 用户类型
  29678. in: query
  29679. name: usertype
  29680. required: true
  29681. type: integer
  29682. - description: 市场id, 格式 1,2,3
  29683. in: query
  29684. name: marketids
  29685. type: string
  29686. - description: 商品id
  29687. in: query
  29688. name: goodsid
  29689. required: true
  29690. type: integer
  29691. - description: 买卖方向 0-买 1-卖
  29692. in: query
  29693. name: buyorsell
  29694. required: true
  29695. type: integer
  29696. produces:
  29697. - application/json
  29698. responses:
  29699. "200":
  29700. description: OK
  29701. schema:
  29702. items:
  29703. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29704. type: array
  29705. "500":
  29706. description: Internal Server Error
  29707. schema:
  29708. $ref: '#/definitions/app.Response'
  29709. security:
  29710. - ApiKeyAuth: []
  29711. summary: 查询掉期买卖大厅
  29712. tags:
  29713. - 天津麦顿
  29714. /Tjmd/QueryTjmdTransferApply:
  29715. get:
  29716. parameters:
  29717. - description: 类型 1-我的申请 2-对方申请
  29718. in: query
  29719. name: applytype
  29720. required: true
  29721. type: integer
  29722. - description: 市场id, 格式 1,2,3
  29723. in: query
  29724. name: marketids
  29725. type: string
  29726. - description: 资金账号, 格式 25000000001,25000000003
  29727. in: query
  29728. name: accountids
  29729. type: string
  29730. - description: 开始交易日(yyyymmdd)
  29731. in: query
  29732. name: begindate
  29733. type: string
  29734. - description: 结束交易日(yyyymmdd)
  29735. in: query
  29736. name: enddate
  29737. type: string
  29738. produces:
  29739. - application/json
  29740. responses:
  29741. "200":
  29742. description: OK
  29743. schema:
  29744. items:
  29745. $ref: '#/definitions/models.TjmdTransferApply'
  29746. type: array
  29747. "500":
  29748. description: Internal Server Error
  29749. schema:
  29750. $ref: '#/definitions/app.Response'
  29751. security:
  29752. - ApiKeyAuth: []
  29753. summary: 查询掉期协议单
  29754. tags:
  29755. - 天津麦顿
  29756. /Trade/QueryRecieptOrder:
  29757. get:
  29758. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29759. parameters:
  29760. - description: 页码
  29761. in: query
  29762. name: page
  29763. type: integer
  29764. - description: 每页条数
  29765. in: query
  29766. name: pagesize
  29767. type: integer
  29768. - description: 商品ID
  29769. in: query
  29770. name: goodsID
  29771. required: true
  29772. type: integer
  29773. - description: 所属账户名称
  29774. in: query
  29775. name: accountName
  29776. type: string
  29777. - description: 市场ID
  29778. in: query
  29779. name: marketID
  29780. type: integer
  29781. - description: 方向 - 0:买 1:卖
  29782. in: query
  29783. name: buyorsell
  29784. required: true
  29785. type: integer
  29786. produces:
  29787. - application/json
  29788. responses:
  29789. "200":
  29790. description: OK
  29791. schema:
  29792. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29793. "500":
  29794. description: Internal Server Error
  29795. schema:
  29796. $ref: '#/definitions/app.Response'
  29797. security:
  29798. - ApiKeyAuth: []
  29799. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29800. tags:
  29801. - 通用交易
  29802. /User/AddMessageBoard:
  29803. post:
  29804. parameters:
  29805. - description: 用户ID
  29806. in: query
  29807. name: userID
  29808. required: true
  29809. type: integer
  29810. - description: 留言信息
  29811. in: query
  29812. name: message
  29813. required: true
  29814. type: string
  29815. - description: 联系电话
  29816. in: query
  29817. name: contactNum
  29818. required: true
  29819. type: string
  29820. produces:
  29821. - application/json
  29822. responses:
  29823. "200":
  29824. description: OK
  29825. schema:
  29826. $ref: '#/definitions/app.Response'
  29827. "500":
  29828. description: Internal Server Error
  29829. schema:
  29830. $ref: '#/definitions/app.Response'
  29831. security:
  29832. - ApiKeyAuth: []
  29833. summary: 添加用户留言板信息
  29834. tags:
  29835. - 用户信息
  29836. /User/AddUserFavoriteGoods:
  29837. post:
  29838. parameters:
  29839. - description: 用户ID
  29840. in: query
  29841. name: userID
  29842. required: true
  29843. type: integer
  29844. - description: 商品ID
  29845. in: query
  29846. name: goodsID
  29847. required: true
  29848. type: integer
  29849. produces:
  29850. - application/json
  29851. responses:
  29852. "200":
  29853. description: OK
  29854. schema:
  29855. $ref: '#/definitions/app.Response'
  29856. "500":
  29857. description: Internal Server Error
  29858. schema:
  29859. $ref: '#/definitions/app.Response'
  29860. security:
  29861. - ApiKeyAuth: []
  29862. summary: 添加用户商品收藏信息
  29863. tags:
  29864. - 用户信息
  29865. /User/GetLoginID:
  29866. get:
  29867. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29868. parameters:
  29869. - description: 登录代码
  29870. in: query
  29871. name: username
  29872. required: true
  29873. type: string
  29874. produces:
  29875. - application/json
  29876. responses:
  29877. "200":
  29878. description: OK
  29879. schema:
  29880. $ref: '#/definitions/app.Response'
  29881. "500":
  29882. description: Internal Server Error
  29883. schema:
  29884. $ref: '#/definitions/app.Response'
  29885. summary: 获取登录ID
  29886. tags:
  29887. - 用户信息
  29888. /User/GetUserAccount:
  29889. get:
  29890. parameters:
  29891. - description: 用户ID
  29892. in: query
  29893. name: userID
  29894. required: true
  29895. type: integer
  29896. produces:
  29897. - application/json
  29898. responses:
  29899. "200":
  29900. description: OK
  29901. schema:
  29902. $ref: '#/definitions/models.Useraccount'
  29903. "500":
  29904. description: Internal Server Error
  29905. schema:
  29906. $ref: '#/definitions/app.Response'
  29907. security:
  29908. - ApiKeyAuth: []
  29909. summary: 获取用户账号信息
  29910. tags:
  29911. - 用户信息
  29912. /User/GetUserAuthStatus:
  29913. get:
  29914. parameters:
  29915. - description: 用户ID
  29916. in: query
  29917. name: userID
  29918. required: true
  29919. type: integer
  29920. produces:
  29921. - application/json
  29922. responses:
  29923. "200":
  29924. description: OK
  29925. schema:
  29926. $ref: '#/definitions/app.Response'
  29927. "500":
  29928. description: Internal Server Error
  29929. schema:
  29930. $ref: '#/definitions/app.Response'
  29931. security:
  29932. - ApiKeyAuth: []
  29933. summary: 获取用户实名认证状态
  29934. tags:
  29935. - 用户信息
  29936. /User/LoginQuery:
  29937. get:
  29938. parameters:
  29939. - description: 登录账号
  29940. in: query
  29941. name: loginID
  29942. required: true
  29943. type: integer
  29944. produces:
  29945. - application/json
  29946. responses:
  29947. "200":
  29948. description: OK
  29949. schema:
  29950. $ref: '#/definitions/user.LoginQueryRsp'
  29951. "500":
  29952. description: Internal Server Error
  29953. schema:
  29954. $ref: '#/definitions/app.Response'
  29955. security:
  29956. - ApiKeyAuth: []
  29957. summary: 账户登录后信息查询
  29958. tags:
  29959. - 用户信息
  29960. /User/QueryMessageBoard:
  29961. get:
  29962. parameters:
  29963. - description: 用户ID
  29964. in: query
  29965. name: userID
  29966. required: true
  29967. type: integer
  29968. produces:
  29969. - application/json
  29970. responses:
  29971. "200":
  29972. description: OK
  29973. schema:
  29974. $ref: '#/definitions/models.Messageboard'
  29975. "500":
  29976. description: Internal Server Error
  29977. schema:
  29978. $ref: '#/definitions/app.Response'
  29979. security:
  29980. - ApiKeyAuth: []
  29981. summary: 获取用户留言板信息
  29982. tags:
  29983. - 用户信息
  29984. /User/QueryUserFavoriteGoodses:
  29985. get:
  29986. parameters:
  29987. - description: 用户ID
  29988. in: query
  29989. name: userID
  29990. required: true
  29991. type: integer
  29992. produces:
  29993. - application/json
  29994. responses:
  29995. "200":
  29996. description: OK
  29997. schema:
  29998. $ref: '#/definitions/models.Userfavoritegoods'
  29999. "500":
  30000. description: Internal Server Error
  30001. schema:
  30002. $ref: '#/definitions/app.Response'
  30003. security:
  30004. - ApiKeyAuth: []
  30005. summary: 获取用户商品收藏信息
  30006. tags:
  30007. - 用户信息
  30008. /User/QueryUserInfo:
  30009. get:
  30010. parameters:
  30011. - description: 用户ID
  30012. in: query
  30013. name: userID
  30014. required: true
  30015. type: integer
  30016. - description: 是否解密
  30017. in: query
  30018. name: isDecrypt
  30019. type: boolean
  30020. produces:
  30021. - application/json
  30022. responses:
  30023. "200":
  30024. description: OK
  30025. schema:
  30026. $ref: '#/definitions/models.Userinfo'
  30027. "500":
  30028. description: Internal Server Error
  30029. schema:
  30030. $ref: '#/definitions/app.Response'
  30031. security:
  30032. - ApiKeyAuth: []
  30033. summary: 获取用户信息
  30034. tags:
  30035. - 用户信息
  30036. /User/QueryUserReferNum:
  30037. get:
  30038. parameters:
  30039. - description: 用户ID
  30040. in: query
  30041. name: userID
  30042. required: true
  30043. type: integer
  30044. produces:
  30045. - application/json
  30046. responses:
  30047. "200":
  30048. description: OK
  30049. schema:
  30050. $ref: '#/definitions/app.Response'
  30051. "500":
  30052. description: Internal Server Error
  30053. schema:
  30054. $ref: '#/definitions/app.Response'
  30055. summary: 获取用户邀请码
  30056. tags:
  30057. - 用户信息
  30058. /User/RemoveUserFavoriteGoods:
  30059. post:
  30060. parameters:
  30061. - description: 用户ID
  30062. in: query
  30063. name: userID
  30064. required: true
  30065. type: integer
  30066. - description: 商品ID
  30067. in: query
  30068. name: goodsID
  30069. required: true
  30070. type: integer
  30071. produces:
  30072. - application/json
  30073. responses:
  30074. "200":
  30075. description: OK
  30076. schema:
  30077. $ref: '#/definitions/app.Response'
  30078. "500":
  30079. description: Internal Server Error
  30080. schema:
  30081. $ref: '#/definitions/app.Response'
  30082. security:
  30083. - ApiKeyAuth: []
  30084. summary: 移除用户商品收藏信息
  30085. tags:
  30086. - 用户信息
  30087. /User/UpdateUserAccountStatus:
  30088. post:
  30089. parameters:
  30090. - description: 用户ID
  30091. in: query
  30092. name: userID
  30093. required: true
  30094. type: integer
  30095. - description: 账户状态 - 4:正常 6:注销(停用)
  30096. in: query
  30097. name: accountStatus
  30098. required: true
  30099. type: integer
  30100. produces:
  30101. - application/json
  30102. responses:
  30103. "200":
  30104. description: OK
  30105. schema:
  30106. $ref: '#/definitions/app.Response'
  30107. "500":
  30108. description: Internal Server Error
  30109. schema:
  30110. $ref: '#/definitions/app.Response'
  30111. security:
  30112. - ApiKeyAuth: []
  30113. summary: 更新用户状态
  30114. tags:
  30115. - 用户信息
  30116. /WRTrade/GetAllDeliveryGoods:
  30117. get:
  30118. produces:
  30119. - application/json
  30120. responses:
  30121. "200":
  30122. description: OK
  30123. schema:
  30124. $ref: '#/definitions/app.Response'
  30125. "500":
  30126. description: Internal Server Error
  30127. schema:
  30128. $ref: '#/definitions/app.Response'
  30129. security:
  30130. - ApiKeyAuth: []
  30131. summary: 获取带仓单分类的种类信息
  30132. tags:
  30133. - 仓单贸易
  30134. - 仓单贸易
  30135. /WrTrade2/InsertXhcpSellBackApply:
  30136. post:
  30137. parameters:
  30138. - description: 回收申请
  30139. in: body
  30140. name: jsonBody
  30141. required: true
  30142. schema:
  30143. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30144. produces:
  30145. - application/json
  30146. responses:
  30147. "200":
  30148. description: OK
  30149. schema:
  30150. $ref: '#/definitions/app.Response'
  30151. "500":
  30152. description: Internal Server Error
  30153. schema:
  30154. $ref: '#/definitions/app.Response'
  30155. security:
  30156. - ApiKeyAuth: []
  30157. summary: 新增回收申请(新会陈皮)
  30158. tags:
  30159. - 仓单贸易v2
  30160. /WrTrade2/QueryDeliveryGoodsSection:
  30161. get:
  30162. produces:
  30163. - application/json
  30164. responses:
  30165. "200":
  30166. description: OK
  30167. schema:
  30168. items:
  30169. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30170. type: array
  30171. "500":
  30172. description: Internal Server Error
  30173. schema:
  30174. $ref: '#/definitions/app.Response'
  30175. security:
  30176. - ApiKeyAuth: []
  30177. summary: 查询板块(分类)
  30178. tags:
  30179. - 仓单贸易v2
  30180. /WrTrade2/QueryFaProductDetail:
  30181. get:
  30182. description: 页面 买卖大厅 -> 选择融资方案
  30183. parameters:
  30184. - description: 仓单要素id
  30185. in: query
  30186. name: wrfactortypeid
  30187. required: true
  30188. type: integer
  30189. produces:
  30190. - application/json
  30191. responses:
  30192. "200":
  30193. description: OK
  30194. schema:
  30195. items:
  30196. $ref: '#/definitions/models.WrFAProductDetail'
  30197. type: array
  30198. "500":
  30199. description: Internal Server Error
  30200. schema:
  30201. $ref: '#/definitions/app.Response'
  30202. security:
  30203. - ApiKeyAuth: []
  30204. summary: 查询融资产品列表
  30205. tags:
  30206. - 仓单贸易v2
  30207. /WrTrade2/QueryFilterItem:
  30208. get:
  30209. parameters:
  30210. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30211. in: query
  30212. name: itype
  30213. required: true
  30214. type: string
  30215. produces:
  30216. - application/json
  30217. responses:
  30218. "200":
  30219. description: OK
  30220. schema:
  30221. items:
  30222. $ref: '#/definitions/models.WrFilterItem'
  30223. type: array
  30224. "500":
  30225. description: Internal Server Error
  30226. schema:
  30227. $ref: '#/definitions/app.Response'
  30228. security:
  30229. - ApiKeyAuth: []
  30230. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30231. tags:
  30232. - 仓单贸易v2
  30233. /WrTrade2/QueryFtDeliveryGoods:
  30234. get:
  30235. produces:
  30236. - application/json
  30237. responses:
  30238. "200":
  30239. description: OK
  30240. schema:
  30241. items:
  30242. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30243. type: array
  30244. "500":
  30245. description: Internal Server Error
  30246. schema:
  30247. $ref: '#/definitions/app.Response'
  30248. security:
  30249. - ApiKeyAuth: []
  30250. summary: 查询品种品类筛选框列表
  30251. tags:
  30252. - 仓单贸易v2
  30253. /WrTrade2/QueryHoldLB:
  30254. get:
  30255. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30256. parameters:
  30257. - description: 资金账号
  30258. in: query
  30259. name: accountid
  30260. required: true
  30261. type: integer
  30262. - description: 仓库id
  30263. in: query
  30264. name: warehouseid
  30265. type: integer
  30266. - description: 品种id
  30267. in: query
  30268. name: deliverygoodsid
  30269. type: integer
  30270. - description: 品类id
  30271. in: query
  30272. name: wrstandardid
  30273. type: integer
  30274. - description: 仓单要素id
  30275. in: query
  30276. name: wrfactortypeid
  30277. type: integer
  30278. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30279. in: query
  30280. name: dgitemname
  30281. type: string
  30282. produces:
  30283. - application/json
  30284. responses:
  30285. "200":
  30286. description: OK
  30287. schema:
  30288. items:
  30289. $ref: '#/definitions/models.WrHoldLB'
  30290. type: array
  30291. "500":
  30292. description: Internal Server Error
  30293. schema:
  30294. $ref: '#/definitions/app.Response'
  30295. security:
  30296. - ApiKeyAuth: []
  30297. summary: 查询仓单持有记录
  30298. tags:
  30299. - 仓单贸易v2
  30300. /WrTrade2/QueryOrderQuote:
  30301. get:
  30302. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30303. 唯一确定1条记录
  30304. parameters:
  30305. - description: 页码
  30306. in: query
  30307. name: page
  30308. type: integer
  30309. - description: 每页条数
  30310. in: query
  30311. name: pagesize
  30312. type: integer
  30313. - description: 仓单贸易市场id
  30314. in: query
  30315. name: marketid
  30316. type: integer
  30317. - description: 价格方式 - 1:固定价 2-浮动价
  30318. in: query
  30319. name: wrpricetype
  30320. required: true
  30321. type: integer
  30322. - description: 0:仓单预售 1:仓单贸易
  30323. in: query
  30324. name: haswr
  30325. type: integer
  30326. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30327. in: query
  30328. name: dgitemname
  30329. type: string
  30330. - description: 仓库id(筛选条件)
  30331. in: query
  30332. name: warehouseid
  30333. type: integer
  30334. - description: 品种id
  30335. in: query
  30336. name: deliverygoodsid
  30337. type: integer
  30338. - description: 品类id
  30339. in: query
  30340. name: wrstandardid
  30341. type: integer
  30342. - description: 品牌id(dgfactoryitemid)
  30343. in: query
  30344. name: brandid
  30345. type: integer
  30346. - description: 年份id(dgfactoryitemid)
  30347. in: query
  30348. name: yearsid
  30349. type: integer
  30350. - description: 仓单要素id
  30351. in: query
  30352. name: wrfactortypeid
  30353. type: integer
  30354. - description: 交收月(yyyy-mm) 仓单预售填写
  30355. in: query
  30356. name: deliverymonth
  30357. type: string
  30358. produces:
  30359. - application/json
  30360. responses:
  30361. "200":
  30362. description: OK
  30363. schema:
  30364. items:
  30365. $ref: '#/definitions/models.WrOrderQuote'
  30366. type: array
  30367. "500":
  30368. description: Internal Server Error
  30369. schema:
  30370. $ref: '#/definitions/app.Response'
  30371. security:
  30372. - ApiKeyAuth: []
  30373. summary: 查询大厅行情列表
  30374. tags:
  30375. - 仓单贸易v2
  30376. /WrTrade2/QueryOrderQuoteDetail:
  30377. get:
  30378. parameters:
  30379. - description: 页码
  30380. in: query
  30381. name: page
  30382. type: integer
  30383. - description: 每页条数
  30384. in: query
  30385. name: pagesize
  30386. type: integer
  30387. - description: 仓单贸易市场id
  30388. in: query
  30389. name: marketid
  30390. type: integer
  30391. - description: 价格方式 - 1:固定价 2-浮动价
  30392. in: query
  30393. name: wrpricetype
  30394. required: true
  30395. type: integer
  30396. - description: 0:仓单预售 1:仓单贸易
  30397. in: query
  30398. name: haswr
  30399. type: integer
  30400. - description: 仓单要素id
  30401. in: query
  30402. name: wrfactortypeid
  30403. required: true
  30404. type: integer
  30405. - description: 期货商品id(浮动价方式时填)
  30406. in: query
  30407. name: goodsid
  30408. type: integer
  30409. - description: 买卖方向 0-买 1-卖
  30410. in: query
  30411. name: buyorsell
  30412. required: true
  30413. type: integer
  30414. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30415. in: query
  30416. name: deliverymonth
  30417. type: string
  30418. produces:
  30419. - application/json
  30420. responses:
  30421. "200":
  30422. description: OK
  30423. schema:
  30424. items:
  30425. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30426. type: array
  30427. "500":
  30428. description: Internal Server Error
  30429. schema:
  30430. $ref: '#/definitions/app.Response'
  30431. security:
  30432. - ApiKeyAuth: []
  30433. summary: 查询买卖大厅
  30434. tags:
  30435. - 仓单贸易v2
  30436. /WrTrade2/QueryOrderQuoteMyq:
  30437. get:
  30438. parameters:
  30439. - description: 页码
  30440. in: query
  30441. name: page
  30442. type: integer
  30443. - description: 每页条数
  30444. in: query
  30445. name: pagesize
  30446. type: integer
  30447. - description: 用户id
  30448. in: query
  30449. name: userid
  30450. required: true
  30451. type: integer
  30452. - description: 仓单贸易市场id
  30453. in: query
  30454. name: marketid
  30455. type: integer
  30456. - description: 0:仓单预售 1:仓单贸易
  30457. in: query
  30458. name: haswr
  30459. type: integer
  30460. - description: 买卖方向 0-买 1-卖
  30461. in: query
  30462. name: buyorsell
  30463. required: true
  30464. type: integer
  30465. - description: 品种id
  30466. in: query
  30467. name: deliverygoodsid
  30468. type: integer
  30469. - description: 品类id
  30470. in: query
  30471. name: wrstandardid
  30472. type: integer
  30473. - description: 交收月(yyyy-mm) 仓单预售填写
  30474. in: query
  30475. name: deliverymonth
  30476. type: string
  30477. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30478. in: query
  30479. name: dgitemname
  30480. type: string
  30481. produces:
  30482. - application/json
  30483. responses:
  30484. "200":
  30485. description: OK
  30486. schema:
  30487. items:
  30488. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30489. type: array
  30490. "500":
  30491. description: Internal Server Error
  30492. schema:
  30493. $ref: '#/definitions/app.Response'
  30494. security:
  30495. - ApiKeyAuth: []
  30496. summary: 查询贸易圈挂牌大厅
  30497. tags:
  30498. - 仓单贸易v2
  30499. /WrTrade2/QueryPerformancePlan:
  30500. get:
  30501. parameters:
  30502. - description: 用户id
  30503. in: query
  30504. name: userid
  30505. required: true
  30506. type: integer
  30507. - description: 买卖方向 0-买 1-卖
  30508. in: query
  30509. name: buyorsell
  30510. required: true
  30511. type: integer
  30512. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30513. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30514. in: query
  30515. name: status
  30516. type: string
  30517. - description: 开始交易日(yyyymmdd)
  30518. in: query
  30519. name: begindate
  30520. type: string
  30521. - description: 结束交易日(yyyymmdd)
  30522. in: query
  30523. name: enddate
  30524. type: string
  30525. produces:
  30526. - application/json
  30527. responses:
  30528. "200":
  30529. description: OK
  30530. schema:
  30531. items:
  30532. $ref: '#/definitions/models.WrPerformancePlan'
  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/QueryPermancePlanTmp:
  30544. get:
  30545. description: |-
  30546. 返回指定用户的模板和公共模板(用户id为空)
  30547. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30548. parameters:
  30549. - description: 用户id
  30550. in: query
  30551. name: userid
  30552. type: integer
  30553. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30554. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30555. in: query
  30556. name: tmptype
  30557. type: string
  30558. - description: 是否包含公共模板(用户id为空的) 1-包含
  30559. in: query
  30560. name: includepub
  30561. type: integer
  30562. - description: 市场id(天津麦顿指定此参数,其它不用)
  30563. in: query
  30564. name: marketid
  30565. type: integer
  30566. produces:
  30567. - application/json
  30568. responses:
  30569. "200":
  30570. description: OK
  30571. schema:
  30572. items:
  30573. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30574. type: array
  30575. "500":
  30576. description: Internal Server Error
  30577. schema:
  30578. $ref: '#/definitions/app.Response'
  30579. security:
  30580. - ApiKeyAuth: []
  30581. summary: 查询履约模板
  30582. tags:
  30583. - 仓单贸易v2
  30584. /WrTrade2/QuerySiteColumnDetail:
  30585. get:
  30586. parameters:
  30587. - description: 页码
  30588. in: query
  30589. name: page
  30590. type: integer
  30591. - description: 每页条数
  30592. in: query
  30593. name: pagesize
  30594. type: integer
  30595. - description: 所属栏目id
  30596. in: query
  30597. name: columnid
  30598. type: integer
  30599. produces:
  30600. - application/json
  30601. responses:
  30602. "200":
  30603. description: OK
  30604. schema:
  30605. items:
  30606. $ref: '#/definitions/models.WrSiteColumnDetail'
  30607. type: array
  30608. "500":
  30609. description: Internal Server Error
  30610. schema:
  30611. $ref: '#/definitions/app.Response'
  30612. security:
  30613. - ApiKeyAuth: []
  30614. summary: 查询资讯
  30615. tags:
  30616. - 仓单贸易v2
  30617. /WrTrade2/QuerySpotGroupTradeSum:
  30618. get:
  30619. produces:
  30620. - application/json
  30621. responses:
  30622. "200":
  30623. description: OK
  30624. schema:
  30625. items:
  30626. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30627. type: array
  30628. "500":
  30629. description: Internal Server Error
  30630. schema:
  30631. $ref: '#/definitions/app.Response'
  30632. security:
  30633. - ApiKeyAuth: []
  30634. summary: 查询指数
  30635. tags:
  30636. - 仓单贸易v2
  30637. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30638. get:
  30639. description: 查询的结果将会按日期 从小到大 排序
  30640. parameters:
  30641. - description: 现货商品id
  30642. in: query
  30643. name: deliverygoodsid
  30644. required: true
  30645. type: integer
  30646. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30647. in: query
  30648. name: lastnum
  30649. type: integer
  30650. produces:
  30651. - application/json
  30652. responses:
  30653. "200":
  30654. description: OK
  30655. schema:
  30656. items:
  30657. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30658. type: array
  30659. "500":
  30660. description: Internal Server Error
  30661. schema:
  30662. $ref: '#/definitions/app.Response'
  30663. security:
  30664. - ApiKeyAuth: []
  30665. summary: 查询指数详细(价格走势图)
  30666. tags:
  30667. - 仓单贸易v2
  30668. /WrTrade2/QueryWrAverageTradePrice:
  30669. get:
  30670. parameters:
  30671. - description: 页码
  30672. in: query
  30673. name: page
  30674. type: integer
  30675. - description: 每页条数
  30676. in: query
  30677. name: pagesize
  30678. type: integer
  30679. - description: 0:仓单预售 1:仓单贸易
  30680. in: query
  30681. name: haswr
  30682. required: true
  30683. type: integer
  30684. - description: 仓单要素id
  30685. in: query
  30686. name: wrfactortypeid
  30687. required: true
  30688. type: integer
  30689. produces:
  30690. - application/json
  30691. responses:
  30692. "200":
  30693. description: OK
  30694. schema:
  30695. items:
  30696. $ref: '#/definitions/models.WrAverageTradePrice'
  30697. type: array
  30698. "500":
  30699. description: Internal Server Error
  30700. schema:
  30701. $ref: '#/definitions/app.Response'
  30702. security:
  30703. - ApiKeyAuth: []
  30704. summary: 查询成交价(历史走势)
  30705. tags:
  30706. - 仓单贸易v2
  30707. /WrTrade2/QueryWrBrandAndYears:
  30708. get:
  30709. produces:
  30710. - application/json
  30711. responses:
  30712. "200":
  30713. description: OK
  30714. schema:
  30715. items:
  30716. $ref: '#/definitions/models.WrBrandAndYears'
  30717. type: array
  30718. "500":
  30719. description: Internal Server Error
  30720. schema:
  30721. $ref: '#/definitions/app.Response'
  30722. security:
  30723. - ApiKeyAuth: []
  30724. summary: 查询品牌和年份
  30725. tags:
  30726. - 仓单贸易v2
  30727. /WrTrade2/QueryWrBsGoodsInfo:
  30728. get:
  30729. description: 合约交易/买卖大厅/详情
  30730. parameters:
  30731. - description: 商品id
  30732. in: query
  30733. name: goodsid
  30734. required: true
  30735. type: integer
  30736. produces:
  30737. - application/json
  30738. responses:
  30739. "200":
  30740. description: OK
  30741. schema:
  30742. items:
  30743. $ref: '#/definitions/models.WrBsGoodsInfo'
  30744. type: array
  30745. "500":
  30746. description: Internal Server Error
  30747. schema:
  30748. $ref: '#/definitions/app.Response'
  30749. security:
  30750. - ApiKeyAuth: []
  30751. summary: 查询合约交易买卖大厅详情
  30752. tags:
  30753. - 仓单贸易v2
  30754. /WrTrade2/QueryWrBuybackDetail:
  30755. get:
  30756. parameters:
  30757. - description: 融资合同id
  30758. in: query
  30759. name: scfcontractid
  30760. type: integer
  30761. produces:
  30762. - application/json
  30763. responses:
  30764. "200":
  30765. description: OK
  30766. schema:
  30767. items:
  30768. $ref: '#/definitions/models.WrBuybackDetail'
  30769. type: array
  30770. "500":
  30771. description: Internal Server Error
  30772. schema:
  30773. $ref: '#/definitions/app.Response'
  30774. security:
  30775. - ApiKeyAuth: []
  30776. summary: 查询仓单回购明细
  30777. tags:
  30778. - 仓单贸易v2
  30779. /WrTrade2/QueryWrClientAdSpaceConfig:
  30780. get:
  30781. produces:
  30782. - application/json
  30783. responses:
  30784. "200":
  30785. description: OK
  30786. schema:
  30787. items:
  30788. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30789. type: array
  30790. "500":
  30791. description: Internal Server Error
  30792. schema:
  30793. $ref: '#/definitions/app.Response'
  30794. security:
  30795. - ApiKeyAuth: []
  30796. summary: 查询固定广告配置
  30797. tags:
  30798. - 仓单贸易v2
  30799. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30800. get:
  30801. parameters:
  30802. - description: 资金账号
  30803. in: query
  30804. name: accountid
  30805. required: true
  30806. type: integer
  30807. - description: 商品id
  30808. in: query
  30809. name: goodsid
  30810. required: true
  30811. type: integer
  30812. produces:
  30813. - application/json
  30814. responses:
  30815. "200":
  30816. description: OK
  30817. schema:
  30818. items:
  30819. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30820. type: array
  30821. "500":
  30822. description: Internal Server Error
  30823. schema:
  30824. $ref: '#/definitions/app.Response'
  30825. security:
  30826. - ApiKeyAuth: []
  30827. summary: 查询合约交收可点选仓单
  30828. tags:
  30829. - 仓单贸易v2
  30830. /WrTrade2/QueryWrDeliveryDetail:
  30831. get:
  30832. parameters:
  30833. - description: 用户id
  30834. in: query
  30835. name: userid
  30836. required: true
  30837. type: integer
  30838. - description: 资金账号id
  30839. in: query
  30840. name: accountid
  30841. type: integer
  30842. - description: 开始交易日(yyyymmdd)
  30843. in: query
  30844. name: begindate
  30845. type: string
  30846. - description: 结束交易日(yyyymmdd)
  30847. in: query
  30848. name: enddate
  30849. type: string
  30850. produces:
  30851. - application/json
  30852. responses:
  30853. "200":
  30854. description: OK
  30855. schema:
  30856. items:
  30857. $ref: '#/definitions/models.WrDeliveryDetail'
  30858. type: array
  30859. "500":
  30860. description: Internal Server Error
  30861. schema:
  30862. $ref: '#/definitions/app.Response'
  30863. security:
  30864. - ApiKeyAuth: []
  30865. summary: 查询交收
  30866. tags:
  30867. - 仓单贸易v2
  30868. /WrTrade2/QueryWrDraftUserInfo:
  30869. get:
  30870. parameters:
  30871. - description: 用户ID
  30872. in: query
  30873. name: userid
  30874. required: true
  30875. type: integer
  30876. - description: 用户状态 1:正常 2:注销
  30877. in: query
  30878. name: userstatus
  30879. type: integer
  30880. produces:
  30881. - application/json
  30882. responses:
  30883. "200":
  30884. description: OK
  30885. schema:
  30886. items:
  30887. $ref: '#/definitions/models.WrDraftUserInfo'
  30888. type: array
  30889. "500":
  30890. description: Internal Server Error
  30891. schema:
  30892. $ref: '#/definitions/app.Response'
  30893. security:
  30894. - ApiKeyAuth: []
  30895. summary: 查询实名认证信息
  30896. tags:
  30897. - 仓单贸易v2
  30898. /WrTrade2/QueryWrFactorTypeInfo:
  30899. get:
  30900. parameters:
  30901. - description: 仓单要素id
  30902. in: query
  30903. name: wrfactortypeid
  30904. required: true
  30905. type: integer
  30906. produces:
  30907. - application/json
  30908. responses:
  30909. "200":
  30910. description: OK
  30911. schema:
  30912. items:
  30913. $ref: '#/definitions/models.WrFactorTypeInfo'
  30914. type: array
  30915. "500":
  30916. description: Internal Server Error
  30917. schema:
  30918. $ref: '#/definitions/app.Response'
  30919. security:
  30920. - ApiKeyAuth: []
  30921. summary: 查询仓单要素详细信息
  30922. tags:
  30923. - 仓单贸易v2
  30924. /WrTrade2/QueryWrFactorTypeInfoEx:
  30925. get:
  30926. parameters:
  30927. - description: 仓单要素id
  30928. in: query
  30929. name: wrfactortypeid
  30930. required: true
  30931. type: integer
  30932. produces:
  30933. - application/json
  30934. responses:
  30935. "200":
  30936. description: OK
  30937. schema:
  30938. items:
  30939. $ref: '#/definitions/models.WrTypeItem'
  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/QueryWrFinanceBuyApply:
  30951. get:
  30952. description: 页面 融资信息+ / 申请单
  30953. parameters:
  30954. - description: 用户id
  30955. in: query
  30956. name: userid
  30957. required: true
  30958. type: integer
  30959. produces:
  30960. - application/json
  30961. responses:
  30962. "200":
  30963. description: OK
  30964. schema:
  30965. items:
  30966. $ref: '#/definitions/models.WrFinanceBuyApply'
  30967. type: array
  30968. "500":
  30969. description: Internal Server Error
  30970. schema:
  30971. $ref: '#/definitions/app.Response'
  30972. security:
  30973. - ApiKeyAuth: []
  30974. summary: 查询融资购买申请
  30975. tags:
  30976. - 仓单贸易v2
  30977. /WrTrade2/QueryWrFriendApply:
  30978. get:
  30979. parameters:
  30980. - description: 用户id
  30981. in: query
  30982. name: userid
  30983. required: true
  30984. type: integer
  30985. produces:
  30986. - application/json
  30987. responses:
  30988. "200":
  30989. description: OK
  30990. schema:
  30991. items:
  30992. $ref: '#/definitions/models.WrFriendApply'
  30993. type: array
  30994. "500":
  30995. description: Internal Server Error
  30996. schema:
  30997. $ref: '#/definitions/app.Response'
  30998. security:
  30999. - ApiKeyAuth: []
  31000. summary: 查询好友申请记录
  31001. tags:
  31002. - 仓单贸易v2
  31003. /WrTrade2/QueryWrGoodsInfo:
  31004. get:
  31005. parameters:
  31006. - description: 仓单贸易市场id
  31007. in: query
  31008. name: marketid
  31009. type: integer
  31010. - description: 0:仓单预售 1:仓单贸易
  31011. in: query
  31012. name: haswr
  31013. required: true
  31014. type: integer
  31015. - description: 仓单要素id
  31016. in: query
  31017. name: wrfactortypeid
  31018. required: true
  31019. type: integer
  31020. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31021. in: query
  31022. name: tmplateid
  31023. type: integer
  31024. produces:
  31025. - application/json
  31026. responses:
  31027. "200":
  31028. description: OK
  31029. schema:
  31030. items:
  31031. $ref: '#/definitions/models.WrGoodsInfo'
  31032. type: array
  31033. "500":
  31034. description: Internal Server Error
  31035. schema:
  31036. $ref: '#/definitions/app.Response'
  31037. security:
  31038. - ApiKeyAuth: []
  31039. summary: 查询仓单商品信息
  31040. tags:
  31041. - 仓单贸易v2
  31042. /WrTrade2/QueryWrMarketTradeConfig:
  31043. get:
  31044. parameters:
  31045. - description: 市场id
  31046. in: query
  31047. name: marketid
  31048. type: integer
  31049. produces:
  31050. - application/json
  31051. responses:
  31052. "200":
  31053. description: OK
  31054. schema:
  31055. items:
  31056. $ref: '#/definitions/models.WrMarketTradeConfig'
  31057. type: array
  31058. "500":
  31059. description: Internal Server Error
  31060. schema:
  31061. $ref: '#/definitions/app.Response'
  31062. security:
  31063. - ApiKeyAuth: []
  31064. summary: 查询市场交易参数配置
  31065. tags:
  31066. - 仓单贸易v2
  31067. /WrTrade2/QueryWrOrderDetail:
  31068. get:
  31069. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31070. parameters:
  31071. - description: 页码
  31072. in: query
  31073. name: page
  31074. type: integer
  31075. - description: 每页条数
  31076. in: query
  31077. name: pagesize
  31078. type: integer
  31079. - description: 用户id
  31080. in: query
  31081. name: userid
  31082. required: true
  31083. type: integer
  31084. - description: 仓单贸易市场id
  31085. in: query
  31086. name: marketid
  31087. type: integer
  31088. - description: 0:仓单预售 1:仓单贸易
  31089. in: query
  31090. name: haswr
  31091. required: true
  31092. type: integer
  31093. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31094. in: query
  31095. name: bcancel
  31096. type: integer
  31097. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31098. in: query
  31099. name: wrtradetype
  31100. type: integer
  31101. - description: 开始交易日(yyyymmdd)
  31102. in: query
  31103. name: begindate
  31104. type: string
  31105. - description: 结束交易日(yyyymmdd)
  31106. in: query
  31107. name: enddate
  31108. type: string
  31109. produces:
  31110. - application/json
  31111. responses:
  31112. "200":
  31113. description: OK
  31114. schema:
  31115. items:
  31116. $ref: '#/definitions/models.WrOrderDetail'
  31117. type: array
  31118. "500":
  31119. description: Internal Server Error
  31120. schema:
  31121. $ref: '#/definitions/app.Response'
  31122. security:
  31123. - ApiKeyAuth: []
  31124. summary: 查询仓单委托单
  31125. tags:
  31126. - 仓单贸易v2
  31127. /WrTrade2/QueryWrOutInApply:
  31128. get:
  31129. parameters:
  31130. - description: 用户id
  31131. in: query
  31132. name: userid
  31133. required: true
  31134. type: integer
  31135. - description: 开始交易日(yyyymmdd)
  31136. in: query
  31137. name: begindate
  31138. type: string
  31139. - description: 结束交易日(yyyymmdd)
  31140. in: query
  31141. name: enddate
  31142. type: string
  31143. produces:
  31144. - application/json
  31145. responses:
  31146. "200":
  31147. description: OK
  31148. schema:
  31149. items:
  31150. $ref: '#/definitions/models.WrOutInApply'
  31151. type: array
  31152. "500":
  31153. description: Internal Server Error
  31154. schema:
  31155. $ref: '#/definitions/app.Response'
  31156. security:
  31157. - ApiKeyAuth: []
  31158. summary: 查询提货申请
  31159. tags:
  31160. - 仓单贸易v2
  31161. /WrTrade2/QueryWrPerformancePlanStep:
  31162. get:
  31163. parameters:
  31164. - description: 履约计划id(performanceplanid)
  31165. in: query
  31166. name: planid
  31167. required: true
  31168. type: integer
  31169. - description: 当前步骤id
  31170. in: query
  31171. name: curstepid
  31172. type: integer
  31173. produces:
  31174. - application/json
  31175. responses:
  31176. "200":
  31177. description: OK
  31178. schema:
  31179. items:
  31180. $ref: '#/definitions/models.WrPerformancePlanStep'
  31181. type: array
  31182. "500":
  31183. description: Internal Server Error
  31184. schema:
  31185. $ref: '#/definitions/app.Response'
  31186. security:
  31187. - ApiKeyAuth: []
  31188. summary: 查询履约信息详情
  31189. tags:
  31190. - 仓单贸易v2
  31191. /WrTrade2/QueryWrPerformanceStepType:
  31192. get:
  31193. produces:
  31194. - application/json
  31195. responses:
  31196. "200":
  31197. description: OK
  31198. schema:
  31199. items:
  31200. $ref: '#/definitions/models.WrPerformanceStepType'
  31201. type: array
  31202. "500":
  31203. description: Internal Server Error
  31204. schema:
  31205. $ref: '#/definitions/app.Response'
  31206. security:
  31207. - ApiKeyAuth: []
  31208. summary: 查询履约步骤枚举
  31209. tags:
  31210. - 仓单贸易v2
  31211. /WrTrade2/QueryWrPosition:
  31212. get:
  31213. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31214. parameters:
  31215. - description: 用户id
  31216. in: query
  31217. name: userid
  31218. required: true
  31219. type: integer
  31220. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31221. in: query
  31222. name: querytype
  31223. required: true
  31224. type: integer
  31225. - description: 0:仓单预售 1:仓单贸易
  31226. in: query
  31227. name: haswr
  31228. required: true
  31229. type: integer
  31230. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31231. in: query
  31232. name: dgitemname
  31233. type: string
  31234. - description: 仓库id(筛选条件)
  31235. in: query
  31236. name: warehouseid
  31237. type: integer
  31238. - description: 品种id
  31239. in: query
  31240. name: deliverygoodsid
  31241. type: integer
  31242. - description: 品类id
  31243. in: query
  31244. name: wrstandardid
  31245. type: integer
  31246. produces:
  31247. - application/json
  31248. responses:
  31249. "200":
  31250. description: OK
  31251. schema:
  31252. items:
  31253. $ref: '#/definitions/models.WrPosition'
  31254. type: array
  31255. "500":
  31256. description: Internal Server Error
  31257. schema:
  31258. $ref: '#/definitions/app.Response'
  31259. security:
  31260. - ApiKeyAuth: []
  31261. summary: 查询现货(预售)仓单持仓
  31262. tags:
  31263. - 仓单贸易v2
  31264. /WrTrade2/QueryWrPreSaleInfo:
  31265. get:
  31266. parameters:
  31267. - description: 市场id
  31268. in: query
  31269. name: marketid
  31270. type: integer
  31271. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31272. in: query
  31273. name: presalestatus
  31274. type: string
  31275. - description: 摇号标识 - 0:未摇号 1:已摇号
  31276. in: query
  31277. name: lotteryflag
  31278. type: integer
  31279. - description: 最近多少条记录(按创建时间倒序)
  31280. in: query
  31281. name: lastnum
  31282. type: integer
  31283. produces:
  31284. - application/json
  31285. responses:
  31286. "200":
  31287. description: OK
  31288. schema:
  31289. items:
  31290. $ref: '#/definitions/models.WrPreSaleInfo'
  31291. type: array
  31292. "500":
  31293. description: Internal Server Error
  31294. schema:
  31295. $ref: '#/definitions/app.Response'
  31296. security:
  31297. - ApiKeyAuth: []
  31298. summary: 查询新品发布
  31299. tags:
  31300. - 仓单贸易v2
  31301. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31302. get:
  31303. parameters:
  31304. - description: 市场id
  31305. in: query
  31306. name: marketid
  31307. required: true
  31308. type: integer
  31309. - description: 现货商品id
  31310. in: query
  31311. name: wrstandardid
  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. - description: 最近多少条记录(按交易日倒序)
  31323. in: query
  31324. name: lastnum
  31325. type: integer
  31326. - description: 是否今日
  31327. in: query
  31328. name: istoday
  31329. type: boolean
  31330. produces:
  31331. - application/json
  31332. responses:
  31333. "200":
  31334. description: OK
  31335. schema:
  31336. items:
  31337. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31338. type: array
  31339. "500":
  31340. description: Internal Server Error
  31341. schema:
  31342. $ref: '#/definitions/app.Response'
  31343. security:
  31344. - ApiKeyAuth: []
  31345. summary: 查询价格走势
  31346. tags:
  31347. - 仓单贸易v2
  31348. /WrTrade2/QueryWrScfContract:
  31349. get:
  31350. parameters:
  31351. - description: 用户id
  31352. in: query
  31353. name: userid
  31354. required: true
  31355. type: integer
  31356. - description: 融资合同id
  31357. in: query
  31358. name: scfcontractid
  31359. type: integer
  31360. produces:
  31361. - application/json
  31362. responses:
  31363. "200":
  31364. description: OK
  31365. schema:
  31366. items:
  31367. $ref: '#/definitions/models.WrScfContract'
  31368. type: array
  31369. "500":
  31370. description: Internal Server Error
  31371. schema:
  31372. $ref: '#/definitions/app.Response'
  31373. security:
  31374. - ApiKeyAuth: []
  31375. summary: 查询仓单贸易融资合同
  31376. tags:
  31377. - 仓单贸易v2
  31378. /WrTrade2/QueryWrScfContractInterest:
  31379. get:
  31380. parameters:
  31381. - description: 融资合同id
  31382. in: query
  31383. name: scfcontractid
  31384. type: integer
  31385. produces:
  31386. - application/json
  31387. responses:
  31388. "200":
  31389. description: OK
  31390. schema:
  31391. items:
  31392. $ref: '#/definitions/models.WrScfContractInterest'
  31393. type: array
  31394. "500":
  31395. description: Internal Server Error
  31396. schema:
  31397. $ref: '#/definitions/app.Response'
  31398. security:
  31399. - ApiKeyAuth: []
  31400. summary: 查询融资合同费用明细
  31401. tags:
  31402. - 仓单贸易v2
  31403. /WrTrade2/QueryWrSearchUser:
  31404. get:
  31405. parameters:
  31406. - description: 用户名称(模糊匹配)
  31407. in: query
  31408. name: username
  31409. required: true
  31410. type: string
  31411. produces:
  31412. - application/json
  31413. responses:
  31414. "200":
  31415. description: OK
  31416. schema:
  31417. items:
  31418. $ref: '#/definitions/models.WrSearchUser'
  31419. type: array
  31420. "500":
  31421. description: Internal Server Error
  31422. schema:
  31423. $ref: '#/definitions/app.Response'
  31424. security:
  31425. - ApiKeyAuth: []
  31426. summary: 查询用户
  31427. tags:
  31428. - 仓单贸易v2
  31429. /WrTrade2/QueryWrSpecialMatchOrder:
  31430. get:
  31431. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31432. parameters:
  31433. - description: 页码
  31434. in: query
  31435. name: page
  31436. type: integer
  31437. - description: 每页条数
  31438. in: query
  31439. name: pagesize
  31440. type: integer
  31441. - description: 用户id
  31442. in: query
  31443. name: userid
  31444. required: true
  31445. type: integer
  31446. - description: 仓单贸易市场id
  31447. in: query
  31448. name: marketid
  31449. type: integer
  31450. - description: 0:仓单预售 1:仓单贸易
  31451. in: query
  31452. name: haswr
  31453. required: true
  31454. type: integer
  31455. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31456. in: query
  31457. name: isspecified
  31458. type: integer
  31459. produces:
  31460. - application/json
  31461. responses:
  31462. "200":
  31463. description: OK
  31464. schema:
  31465. items:
  31466. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31467. type: array
  31468. "500":
  31469. description: Internal Server Error
  31470. schema:
  31471. $ref: '#/definitions/app.Response'
  31472. security:
  31473. - ApiKeyAuth: []
  31474. summary: 查询指定成交
  31475. tags:
  31476. - 仓单贸易v2
  31477. /WrTrade2/QueryWrStandardFactoryItem:
  31478. get:
  31479. parameters:
  31480. - description: 品类id
  31481. in: query
  31482. name: wrstandardid
  31483. required: true
  31484. type: integer
  31485. produces:
  31486. - application/json
  31487. responses:
  31488. "200":
  31489. description: OK
  31490. schema:
  31491. items:
  31492. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31493. type: array
  31494. "500":
  31495. description: Internal Server Error
  31496. schema:
  31497. $ref: '#/definitions/app.Response'
  31498. security:
  31499. - ApiKeyAuth: []
  31500. summary: 查询品类要素定义项
  31501. tags:
  31502. - 仓单贸易v2
  31503. /WrTrade2/QueryWrTradeBargainApply:
  31504. get:
  31505. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31506. 议价->对方议价 填写matchuserid=登录用户id
  31507. parameters:
  31508. - description: 议价人id(摘牌方)
  31509. in: query
  31510. name: userid
  31511. type: integer
  31512. - description: 挂牌方id(查对方议价时,填写此项)
  31513. in: query
  31514. name: matchuserid
  31515. type: integer
  31516. - description: 关联委托单id
  31517. in: query
  31518. name: wrtradeorderid
  31519. type: integer
  31520. - description: 0:仓单预售 1:仓单贸易
  31521. in: query
  31522. name: haswr
  31523. required: true
  31524. type: integer
  31525. - description: 开始交易日(yyyymmdd)
  31526. in: query
  31527. name: begindate
  31528. type: string
  31529. - description: 结束交易日(yyyymmdd)
  31530. in: query
  31531. name: enddate
  31532. type: string
  31533. produces:
  31534. - application/json
  31535. responses:
  31536. "200":
  31537. description: OK
  31538. schema:
  31539. items:
  31540. $ref: '#/definitions/models.WRTradeBargainApply'
  31541. type: array
  31542. "500":
  31543. description: Internal Server Error
  31544. schema:
  31545. $ref: '#/definitions/app.Response'
  31546. security:
  31547. - ApiKeyAuth: []
  31548. summary: 查询议价单
  31549. tags:
  31550. - 仓单贸易v2
  31551. /WrTrade2/QueryWrTradeDetail:
  31552. get:
  31553. parameters:
  31554. - description: 页码
  31555. in: query
  31556. name: page
  31557. type: integer
  31558. - description: 每页条数
  31559. in: query
  31560. name: pagesize
  31561. type: integer
  31562. - description: 用户id
  31563. in: query
  31564. name: userid
  31565. required: true
  31566. type: integer
  31567. - description: 仓单贸易市场id
  31568. in: query
  31569. name: marketid
  31570. type: integer
  31571. - description: 0:仓单预售 1:仓单贸易
  31572. in: query
  31573. name: haswr
  31574. required: true
  31575. type: integer
  31576. - description: 开始交易日(yyyymmdd)
  31577. in: query
  31578. name: begindate
  31579. type: string
  31580. - description: 结束交易日(yyyymmdd)
  31581. in: query
  31582. name: enddate
  31583. type: string
  31584. produces:
  31585. - application/json
  31586. responses:
  31587. "200":
  31588. description: OK
  31589. schema:
  31590. items:
  31591. $ref: '#/definitions/models.WrTradeDetail'
  31592. type: array
  31593. "500":
  31594. description: Internal Server Error
  31595. schema:
  31596. $ref: '#/definitions/app.Response'
  31597. security:
  31598. - ApiKeyAuth: []
  31599. summary: 查询仓单成交明细
  31600. tags:
  31601. - 仓单贸易v2
  31602. /WrTrade2/QueryWrTradeOrderDetail:
  31603. get:
  31604. parameters:
  31605. - description: 页码
  31606. in: query
  31607. name: page
  31608. type: integer
  31609. - description: 每页条数
  31610. in: query
  31611. name: pagesize
  31612. type: integer
  31613. - description: 商品id
  31614. in: query
  31615. name: goodsid
  31616. required: true
  31617. type: integer
  31618. - description: 买卖方向 0-买 1-卖
  31619. in: query
  31620. name: buyorsell
  31621. required: true
  31622. type: integer
  31623. produces:
  31624. - application/json
  31625. responses:
  31626. "200":
  31627. description: OK
  31628. schema:
  31629. items:
  31630. $ref: '#/definitions/models.WrTradeOrderDetail'
  31631. type: array
  31632. "500":
  31633. description: Internal Server Error
  31634. schema:
  31635. $ref: '#/definitions/app.Response'
  31636. security:
  31637. - ApiKeyAuth: []
  31638. summary: 查询合约交易买卖大厅
  31639. tags:
  31640. - 仓单贸易v2
  31641. /WrTrade2/QueryWrTradeQuote:
  31642. get:
  31643. parameters:
  31644. - description: 现货商品id
  31645. in: query
  31646. name: wrstandardid
  31647. required: true
  31648. type: integer
  31649. - description: 开始日期(yyyymmdd)
  31650. in: query
  31651. name: begindate
  31652. required: true
  31653. type: string
  31654. - description: 结束日期(yyyymmdd)
  31655. in: query
  31656. name: enddate
  31657. required: true
  31658. type: string
  31659. - description: 市场id
  31660. in: query
  31661. name: marketid
  31662. type: integer
  31663. produces:
  31664. - application/json
  31665. responses:
  31666. "200":
  31667. description: OK
  31668. schema:
  31669. items:
  31670. $ref: '#/definitions/models.Wrtradetradequote'
  31671. type: array
  31672. "500":
  31673. description: Internal Server Error
  31674. schema:
  31675. $ref: '#/definitions/app.Response'
  31676. security:
  31677. - ApiKeyAuth: []
  31678. summary: 查询仓单贸易成交行情
  31679. tags:
  31680. - 仓单贸易v2
  31681. /WrTrade2/QueryWrUserFriend:
  31682. get:
  31683. parameters:
  31684. - description: 用户id
  31685. in: query
  31686. name: userid
  31687. required: true
  31688. type: integer
  31689. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31690. in: query
  31691. name: newuserid
  31692. type: integer
  31693. produces:
  31694. - application/json
  31695. responses:
  31696. "200":
  31697. description: OK
  31698. schema:
  31699. items:
  31700. $ref: '#/definitions/models.WrUserFriend'
  31701. type: array
  31702. "500":
  31703. description: Internal Server Error
  31704. schema:
  31705. $ref: '#/definitions/app.Response'
  31706. security:
  31707. - ApiKeyAuth: []
  31708. summary: 查询我的朋友
  31709. tags:
  31710. - 仓单贸易v2
  31711. /WrTrade2/QueryWrUserReceiptInfo:
  31712. get:
  31713. parameters:
  31714. - description: 用户id
  31715. in: query
  31716. name: userid
  31717. type: integer
  31718. - description: 发票类型 - 1:个人 2:企业
  31719. in: query
  31720. name: receipttype
  31721. type: integer
  31722. produces:
  31723. - application/json
  31724. responses:
  31725. "200":
  31726. description: OK
  31727. schema:
  31728. items:
  31729. $ref: '#/definitions/models.WrUserReceiptInfo'
  31730. type: array
  31731. "500":
  31732. description: Internal Server Error
  31733. schema:
  31734. $ref: '#/definitions/app.Response'
  31735. security:
  31736. - ApiKeyAuth: []
  31737. summary: 查询发票信息
  31738. tags:
  31739. - 仓单贸易v2
  31740. /WrTrade2/QueryXhcpSellBackApply:
  31741. get:
  31742. parameters:
  31743. - description: 用户ID
  31744. in: query
  31745. name: userid
  31746. required: true
  31747. type: integer
  31748. produces:
  31749. - application/json
  31750. responses:
  31751. "200":
  31752. description: OK
  31753. schema:
  31754. items:
  31755. $ref: '#/definitions/models.Xhcpsellbackapply'
  31756. type: array
  31757. "500":
  31758. description: Internal Server Error
  31759. schema:
  31760. $ref: '#/definitions/app.Response'
  31761. security:
  31762. - ApiKeyAuth: []
  31763. summary: 查询我的回收申请(新会陈皮)
  31764. tags:
  31765. - 仓单贸易v2
  31766. /ZJ/GetBankTip:
  31767. get:
  31768. produces:
  31769. - application/json
  31770. responses:
  31771. "200":
  31772. description: OK
  31773. schema:
  31774. type: string
  31775. "500":
  31776. description: Internal Server Error
  31777. schema:
  31778. $ref: '#/definitions/app.Response'
  31779. summary: 获取中江网银端出入金提示信息
  31780. tags:
  31781. - 中江
  31782. /ZJ/GetCusBankChannels:
  31783. get:
  31784. produces:
  31785. - application/json
  31786. responses:
  31787. "200":
  31788. description: OK
  31789. schema:
  31790. items:
  31791. type: string
  31792. type: array
  31793. "500":
  31794. description: Internal Server Error
  31795. schema:
  31796. $ref: '#/definitions/app.Response'
  31797. summary: 获取中江出入金渠道显示列表
  31798. tags:
  31799. - 中江
  31800. securityDefinitions:
  31801. ApiKeyAuth:
  31802. in: header
  31803. name: Authorization
  31804. type: apiKey
  31805. swagger: "2.0"