swagger.yaml 886 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795
  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. type: object
  7881. models.Ermcp8HedgeditemReport:
  7882. properties:
  7883. accountname:
  7884. description: 套期主体
  7885. type: string
  7886. areauserid:
  7887. description: 企业ID
  7888. type: integer
  7889. curprice:
  7890. description: '[当日现货市场价]当前市场价'
  7891. type: number
  7892. enumdicname:
  7893. description: 单位
  7894. type: string
  7895. exeamount:
  7896. description: '[执行现货金额]执行市价总额'
  7897. type: number
  7898. exeavgprice:
  7899. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7900. type: number
  7901. exeqty:
  7902. description: '[执行数量]执行现货量'
  7903. type: number
  7904. futurehedgepl:
  7905. description: 期货实际损益
  7906. type: number
  7907. futurehedgeplchange:
  7908. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7909. type: number
  7910. futurepl:
  7911. description: 期货套期损益
  7912. type: number
  7913. futureplchange:
  7914. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7915. type: number
  7916. hedgeamount:
  7917. description: '[套期现货金额]套期市价总额'
  7918. type: number
  7919. hedgeditemnum:
  7920. description: 项目编号,模糊查询
  7921. type: string
  7922. hedgeditemstatus:
  7923. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7924. type: integer
  7925. hedgedtype:
  7926. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7927. type: integer
  7928. hedgeqty:
  7929. description: '[套期数量]套期现货量'
  7930. type: number
  7931. oriavgprice:
  7932. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7933. type: number
  7934. orifuturehedgepl:
  7935. description: 期初期货实际损益
  7936. type: number
  7937. orifuturepl:
  7938. description: 期初期货套期损益
  7939. type: number
  7940. orispothedgepl:
  7941. description: 期初现货实际损益
  7942. type: number
  7943. orispotpl:
  7944. description: 期初现货套期损益
  7945. type: number
  7946. planenddate:
  7947. description: 计划结束日期
  7948. type: string
  7949. planstartdate:
  7950. description: 计划开始日期
  7951. type: string
  7952. spothedgepl:
  7953. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7954. type: number
  7955. spothedgeplchange:
  7956. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7957. type: number
  7958. spotpl:
  7959. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7960. type: number
  7961. spotplchange:
  7962. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7963. type: number
  7964. tradeuserid:
  7965. description: 交易用户ID
  7966. type: integer
  7967. unexeqty:
  7968. description: 未执行现货量 = 套期现货量 - 执行现货量
  7969. type: number
  7970. wrstandardcode:
  7971. description: 现货品类代码
  7972. type: string
  7973. wrstandardid:
  7974. description: 现货商品ID
  7975. type: integer
  7976. wrstandardname:
  7977. description: '[现货商品]现货品类名称'
  7978. type: string
  7979. type: object
  7980. models.Ermcp8RunningHedgeditem:
  7981. properties:
  7982. accountname:
  7983. description: 套期主体
  7984. type: string
  7985. applyid:
  7986. description: 申请人
  7987. type: integer
  7988. applysrc:
  7989. description: 申请来源 - 1:管理端 2:终端
  7990. type: integer
  7991. areauserid:
  7992. description: 企业ID
  7993. type: integer
  7994. auditid:
  7995. description: 审核人
  7996. type: integer
  7997. auditremark:
  7998. description: 审核备注
  7999. type: string
  8000. auditsrc:
  8001. description: 审核来源 - 1:管理端 2:终端
  8002. type: integer
  8003. audittime:
  8004. description: 审核时间
  8005. type: string
  8006. audittradedate:
  8007. description: 审核交易日(yyyyMMdd)
  8008. type: string
  8009. createtime:
  8010. description: 申请时间
  8011. type: string
  8012. curprice:
  8013. description: 当前市场价
  8014. type: number
  8015. curstock:
  8016. description: 期末库存量 = 采购总量 - 销售总量
  8017. type: number
  8018. deliverygoodsid:
  8019. description: 现货品种ID
  8020. type: integer
  8021. enddate:
  8022. description: 完成日期
  8023. type: string
  8024. endtradedate:
  8025. description: 完成交易日
  8026. type: string
  8027. enumdicname:
  8028. description: 单位
  8029. type: string
  8030. exeamount:
  8031. description: 执行市价总额
  8032. type: number
  8033. exeavgprice:
  8034. description: 执行市场均价= 执行市价总额 / 执行现货量
  8035. type: number
  8036. execontractamount:
  8037. description: 执行定价总额
  8038. type: number
  8039. exeqty:
  8040. description: 执行现货量
  8041. type: number
  8042. exerestamount:
  8043. description: 执行剩余市价总额【现货贸易】
  8044. type: number
  8045. futurefloatpl:
  8046. description: 期货浮动损益
  8047. type: number
  8048. futurehedgepl:
  8049. description: 期货实际损益
  8050. type: number
  8051. futurehedgeplchange:
  8052. description: 期货实际损益变动
  8053. type: number
  8054. futurepl:
  8055. description: 期货套期损益
  8056. type: number
  8057. futureplchange:
  8058. description: 期货套期损益变动
  8059. type: number
  8060. hedgeamount:
  8061. description: 套期市价总额
  8062. type: number
  8063. hedgecontractamount:
  8064. description: 套期定价总额 【定价采购合同】【现货贸易】
  8065. type: number
  8066. hedgeditemid:
  8067. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8068. type: string
  8069. hedgeditemname:
  8070. description: 项目名称
  8071. type: string
  8072. hedgeditemnum:
  8073. description: 项目编号
  8074. type: string
  8075. hedgeditemstatus:
  8076. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8077. type: integer
  8078. hedgedtype:
  8079. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8080. type: integer
  8081. hedgeqty:
  8082. description: 套期现货量
  8083. type: number
  8084. hedgerate:
  8085. description: 套保比率
  8086. type: number
  8087. hedgerestamount:
  8088. description: 套期剩余市价总额【现货贸易】
  8089. type: number
  8090. hedgesumpl:
  8091. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8092. type: number
  8093. middlegoodslist:
  8094. description: 套期商品列表
  8095. items:
  8096. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8097. type: array
  8098. oriavgprice:
  8099. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8100. type: number
  8101. orifuturehedgepl:
  8102. description: 期初期货实际损益
  8103. type: number
  8104. orifuturepl:
  8105. description: 期初期货套期损益
  8106. type: number
  8107. orispothedgepl:
  8108. description: 期初现货实际损益
  8109. type: number
  8110. orispotpl:
  8111. description: 期初现货套期损益
  8112. type: number
  8113. planenddate:
  8114. description: 计划结束日期
  8115. type: string
  8116. planstartdate:
  8117. description: 计划开始日期
  8118. type: string
  8119. remark:
  8120. description: 备注
  8121. type: string
  8122. spotbookamount:
  8123. description: 现货账面总额
  8124. type: number
  8125. spotfloatpl:
  8126. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8127. type: number
  8128. spothedgepl:
  8129. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8130. type: number
  8131. spothedgeplchange:
  8132. description: 现货实际损益变动
  8133. type: number
  8134. spotpl:
  8135. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8136. type: number
  8137. spotplchange:
  8138. description: 现货套期损益变动
  8139. type: number
  8140. spottradepl:
  8141. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8142. type: number
  8143. sumobspl:
  8144. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8145. type: number
  8146. tradeuserid:
  8147. description: 交易用户ID
  8148. type: integer
  8149. unexeqty:
  8150. description: 未执行现货量 = 套期现货量 - 执行现货量
  8151. type: number
  8152. updatetime:
  8153. description: 更新时间
  8154. type: string
  8155. vatpl:
  8156. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8157. type: number
  8158. vatrate:
  8159. description: 增值税
  8160. type: number
  8161. wrstandardid:
  8162. description: 现货商品ID
  8163. type: integer
  8164. wrstandardname:
  8165. description: 商品名称
  8166. type: string
  8167. type: object
  8168. models.ErmcpBizGroupEx:
  8169. properties:
  8170. acclist:
  8171. description: 账号列表
  8172. items:
  8173. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8174. type: array
  8175. bizgroupid:
  8176. description: 业务分组id
  8177. type: integer
  8178. biztype:
  8179. description: 业务类型 1-套保 2-套利
  8180. type: integer
  8181. wrlist:
  8182. description: 现货商品表
  8183. items:
  8184. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8185. type: array
  8186. type: object
  8187. models.ErmcpBizGroupSpotGoods:
  8188. properties:
  8189. areauserid:
  8190. description: 所属机构id
  8191. type: integer
  8192. bizgroupid:
  8193. description: 分组id
  8194. type: integer
  8195. biztype:
  8196. description: 业务类型 1-套保 2-套利
  8197. type: integer
  8198. deliverygoodscode:
  8199. description: 现货商品代码
  8200. type: string
  8201. deliverygoodsid:
  8202. description: 现货商品id
  8203. type: integer
  8204. deliverygoodsname:
  8205. description: 现货商品名称
  8206. type: string
  8207. unitid:
  8208. description: 现货商品单位id
  8209. type: integer
  8210. type: object
  8211. models.ErmcpBizGroupTaAccount:
  8212. properties:
  8213. accountid:
  8214. description: 账号id
  8215. type: integer
  8216. accountname:
  8217. description: 账号名称
  8218. type: string
  8219. areauserid:
  8220. description: 所属机构id
  8221. type: integer
  8222. bizgroupid:
  8223. description: 业务分组id
  8224. type: integer
  8225. ismain:
  8226. description: 是否主账号 1-是 0-否
  8227. type: integer
  8228. type: object
  8229. models.ErmcpDGFactoryItem:
  8230. properties:
  8231. areauserid:
  8232. description: 用户id
  8233. type: integer
  8234. deliverygoodsid:
  8235. description: 现货品种ID
  8236. type: integer
  8237. dgfactoryitemid:
  8238. description: 选择项ID(SEQ_DGFACTORYITEM)
  8239. type: integer
  8240. dgfactoryitemtypeid:
  8241. description: 要素项类型
  8242. type: integer
  8243. dgfactoryitemvalue:
  8244. description: 要素项值(类型为仓库时填写仓库名称)
  8245. type: string
  8246. isvalid:
  8247. description: 是否有效 - 0:无效 1:有效
  8248. type: integer
  8249. orderindex:
  8250. description: 顺序
  8251. type: integer
  8252. warehouseid:
  8253. description: 仓库ID(类型为仓库时填写)
  8254. type: integer
  8255. type: object
  8256. models.ErmcpDeliveryGoods:
  8257. properties:
  8258. agreeunit:
  8259. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8260. type: integer
  8261. areauserid:
  8262. description: 所属机构
  8263. type: integer
  8264. auditflag:
  8265. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8266. type: integer
  8267. categoryid:
  8268. description: 类别ID(SEQ_WRCATEGORY)
  8269. type: integer
  8270. deliverygoodscode:
  8271. description: 现货品种代码
  8272. type: string
  8273. deliverygoodsid:
  8274. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8275. type: integer
  8276. deliverygoodsname:
  8277. description: 现货品种名称
  8278. type: string
  8279. deliverygoodstype:
  8280. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8281. type: integer
  8282. dgstatus:
  8283. description: 品种状态 - 作废 - 0:未激活 1:正常
  8284. type: integer
  8285. enumdicname:
  8286. description: 现货品种单位名称
  8287. type: string
  8288. goodsunitid:
  8289. description: 现货品种单位ID
  8290. type: integer
  8291. isvalid:
  8292. description: 是否有效 - 0:无效 1:有效
  8293. type: integer
  8294. qtydecimalplace:
  8295. description: 成交量小数位
  8296. type: integer
  8297. remark:
  8298. description: 备注
  8299. type: string
  8300. standardqty:
  8301. description: 标准数量(库位数量) [标准品特有]
  8302. type: integer
  8303. standardqtyrange:
  8304. description: 标准数量偏差范围 [标准品特有]
  8305. type: integer
  8306. type: object
  8307. models.ErmcpFuturesCompany:
  8308. properties:
  8309. brokerid:
  8310. description: 经纪公司代码
  8311. type: string
  8312. channeladdress:
  8313. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8314. type: string
  8315. channelid:
  8316. description: 对冲渠道ID
  8317. type: string
  8318. createtime:
  8319. description: 创建时间
  8320. type: string
  8321. creatorid:
  8322. description: 创建人
  8323. type: string
  8324. fcid:
  8325. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8326. type: integer
  8327. fcname:
  8328. description: 期货公司名称
  8329. type: string
  8330. isvalid:
  8331. description: 是否有效 - 0:无效 1:有效
  8332. type: integer
  8333. mhpaddress:
  8334. description: MHP服务地址(IP:Port)
  8335. type: string
  8336. riskrulegroupid:
  8337. description: 风控规则组ID
  8338. type: string
  8339. tradefeetmpid:
  8340. description: 手续费模板ID[TradeConfigTmpType为2]
  8341. type: string
  8342. trademargintmpid:
  8343. description: 保证金模板ID [TradeConfigTmpType为1]
  8344. type: string
  8345. traderatetmpid:
  8346. description: 汇率模板ID[TradeConfigTmpType为3]
  8347. type: string
  8348. updatetime:
  8349. description: 更新时间
  8350. type: string
  8351. updatorid:
  8352. description: 更新人
  8353. type: string
  8354. type: object
  8355. models.ErmcpGGConvertCfg:
  8356. properties:
  8357. convertratio:
  8358. description: 折算系数
  8359. type: number
  8360. destgoodsgroupid:
  8361. description: 目标品种ID
  8362. type: integer
  8363. dstcode:
  8364. description: 目录品种代码
  8365. type: string
  8366. dstexchangecode:
  8367. description: 目标期货交易所
  8368. type: string
  8369. dstname:
  8370. description: 目标品种名称
  8371. type: string
  8372. dstunitid:
  8373. description: 目标品种单位ID
  8374. type: integer
  8375. dstunitidname:
  8376. description: 目标品种单位名称
  8377. type: string
  8378. modifytime:
  8379. description: 修改时间
  8380. type: string
  8381. srccode:
  8382. description: 源品种代码
  8383. type: string
  8384. srcexchangecode:
  8385. description: 源期货交易所
  8386. type: string
  8387. srcgoodsgroupid:
  8388. description: 源品种ID
  8389. type: integer
  8390. srcname:
  8391. description: 源品种名称
  8392. type: string
  8393. srcunitid:
  8394. description: 源品种单位ID
  8395. type: integer
  8396. srcunitidname:
  8397. description: 源品种单位名称
  8398. type: string
  8399. type: object
  8400. models.ErmcpGoods:
  8401. properties:
  8402. agreeunit:
  8403. description: 合约单位
  8404. type: number
  8405. areauserid:
  8406. description: 所属机构
  8407. type: integer
  8408. auditaccountid:
  8409. description: 审核操作员账号
  8410. type: integer
  8411. audittime:
  8412. description: 审核时间
  8413. type: string
  8414. cancelaccountid:
  8415. description: 注销操作员账号
  8416. type: integer
  8417. canceltime:
  8418. description: 注销时间
  8419. type: string
  8420. closepricemode:
  8421. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8422. type: integer
  8423. closepriceparam:
  8424. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8425. type: number
  8426. createtime:
  8427. description: 创建时间
  8428. type: string
  8429. creatorid:
  8430. description: 创建人
  8431. type: integer
  8432. currencyid:
  8433. description: 报价货币ID
  8434. type: integer
  8435. cutmode:
  8436. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8437. type: integer
  8438. decimalplace:
  8439. description: 报价小数位
  8440. type: integer
  8441. delistingdate:
  8442. description: 商品退市时间(状态:退市) -- 已作废
  8443. type: string
  8444. delistingmode:
  8445. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8446. type: integer
  8447. deliveryflag:
  8448. description: 交割标志 - 0:不可交割 1:可交割
  8449. type: integer
  8450. enumdicname:
  8451. description: 单位名称
  8452. type: string
  8453. forceclosemode:
  8454. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8455. type: integer
  8456. forceclosevalue:
  8457. description: 定期强平参数 [收益权]
  8458. type: integer
  8459. goodscode:
  8460. description: 商品代码(内部)
  8461. type: string
  8462. goodscurrencyid:
  8463. description: 合约货币ID
  8464. type: integer
  8465. goodsgroupid:
  8466. description: 所属商品组ID
  8467. type: integer
  8468. goodsid:
  8469. description: 商品ID(自增ID SEQ_GOODS)
  8470. type: integer
  8471. goodsname:
  8472. description: 商品名称
  8473. type: string
  8474. goodsquotetype:
  8475. description: '合约报价类型: 1-直接报价 2-间接报价'
  8476. type: integer
  8477. goodsstatus:
  8478. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8479. type: integer
  8480. goodstradetype:
  8481. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8482. type: integer
  8483. goodunitid:
  8484. description: 报价单位ID
  8485. type: integer
  8486. hasquoter:
  8487. description: 是否有报价商 - 0:无报价商 1:有报价商
  8488. type: integer
  8489. hqprotecttime:
  8490. description: 行情保护时间(秒)
  8491. type: integer
  8492. innerdealmode:
  8493. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8494. type: integer
  8495. isbuylimited:
  8496. description: 是否限制建仓量 - 0:不限制 1:限制
  8497. type: integer
  8498. isvisible:
  8499. description: 游客是否可见 - 0:不可见 1:可见
  8500. type: integer
  8501. lasttradedate:
  8502. description: 最后交易日期(状态:待退市)
  8503. type: string
  8504. listingdate:
  8505. description: 交易开始日期
  8506. type: string
  8507. marketid:
  8508. description: 所属市场ID
  8509. type: integer
  8510. modifierid:
  8511. description: 修改人
  8512. type: integer
  8513. modifystatus:
  8514. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8515. type: integer
  8516. modifytime:
  8517. description: 修改时间
  8518. type: string
  8519. outerdealmode:
  8520. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8521. type: integer
  8522. outgoodscode:
  8523. description: 商品代码(外部)
  8524. type: string
  8525. pictureurl:
  8526. description: 商品图片
  8527. type: string
  8528. qtydecimalplace:
  8529. description: 成交量小数位
  8530. type: integer
  8531. quotegear:
  8532. description: 行情档位(1-10)
  8533. type: integer
  8534. quoteminunit:
  8535. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8536. type: integer
  8537. quoteshowtype:
  8538. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8539. type: integer
  8540. quoteshowtypeinterval:
  8541. description: 行情报价间隔时间(秒)(成交价时为0)
  8542. type: integer
  8543. relatedgoodsid:
  8544. description: 关联参考商品ID
  8545. type: integer
  8546. remark:
  8547. description: 备注
  8548. type: string
  8549. trademode:
  8550. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8551. 21:竞拍-大宗式 22:受托竞价
  8552. type: integer
  8553. required:
  8554. - goodscode
  8555. - goodsid
  8556. - goodsname
  8557. - marketid
  8558. type: object
  8559. models.ErmcpGoodsBrand:
  8560. properties:
  8561. areauserid:
  8562. description: 所属机构
  8563. type: integer
  8564. brandid:
  8565. description: BrandID(SEQ_SPOTGOODSBRAND)
  8566. type: integer
  8567. brandname:
  8568. description: 品牌名称
  8569. type: string
  8570. createtime:
  8571. description: 创建时间
  8572. type: string
  8573. creatorid:
  8574. description: 创建人
  8575. type: integer
  8576. creatorsrc:
  8577. description: 创建人来源 - 1:管理端 2:终端
  8578. type: integer
  8579. deliverygoodsid:
  8580. description: 现货品种ID
  8581. type: integer
  8582. isvalid:
  8583. description: 是否有效 - 0:无效 1:有效
  8584. type: integer
  8585. updatetime:
  8586. description: 更新时间
  8587. type: string
  8588. updatorid:
  8589. description: 更新人
  8590. type: integer
  8591. updatorsrc:
  8592. description: 更新人来源 - 1:管理端 2:终端
  8593. type: integer
  8594. wrstandardid:
  8595. description: 现货商品ID
  8596. type: integer
  8597. type: object
  8598. models.ErmcpGoodsModel:
  8599. properties:
  8600. areauserid:
  8601. description: 所属机构
  8602. type: integer
  8603. convertfactor:
  8604. description: 标仓系数
  8605. type: number
  8606. createtime:
  8607. description: 创建时间
  8608. type: string
  8609. creatorid:
  8610. description: 创建人
  8611. type: integer
  8612. creatorsrc:
  8613. description: 创建人来源 - 1:管理端 2:终端
  8614. type: integer
  8615. deliverygoodsid:
  8616. description: 现货品种ID
  8617. type: integer
  8618. isvalid:
  8619. description: 是否有效 - 0:无效 1:有效
  8620. type: integer
  8621. modelid:
  8622. description: ModelID(SEQ_SPOTGOODSMODEL)
  8623. type: integer
  8624. modelname:
  8625. description: 型号名称
  8626. type: string
  8627. updatetime:
  8628. description: 更新时间
  8629. type: string
  8630. updatorid:
  8631. description: 更新人
  8632. type: integer
  8633. updatorsrc:
  8634. description: 更新人来源 - 1:管理端 2:终端
  8635. type: integer
  8636. wrstandardid:
  8637. description: 现货商品ID
  8638. type: integer
  8639. type: object
  8640. models.ErmcpHisExposure:
  8641. properties:
  8642. needhedgeexposoure:
  8643. description: 应套保敞口
  8644. type: number
  8645. reckondate:
  8646. description: 日照时期(yyyyMMdd)
  8647. type: string
  8648. totalexposure:
  8649. description: 总敞口
  8650. type: number
  8651. type: object
  8652. models.ErmcpLoginTaAccount:
  8653. properties:
  8654. accountid:
  8655. description: 账号id
  8656. type: integer
  8657. accountname:
  8658. description: 账号名称
  8659. type: string
  8660. type: object
  8661. models.ErmcpLoginUser:
  8662. properties:
  8663. acclist:
  8664. description: 关联资金账号
  8665. items:
  8666. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8667. type: array
  8668. accountname:
  8669. description: 用户名称
  8670. type: string
  8671. clientroleid:
  8672. description: 角色id(usertype=2)
  8673. type: integer
  8674. createtime:
  8675. description: 创建时间
  8676. type: string
  8677. logincode:
  8678. description: 登录代码
  8679. type: string
  8680. loginid:
  8681. description: 登录id(LOGINID)
  8682. type: integer
  8683. loginname:
  8684. description: 登录名称(loginaccount表中的accountname字段)
  8685. type: string
  8686. loginstatus:
  8687. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8688. type: integer
  8689. memberuserid:
  8690. description: 所属会员id
  8691. type: integer
  8692. mobile:
  8693. description: 手机号
  8694. type: string
  8695. modifytime:
  8696. description: 修改时间
  8697. type: string
  8698. password:
  8699. description: 密码(不可解密)
  8700. type: string
  8701. rolename:
  8702. description: 角色名称
  8703. type: string
  8704. rolestatus:
  8705. description: 角色状态 1-启用 2-停用
  8706. type: integer
  8707. roletype:
  8708. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8709. type: string
  8710. userid:
  8711. description: 用户id
  8712. type: integer
  8713. usertype:
  8714. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8715. type: integer
  8716. type: object
  8717. models.ErmcpLoginUserEx:
  8718. properties:
  8719. accountstatus:
  8720. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8721. type: integer
  8722. mobile:
  8723. description: 手机号
  8724. type: string
  8725. querytype:
  8726. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8727. type: integer
  8728. roleid:
  8729. description: 角色id(交易账户->用户id)
  8730. type: integer
  8731. rolename:
  8732. description: 角色名称(交易账户->用户名称)
  8733. type: string
  8734. userlist:
  8735. description: 用户列表
  8736. items:
  8737. $ref: '#/definitions/models.ErmcpLoginUser'
  8738. type: array
  8739. usertype:
  8740. description: 用户类型 2-机构 7-企业成员(云平台)
  8741. type: integer
  8742. type: object
  8743. models.ErmcpMiddleGoodsModel:
  8744. properties:
  8745. areauserid:
  8746. description: 机构用户ID
  8747. type: integer
  8748. createtime:
  8749. description: 修改时间
  8750. type: string
  8751. enumdicname:
  8752. description: 单位名称
  8753. type: string
  8754. evaluateratio:
  8755. description: 估价系数
  8756. type: number
  8757. goodsgroupid:
  8758. description: 关联期货品种ID
  8759. type: integer
  8760. goodsunitid:
  8761. description: 单位ID
  8762. type: integer
  8763. isvalid:
  8764. description: 状态 0-无效(停用) 1-有效(正常)
  8765. type: integer
  8766. middlegoodscode:
  8767. description: 套保品种代码
  8768. type: string
  8769. middlegoodsid:
  8770. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8771. type: integer
  8772. middlegoodsname:
  8773. description: 套保品种名称
  8774. type: string
  8775. modifytime:
  8776. description: 修改时间
  8777. type: string
  8778. needarbitrageratio:
  8779. description: 套利比例
  8780. type: number
  8781. needhedgeratio:
  8782. description: 套保比率
  8783. type: number
  8784. qtydecimalplace:
  8785. description: 数量小数位
  8786. type: integer
  8787. relatedgoodsid:
  8788. description: 关联交易商品ID
  8789. type: integer
  8790. relatedgoodstype:
  8791. description: 关联商品类型 - 1:期货合约 2:现货品种
  8792. type: integer
  8793. remark:
  8794. description: 备注
  8795. type: string
  8796. type: object
  8797. models.ErmcpMiddlegoodsRelateGoods:
  8798. properties:
  8799. agreeunit:
  8800. description: 合约乘数
  8801. type: number
  8802. convertratio:
  8803. description: 折算系数
  8804. type: number
  8805. enumdicname:
  8806. description: 单位名称(交易商品)
  8807. type: string
  8808. goodscode:
  8809. description: 交易商品代码
  8810. type: string
  8811. goodsgroupid:
  8812. description: 交易品种id
  8813. type: integer
  8814. goodsid:
  8815. description: 商品Id
  8816. type: integer
  8817. goodsname:
  8818. description: 交易商品名称
  8819. type: string
  8820. goodunitid:
  8821. description: 交易商品单位id
  8822. type: integer
  8823. middlegoodsid:
  8824. description: 套保商品id
  8825. type: integer
  8826. middlegoodsname:
  8827. description: 套保商品名称
  8828. type: string
  8829. middlegoodsswcode:
  8830. description: 套保商品代码
  8831. type: string
  8832. needarbitrageratio:
  8833. description: 应套利比例
  8834. type: number
  8835. needhedgeratio:
  8836. description: 应套保比例
  8837. type: number
  8838. type: object
  8839. models.ErmcpRole:
  8840. properties:
  8841. areauserid:
  8842. description: 所属机构
  8843. type: integer
  8844. autoid:
  8845. description: 角色ID(自增ID)
  8846. type: integer
  8847. modifierid:
  8848. description: 修改人(创建人)
  8849. type: integer
  8850. modifiername:
  8851. description: 修改人名称
  8852. type: string
  8853. modifytime:
  8854. description: 修改时间(创建时间)
  8855. type: string
  8856. rolename:
  8857. description: 角色名称
  8858. type: string
  8859. rolestatus:
  8860. description: 角色状态 - 1:启用 2:停用
  8861. type: integer
  8862. roletype:
  8863. description: 角色类型 - 1- 管理端 2- 交易端
  8864. type: integer
  8865. type: object
  8866. models.ErmcpRoleMenu:
  8867. properties:
  8868. iconame:
  8869. description: 菜单图标
  8870. type: string
  8871. ishadrole:
  8872. description: 是否有权限
  8873. type: boolean
  8874. menutype:
  8875. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8876. type: integer
  8877. parentcode:
  8878. description: 上级资源代码
  8879. type: string
  8880. remark:
  8881. description: 菜单备注
  8882. type: string
  8883. resourcecode:
  8884. description: 菜单代码
  8885. type: string
  8886. resourcelevel:
  8887. description: 级别
  8888. type: integer
  8889. resourcename:
  8890. description: 菜单名称
  8891. type: string
  8892. roleid:
  8893. description: 角色id
  8894. type: integer
  8895. sort:
  8896. description: 排序
  8897. type: integer
  8898. url:
  8899. description: URL
  8900. type: string
  8901. userid:
  8902. description: 用户id
  8903. type: integer
  8904. type: object
  8905. models.ErmcpRoleMenuEx:
  8906. properties:
  8907. menu:
  8908. $ref: '#/definitions/models.ErmcpRoleMenu'
  8909. description: 父级菜单
  8910. subMenu:
  8911. description: 子级菜单
  8912. items:
  8913. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8914. type: array
  8915. type: object
  8916. models.ErmcpSpotContractModelEx:
  8917. properties:
  8918. accountname:
  8919. description: 套期主体
  8920. type: string
  8921. amount:
  8922. description: 金额 [1:一口价、3:暂定价]
  8923. type: number
  8924. attachment:
  8925. description: 附件
  8926. type: string
  8927. auditremark:
  8928. description: 审核意见
  8929. type: string
  8930. audittime:
  8931. description: 审核时间
  8932. type: string
  8933. avgprice:
  8934. description: 定价均价 = 已定价金额 / 已定价量
  8935. type: number
  8936. brandname:
  8937. description: 品牌名称
  8938. type: string
  8939. buyuserid:
  8940. description: 采购方ID
  8941. type: integer
  8942. buyusername:
  8943. description: 采购方名称
  8944. type: string
  8945. contracctstatus:
  8946. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8947. type: integer
  8948. contractmargin:
  8949. description: 合同保证金
  8950. type: number
  8951. contractno:
  8952. description: '[合同编号]现货合同编号'
  8953. type: string
  8954. contracttype:
  8955. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8956. type: integer
  8957. convertfactor:
  8958. description: 标仓系数
  8959. type: number
  8960. createtime:
  8961. description: 创建时间
  8962. type: string
  8963. customername:
  8964. description: 对手方
  8965. type: string
  8966. customeruserid:
  8967. description: 客户ID
  8968. type: integer
  8969. deliveryenddate:
  8970. description: 交收期(结束)
  8971. type: string
  8972. deliverygoodscode:
  8973. description: 现货品种代码
  8974. type: string
  8975. deliverygoodsid:
  8976. description: 现货品种ID
  8977. type: integer
  8978. deliverygoodsname:
  8979. description: 现货品种名称
  8980. type: string
  8981. deliverystartdate:
  8982. description: 交收期(开始)
  8983. type: string
  8984. enddate:
  8985. description: 点价结束日期 [2:点价 3:暂定价]
  8986. type: string
  8987. enumdicname:
  8988. description: 单位名称
  8989. type: string
  8990. goodscode:
  8991. description: 点价合约代码
  8992. type: string
  8993. goodsid:
  8994. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8995. type: integer
  8996. goodsname:
  8997. description: 点价商品名称
  8998. type: string
  8999. isrelated:
  9000. description: 是否已关联计划项目 - 0:否 1:是
  9001. type: integer
  9002. isrelated2:
  9003. description: 是否已关联现货项目 - 0:否 1:是
  9004. type: integer
  9005. margin:
  9006. description: 当前保证金
  9007. type: number
  9008. modelname:
  9009. description: 型号名称
  9010. type: string
  9011. price:
  9012. description: 价格\暂定价 [1:一口价、3:暂定价]
  9013. type: number
  9014. pricedamount:
  9015. description: 已定价金额 = (点价价格+升贴水) * 数量
  9016. type: number
  9017. pricedqty:
  9018. description: 已定价量
  9019. type: number
  9020. pricemove:
  9021. description: 升贴水 [2:点价 3:暂定价]
  9022. type: number
  9023. pricetype:
  9024. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9025. type: integer
  9026. producttype:
  9027. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9028. type: integer
  9029. qty:
  9030. description: '[合同数量]数量'
  9031. type: number
  9032. remark:
  9033. description: 备注
  9034. type: string
  9035. selluserid:
  9036. description: 销售方ID
  9037. type: integer
  9038. sellusername:
  9039. description: 销售方名称
  9040. type: string
  9041. spotamount:
  9042. description: 合同现货金额 [不含升贴水]
  9043. type: number
  9044. spotavgprice:
  9045. description: 现货均价 = 合同现货金额 / 已定价量
  9046. type: number
  9047. spotcontractid:
  9048. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9049. type: string
  9050. spotgoodsbrandid:
  9051. description: 现货品牌ID
  9052. type: integer
  9053. spotgoodsdesc:
  9054. description: 商品型号
  9055. type: string
  9056. spotgoodsmodelid:
  9057. description: 现货型号ID
  9058. type: integer
  9059. startdate:
  9060. description: 点价开始日期 [2:点价 3:暂定价]
  9061. type: string
  9062. tradeuserid:
  9063. description: 交易用户ID
  9064. type: integer
  9065. unpricedqty:
  9066. description: 未定价量 = 合同数量 - 已定价量
  9067. type: number
  9068. updatetime:
  9069. description: 更新时间
  9070. type: string
  9071. userid:
  9072. description: 机构ID
  9073. type: integer
  9074. wrstandardcode:
  9075. description: 现货商品代码
  9076. type: string
  9077. wrstandardid:
  9078. description: 现货商品ID
  9079. type: integer
  9080. wrstandardname:
  9081. description: '[现货商品]现货商品名称'
  9082. type: string
  9083. type: object
  9084. models.ErmcpTaAccount:
  9085. properties:
  9086. accountid:
  9087. description: 账户id
  9088. type: integer
  9089. accountname:
  9090. description: 账户名称
  9091. type: string
  9092. currencyid:
  9093. description: 币种id
  9094. type: integer
  9095. hedgeaccountcode:
  9096. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9097. type: string
  9098. ismain:
  9099. description: 是否主账户 0-否 1-是
  9100. type: integer
  9101. parentaccountid:
  9102. description: 父账户id
  9103. type: integer
  9104. relateduserid:
  9105. description: 关联userid
  9106. type: integer
  9107. tradefeetmpid:
  9108. description: 手续费模板id
  9109. type: integer
  9110. tradefeetmpname:
  9111. description: 手续费模板名称
  9112. type: string
  9113. trademargintmpid:
  9114. description: 保证金模板id
  9115. type: integer
  9116. trademargintmpname:
  9117. description: 保证金模板名称
  9118. type: string
  9119. traderatetmpid:
  9120. description: 汇率模板id
  9121. type: integer
  9122. traderatetmpname:
  9123. description: 汇率模板名称
  9124. type: string
  9125. tradestatus:
  9126. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9127. type: integer
  9128. userid:
  9129. description: 用户id
  9130. type: integer
  9131. type: object
  9132. models.ErmcpTaAccountEx:
  9133. properties:
  9134. mainAcc:
  9135. $ref: '#/definitions/models.ErmcpTaAccountM'
  9136. description: 主账号
  9137. subacclist:
  9138. description: 子账号列表
  9139. items:
  9140. $ref: '#/definitions/models.ErmcpTaAccount'
  9141. type: array
  9142. type: object
  9143. models.ErmcpTaAccountInfo:
  9144. properties:
  9145. accountid:
  9146. description: 资金账户ID
  9147. type: integer
  9148. accountname:
  9149. description: 账户名称
  9150. type: string
  9151. balance:
  9152. description: 期初余额
  9153. type: number
  9154. capitalbalance:
  9155. description: 本金余额[外部子账户实际出入金余额]
  9156. type: number
  9157. closepl:
  9158. description: 今日平仓盈亏
  9159. type: number
  9160. creditdecrease:
  9161. description: 今日授信减少
  9162. type: number
  9163. creditincrease:
  9164. description: 今日授信增加
  9165. type: number
  9166. curdebt:
  9167. description: 期末欠款
  9168. type: number
  9169. currencyid:
  9170. description: 货币ID
  9171. type: integer
  9172. currentbalance:
  9173. description: 期末余额
  9174. type: number
  9175. freezecharge:
  9176. description: 手续费冻结
  9177. type: number
  9178. freezemargin:
  9179. description: 冻结保证金
  9180. type: number
  9181. fromaccountid:
  9182. description: 所属上级账户
  9183. type: integer
  9184. inamount:
  9185. description: 今日入金金额(包括三方入金)
  9186. type: number
  9187. ismain:
  9188. description: 是否母账号 0:不是母账户 1:是母账户
  9189. type: integer
  9190. mortgagecredit:
  9191. description: 授信金额
  9192. type: number
  9193. oridebt:
  9194. description: 期初欠款
  9195. type: number
  9196. orifreezecharge:
  9197. description: 期初手续费冻结
  9198. type: number
  9199. orifreezemargin:
  9200. description: 期初冻结保证金
  9201. type: number
  9202. orimortgagecredit:
  9203. description: 期初授信金额
  9204. type: number
  9205. oriothercredit:
  9206. description: 期初其它授信金额
  9207. type: number
  9208. oriotherfreezemargin:
  9209. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9210. type: number
  9211. orioutamountfreeze:
  9212. description: 期初出金冻结
  9213. type: number
  9214. oriusedmargin:
  9215. description: 期初占用保证金
  9216. type: number
  9217. othercredit:
  9218. description: 其它授信金额
  9219. type: number
  9220. othercreditdecrease:
  9221. description: 今日其它授信减少
  9222. type: number
  9223. othercreditincrease:
  9224. description: 今日其它授信增加
  9225. type: number
  9226. otherfreezemargin:
  9227. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9228. type: number
  9229. outamount:
  9230. description: 今日出金金额(包括三方出金)
  9231. type: number
  9232. outamountfreeze:
  9233. description: 出金冻结
  9234. type: number
  9235. outthreshold:
  9236. description: 出金阈值
  9237. type: number
  9238. parentaccountid:
  9239. description: 所属根账号
  9240. type: integer
  9241. paycharge:
  9242. description: 今日手续费支出
  9243. type: number
  9244. relateduserid:
  9245. description: 关联用户
  9246. type: integer
  9247. signstatus:
  9248. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9249. type: integer
  9250. sublevelpath:
  9251. description: 账号层级路径(逗号分隔,首尾加逗号)
  9252. type: string
  9253. taaccounttype:
  9254. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9255. type: integer
  9256. thirdinamount:
  9257. description: 今日三方入金
  9258. type: number
  9259. thirdoutamount:
  9260. description: 今日三方出金
  9261. type: number
  9262. tradestatus:
  9263. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9264. type: integer
  9265. transferamount:
  9266. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9267. type: number
  9268. usedmargin:
  9269. description: 占用保证金
  9270. type: number
  9271. userid:
  9272. description: 用户ID
  9273. type: integer
  9274. type: object
  9275. models.ErmcpTaAccountM:
  9276. properties:
  9277. accountid:
  9278. description: 账户id
  9279. type: integer
  9280. accountname:
  9281. description: 账户名称
  9282. type: string
  9283. currencyid:
  9284. description: 币种id
  9285. type: integer
  9286. fcid:
  9287. description: 期货公司id
  9288. type: integer
  9289. fcname:
  9290. description: 期货公司代码
  9291. type: string
  9292. hedgeaccountcode:
  9293. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9294. type: string
  9295. ismain:
  9296. description: 是否主账户 0-否 1-是
  9297. type: integer
  9298. parentaccountid:
  9299. description: 父账户id
  9300. type: integer
  9301. relateduserid:
  9302. description: 关联userid
  9303. type: integer
  9304. tradefeetmpid:
  9305. description: 手续费模板id
  9306. type: integer
  9307. tradefeetmpname:
  9308. description: 手续费模板名称
  9309. type: string
  9310. trademargintmpid:
  9311. description: 保证金模板id
  9312. type: integer
  9313. trademargintmpname:
  9314. description: 保证金模板名称
  9315. type: string
  9316. traderatetmpid:
  9317. description: 汇率模板id
  9318. type: integer
  9319. traderatetmpname:
  9320. description: 汇率模板名称
  9321. type: string
  9322. tradestatus:
  9323. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9324. type: integer
  9325. userid:
  9326. description: 用户id
  9327. type: integer
  9328. type: object
  9329. models.ErmcpTradeConfigTMP:
  9330. properties:
  9331. areauserid:
  9332. description: 所属机构
  9333. type: integer
  9334. basiccurrencyid:
  9335. description: 基本币种ID[汇率] - 目标币种
  9336. type: integer
  9337. mainaccountid:
  9338. description: 主账户ID
  9339. type: integer
  9340. modifierid:
  9341. description: 修改人
  9342. type: integer
  9343. remark:
  9344. description: 备注
  9345. type: string
  9346. tradeconfigtmpid:
  9347. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9348. type: integer
  9349. tradeconfigtmpname:
  9350. description: 交易配置模板名称
  9351. type: string
  9352. tradeconfigtmptype:
  9353. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9354. type: integer
  9355. updatetime:
  9356. description: 更新时间
  9357. type: string
  9358. type: object
  9359. models.Ermcpjrlinkpos:
  9360. properties:
  9361. areauserid:
  9362. description: 所属企业
  9363. type: integer
  9364. averageprice:
  9365. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9366. type: number
  9367. closepl:
  9368. description: 总平仓盈亏 [期货损益]
  9369. type: number
  9370. executeprice:
  9371. description: 执行价 - 1:期货单 为 0
  9372. type: integer
  9373. futurehedgeqty:
  9374. description: 期货套期量
  9375. type: number
  9376. goodsid:
  9377. description: 期货合约
  9378. type: integer
  9379. middlegoodscode:
  9380. description: 套保商品代码
  9381. type: string
  9382. middlegoodsname:
  9383. description: 套保商品名称
  9384. type: string
  9385. netqty:
  9386. description: 净头寸
  9387. type: number
  9388. optioncode:
  9389. description: 期权代码
  9390. type: string
  9391. ordertype:
  9392. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9393. type: integer
  9394. reckonpl:
  9395. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9396. type: number
  9397. spotcontractid:
  9398. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9399. type: string
  9400. todayfutureclosepl:
  9401. description: 今日平仓盈亏
  9402. type: number
  9403. totalbuyamount:
  9404. description: 买金额 [期货]
  9405. type: number
  9406. totalbuyholdamount:
  9407. description: 买持仓总金额[期货]
  9408. type: number
  9409. totalbuyqty:
  9410. description: 买数量
  9411. type: number
  9412. totalcharge:
  9413. description: 手续费
  9414. type: number
  9415. totalpremium:
  9416. description: 权利金 [期权]
  9417. type: number
  9418. totalsellamount:
  9419. description: 卖金额 [期货]
  9420. type: number
  9421. totalsellholdamount:
  9422. description: 卖持仓总金额[期货]
  9423. type: number
  9424. totalsellqty:
  9425. description: 卖数量
  9426. type: number
  9427. updatetime:
  9428. description: 更新时间
  9429. type: string
  9430. required:
  9431. - spotcontractid
  9432. type: object
  9433. models.Ermcppatradelinkdetail:
  9434. properties:
  9435. agreeunit:
  9436. description: 合约乘数
  9437. type: number
  9438. amount:
  9439. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9440. type: number
  9441. areauserid:
  9442. description: 所属机构
  9443. type: integer
  9444. bizsubjectid:
  9445. description: 归属业务部门ID - SubjectID
  9446. type: integer
  9447. buyorsell:
  9448. description: 方向 - 0:买 1:卖
  9449. type: integer
  9450. convertratio:
  9451. description: 品种系数
  9452. type: number
  9453. createtime:
  9454. description: 创建时间
  9455. type: string
  9456. creatorid:
  9457. description: 创建人ID
  9458. type: integer
  9459. creatorsrc:
  9460. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9461. type: integer
  9462. goodsgroupid:
  9463. description: 对冲品种ID[期货合约商品组ID]
  9464. type: integer
  9465. goodsid:
  9466. description: 商品ID
  9467. type: integer
  9468. hedgeditemid:
  9469. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9470. type: integer
  9471. hedgeflag:
  9472. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9473. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9474. type: integer
  9475. linkdetailid:
  9476. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9477. type: string
  9478. linkstatus:
  9479. description: 关联状态 - 1:成功 2:失败 3:解绑
  9480. type: integer
  9481. middlegoodsid:
  9482. description: 套保品种ID
  9483. type: integer
  9484. name:
  9485. description: 账户名/子账户
  9486. type: string
  9487. optioncode:
  9488. description: '[期货合约]期权代码 [期权]'
  9489. type: string
  9490. ordertype:
  9491. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9492. type: integer
  9493. relatedlot:
  9494. description: '[数量]关联手数'
  9495. type: number
  9496. relatedmode:
  9497. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9498. type: integer
  9499. relatedqty:
  9500. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9501. type: number
  9502. retcode:
  9503. description: 返回码
  9504. type: integer
  9505. saleuserid:
  9506. description: 业务员ID
  9507. type: integer
  9508. tradedate:
  9509. description: 关联交易日(yyyyMMdd)
  9510. type: string
  9511. tradeid:
  9512. description: '[成交单号]内部成交单ID'
  9513. type: string
  9514. tradelot:
  9515. description: 成交手数
  9516. type: integer
  9517. tradeprice:
  9518. description: '[价格]成交价格'
  9519. type: number
  9520. tradetime:
  9521. description: 日期时间
  9522. type: string
  9523. tradetradedate:
  9524. description: 成交交易日(yyyyMMdd)
  9525. type: string
  9526. required:
  9527. - hedgeditemid
  9528. type: object
  9529. models.Externalexchange:
  9530. properties:
  9531. autoid:
  9532. description: AutoID - SEQ_EXTERNALEXCHANGE
  9533. type: integer
  9534. exchangefullname:
  9535. description: 外部交易所全称
  9536. type: string
  9537. exexchangecode:
  9538. description: 外部交易所代码
  9539. type: string
  9540. exexchangename:
  9541. description: 外部交易所名称(简称)
  9542. type: string
  9543. ismarketprice:
  9544. description: 是否支持市价 - 0:不支持 1:支持
  9545. type: integer
  9546. quotegear:
  9547. description: 行情档位(1-10)
  9548. type: integer
  9549. showbrokerflag:
  9550. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9551. type: integer
  9552. updatetime:
  9553. description: 更新时间
  9554. type: string
  9555. required:
  9556. - autoid
  9557. type: object
  9558. models.Funcmenulist:
  9559. properties:
  9560. iconame:
  9561. description: 菜单图标
  9562. type: string
  9563. menutype:
  9564. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9565. type: integer
  9566. parentcode:
  9567. description: 上级资源代码
  9568. type: string
  9569. remark:
  9570. description: 备注
  9571. type: string
  9572. resourcecode:
  9573. description: 资源代码
  9574. type: string
  9575. resourcelevel:
  9576. description: 级别 1-一级 2-二级 3-三级 4-四级
  9577. type: integer
  9578. resourcename:
  9579. description: 资源名
  9580. type: string
  9581. sort:
  9582. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9583. type: integer
  9584. url:
  9585. description: URL
  9586. type: string
  9587. required:
  9588. - resourcecode
  9589. type: object
  9590. models.Goods:
  9591. properties:
  9592. agreeunit:
  9593. description: 合约单位
  9594. type: number
  9595. areauserid:
  9596. description: 所属机构
  9597. type: integer
  9598. auditaccountid:
  9599. description: 审核操作员账号
  9600. type: integer
  9601. audittime:
  9602. description: 审核时间
  9603. type: string
  9604. cancelaccountid:
  9605. description: 注销操作员账号
  9606. type: integer
  9607. canceltime:
  9608. description: 注销时间
  9609. type: string
  9610. closepricemode:
  9611. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9612. type: integer
  9613. closepriceparam:
  9614. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9615. type: number
  9616. createtime:
  9617. description: 创建时间
  9618. type: string
  9619. creatorid:
  9620. description: 创建人
  9621. type: integer
  9622. currencyid:
  9623. description: 报价货币ID
  9624. type: integer
  9625. cutmode:
  9626. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9627. type: integer
  9628. decimalplace:
  9629. description: 报价小数位
  9630. type: integer
  9631. delistingdate:
  9632. description: 商品退市时间(状态:退市) -- 已作废
  9633. type: string
  9634. delistingmode:
  9635. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9636. type: integer
  9637. deliveryflag:
  9638. description: 交割标志 - 0:不可交割 1:可交割
  9639. type: integer
  9640. forceclosemode:
  9641. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9642. type: integer
  9643. forceclosevalue:
  9644. description: 定期强平参数 [收益权]
  9645. type: integer
  9646. goodscode:
  9647. description: 商品代码(内部)
  9648. type: string
  9649. goodscurrencyid:
  9650. description: 合约货币ID
  9651. type: integer
  9652. goodsgroupid:
  9653. description: 所属商品组ID
  9654. type: integer
  9655. goodsid:
  9656. description: 商品ID(自增ID SEQ_GOODS)
  9657. type: integer
  9658. goodsname:
  9659. description: 商品名称
  9660. type: string
  9661. goodsquotetype:
  9662. description: '合约报价类型: 1-直接报价 2-间接报价'
  9663. type: integer
  9664. goodsstatus:
  9665. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9666. type: integer
  9667. goodstradetype:
  9668. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9669. type: integer
  9670. goodunitid:
  9671. description: 报价单位ID
  9672. type: integer
  9673. hasquoter:
  9674. description: 是否有报价商 - 0:无报价商 1:有报价商
  9675. type: integer
  9676. hqprotecttime:
  9677. description: 行情保护时间(秒)
  9678. type: integer
  9679. innerdealmode:
  9680. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9681. type: integer
  9682. isbuylimited:
  9683. description: 是否限制建仓量 - 0:不限制 1:限制
  9684. type: integer
  9685. isvisible:
  9686. description: 游客是否可见 - 0:不可见 1:可见
  9687. type: integer
  9688. lasttradedate:
  9689. description: 最后交易日期(状态:待退市)
  9690. type: string
  9691. listingdate:
  9692. description: 交易开始日期
  9693. type: string
  9694. marketid:
  9695. description: 所属市场ID
  9696. type: integer
  9697. modifierid:
  9698. description: 修改人
  9699. type: integer
  9700. modifystatus:
  9701. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9702. type: integer
  9703. modifytime:
  9704. description: 修改时间
  9705. type: string
  9706. outerdealmode:
  9707. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9708. type: integer
  9709. outgoodscode:
  9710. description: 商品代码(外部)
  9711. type: string
  9712. pictureurl:
  9713. description: 商品图片
  9714. type: string
  9715. qtydecimalplace:
  9716. description: 成交量小数位
  9717. type: integer
  9718. quotegear:
  9719. description: 行情档位(1-10)
  9720. type: integer
  9721. quoteminunit:
  9722. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9723. type: integer
  9724. quoteshowtype:
  9725. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9726. type: integer
  9727. quoteshowtypeinterval:
  9728. description: 行情报价间隔时间(秒)(成交价时为0)
  9729. type: integer
  9730. remark:
  9731. description: 备注
  9732. type: string
  9733. required:
  9734. - goodscode
  9735. - goodsid
  9736. - goodsname
  9737. - marketid
  9738. type: object
  9739. models.GoodsIDAndName:
  9740. properties:
  9741. goodscode:
  9742. description: 商品代码(内部)
  9743. type: string
  9744. goodsid:
  9745. description: 商品ID(自增ID SEQ_GOODS)
  9746. type: integer
  9747. goodsname:
  9748. description: 商品名称
  9749. type: string
  9750. marketid:
  9751. description: 所属市场ID
  9752. type: integer
  9753. required:
  9754. - goodscode
  9755. - goodsid
  9756. - goodsname
  9757. - marketid
  9758. type: object
  9759. models.Goodsgroup:
  9760. properties:
  9761. agreeunit:
  9762. description: 合约单位
  9763. type: number
  9764. canshort:
  9765. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9766. type: integer
  9767. closepricemode:
  9768. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9769. type: integer
  9770. closepriceparam:
  9771. description: 强平最新价浮动比例 - 方式为2时使用
  9772. type: number
  9773. createtime:
  9774. description: 创建时间
  9775. type: string
  9776. creatorid:
  9777. description: 创建人
  9778. type: integer
  9779. currencyid:
  9780. description: 报价货币ID
  9781. type: integer
  9782. decimalplace:
  9783. description: 报价小数位
  9784. type: integer
  9785. exercisetype:
  9786. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9787. type: integer
  9788. exexchangeid:
  9789. description: 外部交易所ID[通道交易]
  9790. type: integer
  9791. goodsgroupid:
  9792. description: 商品组ID(自增ID)
  9793. type: integer
  9794. goodsgroupname:
  9795. description: 商品组名称
  9796. type: string
  9797. goodsgroupstatus:
  9798. description: 商品组状态 - 1:正常 2:注销
  9799. type: integer
  9800. goodunitid:
  9801. description: 报价单位ID
  9802. type: integer
  9803. innerdealmode:
  9804. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9805. type: integer
  9806. isbuylimited:
  9807. description: 是否限制建仓量 - 0:不限制 1:限制
  9808. type: integer
  9809. marketid:
  9810. description: 所属市场ID
  9811. type: integer
  9812. modifierid:
  9813. description: 修改人
  9814. type: integer
  9815. modifytime:
  9816. description: 修改时间
  9817. type: string
  9818. outerdealmode:
  9819. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9820. type: integer
  9821. outergroupcode:
  9822. description: 外部商品组代码[通道交易]
  9823. type: string
  9824. premiumdecimalplace:
  9825. description: 权利金小数位[场外期权]
  9826. type: integer
  9827. premiumspreadalgorithm:
  9828. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9829. type: integer
  9830. premiumspreadvalue:
  9831. description: 权利金点差值[场外期权]
  9832. type: number
  9833. qtydecimalplace:
  9834. description: 成交量小数位
  9835. type: integer
  9836. quotegear:
  9837. description: 行情档位(1-10)
  9838. type: integer
  9839. quoteminunit:
  9840. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9841. type: integer
  9842. quoterid:
  9843. description: 报价商ID[场外期权]
  9844. type: integer
  9845. quotesourcegroupid:
  9846. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9847. type: integer
  9848. syncgoodsqty:
  9849. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9850. type: integer
  9851. required:
  9852. - goodsgroupid
  9853. - goodsgroupname
  9854. - goodsgroupstatus
  9855. - marketid
  9856. type: object
  9857. models.Goodssortbypreposition:
  9858. properties:
  9859. goodscode:
  9860. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9861. type: string
  9862. goodsgroupcode:
  9863. description: 品种代码
  9864. type: string
  9865. prepositionqty:
  9866. description: 昨持仓量
  9867. type: integer
  9868. sortindex:
  9869. description: 排序
  9870. type: integer
  9871. tradedate:
  9872. description: 交易日
  9873. type: string
  9874. updatetime:
  9875. description: 更新时间
  9876. type: string
  9877. required:
  9878. - goodscode
  9879. - tradedate
  9880. type: object
  9881. models.Hedgeinnerholderdetail:
  9882. properties:
  9883. accountid:
  9884. description: 账号ID
  9885. type: integer
  9886. buyorsell:
  9887. description: 方向 - 0:买 1:卖
  9888. type: integer
  9889. freezeqty:
  9890. description: 冻结数量 - 按单平使用
  9891. type: integer
  9892. goodsid:
  9893. description: 商品ID
  9894. type: integer
  9895. holderamount:
  9896. description: 持仓金额 [商品币种]
  9897. type: number
  9898. holderdays:
  9899. description: 剩余冻结天数
  9900. type: integer
  9901. holderprice:
  9902. description: 持仓价格
  9903. type: number
  9904. holderqty:
  9905. description: 持仓数量
  9906. type: integer
  9907. marketid:
  9908. description: 市场ID
  9909. type: integer
  9910. openprice:
  9911. description: 建仓价格
  9912. type: number
  9913. openqty:
  9914. description: 建仓数量
  9915. type: integer
  9916. parentaccountid:
  9917. description: 所属母账户
  9918. type: integer
  9919. releaseamount:
  9920. description: 释放持仓金额[商品币种]
  9921. type: number
  9922. tradeamount:
  9923. description: 成交金额[账户]
  9924. type: number
  9925. tradedate:
  9926. description: 交易日(yyyyMMdd)
  9927. type: string
  9928. tradeid:
  9929. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9930. type: string
  9931. tradetime:
  9932. description: 交易时间
  9933. type: string
  9934. required:
  9935. - buyorsell
  9936. - tradeid
  9937. type: object
  9938. models.Hedgemarketopenlog:
  9939. properties:
  9940. accountid:
  9941. description: 资金账号[外部母账户]
  9942. type: integer
  9943. fcname:
  9944. description: 期货公司名称
  9945. type: string
  9946. handlestatus:
  9947. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9948. type: integer
  9949. marketid:
  9950. description: 市场ID
  9951. type: integer
  9952. status:
  9953. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9954. type: integer
  9955. tradedate:
  9956. description: 交易日(yyyyMMdd)
  9957. type: string
  9958. updatetime:
  9959. description: 更新时间
  9960. type: string
  9961. required:
  9962. - accountid
  9963. type: object
  9964. models.HsbyBuyMyPayOrder:
  9965. properties:
  9966. agreeunit:
  9967. description: 合约单位
  9968. type: number
  9969. buyaccountid:
  9970. description: 买方账号ID[报价币种]
  9971. type: integer
  9972. buyorderid:
  9973. description: 买方委托单号
  9974. type: string
  9975. createtime:
  9976. description: 创建时间
  9977. type: string
  9978. currencysign:
  9979. description: 货币符号
  9980. type: string
  9981. decimalplace:
  9982. description: 报价小数位
  9983. type: integer
  9984. goodscode:
  9985. description: 商品代码(内部)
  9986. type: string
  9987. goodsid:
  9988. description: 商品ID
  9989. type: integer
  9990. goodsname:
  9991. description: 商品名称
  9992. type: string
  9993. marketid:
  9994. description: 市场ID
  9995. type: integer
  9996. offamount:
  9997. description: 优惠金额
  9998. type: number
  9999. originalamount:
  10000. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  10001. type: number
  10002. payamount:
  10003. description: 支付金额 = TradeAmount + TradeCharge
  10004. type: number
  10005. payflag:
  10006. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10007. type: integer
  10008. paylimitedtime:
  10009. description: 支付期限
  10010. type: string
  10011. paytime:
  10012. description: 付款时间
  10013. type: string
  10014. picurls1:
  10015. description: 预售商品介绍图片[多张用逗号分隔]
  10016. type: string
  10017. picurls2:
  10018. description: 挂牌商品介绍图片[多张用逗号分隔]
  10019. type: string
  10020. sellaccountid:
  10021. description: 卖方账号ID[报价币种]
  10022. type: integer
  10023. sellorderid:
  10024. description: 卖方委托单号
  10025. type: string
  10026. tradeamount:
  10027. description: 成交金额
  10028. type: number
  10029. tradecharge:
  10030. description: 成交手续费(买方)
  10031. type: number
  10032. tradedate:
  10033. description: 交易日(yyyyMMdd)
  10034. type: string
  10035. tradeid:
  10036. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10037. type: string
  10038. trademode:
  10039. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10040. 21:竞拍-大宗式 22:受托竞价
  10041. type: integer
  10042. tradeprice:
  10043. description: 成交价格
  10044. type: number
  10045. tradeqty:
  10046. description: 成交数量
  10047. type: integer
  10048. vendorname1:
  10049. description: 预售商品供应商名称
  10050. type: string
  10051. vendorname2:
  10052. description: 挂牌商品供应商名称
  10053. type: string
  10054. required:
  10055. - goodscode
  10056. - goodsname
  10057. - tradeid
  10058. - trademode
  10059. type: object
  10060. models.HsbyBuyMyTradeDetail:
  10061. properties:
  10062. accountid:
  10063. description: 账户ID[报价币种]
  10064. type: integer
  10065. agreeunit:
  10066. description: 合约单位
  10067. type: number
  10068. amount:
  10069. description: 金额 = 价格 * 数量 * 合约单位
  10070. type: number
  10071. buyorsell:
  10072. description: 买卖 - 0:买 1:卖
  10073. type: integer
  10074. currencysign:
  10075. description: 货币符号
  10076. type: string
  10077. decimalplace:
  10078. description: 报价小数位
  10079. type: integer
  10080. goodscode:
  10081. description: 商品代码(内部)
  10082. type: string
  10083. goodsid:
  10084. description: 商品ID
  10085. type: integer
  10086. goodsname:
  10087. description: 商品名称
  10088. type: string
  10089. marketid:
  10090. description: 市场ID
  10091. type: integer
  10092. orderamount:
  10093. description: 委托金额
  10094. type: number
  10095. orderid:
  10096. description: 单号(成交单号)
  10097. type: string
  10098. picurls1:
  10099. description: 预售商品介绍图片[多张用逗号分隔]
  10100. type: string
  10101. picurls2:
  10102. description: 挂牌商品介绍图片[多张用逗号分隔]
  10103. type: string
  10104. price:
  10105. description: 价格
  10106. type: number
  10107. qty:
  10108. description: 数量
  10109. type: integer
  10110. time:
  10111. description: 时间
  10112. type: string
  10113. trademode:
  10114. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10115. 21:竞拍-大宗式 22:受托竞价
  10116. type: integer
  10117. vendorname1:
  10118. description: 预售商品供应商名称
  10119. type: string
  10120. vendorname2:
  10121. description: 挂牌商品供应商名称
  10122. type: string
  10123. required:
  10124. - accountid
  10125. - buyorsell
  10126. - goodscode
  10127. - goodsid
  10128. - goodsname
  10129. - marketid
  10130. - orderid
  10131. - qty
  10132. - time
  10133. - trademode
  10134. type: object
  10135. models.HsbyGoodsOrderDetail:
  10136. properties:
  10137. buyorsell:
  10138. description: 买卖 - 0:买 1:卖
  10139. type: integer
  10140. currencysign:
  10141. description: 货币符号
  10142. type: string
  10143. customername:
  10144. description: 客户名称(企业名称),已脱敏
  10145. type: string
  10146. enableqty:
  10147. description: 可用数量
  10148. type: integer
  10149. goodunit:
  10150. description: 报价单位
  10151. type: string
  10152. orderid:
  10153. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10154. type: string
  10155. orderprice:
  10156. description: 委托价格
  10157. type: number
  10158. ordertime:
  10159. description: 委托时间
  10160. type: string
  10161. required:
  10162. - buyorsell
  10163. - orderid
  10164. - ordertime
  10165. type: object
  10166. models.HsbyListingGoodsDetail:
  10167. properties:
  10168. agreeunit:
  10169. description: 合约单位
  10170. type: number
  10171. buymaxqty:
  10172. description: 购买上限 [71] - 0为不限
  10173. type: integer
  10174. currency:
  10175. description: 货币
  10176. type: string
  10177. currencysign:
  10178. description: 货币符号
  10179. type: string
  10180. decimalplace:
  10181. description: 报价小数位
  10182. type: integer
  10183. desccityid:
  10184. description: 目的地(市)ID
  10185. type: integer
  10186. descprovinceid:
  10187. description: 目的地(省)ID
  10188. type: integer
  10189. goodscode:
  10190. description: 商品代码(内部)
  10191. type: string
  10192. goodsdesc:
  10193. description: 商品详情
  10194. type: string
  10195. goodsid:
  10196. description: 商品ID(自增ID SEQ_GOODS)
  10197. type: integer
  10198. goodsname:
  10199. description: 商品名称
  10200. type: string
  10201. goodsprice:
  10202. description: 商品价格
  10203. type: number
  10204. hotindex:
  10205. description: 景点热度
  10206. type: integer
  10207. last:
  10208. description: 现价
  10209. type: number
  10210. limitdown:
  10211. description: 跌停价
  10212. type: number
  10213. limitup:
  10214. description: 涨停价
  10215. type: number
  10216. lotsize:
  10217. description: 手数最小变动单位
  10218. type: integer
  10219. marketid:
  10220. description: 所属市场ID
  10221. type: integer
  10222. picurls:
  10223. description: 介绍图片[多张用逗号分隔]
  10224. type: string
  10225. quoteminunit:
  10226. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10227. type: integer
  10228. stepvalue:
  10229. description: 价格最小变动单位
  10230. type: number
  10231. trademode:
  10232. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10233. 21:竞拍-大宗式 22:受托竞价
  10234. type: integer
  10235. vendorattr:
  10236. description: 供应商附件(多张,逗号分隔)
  10237. type: string
  10238. vendorname:
  10239. description: 供应商名称
  10240. type: string
  10241. vendorphone:
  10242. description: 供应商客服电话
  10243. type: string
  10244. videourls:
  10245. description: 介绍视频[多张用逗号分隔]
  10246. type: string
  10247. required:
  10248. - goodscode
  10249. - goodsid
  10250. - goodsname
  10251. - marketid
  10252. - trademode
  10253. type: object
  10254. models.HsbyMarketGoods:
  10255. properties:
  10256. accountid:
  10257. description: 账户ID[报价币种]
  10258. type: integer
  10259. agreeunit:
  10260. description: 合约单位
  10261. type: number
  10262. buyorsell:
  10263. description: 买卖 - 0:买 1:卖
  10264. type: integer
  10265. categoryid:
  10266. description: 类别ID(WRCATEGORY)
  10267. type: integer
  10268. currency:
  10269. description: 货币
  10270. type: string
  10271. currencysign:
  10272. description: 货币符号
  10273. type: string
  10274. customername:
  10275. description: 卖家名称
  10276. type: string
  10277. decimalplace:
  10278. description: 报价小数位
  10279. type: integer
  10280. goodscode:
  10281. description: 商品代码(内部)
  10282. type: string
  10283. goodsid:
  10284. description: 商品ID
  10285. type: integer
  10286. goodsname:
  10287. description: 商品名称
  10288. type: string
  10289. goodsprice:
  10290. description: 商品价格
  10291. type: number
  10292. hascoupon:
  10293. description: 是否可用优惠卷
  10294. type: boolean
  10295. hotindex:
  10296. description: 景点热度
  10297. type: integer
  10298. marketid:
  10299. description: 市场ID
  10300. type: integer
  10301. orderid:
  10302. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10303. type: string
  10304. orderprice:
  10305. description: 委托价格
  10306. type: number
  10307. orderstatus:
  10308. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10309. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10310. 16:成交失败违约(荷兰式竞拍专用)
  10311. type: integer
  10312. picurls:
  10313. description: 介绍图片[多张用逗号分隔]
  10314. type: string
  10315. quoteminunit:
  10316. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10317. type: integer
  10318. sellUserID:
  10319. description: 卖方UserID
  10320. type: integer
  10321. trademode:
  10322. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10323. 21:竞拍-大宗式 22:受托竞价
  10324. type: integer
  10325. videourls:
  10326. description: 介绍视频[多张用逗号分隔]
  10327. type: string
  10328. required:
  10329. - accountid
  10330. - buyorsell
  10331. - goodscode
  10332. - goodsid
  10333. - goodsname
  10334. - marketid
  10335. - orderid
  10336. - trademode
  10337. type: object
  10338. models.HsbyMarketGoodsDetail:
  10339. properties:
  10340. accountid:
  10341. description: 账户ID[报价币种]
  10342. type: integer
  10343. agreeunit:
  10344. description: 合约单位
  10345. type: number
  10346. buymaxqty:
  10347. description: 购买上限 [71] - 0为不限
  10348. type: integer
  10349. buyorsell:
  10350. description: 买卖 - 0:买 1:卖
  10351. type: integer
  10352. cancelqty:
  10353. description: 撤单数量
  10354. type: integer
  10355. categoryid:
  10356. description: 类别ID(WRCATEGORY)
  10357. type: integer
  10358. currency:
  10359. description: 货币
  10360. type: string
  10361. currencysign:
  10362. description: 货币符号
  10363. type: string
  10364. customername:
  10365. description: 卖家名称
  10366. type: string
  10367. decimalplace:
  10368. description: 报价小数位
  10369. type: integer
  10370. goodscode:
  10371. description: 商品代码(内部)
  10372. type: string
  10373. goodsdesc:
  10374. description: 商品详情
  10375. type: string
  10376. goodsid:
  10377. description: 商品ID
  10378. type: integer
  10379. goodsname:
  10380. description: 商品名称
  10381. type: string
  10382. goodsprice:
  10383. description: 商品价格
  10384. type: number
  10385. hotindex:
  10386. description: 景点热度
  10387. type: integer
  10388. lotsize:
  10389. description: 手数最小变动单位
  10390. type: integer
  10391. marketid:
  10392. description: 市场ID
  10393. type: integer
  10394. orderid:
  10395. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10396. type: string
  10397. orderprice:
  10398. description: 委托价格
  10399. type: number
  10400. orderqty:
  10401. description: 委托数量
  10402. type: integer
  10403. orderstatus:
  10404. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10405. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10406. 16:成交失败违约(荷兰式竞拍专用)
  10407. type: integer
  10408. picurls:
  10409. description: 介绍图片[多张用逗号分隔]
  10410. type: string
  10411. quoteminunit:
  10412. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10413. type: integer
  10414. sellUserID:
  10415. description: 卖方UserID
  10416. type: integer
  10417. trademode:
  10418. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10419. 21:竞拍-大宗式 22:受托竞价
  10420. type: integer
  10421. tradeqty:
  10422. description: 成交数量
  10423. type: integer
  10424. vendorattr:
  10425. description: 供应商附件(多张,逗号分隔)
  10426. type: string
  10427. vendorname:
  10428. description: 供应商名称
  10429. type: string
  10430. vendorphone:
  10431. description: 供应商客服电话
  10432. type: string
  10433. videourls:
  10434. description: 介绍视频[多张用逗号分隔]
  10435. type: string
  10436. required:
  10437. - accountid
  10438. - buyorsell
  10439. - goodscode
  10440. - goodsid
  10441. - goodsname
  10442. - marketid
  10443. - orderid
  10444. - orderqty
  10445. - trademode
  10446. type: object
  10447. models.HsbyMarketInfo:
  10448. properties:
  10449. marketid:
  10450. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10451. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10452. type: integer
  10453. marketname:
  10454. description: 市场名称
  10455. type: string
  10456. marketstatus:
  10457. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10458. type: integer
  10459. trademode:
  10460. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10461. 21:竞拍-大宗式 22:受托竞价
  10462. type: integer
  10463. required:
  10464. - marketid
  10465. - marketstatus
  10466. - trademode
  10467. type: object
  10468. models.HsbyMyGoods:
  10469. properties:
  10470. accountid:
  10471. description: 账号Id
  10472. type: integer
  10473. agreeunit:
  10474. description: 合约单位
  10475. type: number
  10476. buyaverageprice:
  10477. description: 持仓均价
  10478. type: number
  10479. buycurholderamount:
  10480. description: 买当前持仓总金额[商品币种]
  10481. type: number
  10482. buycurpositionqty:
  10483. description: 买当前持仓总数量
  10484. type: integer
  10485. buymaxqty:
  10486. description: 购买上限 [71] - 0为不限
  10487. type: integer
  10488. currencysign:
  10489. description: 货币符号
  10490. type: string
  10491. decimalplace:
  10492. description: 报价小数位
  10493. type: integer
  10494. enableqty:
  10495. description: 可用数量
  10496. type: integer
  10497. goodscode:
  10498. description: 商品代码(内部)
  10499. type: string
  10500. goodsid:
  10501. description: 商品Id
  10502. type: integer
  10503. goodsname:
  10504. description: 商品名称
  10505. type: string
  10506. goodsprice:
  10507. description: 商品价格
  10508. type: number
  10509. goodsstatus:
  10510. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10511. type: integer
  10512. last:
  10513. description: 现价(仅使用于挂牌点选)
  10514. type: number
  10515. limitdown:
  10516. description: 跌停价(仅使用于挂牌点选)
  10517. type: number
  10518. limitup:
  10519. description: 涨停价(仅使用于挂牌点选)
  10520. type: number
  10521. lotsize:
  10522. description: 手数最小变动单位
  10523. type: integer
  10524. marketid:
  10525. description: 所属市场ID
  10526. type: integer
  10527. picurls:
  10528. description: 介绍图片[多张用逗号分隔]
  10529. type: string
  10530. quoteminunit:
  10531. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10532. type: integer
  10533. stepvalue:
  10534. description: 价格最小变动单位
  10535. type: number
  10536. trademode:
  10537. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10538. 21:竞拍-大宗式 22:受托竞价
  10539. type: integer
  10540. required:
  10541. - accountid
  10542. - goodscode
  10543. - goodsid
  10544. - goodsname
  10545. - marketid
  10546. - trademode
  10547. type: object
  10548. models.HsbyMyPackage:
  10549. properties:
  10550. accountid:
  10551. description: 账户ID
  10552. type: integer
  10553. address:
  10554. description: 提货人详细地址
  10555. type: string
  10556. agreeunit:
  10557. description: 合约单位
  10558. type: number
  10559. amount:
  10560. description: 提货金额
  10561. type: number
  10562. auditer:
  10563. description: 审核人
  10564. type: integer
  10565. audittime:
  10566. description: 审核时间
  10567. type: string
  10568. averageprice:
  10569. description: 均价
  10570. type: number
  10571. cardnum:
  10572. description: 提货人证件号码
  10573. type: string
  10574. cardtypeid:
  10575. description: 提货人证件类型
  10576. type: integer
  10577. checkremark:
  10578. description: 审核备注
  10579. type: string
  10580. currencysign:
  10581. description: 货币符号
  10582. type: string
  10583. decimalplace:
  10584. description: 报价小数位
  10585. type: integer
  10586. goodscode:
  10587. description: 商品代码(内部)
  10588. type: string
  10589. goodsid:
  10590. description: 商品ID
  10591. type: integer
  10592. goodsname:
  10593. description: 商品名称
  10594. type: string
  10595. handlestatus:
  10596. description: 处理状态
  10597. type: integer
  10598. marketid:
  10599. description: 市场ID
  10600. type: integer
  10601. phonenum:
  10602. description: 提货人联系方式
  10603. type: string
  10604. picurls:
  10605. description: 介绍图片[多张用逗号分隔]
  10606. type: string
  10607. qty:
  10608. description: 提货数量
  10609. type: number
  10610. recivername:
  10611. description: 提货人姓名
  10612. type: string
  10613. reqtime:
  10614. description: 更新时间
  10615. type: string
  10616. takemode:
  10617. description: 提货方式 - 2:自提 3:配送
  10618. type: integer
  10619. takeorderid:
  10620. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10621. type: string
  10622. takeorderstatus:
  10623. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10624. type: integer
  10625. takeremark:
  10626. description: 提货备注
  10627. type: string
  10628. tradedate:
  10629. description: 交易日(yyyyMMdd)
  10630. type: string
  10631. trademode:
  10632. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10633. 21:竞拍-大宗式 22:受托竞价
  10634. type: integer
  10635. userid:
  10636. description: 用户ID
  10637. type: integer
  10638. vendorname:
  10639. description: 供应商名称
  10640. type: string
  10641. required:
  10642. - goodscode
  10643. - goodsname
  10644. - takeorderid
  10645. - trademode
  10646. type: object
  10647. models.HsbyPreGoods:
  10648. properties:
  10649. agreeunit:
  10650. description: 合约单位
  10651. type: number
  10652. currency:
  10653. description: 货币
  10654. type: string
  10655. currencysign:
  10656. description: 货币符号
  10657. type: string
  10658. decimalplace:
  10659. description: 报价小数位
  10660. type: integer
  10661. desccityid:
  10662. description: 目的地(市)
  10663. type: integer
  10664. descprovinceid:
  10665. description: 目的地(省)
  10666. type: integer
  10667. enableqty:
  10668. description: 剩余数量
  10669. type: integer
  10670. goodscode:
  10671. description: 商品代码(内部)
  10672. type: string
  10673. goodsid:
  10674. description: 商品ID(自增ID SEQ_GOODS)
  10675. type: integer
  10676. goodsname:
  10677. description: 商品名称
  10678. type: string
  10679. goodsstatus:
  10680. description: 商品状态- 2:未上市 3:上市
  10681. type: integer
  10682. lasttradedate:
  10683. description: 最后交易日期(状态:待退市)
  10684. type: string
  10685. listingdate:
  10686. description: 交易开始日期
  10687. type: string
  10688. marketid:
  10689. description: 所属市场ID
  10690. type: integer
  10691. picurls:
  10692. description: 介绍图片[多张用逗号分隔]
  10693. type: string
  10694. presaledqty:
  10695. description: 已预售量(预售结束时更新)
  10696. type: integer
  10697. presaleqty:
  10698. description: 预售数量
  10699. type: integer
  10700. quoteminunit:
  10701. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10702. type: integer
  10703. refprice:
  10704. description: 参考价格[一口价]
  10705. type: number
  10706. relatedgoodsid:
  10707. description: 关联交易合约ID
  10708. type: integer
  10709. trademode:
  10710. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10711. 21:竞拍-大宗式 22:受托竞价
  10712. type: integer
  10713. videourls:
  10714. description: 介绍视频[多张用逗号分隔]
  10715. type: string
  10716. required:
  10717. - goodscode
  10718. - goodsid
  10719. - goodsname
  10720. - marketid
  10721. - trademode
  10722. type: object
  10723. models.HsbyPreGoodsDetail:
  10724. properties:
  10725. agreeunit:
  10726. description: 合约单位
  10727. type: number
  10728. buymaxqty:
  10729. description: 购买上限 [71] - 0为不限
  10730. type: integer
  10731. currency:
  10732. description: 货币
  10733. type: string
  10734. currencysign:
  10735. description: 货币符号
  10736. type: string
  10737. customername:
  10738. description: 发行单位
  10739. type: string
  10740. decimalplace:
  10741. description: 报价小数位
  10742. type: integer
  10743. desccityid:
  10744. description: 目的地(市)ID
  10745. type: integer
  10746. descprovinceid:
  10747. description: 目的地(省)ID
  10748. type: integer
  10749. enableqty:
  10750. description: 剩余数量
  10751. type: integer
  10752. goodscode:
  10753. description: 商品代码(内部)
  10754. type: string
  10755. goodsdesc:
  10756. description: 商品详情
  10757. type: string
  10758. goodsid:
  10759. description: 商品ID(自增ID SEQ_GOODS)
  10760. type: integer
  10761. goodsname:
  10762. description: 商品名称
  10763. type: string
  10764. goodsstatus:
  10765. description: 商品状态- 2:未上市 3:上市
  10766. type: integer
  10767. goodunit:
  10768. description: 报价单位
  10769. type: string
  10770. lasttradedate:
  10771. description: 最后交易日期(状态:待退市)
  10772. type: string
  10773. listingdate:
  10774. description: 交易开始日期
  10775. type: string
  10776. lotsize:
  10777. description: 手数最小变动单位
  10778. type: integer
  10779. marketid:
  10780. description: 所属市场ID
  10781. type: integer
  10782. picurls:
  10783. description: 介绍图片[多张用逗号分隔]
  10784. type: string
  10785. presaledqty:
  10786. description: 已预售量(预售结束时更新)
  10787. type: integer
  10788. presaleqty:
  10789. description: 预售数量
  10790. type: integer
  10791. quoteminunit:
  10792. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10793. type: integer
  10794. refprice:
  10795. description: 参考价格[一口价]
  10796. type: number
  10797. relatedgoodsid:
  10798. description: 关联交易合约ID
  10799. type: integer
  10800. stepvalue:
  10801. description: 价格最小变动单位
  10802. type: number
  10803. trademode:
  10804. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10805. 21:竞拍-大宗式 22:受托竞价
  10806. type: integer
  10807. vendorattr:
  10808. description: 供应商附件(多张,逗号分隔)
  10809. type: string
  10810. vendorname:
  10811. description: 供应商名称
  10812. type: string
  10813. vendorphone:
  10814. description: 供应商客服电话
  10815. type: string
  10816. videourls:
  10817. description: 介绍视频[多张用逗号分隔]
  10818. type: string
  10819. required:
  10820. - goodscode
  10821. - goodsid
  10822. - goodsname
  10823. - marketid
  10824. - trademode
  10825. type: object
  10826. models.HsbySellCollectionOrder:
  10827. properties:
  10828. agreeunit:
  10829. description: 合约单位
  10830. type: number
  10831. buyaccountid:
  10832. description: 买方账号ID[报价币种]
  10833. type: integer
  10834. buyorderid:
  10835. description: 买方委托单号
  10836. type: string
  10837. createtime:
  10838. description: 创建时间
  10839. type: string
  10840. currencysign:
  10841. description: 货币符号
  10842. type: string
  10843. decimalplace:
  10844. description: 报价小数位
  10845. type: integer
  10846. goodscode:
  10847. description: 商品代码(内部)
  10848. type: string
  10849. goodsid:
  10850. description: 商品ID
  10851. type: integer
  10852. goodsname:
  10853. description: 商品名称
  10854. type: string
  10855. marketid:
  10856. description: 市场ID
  10857. type: integer
  10858. offamount:
  10859. description: 优惠金额
  10860. type: number
  10861. payamount:
  10862. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10863. type: number
  10864. payflag:
  10865. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10866. type: integer
  10867. paylimitedtime:
  10868. description: 支付期限
  10869. type: string
  10870. paytime:
  10871. description: 付款时间
  10872. type: string
  10873. picurls:
  10874. description: 商品介绍图片[多张用逗号分隔]
  10875. type: string
  10876. sellaccountid:
  10877. description: 卖方账号ID[报价币种]
  10878. type: integer
  10879. sellorderid:
  10880. description: 卖方委托单号
  10881. type: string
  10882. tradeamount:
  10883. description: 成交金额
  10884. type: number
  10885. tradecharge:
  10886. description: 成交手续费(买方)
  10887. type: number
  10888. tradedate:
  10889. description: 交易日(yyyyMMdd)
  10890. type: string
  10891. tradeid:
  10892. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10893. type: string
  10894. trademode:
  10895. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10896. 21:竞拍-大宗式 22:受托竞价
  10897. type: integer
  10898. tradeprice:
  10899. description: 成交价格
  10900. type: number
  10901. tradeqty:
  10902. description: 成交数量
  10903. type: integer
  10904. required:
  10905. - goodscode
  10906. - goodsname
  10907. - tradeid
  10908. - trademode
  10909. type: object
  10910. models.HsbySellMyDetail:
  10911. properties:
  10912. accountid:
  10913. description: 账户ID[报价币种]
  10914. type: integer
  10915. agreeunit:
  10916. description: 合约单位
  10917. type: number
  10918. buyorsell:
  10919. description: 买卖 - 0:买 1:卖
  10920. type: integer
  10921. currencysign:
  10922. description: 货币符号
  10923. type: string
  10924. decimalplace:
  10925. description: 报价小数位
  10926. type: integer
  10927. goodscode:
  10928. description: 商品代码(内部)
  10929. type: string
  10930. goodsid:
  10931. description: 商品ID
  10932. type: integer
  10933. goodsname:
  10934. description: 商品名称
  10935. type: string
  10936. marketid:
  10937. description: 市场ID
  10938. type: integer
  10939. orderid:
  10940. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10941. type: string
  10942. ordertype:
  10943. description: 单据类型:0 - 发布中, 1 - 已完成
  10944. type: integer
  10945. picurls:
  10946. description: 介绍图片[多张用逗号分隔]
  10947. type: string
  10948. price:
  10949. description: 价格
  10950. type: number
  10951. qty:
  10952. description: 数量
  10953. type: integer
  10954. time:
  10955. description: 时间
  10956. type: string
  10957. trademode:
  10958. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10959. 21:竞拍-大宗式 22:受托竞价
  10960. type: integer
  10961. vendorname:
  10962. description: 供应商名称
  10963. type: string
  10964. required:
  10965. - accountid
  10966. - buyorsell
  10967. - goodscode
  10968. - goodsid
  10969. - goodsname
  10970. - marketid
  10971. - orderid
  10972. - time
  10973. - trademode
  10974. type: object
  10975. models.HsbyTopGoods:
  10976. properties:
  10977. agreeunit:
  10978. description: 合约单位
  10979. type: number
  10980. currency:
  10981. description: 货币
  10982. type: string
  10983. currencysign:
  10984. description: 货币符号
  10985. type: string
  10986. decimalplace:
  10987. description: 报价小数位
  10988. type: integer
  10989. desccityid:
  10990. description: 目的地(市)
  10991. type: integer
  10992. descprovinceid:
  10993. description: 目的地(省)
  10994. type: integer
  10995. goodscode:
  10996. description: 商品代码(内部)
  10997. type: string
  10998. goodsid:
  10999. description: 商品ID(自增ID SEQ_GOODS)
  11000. type: integer
  11001. goodsname:
  11002. description: 商品名称
  11003. type: string
  11004. hotindex:
  11005. description: 景点热度
  11006. type: integer
  11007. last:
  11008. description: 现价
  11009. type: number
  11010. marketid:
  11011. description: 所属市场ID
  11012. type: integer
  11013. picurls:
  11014. description: 介绍图片[多张用逗号分隔]
  11015. type: string
  11016. quoteminunit:
  11017. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11018. type: integer
  11019. trademode:
  11020. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11021. 21:竞拍-大宗式 22:受托竞价
  11022. type: integer
  11023. videourls:
  11024. description: 介绍视频[多张用逗号分隔]
  11025. type: string
  11026. required:
  11027. - goodscode
  11028. - goodsid
  11029. - goodsname
  11030. - marketid
  11031. - trademode
  11032. type: object
  11033. models.HybsMyBuyOrderDetail:
  11034. properties:
  11035. accountid:
  11036. description: 账户ID[报价币种]
  11037. type: integer
  11038. agreeunit:
  11039. description: 合约单位
  11040. type: number
  11041. buyorsell:
  11042. description: 买卖 - 0:买 1:卖
  11043. type: integer
  11044. cancelqty:
  11045. description: 撤单数量
  11046. type: integer
  11047. currencysign:
  11048. description: 货币符号
  11049. type: string
  11050. decimalplace:
  11051. description: 报价小数位
  11052. type: integer
  11053. goodscode:
  11054. description: 商品代码(内部)
  11055. type: string
  11056. goodsid:
  11057. description: 商品ID
  11058. type: integer
  11059. goodsname:
  11060. description: 商品名称
  11061. type: string
  11062. listingselecttype:
  11063. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11064. type: integer
  11065. marketid:
  11066. description: 市场ID
  11067. type: integer
  11068. mybuystatus:
  11069. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  11070. type: integer
  11071. orderamount:
  11072. description: 委托金额
  11073. type: number
  11074. orderid:
  11075. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11076. type: string
  11077. orderprice:
  11078. description: 委托价格
  11079. type: number
  11080. orderqty:
  11081. description: 委托数量
  11082. type: integer
  11083. orderstatus:
  11084. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11085. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11086. 16:成交失败违约(荷兰式竞拍专用)
  11087. type: integer
  11088. ordertime:
  11089. description: 委托时间
  11090. type: string
  11091. picurls1:
  11092. description: 预售商品介绍图片[多张用逗号分隔]
  11093. type: string
  11094. picurls2:
  11095. description: 挂牌商品介绍图片[多张用逗号分隔]
  11096. type: string
  11097. trademode:
  11098. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11099. 21:竞拍-大宗式 22:受托竞价
  11100. type: integer
  11101. tradeqty:
  11102. description: 成交数量
  11103. type: integer
  11104. vendorname1:
  11105. description: 预售商品供应商名称
  11106. type: string
  11107. vendorname2:
  11108. description: 挂牌商品供应商名称
  11109. type: string
  11110. required:
  11111. - accountid
  11112. - buyorsell
  11113. - goodscode
  11114. - goodsid
  11115. - goodsname
  11116. - marketid
  11117. - orderid
  11118. - orderqty
  11119. - ordertime
  11120. - trademode
  11121. type: object
  11122. models.InternalEnableTradeDetail:
  11123. properties:
  11124. agreeunit:
  11125. description: 合约乘数
  11126. type: number
  11127. areauserid:
  11128. description: 企业ID
  11129. type: integer
  11130. convertratio:
  11131. description: 品种系数
  11132. type: number
  11133. deliverygoodscode:
  11134. description: 现货品种代码
  11135. type: string
  11136. deliverygoodsid:
  11137. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11138. type: integer
  11139. deliverygoodsname:
  11140. description: 现货品种名称
  11141. type: string
  11142. futurehedgeqty:
  11143. description: '[已关联数量]期货持仓套期量'
  11144. type: number
  11145. goodsid:
  11146. description: 期货合约ID
  11147. type: integer
  11148. hedgeditemid:
  11149. description: 被套期项目ID
  11150. type: string
  11151. hedgeditemnum:
  11152. description: 项目编号
  11153. type: string
  11154. tradeuserid:
  11155. description: 交易用户ID
  11156. type: integer
  11157. unexehedgeqty:
  11158. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11159. type: number
  11160. unexespotqty:
  11161. description: 未执行现货量
  11162. type: number
  11163. wrstandardcode:
  11164. description: 现货品类代码
  11165. type: string
  11166. wrstandardid:
  11167. description: 现货品类ID(SEQ_WRSTANDARD)
  11168. type: integer
  11169. wrstandardname:
  11170. description: 现货品类名称
  11171. type: string
  11172. required:
  11173. - areauserid
  11174. - goodsid
  11175. - tradeuserid
  11176. type: object
  11177. models.InternalUncorrelatedTradeDetail:
  11178. properties:
  11179. accountid:
  11180. description: 账号ID
  11181. type: integer
  11182. accountname:
  11183. description: 套期主体
  11184. type: string
  11185. agreeunit:
  11186. description: 合约乘数
  11187. type: number
  11188. areauserid:
  11189. description: 所属机构
  11190. type: integer
  11191. bizsubjectid:
  11192. description: 归属业务部门ID - SubjectID
  11193. type: integer
  11194. buyorsell:
  11195. description: 方向 - 0:买 1:卖
  11196. type: integer
  11197. channelbuildtype:
  11198. description: 委托单据类型 0:无 1:建仓 2:平仓
  11199. type: integer
  11200. convertratio:
  11201. description: 品种系数
  11202. type: number
  11203. createtime:
  11204. description: 创建时间
  11205. type: string
  11206. creatorid:
  11207. description: 创建人ID
  11208. type: integer
  11209. creatorsrc:
  11210. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11211. type: integer
  11212. enableqty:
  11213. description: 项目可关联数量 = 套保品种数量 - 关联数量
  11214. type: number
  11215. enumdicname:
  11216. description: 单位
  11217. type: string
  11218. goodscode:
  11219. description: 合约代码
  11220. type: string
  11221. goodsgroupid:
  11222. description: 对冲品种ID[期货合约商品组ID]
  11223. type: integer
  11224. goodsid:
  11225. description: 商品ID
  11226. type: integer
  11227. goodsname:
  11228. description: 合约名称
  11229. type: string
  11230. hedgeditemid:
  11231. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11232. type: integer
  11233. hedgeflag:
  11234. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11235. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11236. type: integer
  11237. linkdetailid:
  11238. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11239. type: string
  11240. linkstatus:
  11241. description: 关联状态 - 1:成功 2:失败 3:解绑
  11242. type: integer
  11243. middlegoodsid:
  11244. description: 套保品种ID
  11245. type: integer
  11246. middlegoodsqty:
  11247. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  11248. type: number
  11249. relatedlot:
  11250. description: '[数量]关联手数'
  11251. type: number
  11252. relatedmode:
  11253. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11254. type: integer
  11255. relatedqty:
  11256. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  11257. type: number
  11258. retcode:
  11259. description: 返回码
  11260. type: integer
  11261. saleuserid:
  11262. description: 业务员ID
  11263. type: integer
  11264. tradedate:
  11265. description: 关联交易日(yyyyMMdd)
  11266. type: string
  11267. tradeid:
  11268. description: 成交单号
  11269. type: string
  11270. tradelot:
  11271. description: 成交手数
  11272. type: integer
  11273. tradeprice:
  11274. description: 成交价
  11275. type: number
  11276. tradetime:
  11277. description: 成交时间
  11278. type: string
  11279. tradetradedate:
  11280. description: 成交交易日(yyyyMMdd)
  11281. type: string
  11282. type: object
  11283. models.Loginaccount:
  11284. properties:
  11285. accountname:
  11286. description: 账户名称
  11287. type: string
  11288. canoutin:
  11289. description: 是否可出入金 - 0:不可 1:可
  11290. type: integer
  11291. clientroleid:
  11292. description: 终端角色ID
  11293. type: integer
  11294. haslogined:
  11295. description: 是否已登录 - 0:未登录 1:已登录
  11296. type: integer
  11297. hasupdatedpwd:
  11298. description: 是否已更改密码 - 0:未修改 1:已修改
  11299. type: integer
  11300. lastloginip:
  11301. description: 最新登录地址
  11302. type: string
  11303. lastloginmode:
  11304. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11305. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11306. type: integer
  11307. lastloginremark:
  11308. description: 最新登录描述
  11309. type: string
  11310. lastlogintime:
  11311. description: 最新登录时间
  11312. type: string
  11313. logincode:
  11314. description: 登录代码
  11315. type: string
  11316. loginfailnum:
  11317. description: 连续登录失败次数(登录成功时清零)
  11318. type: integer
  11319. loginid:
  11320. description: 登陆账号
  11321. type: integer
  11322. loginport:
  11323. description: 最新登录端口
  11324. type: integer
  11325. loginstatus:
  11326. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11327. type: integer
  11328. loginusertype:
  11329. description: 登录账号类型 - 1:投资者 2:机构交易员
  11330. type: integer
  11331. mobile:
  11332. description: 手机号码(加密存储)
  11333. type: string
  11334. modifierid:
  11335. description: 修改人
  11336. type: integer
  11337. modifysrc:
  11338. description: 审核来源 - 1:管理端 2:终端
  11339. type: integer
  11340. modifytime:
  11341. description: 修改时间
  11342. type: string
  11343. password:
  11344. description: 登陆密码
  11345. type: string
  11346. pwdwrongcount:
  11347. description: 密码错误次数
  11348. type: integer
  11349. relateduserid:
  11350. description: 关联用户ID(机构)
  11351. type: integer
  11352. taaccountrighttype:
  11353. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11354. type: integer
  11355. unfreezetime:
  11356. description: 账户解冻时间
  11357. type: string
  11358. userid:
  11359. description: 用户ID
  11360. type: integer
  11361. required:
  11362. - loginid
  11363. type: object
  11364. models.MainAccountInfo:
  11365. properties:
  11366. accountid:
  11367. description: 账号id
  11368. type: integer
  11369. accountname:
  11370. description: 账号名称(taaccount表中的名称)
  11371. type: string
  11372. appid:
  11373. description: AppID
  11374. type: string
  11375. authcode:
  11376. description: 授权码
  11377. type: string
  11378. brokerid:
  11379. description: 经纪商id
  11380. type: string
  11381. fcid:
  11382. description: 期货公司id
  11383. type: integer
  11384. fcname:
  11385. description: 期货公司代码
  11386. type: string
  11387. hedgeaccountcode:
  11388. description: 外部账号代码(主账号登录代码)
  11389. type: string
  11390. hedgeaccountpwd:
  11391. description: 密码
  11392. type: string
  11393. ismain:
  11394. description: 是否主账号
  11395. type: integer
  11396. relateduserid:
  11397. description: 关联用户id
  11398. type: integer
  11399. userid:
  11400. description: 关联用户id
  11401. type: integer
  11402. type: object
  11403. models.Market:
  11404. properties:
  11405. auctionwrtype:
  11406. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11407. type: integer
  11408. canacceptquote:
  11409. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11410. type: integer
  11411. cangoodsexercise:
  11412. description: '[期权]是否可现货行权- 0:否 1:是'
  11413. type: integer
  11414. cangoodsexercisetype:
  11415. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11416. type: integer
  11417. canmanualquotestrike:
  11418. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11419. type: integer
  11420. canmutistage:
  11421. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11422. type: integer
  11423. canpreexercise:
  11424. description: '[期权]是否可预申报- 0:否 1:是'
  11425. type: integer
  11426. clearinterval:
  11427. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11428. type: integer
  11429. contracttmp:
  11430. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11431. type: string
  11432. exchareaid:
  11433. description: 所属交易所,可以没有
  11434. type: integer
  11435. goodstype:
  11436. description: 商品类型 - 1:交易商品 2:仓单商品
  11437. type: integer
  11438. hasrebate:
  11439. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11440. type: integer
  11441. hastradecredit:
  11442. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11443. type: integer
  11444. haswr:
  11445. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11446. type: integer
  11447. isdeductmargin:
  11448. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11449. type: integer
  11450. isrecordsource:
  11451. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11452. type: integer
  11453. isreleasemargin:
  11454. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11455. type: integer
  11456. marginformula:
  11457. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11458. type: integer
  11459. marginformula2:
  11460. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11461. type: integer
  11462. marketid:
  11463. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11464. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11465. type: integer
  11466. marketname:
  11467. description: 市场名称
  11468. type: string
  11469. marketserviceid:
  11470. description: 市场服务ID
  11471. type: integer
  11472. marketstatus:
  11473. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11474. type: integer
  11475. markettype:
  11476. description: 市场类型- 1:非交易服务 2:交易服务
  11477. type: integer
  11478. matchermode:
  11479. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11480. type: integer
  11481. openmethod:
  11482. description: 开盘模式 - 0 自动 1手动
  11483. type: integer
  11484. otcuserid:
  11485. description: 场外期权做市商[场外期权]
  11486. type: integer
  11487. outersynctime:
  11488. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11489. type: string
  11490. pendingflag:
  11491. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11492. type: integer
  11493. pendingtime:
  11494. description: 待开市时间[通道交易-对冲](HH:mm)
  11495. type: string
  11496. performancetempid:
  11497. description: 履约计划模板ID - 作废
  11498. type: integer
  11499. premiumquotemode:
  11500. description: 权利金报价方式 - 1:自动 2:手动
  11501. type: integer
  11502. rebateratio:
  11503. description: 返利比率[竞价式]
  11504. type: number
  11505. reckonorder:
  11506. description: 结算顺序
  11507. type: integer
  11508. reckonpricealgorithm:
  11509. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11510. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11511. type: integer
  11512. reckonpriceparam:
  11513. description: 结算价参数
  11514. type: integer
  11515. reckontime:
  11516. description: 结算时间[通道交易-对冲](HH:mm)
  11517. type: string
  11518. roleprioritytype:
  11519. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11520. type: integer
  11521. selllistingauditflag:
  11522. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11523. type: integer
  11524. trademarkettype:
  11525. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11526. type: integer
  11527. trademode:
  11528. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11529. 21:竞拍-大宗式 22:受托竞价
  11530. type: integer
  11531. tradeproperty:
  11532. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11533. 8:场外期权
  11534. type: integer
  11535. tradetype:
  11536. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11537. type: integer
  11538. required:
  11539. - marketid
  11540. - marketstatus
  11541. - openmethod
  11542. - reckonpricealgorithm
  11543. - trademode
  11544. - tradeproperty
  11545. type: object
  11546. models.Marketcalendar:
  11547. properties:
  11548. holidaydate:
  11549. description: 节假日期(yyyy-MM-dd)
  11550. type: string
  11551. marketid:
  11552. description: 市场ID
  11553. type: integer
  11554. type: object
  11555. models.Marketrun:
  11556. properties:
  11557. afternexttradedate:
  11558. description: 下下交易日
  11559. type: string
  11560. clearquoteflag:
  11561. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11562. type: integer
  11563. lastreckondate:
  11564. description: 最新交易日(结算成功)
  11565. type: string
  11566. machinedate:
  11567. description: 机器时间
  11568. type: string
  11569. manualflag:
  11570. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11571. type: integer
  11572. marketid:
  11573. description: 市场ID
  11574. type: integer
  11575. nexttradedate:
  11576. description: 下一交易日
  11577. type: string
  11578. pretradedate:
  11579. description: 上一交易日
  11580. type: string
  11581. reckonflag:
  11582. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11583. type: integer
  11584. runstatus:
  11585. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11586. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11587. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11588. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11589. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11590. 62.今日免清算
  11591. type: integer
  11592. sectionid:
  11593. description: 时间段号[多时段时用]
  11594. type: integer
  11595. tradedate:
  11596. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11597. type: string
  11598. tradedate2:
  11599. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11600. type: string
  11601. updatetime:
  11602. description: 更新时间
  11603. type: string
  11604. required:
  11605. - marketid
  11606. - nexttradedate
  11607. - reckonflag
  11608. - runstatus
  11609. - tradedate
  11610. - tradedate2
  11611. type: object
  11612. models.Messageboard:
  11613. properties:
  11614. contactnum:
  11615. description: 联系电话
  11616. type: string
  11617. createtime:
  11618. description: 创建时间
  11619. type: string
  11620. message:
  11621. description: 留言信息
  11622. type: string
  11623. messageboardid:
  11624. description: 留言簿ID(SEQ_MessageBoard)
  11625. type: integer
  11626. userid:
  11627. description: 用户ID
  11628. type: integer
  11629. required:
  11630. - messageboardid
  11631. type: object
  11632. models.MyCoupon:
  11633. properties:
  11634. accountid:
  11635. description: 资金账户ID
  11636. type: integer
  11637. areauserid:
  11638. description: 所属机构
  11639. type: integer
  11640. conditionvalue:
  11641. description: 条件阈值(可为0)
  11642. type: number
  11643. couponcategroy:
  11644. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11645. type: integer
  11646. couponname:
  11647. description: 优惠券名称
  11648. type: string
  11649. coupontypeid:
  11650. description: 优惠券类型ID
  11651. type: string
  11652. couponvalue:
  11653. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11654. type: number
  11655. curfreezeqty:
  11656. description: 期末冻结数量
  11657. type: integer
  11658. curqty:
  11659. description: 期末数量
  11660. type: integer
  11661. isgeneral:
  11662. description: 是否通用券 - 0:否 1:是
  11663. type: integer
  11664. isunusable:
  11665. description: 是否不可用
  11666. type: boolean
  11667. limitedflag:
  11668. description: 是否指定商品 - 0:不限 1:限制
  11669. type: integer
  11670. limitedgoodsids:
  11671. description: 指定商品IDs[逗号分隔,前后加逗号]
  11672. type: string
  11673. orifreezeqty:
  11674. description: 期初冻结数量
  11675. type: integer
  11676. oriqty:
  11677. description: 期初数量
  11678. type: integer
  11679. reasontype:
  11680. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11681. type: integer
  11682. todaydecrease:
  11683. description: 今日减少
  11684. type: integer
  11685. todayincrease:
  11686. description: 今日增加
  11687. type: integer
  11688. userid:
  11689. description: 用户ID
  11690. type: integer
  11691. userscope:
  11692. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11693. type: string
  11694. required:
  11695. - accountid
  11696. - coupontypeid
  11697. type: object
  11698. models.MyCouponHold:
  11699. properties:
  11700. accountid:
  11701. description: 资金账户ID
  11702. type: integer
  11703. conditionvalue:
  11704. description: 条件阈值(可为0)
  11705. type: number
  11706. couponcategroy:
  11707. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11708. type: integer
  11709. couponholdid:
  11710. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11711. type: string
  11712. couponname:
  11713. description: 优惠券名称
  11714. type: string
  11715. coupontypeid:
  11716. description: 优惠券类型ID - SEQ_COUPONTYPE
  11717. type: string
  11718. couponvalue:
  11719. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11720. type: number
  11721. createtime:
  11722. description: 创建时间
  11723. type: string
  11724. enddate:
  11725. description: 结束日期
  11726. type: string
  11727. giveapplyid:
  11728. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11729. type: integer
  11730. holdstatus:
  11731. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11732. type: integer
  11733. isgeneral:
  11734. description: 是否通用券 - 0:否 1:是
  11735. type: integer
  11736. limitedflag:
  11737. description: 是否指定商品 - 0:不限 1:限制
  11738. type: integer
  11739. limitedgoodsids:
  11740. description: 指定商品IDs[逗号分隔]
  11741. type: string
  11742. qty:
  11743. description: 数量(按1平铺)
  11744. type: integer
  11745. startdate:
  11746. description: 开始日期
  11747. type: string
  11748. userid:
  11749. description: 用户ID
  11750. type: integer
  11751. userscope:
  11752. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11753. type: string
  11754. required:
  11755. - couponholdid
  11756. type: object
  11757. models.MyUsedCoupon:
  11758. properties:
  11759. accountid:
  11760. description: 资金账户ID(买方)
  11761. type: integer
  11762. conditionvalue:
  11763. description: 条件阈值(可为0)
  11764. type: number
  11765. couponcategroy:
  11766. description: 种类 - 1:现金券 2:折扣券
  11767. type: integer
  11768. couponname:
  11769. description: 优惠券名称
  11770. type: string
  11771. coupontypeid:
  11772. description: 优惠券类型ID(买方)
  11773. type: string
  11774. couponvalue:
  11775. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11776. type: number
  11777. createtime:
  11778. description: 创建时间
  11779. type: string
  11780. goodsid:
  11781. description: 商品ID
  11782. type: integer
  11783. handlestatus:
  11784. description: 处理状态
  11785. type: integer
  11786. marketid:
  11787. description: 市场ID
  11788. type: integer
  11789. offamount:
  11790. description: 优惠金额
  11791. type: number
  11792. orderid:
  11793. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11794. type: string
  11795. sellaccountid:
  11796. description: 资金账户ID(卖方)
  11797. type: integer
  11798. tradeamount:
  11799. description: 成交金额
  11800. type: number
  11801. tradeid:
  11802. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11803. type: string
  11804. usedqty:
  11805. description: 使用数量
  11806. type: integer
  11807. required:
  11808. - coupontypeid
  11809. - orderid
  11810. type: object
  11811. models.OperationPrimaryMenu:
  11812. properties:
  11813. Children:
  11814. description: 二级功能菜单
  11815. items:
  11816. $ref: '#/definitions/models.OperationSecondaryMenu'
  11817. type: array
  11818. Key:
  11819. description: 菜单KEY
  11820. type: string
  11821. Label:
  11822. description: 菜单标题
  11823. type: string
  11824. type: object
  11825. models.OperationSecondaryMenu:
  11826. properties:
  11827. Key:
  11828. description: 菜单KEY
  11829. type: string
  11830. Label:
  11831. description: 菜单标题
  11832. type: string
  11833. TabList:
  11834. description: 三级功能菜单
  11835. items:
  11836. $ref: '#/definitions/models.OperationTabMenu'
  11837. type: array
  11838. type: object
  11839. models.OperationTabMenu:
  11840. properties:
  11841. Key:
  11842. description: 菜单KEY
  11843. type: string
  11844. Label:
  11845. description: 菜单标题
  11846. type: string
  11847. type: object
  11848. models.Patradelinkdetail:
  11849. properties:
  11850. accountname:
  11851. description: 套期主体
  11852. type: string
  11853. agreeunit:
  11854. description: 合约乘数
  11855. type: number
  11856. amount:
  11857. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11858. type: number
  11859. areauserid:
  11860. description: 所属机构
  11861. type: integer
  11862. bizsubjectid:
  11863. description: 归属业务部门ID - SubjectID
  11864. type: integer
  11865. buyorsell:
  11866. description: 方向 - 0:买 1:卖
  11867. type: integer
  11868. convertratio:
  11869. description: 品种系数
  11870. type: number
  11871. convertratiochange:
  11872. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11873. type: number
  11874. createtime:
  11875. description: '[日期时间]创建时间'
  11876. type: string
  11877. creatorid:
  11878. description: 创建人ID
  11879. type: integer
  11880. creatorsrc:
  11881. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11882. type: integer
  11883. goodscode:
  11884. description: 商品代码(内部)
  11885. type: string
  11886. goodsgroupid:
  11887. description: 对冲品种ID[期货合约商品组ID]
  11888. type: integer
  11889. goodsid:
  11890. description: 商品ID
  11891. type: integer
  11892. hedgeditemid:
  11893. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11894. type: integer
  11895. hedgeflag:
  11896. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11897. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11898. type: integer
  11899. linkdetailid:
  11900. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11901. type: string
  11902. linkstatus:
  11903. description: 关联状态 - 1:成功 2:失败 3:解绑
  11904. type: integer
  11905. middlegoodsid:
  11906. description: 套保品种ID
  11907. type: integer
  11908. name:
  11909. description: 账户名/子账户
  11910. type: string
  11911. optioncode:
  11912. description: '[期货合约]期权代码 [期权]'
  11913. type: string
  11914. ordertype:
  11915. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11916. type: integer
  11917. relatedlot:
  11918. description: '[数量]关联手数'
  11919. type: number
  11920. relatedmode:
  11921. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11922. type: integer
  11923. relatedqty:
  11924. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11925. type: number
  11926. retcode:
  11927. description: 返回码
  11928. type: integer
  11929. saleuserid:
  11930. description: 业务员ID
  11931. type: integer
  11932. tradedate:
  11933. description: 关联交易日(yyyyMMdd)
  11934. type: string
  11935. tradeid:
  11936. description: '[成交单号]内部成交单ID'
  11937. type: string
  11938. tradelot:
  11939. description: 成交手数
  11940. type: integer
  11941. tradeprice:
  11942. description: '[价格]成交价格'
  11943. type: number
  11944. tradetradedate:
  11945. description: 成交交易日(yyyyMMdd)
  11946. type: string
  11947. type: object
  11948. models.QhjAccountOutInApply:
  11949. properties:
  11950. accountcode:
  11951. description: 资金账号
  11952. type: string
  11953. accountname:
  11954. description: 用户名称(名称)
  11955. type: string
  11956. accountpwd:
  11957. description: 资金密码
  11958. type: string
  11959. accountticket:
  11960. description: 最新账户服务流水号
  11961. type: string
  11962. amount:
  11963. description: 金额
  11964. type: number
  11965. applyremark:
  11966. description: 申请备注
  11967. type: string
  11968. applystatus:
  11969. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11970. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11971. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11972. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11973. type: integer
  11974. auditid:
  11975. description: 审核人
  11976. type: integer
  11977. audittime:
  11978. description: 审核时间
  11979. type: string
  11980. bank_apply_ticket:
  11981. description: 银行申请流水
  11982. type: string
  11983. bankaccountname:
  11984. description: 银行账户名
  11985. type: string
  11986. bankaccountno:
  11987. description: 银行卡号
  11988. type: string
  11989. bankid:
  11990. description: 银行编号
  11991. type: string
  11992. bankticket:
  11993. description: 银行流水
  11994. type: string
  11995. branchbankid:
  11996. description: 银行支行号
  11997. type: string
  11998. branchbankname:
  11999. description: 银行支行名称
  12000. type: string
  12001. capamountout:
  12002. description: 出金(劣后本金) - 外部子账户
  12003. type: number
  12004. certificatephotourl:
  12005. description: 凭证地址
  12006. type: string
  12007. charge:
  12008. description: 手续费
  12009. type: number
  12010. checkerrorflag:
  12011. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12012. type: integer
  12013. currency:
  12014. description: 币种
  12015. type: string
  12016. cusbankid:
  12017. description: 托管银行编号
  12018. type: string
  12019. exchticket:
  12020. description: 银行服务流水号
  12021. type: string
  12022. executetype:
  12023. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12024. 7:外部子账户:入金 8:外部子账户:出金'
  12025. type: integer
  12026. extendinfo:
  12027. description: 扩展信息
  12028. type: string
  12029. extoperateid:
  12030. description: 交易服务流水号
  12031. type: integer
  12032. infamount:
  12033. description: 劣后金额(自有)
  12034. type: number
  12035. logincode:
  12036. description: 登录账号(账号)
  12037. type: string
  12038. netaddr:
  12039. description: 调转网址
  12040. type: string
  12041. priamount:
  12042. description: 优先金额(授信)
  12043. type: number
  12044. reauditid:
  12045. description: 复审人
  12046. type: integer
  12047. reauditremark:
  12048. description: 复审备注
  12049. type: string
  12050. reaudittime:
  12051. description: 复审时间
  12052. type: string
  12053. relatedorderid:
  12054. description: 三方关联ID
  12055. type: string
  12056. remark:
  12057. description: 备注
  12058. type: string
  12059. remark2:
  12060. description: 备注(失败原因)
  12061. type: string
  12062. soucreamount:
  12063. description: 原始出入金金额
  12064. type: number
  12065. soucrecurrencyid:
  12066. description: 原始出入金币种
  12067. type: integer
  12068. tradedate:
  12069. description: 交易日(yyyyMMdd)
  12070. type: string
  12071. updatetime:
  12072. description: 更新时间(申请时间)
  12073. type: string
  12074. userid:
  12075. description: 用户id
  12076. type: integer
  12077. userinfotype:
  12078. description: 账户类型 1-个人 2-企业
  12079. type: integer
  12080. type: object
  12081. models.QhjAgreementChangeLog:
  12082. properties:
  12083. agreementcontent:
  12084. description: 协议内容
  12085. type: string
  12086. agreementfrequency:
  12087. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12088. type: integer
  12089. agreementid:
  12090. description: 协议ID
  12091. type: integer
  12092. agreementname:
  12093. description: 协议名称
  12094. type: string
  12095. agreementno:
  12096. description: 协议编号
  12097. type: string
  12098. agreementtype:
  12099. description: 协议类型 - 1:注册 2:登录 3:交易
  12100. type: integer
  12101. agreementversion:
  12102. description: 协议版本号
  12103. type: integer
  12104. logid:
  12105. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12106. type: integer
  12107. reviserid:
  12108. description: 修改人
  12109. type: integer
  12110. revisersrc:
  12111. description: 修改来源 - 1:管理端 2:终端
  12112. type: integer
  12113. updatetime:
  12114. description: 更新时间
  12115. type: string
  12116. type: object
  12117. models.QhjAgreementConfig:
  12118. properties:
  12119. agreementcontent:
  12120. description: 协议内容
  12121. type: string
  12122. agreementfrequency:
  12123. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12124. type: integer
  12125. agreementid:
  12126. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12127. type: integer
  12128. agreementname:
  12129. description: 协议名称
  12130. type: string
  12131. agreementno:
  12132. description: 协议编号
  12133. type: string
  12134. agreementtype:
  12135. description: 协议类型 - 1:注册 2:登录 3:交易
  12136. type: integer
  12137. agreementversion:
  12138. description: 协议版本号(从1开始每次修改加1)
  12139. type: integer
  12140. createtime:
  12141. description: 创建时间
  12142. type: string
  12143. creatorid:
  12144. description: 创建人
  12145. type: integer
  12146. creatorsrc:
  12147. description: 创建来源 - 1:管理端 2:终端
  12148. type: integer
  12149. isvalid:
  12150. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12151. type: integer
  12152. reviserid:
  12153. description: 修改人
  12154. type: integer
  12155. revisersrc:
  12156. description: 修改来源 - 1:管理端 2:终端
  12157. type: integer
  12158. updatetime:
  12159. description: 更新时间
  12160. type: string
  12161. type: object
  12162. models.QhjAreaFinanceConfig:
  12163. properties:
  12164. additionalratio:
  12165. description: 追加款比例
  12166. type: number
  12167. advanceratio:
  12168. description: 预付款比例
  12169. type: number
  12170. alarmratio:
  12171. description: 告警比例
  12172. type: number
  12173. consumptiondirectreward:
  12174. description: 消费直推奖励值
  12175. type: number
  12176. consumptionenabled:
  12177. description: 是否启用消费奖励 - 0:不启用 1:启用
  12178. type: integer
  12179. consumptionindirectreward:
  12180. description: 消费间推奖励值
  12181. type: number
  12182. consumptionmodel:
  12183. description: 消费奖励方式 - 1:比率 2:固定
  12184. type: integer
  12185. customerservicenum:
  12186. description: 客服电话
  12187. type: string
  12188. dayinterestrate:
  12189. description: 日利率
  12190. type: number
  12191. disableconsumptiontips:
  12192. description: 关闭消费奖励提示
  12193. type: string
  12194. modifierid:
  12195. description: 修改人ID
  12196. type: integer
  12197. modifysrc:
  12198. description: 审核来源 - 1:管理端 2:终端
  12199. type: integer
  12200. modifytime:
  12201. description: 修改时间
  12202. type: string
  12203. promotionvalue:
  12204. description: 推广奖励值(固定)
  12205. type: number
  12206. scoreconfigvalue1:
  12207. description: 提货积分配置1
  12208. type: integer
  12209. scoreconfigvalue2:
  12210. description: 提货积分配置2
  12211. type: integer
  12212. userid:
  12213. description: 机构用户ID其他做市关系,都设置为 1
  12214. type: integer
  12215. username:
  12216. description: 用户名称
  12217. type: string
  12218. type: object
  12219. models.QhjBankAccountSign:
  12220. properties:
  12221. accountcode:
  12222. description: 资金账号
  12223. type: string
  12224. accountname:
  12225. description: 资金账号对应的账号名(UserName)
  12226. type: string
  12227. accountname2:
  12228. description: 资金账号对应的账号名(UserName) - 密文
  12229. type: string
  12230. accounttype:
  12231. description: 账户类型(UserType)
  12232. type: integer
  12233. applicationtime:
  12234. description: 最后一次更新的时间
  12235. type: string
  12236. applyexchticket:
  12237. description: 申请流水
  12238. type: string
  12239. auditid:
  12240. description: 审核人
  12241. type: integer
  12242. audittime:
  12243. description: 审核时间
  12244. type: string
  12245. bankaccountname:
  12246. description: 签约银行卡账号名
  12247. type: string
  12248. bankaccountname2:
  12249. description: 签约银行卡账号名 - 密文
  12250. type: string
  12251. bankaccountno:
  12252. description: 银行卡号
  12253. type: string
  12254. bankaccountno2:
  12255. description: 银行卡号 - 密文
  12256. type: string
  12257. bankaccounttype:
  12258. description: 银行账户类型 - 1-对私; 2-对公
  12259. type: integer
  12260. bankcardtype:
  12261. description: 银行卡类型
  12262. type: integer
  12263. bankchildaccount:
  12264. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12265. type: string
  12266. bankcity:
  12267. description: 开户行城市
  12268. type: string
  12269. bankid:
  12270. description: 签约银行ID
  12271. type: string
  12272. bankname:
  12273. description: 签约银行名称
  12274. type: string
  12275. bankprovince:
  12276. description: 开户行省份
  12277. type: string
  12278. branchbankid:
  12279. description: 签约银行支行号
  12280. type: string
  12281. branchbankname:
  12282. description: 签约银行支行名称
  12283. type: string
  12284. cardno:
  12285. description: 证件号码
  12286. type: string
  12287. cardno2:
  12288. description: 证件号码 - 密文
  12289. type: string
  12290. cardtype:
  12291. description: 证件类型
  12292. type: string
  12293. currency:
  12294. description: 币种
  12295. type: string
  12296. cusbankid:
  12297. description: 托管银行编号
  12298. type: string
  12299. direct:
  12300. description: 方向(可以判断那方先发起的签约)
  12301. type: integer
  12302. exchticket:
  12303. description: 最后一次签约成功的流水号
  12304. type: string
  12305. extendinfo:
  12306. description: 扩展信息(JSON字符串)
  12307. type: string
  12308. mobilephone:
  12309. description: 手机号
  12310. type: string
  12311. mobilephone2:
  12312. description: 手机号 - 密文
  12313. type: string
  12314. netaddr:
  12315. description: 调转网址
  12316. type: string
  12317. relateduserid:
  12318. description: 关联使用者userid
  12319. type: integer
  12320. signstatus:
  12321. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12322. 10:审核拒绝 11:换签待审核
  12323. type: integer
  12324. updatetime:
  12325. description: 更新时间(签解约更新时间)
  12326. type: string
  12327. type: object
  12328. models.QhjBankInfo:
  12329. properties:
  12330. bankid:
  12331. description: 银行ID
  12332. type: string
  12333. bankname:
  12334. description: 银行名称
  12335. type: string
  12336. clearbankno:
  12337. description: 清算系统银行编号
  12338. type: string
  12339. orderindex:
  12340. description: 排序顺序
  12341. type: integer
  12342. status:
  12343. description: 状态 - 0:正常 1:注销
  12344. type: integer
  12345. type: object
  12346. models.QhjBrokerApply:
  12347. properties:
  12348. applicantid:
  12349. description: 申请人
  12350. type: integer
  12351. applysrc:
  12352. description: 申请来源 - 1:管理端 2:终端
  12353. type: integer
  12354. applystatus:
  12355. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12356. type: integer
  12357. applytime:
  12358. description: 申请时间
  12359. type: string
  12360. auditorid:
  12361. description: 审核人
  12362. type: integer
  12363. auditremark:
  12364. description: 审核备注
  12365. type: string
  12366. auditsrc:
  12367. description: 审核来源 - 1:管理端 2:终端
  12368. type: integer
  12369. audittime:
  12370. description: 审核时间
  12371. type: string
  12372. audittradedate:
  12373. description: 审核交易日(yyyyMMdd)
  12374. type: string
  12375. brokerapplyid:
  12376. description: 申请ID(SEQ_BROKERAPPLY)
  12377. type: integer
  12378. cardbackphotourl:
  12379. description: 证件背面图片地址
  12380. type: string
  12381. cardfrontphotourl:
  12382. description: 证件正面图片地址
  12383. type: string
  12384. cardnum:
  12385. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12386. type: string
  12387. customername:
  12388. description: 姓名
  12389. type: string
  12390. logincode:
  12391. description: 登录代码
  12392. type: string
  12393. mobile:
  12394. description: 手机号码
  12395. type: string
  12396. parentuserid:
  12397. description: 所属机构id
  12398. type: integer
  12399. parentusername:
  12400. description: 所属机构名称
  12401. type: string
  12402. refereeuserid:
  12403. description: 推荐人id(经纪人)
  12404. type: integer
  12405. refernum:
  12406. description: 推荐码
  12407. type: string
  12408. remark:
  12409. description: 备注
  12410. type: string
  12411. subarealevelpath:
  12412. description: 层级路径
  12413. type: string
  12414. tradedate:
  12415. description: 交易日(yyyyMMdd)
  12416. type: string
  12417. userid:
  12418. description: 申请人用户ID
  12419. type: integer
  12420. userinfotype:
  12421. description: 用户类型 1-个人 2-企业
  12422. type: integer
  12423. username:
  12424. description: 用户名称
  12425. type: string
  12426. type: object
  12427. models.QhjBrokerApplyEx:
  12428. properties:
  12429. applylist:
  12430. description: 经纪人申请记录(只返回最新一条)
  12431. items:
  12432. $ref: '#/definitions/models.QhjBrokerApply'
  12433. type: array
  12434. canrecommend:
  12435. description: 是否经纪人 0-不是 1-是
  12436. type: integer
  12437. refernum:
  12438. description: 推荐码
  12439. type: string
  12440. userid:
  12441. description: 用户id
  12442. type: integer
  12443. userinfotype:
  12444. description: 用户类型 1-个人 2-企业
  12445. type: integer
  12446. type: object
  12447. models.QhjBrokerRewardLog:
  12448. properties:
  12449. accountid:
  12450. description: 资金账号ID
  12451. type: integer
  12452. createtime:
  12453. description: 创建时间(时间)
  12454. type: string
  12455. handlestatus:
  12456. description: 处理状态
  12457. type: integer
  12458. logid:
  12459. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12460. type: string
  12461. marketid:
  12462. description: 市场ID
  12463. type: integer
  12464. mmaccountid:
  12465. description: 做市商资金账号ID
  12466. type: string
  12467. mmuserid:
  12468. description: 做市商用户ID
  12469. type: string
  12470. rewardamount:
  12471. description: 奖励金额
  12472. type: number
  12473. rewardmodel:
  12474. description: 消费奖励方式 - 1:比率 2:固定
  12475. type: integer
  12476. rewardtype:
  12477. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12478. type: integer
  12479. rewardvalue:
  12480. description: 配置奖励值
  12481. type: number
  12482. srcamount:
  12483. description: 成交金额 [消费奖励] (金额)
  12484. type: number
  12485. srcgoodsid:
  12486. description: 来源商品ID [消费奖励]
  12487. type: string
  12488. srctime:
  12489. description: 来源时间 (成交时间) [消费奖励]
  12490. type: string
  12491. srctradeid:
  12492. description: 来源成交单ID [消费奖励] - 排除提货成交
  12493. type: string
  12494. srcuserid:
  12495. description: 来源用户ID(推广账户)
  12496. type: string
  12497. srcusername:
  12498. description: 推广账户名称
  12499. type: string
  12500. tradedate:
  12501. description: 交易日(yyyyMMdd)
  12502. type: string
  12503. userid:
  12504. description: 经纪人用户ID
  12505. type: integer
  12506. type: object
  12507. models.QhjContract:
  12508. properties:
  12509. contractconfirmtime:
  12510. description: 合同确认时间(时间)
  12511. type: string
  12512. currisklevel:
  12513. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12514. type: integer
  12515. decimalplace:
  12516. description: 商品报价小数位
  12517. type: integer
  12518. enumdicname:
  12519. description: 单位名称
  12520. type: string
  12521. goodscode:
  12522. description: 商品代码
  12523. type: string
  12524. goodsid:
  12525. description: 商品ID [5:融资单]
  12526. type: integer
  12527. goodsname:
  12528. description: 商品名称
  12529. type: string
  12530. goodunitid:
  12531. description: 商品单位id
  12532. type: integer
  12533. initmargin:
  12534. description: 初始保证金(首付款)
  12535. type: number
  12536. lenderamount:
  12537. description: 贷款金额(总额|订单总额)
  12538. type: number
  12539. marginratio:
  12540. description: 保证金比率(首付比例)
  12541. type: number
  12542. payamount:
  12543. description: 已付(已付货款)
  12544. type: number
  12545. reckonrecovermargin:
  12546. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12547. type: number
  12548. recoveredmargin:
  12549. description: 已追缴保证金
  12550. type: number
  12551. remainamount:
  12552. description: 合同剩余金额(融资额)
  12553. type: number
  12554. scfcontractid:
  12555. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12556. type: string
  12557. scfcontractstatus:
  12558. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12559. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12560. type: integer
  12561. scfcontracttype:
  12562. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12563. type: integer
  12564. totalinterest:
  12565. description: 已计总利息(利息)
  12566. type: number
  12567. tradeprice:
  12568. description: 成交价格(成本价格)
  12569. type: number
  12570. userid:
  12571. description: 用户ID
  12572. type: integer
  12573. username:
  12574. description: 用户名称
  12575. type: string
  12576. wrqty:
  12577. description: 仓单数量(数量)
  12578. type: number
  12579. type: object
  12580. models.QhjContractLog:
  12581. properties:
  12582. amount:
  12583. description: 支付金额
  12584. type: number
  12585. amounttype:
  12586. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12587. type: integer
  12588. logid:
  12589. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12590. type: string
  12591. remainamount:
  12592. description: 剩余货款
  12593. type: number
  12594. scfcontractid:
  12595. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12596. type: integer
  12597. updatetime:
  12598. description: 更新时间
  12599. type: string
  12600. type: object
  12601. models.QhjCusBankSignBankEx:
  12602. properties:
  12603. banklst:
  12604. description: 银行列表
  12605. items:
  12606. $ref: '#/definitions/models.QhjBankInfo'
  12607. type: array
  12608. canallot:
  12609. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12610. type: integer
  12611. canallotquery:
  12612. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12613. type: integer
  12614. canbindcard:
  12615. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12616. type: integer
  12617. caninamount:
  12618. description: 是否可入金 - 0:不可 1:可以
  12619. type: integer
  12620. caninamount2:
  12621. description: 是否可入金(网银端) - 0:不可 1:可以
  12622. type: integer
  12623. canmodifybankcard:
  12624. description: 是否可修改银行卡号 - 0:不可 1:可以
  12625. type: integer
  12626. canmodifyphone:
  12627. description: 是否可修改手机号 - 0:不可 1:可以
  12628. type: integer
  12629. canmodifysigninfo:
  12630. description: 是否可修改签约信息 - 0:不可 1:可以
  12631. type: integer
  12632. canoutamount:
  12633. description: 是否可出金 - 0:不可 1:可以
  12634. type: integer
  12635. canoutamount2:
  12636. description: 是否可出金(网银端) - 0:不可 1:可以
  12637. type: integer
  12638. canrelease:
  12639. description: 是否可解约 - 0:不可 1:可以
  12640. type: integer
  12641. canrelease2:
  12642. description: 是否可解约(网银端) - 0:不可 1:可以
  12643. type: integer
  12644. cansign:
  12645. description: 是否可签约 - 0:不可 1:可以
  12646. type: integer
  12647. cansign2:
  12648. description: 是否可签约(网银端) - 0:不可 1:可以
  12649. type: integer
  12650. currency:
  12651. description: 币种
  12652. type: string
  12653. cusbankid:
  12654. description: 托管银行编号(对应清算中心TRAN_NO)
  12655. type: string
  12656. cusbankname:
  12657. description: 银行业务名称
  12658. type: string
  12659. cusbankshortname:
  12660. description: 银行业务简称
  12661. type: string
  12662. exchbankid:
  12663. description: 交易所开户银行ID
  12664. type: string
  12665. exchpaybankaccname:
  12666. description: 交易所支出结算账户户名
  12667. type: string
  12668. exchpaybankaccno:
  12669. description: 交易所支出结算账户
  12670. type: string
  12671. isneedcheck:
  12672. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12673. type: integer
  12674. isneedclear:
  12675. description: 是否需要清算 - 0:不需要 1:需要
  12676. type: integer
  12677. lastcheckstatus:
  12678. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12679. type: integer
  12680. lastchecktime:
  12681. description: 最后对账时间
  12682. type: string
  12683. lastclearstatus:
  12684. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12685. type: integer
  12686. lastcleartime:
  12687. description: 最后清算时间
  12688. type: string
  12689. lastsignintime:
  12690. description: 最后签到时间
  12691. type: string
  12692. lastsignouttime:
  12693. description: 最后签退时间
  12694. type: string
  12695. riskinfo:
  12696. description: 签约风险提示书
  12697. type: string
  12698. signstatus:
  12699. description: 当前签到/签退状态 - 1:签到 2:签退
  12700. type: integer
  12701. tradedate:
  12702. description: 交易日(yyyyMMdd)
  12703. type: string
  12704. updatetime:
  12705. description: 当前签到/签退更新时间
  12706. type: string
  12707. type: object
  12708. models.QhjCustomer:
  12709. properties:
  12710. address:
  12711. description: 通讯地址
  12712. type: string
  12713. attachment1:
  12714. description: 附件1
  12715. type: string
  12716. attachment2:
  12717. description: 附件2
  12718. type: string
  12719. audittime:
  12720. description: 审核时间
  12721. type: string
  12722. cardbackphotourl:
  12723. description: 证件反面图片地址
  12724. type: string
  12725. cardfrontphotourl:
  12726. description: 证件正面图片地址
  12727. type: string
  12728. cardnum:
  12729. description: 证件号码
  12730. type: string
  12731. cardtype:
  12732. description: 证件类型
  12733. type: integer
  12734. cardtypename:
  12735. description: 证件类型名称
  12736. type: string
  12737. cityid:
  12738. description: 市
  12739. type: integer
  12740. cityname:
  12741. description: 城市名称
  12742. type: string
  12743. contactname:
  12744. description: 联系人
  12745. type: string
  12746. countryid:
  12747. description: 国家
  12748. type: integer
  12749. countryname:
  12750. description: 国家名称
  12751. type: string
  12752. createtime:
  12753. description: 创建时间
  12754. type: string
  12755. customername:
  12756. description: 客户名称
  12757. type: string
  12758. districtid:
  12759. description: 区域
  12760. type: integer
  12761. districtname:
  12762. description: 地区名称
  12763. type: string
  12764. email:
  12765. description: 邮件
  12766. type: string
  12767. legalpersonname:
  12768. description: 法人姓名(企业)
  12769. type: string
  12770. logincode:
  12771. description: 登录账号(代码)
  12772. type: string
  12773. memberuserid:
  12774. description: 所属机构ID(所属会员)
  12775. type: integer
  12776. memberusername:
  12777. description: 所属会员名称
  12778. type: string
  12779. mobile:
  12780. description: 手机号码
  12781. type: string
  12782. modifytime:
  12783. description: 修改时间
  12784. type: string
  12785. nickname:
  12786. description: 昵称
  12787. type: string
  12788. parentuserid:
  12789. description: 上级机构(所属机构)
  12790. type: integer
  12791. parentusername:
  12792. description: 所属机构名称
  12793. type: string
  12794. provinceid:
  12795. description: 省
  12796. type: integer
  12797. provincename:
  12798. description: 省名称
  12799. type: string
  12800. proxystatementurl:
  12801. description: 授权委托书
  12802. type: string
  12803. remark:
  12804. description: 备注
  12805. type: string
  12806. status:
  12807. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12808. type: integer
  12809. statusdesc:
  12810. description: 账户状态中文描述
  12811. type: string
  12812. taxpayernum:
  12813. description: 纳税人识别号
  12814. type: string
  12815. telphone:
  12816. description: 联系电话
  12817. type: string
  12818. userid:
  12819. description: 用户ID
  12820. type: integer
  12821. userinfotype:
  12822. description: 客户类型 1-个人 2-企业
  12823. type: integer
  12824. username:
  12825. description: 用户名称
  12826. type: string
  12827. type: object
  12828. models.QhjCustomerSignLog:
  12829. properties:
  12830. agreementcontent:
  12831. description: 协议内容
  12832. type: string
  12833. agreementid:
  12834. description: 协议ID
  12835. type: integer
  12836. agreementname:
  12837. description: 协议名称
  12838. type: string
  12839. agreementno:
  12840. description: 协议编号
  12841. type: string
  12842. agreementtype:
  12843. description: 协议类型 - 1:注册 2:登录 3:交易
  12844. type: integer
  12845. agreementversion:
  12846. description: 协议版本号
  12847. type: integer
  12848. createtime:
  12849. description: 创建时间
  12850. type: string
  12851. goodscode:
  12852. description: 商品代码
  12853. type: string
  12854. goodsid:
  12855. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12856. type: integer
  12857. goodsname:
  12858. description: 商品名称
  12859. type: string
  12860. logid:
  12861. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12862. type: integer
  12863. nodetype:
  12864. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12865. type: integer
  12866. signadressurl:
  12867. description: 签约文件地址
  12868. type: string
  12869. signtimestamp:
  12870. description: 签约状态时间戳
  12871. type: string
  12872. userid:
  12873. description: 客户ID
  12874. type: integer
  12875. username:
  12876. description: 客户名称
  12877. type: string
  12878. type: object
  12879. models.QhjCustomerSignStatus:
  12880. properties:
  12881. createtime:
  12882. description: 创建时间
  12883. type: string
  12884. goodscode:
  12885. description: 商品代码
  12886. type: string
  12887. goodsid:
  12888. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12889. type: integer
  12890. goodsname:
  12891. description: 商品名称
  12892. type: string
  12893. nodetype:
  12894. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12895. type: integer
  12896. signtimestamp:
  12897. description: 签约状态时间戳
  12898. type: string
  12899. tradedate:
  12900. description: 创建交易日(yyyyMMdd)
  12901. type: string
  12902. updatetime:
  12903. description: 更新时间
  12904. type: string
  12905. userid:
  12906. description: 客户ID
  12907. type: integer
  12908. username:
  12909. description: 客户名称
  12910. type: string
  12911. type: object
  12912. models.QhjMgrAccountOutInApply:
  12913. properties:
  12914. accountcode:
  12915. description: 资金账号
  12916. type: string
  12917. accountname:
  12918. description: 用户名称(名称)
  12919. type: string
  12920. accountpwd:
  12921. description: 资金密码
  12922. type: string
  12923. accountticket:
  12924. description: 最新账户服务流水号
  12925. type: string
  12926. amount:
  12927. description: 金额
  12928. type: number
  12929. applyremark:
  12930. description: 申请备注
  12931. type: string
  12932. applystatus:
  12933. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12934. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12935. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12936. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12937. type: integer
  12938. auditid:
  12939. description: 审核人
  12940. type: integer
  12941. audittime:
  12942. description: 审核时间
  12943. type: string
  12944. bank_apply_ticket:
  12945. description: 银行申请流水
  12946. type: string
  12947. bankaccountname:
  12948. description: 银行账户名
  12949. type: string
  12950. bankaccountno:
  12951. description: 银行卡号
  12952. type: string
  12953. bankid:
  12954. description: 银行编号
  12955. type: string
  12956. bankname:
  12957. description: 银行名称
  12958. type: string
  12959. bankticket:
  12960. description: 银行流水
  12961. type: string
  12962. branchbankid:
  12963. description: 银行支行号
  12964. type: string
  12965. branchbankname:
  12966. description: 银行支行名称
  12967. type: string
  12968. capamountout:
  12969. description: 出金(劣后本金) - 外部子账户
  12970. type: number
  12971. certificatephotourl:
  12972. description: 凭证地址
  12973. type: string
  12974. charge:
  12975. description: 手续费
  12976. type: number
  12977. checkerrorflag:
  12978. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12979. type: integer
  12980. currency:
  12981. description: 币种
  12982. type: string
  12983. cusbankid:
  12984. description: 托管银行编号
  12985. type: string
  12986. exchticket:
  12987. description: 银行服务流水号
  12988. type: string
  12989. executetype:
  12990. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12991. 7:外部子账户:入金 8:外部子账户:出金'
  12992. type: integer
  12993. extendinfo:
  12994. description: 扩展信息
  12995. type: string
  12996. extoperateid:
  12997. description: 交易服务流水号
  12998. type: integer
  12999. infamount:
  13000. description: 劣后金额(自有)
  13001. type: number
  13002. logincode:
  13003. description: 登录账号(账号)
  13004. type: string
  13005. netaddr:
  13006. description: 调转网址
  13007. type: string
  13008. priamount:
  13009. description: 优先金额(授信)
  13010. type: number
  13011. reauditid:
  13012. description: 复审人
  13013. type: integer
  13014. reauditremark:
  13015. description: 复审备注
  13016. type: string
  13017. reaudittime:
  13018. description: 复审时间
  13019. type: string
  13020. relatedorderid:
  13021. description: 三方关联ID
  13022. type: string
  13023. remark:
  13024. description: 备注
  13025. type: string
  13026. remark2:
  13027. description: 备注(失败原因)
  13028. type: string
  13029. soucreamount:
  13030. description: 原始出入金金额
  13031. type: number
  13032. soucrecurrencyid:
  13033. description: 原始出入金币种
  13034. type: integer
  13035. tradedate:
  13036. description: 交易日(yyyyMMdd)
  13037. type: string
  13038. updatetime:
  13039. description: 更新时间(申请时间)
  13040. type: string
  13041. userid:
  13042. description: 用户id
  13043. type: integer
  13044. userinfotype:
  13045. description: 账户类型 1-个人 2-企业
  13046. type: integer
  13047. type: object
  13048. models.QhjMgrBrokerApply:
  13049. properties:
  13050. applicantid:
  13051. description: 申请人
  13052. type: integer
  13053. applysrc:
  13054. description: 申请来源 - 1:管理端 2:终端
  13055. type: integer
  13056. applystatus:
  13057. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13058. type: integer
  13059. applytime:
  13060. description: 申请时间
  13061. type: string
  13062. auditorid:
  13063. description: 审核人
  13064. type: integer
  13065. auditremark:
  13066. description: 审核备注
  13067. type: string
  13068. auditsrc:
  13069. description: 审核来源 - 1:管理端 2:终端
  13070. type: integer
  13071. audittime:
  13072. description: 审核时间
  13073. type: string
  13074. audittradedate:
  13075. description: 审核交易日(yyyyMMdd)
  13076. type: string
  13077. brokerapplyid:
  13078. description: 申请ID(SEQ_BROKERAPPLY)
  13079. type: integer
  13080. cardbackphotourl:
  13081. description: 证件背面图片地址
  13082. type: string
  13083. cardfrontphotourl:
  13084. description: 证件正面图片地址
  13085. type: string
  13086. cardnum:
  13087. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13088. type: string
  13089. customername:
  13090. description: 姓名
  13091. type: string
  13092. filterstatus:
  13093. description: 筛选条件
  13094. type: string
  13095. logincode:
  13096. description: 登录代码
  13097. type: string
  13098. mobile:
  13099. description: 手机号码
  13100. type: string
  13101. parentuserid:
  13102. description: 所属机构id
  13103. type: integer
  13104. parentusername:
  13105. description: 所属机构名称
  13106. type: string
  13107. refereeuserid:
  13108. description: 推荐人id(经纪人)
  13109. type: integer
  13110. refernum:
  13111. description: 推荐码
  13112. type: string
  13113. remark:
  13114. description: 备注
  13115. type: string
  13116. subarealevelpath:
  13117. description: 层级路径
  13118. type: string
  13119. tradedate:
  13120. description: 交易日(yyyyMMdd)
  13121. type: string
  13122. userid:
  13123. description: 申请人用户ID
  13124. type: integer
  13125. userinfotype:
  13126. description: 用户类型 1-个人 2-企业
  13127. type: integer
  13128. username:
  13129. description: 用户名称
  13130. type: string
  13131. type: object
  13132. models.QhjMgrBrokerRewardReport:
  13133. properties:
  13134. createtime:
  13135. description: 创建时间(注册时间)
  13136. type: string
  13137. cycletime:
  13138. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13139. type: string
  13140. cycletype:
  13141. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13142. type: integer
  13143. directtotalnum:
  13144. description: 直推总人数【期末】
  13145. type: integer
  13146. indirecttotalnum:
  13147. description: 间推总人数【期末】
  13148. type: integer
  13149. mobile:
  13150. description: 电话号码
  13151. type: string
  13152. refereeuserid:
  13153. description: 推荐人id(经纪人id)
  13154. type: integer
  13155. refereeusername:
  13156. description: 推荐人名称(经纪人) 上级经纪人名称
  13157. type: string
  13158. refernum:
  13159. description: 推荐码
  13160. type: string
  13161. subarealevelpath:
  13162. description: 用户层级路径
  13163. type: string
  13164. todayrewardamount:
  13165. description: 奖励总金额【汇总】
  13166. type: number
  13167. updatetime:
  13168. description: 更新时间
  13169. type: string
  13170. userid:
  13171. description: 经纪人用户ID
  13172. type: integer
  13173. userinfotype:
  13174. description: 用户类型 1-个人 2-企业
  13175. type: integer
  13176. username:
  13177. description: 用户名称
  13178. type: string
  13179. type: object
  13180. models.QhjMgrContract:
  13181. properties:
  13182. contractconfirmtime:
  13183. description: 合同确认时间(时间)
  13184. type: string
  13185. currisklevel:
  13186. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13187. type: integer
  13188. decimalplace:
  13189. description: 商品报价小数位
  13190. type: integer
  13191. enumdicname:
  13192. description: 单位名称
  13193. type: string
  13194. goodscode:
  13195. description: 商品代码
  13196. type: string
  13197. goodsid:
  13198. description: 商品ID [5:融资单]
  13199. type: integer
  13200. goodsname:
  13201. description: 商品名称
  13202. type: string
  13203. goodunitid:
  13204. description: 商品单位id
  13205. type: integer
  13206. initmargin:
  13207. description: 初始保证金(首付款)
  13208. type: number
  13209. lenderamount:
  13210. description: 贷款金额(总额|订单总额)
  13211. type: number
  13212. logincode:
  13213. description: 账号(登录代码)
  13214. type: string
  13215. marginratio:
  13216. description: 保证金比率(首付比例)
  13217. type: number
  13218. mobile:
  13219. description: 电话号码(用户资料里的电话)
  13220. type: string
  13221. payamount:
  13222. description: 已付(已付货款)
  13223. type: number
  13224. reckonrecovermargin:
  13225. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13226. type: number
  13227. recoveredmargin:
  13228. description: 已追缴保证金
  13229. type: number
  13230. remainamount:
  13231. description: 合同剩余金额(融资额)
  13232. type: number
  13233. scfcontractid:
  13234. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13235. type: string
  13236. scfcontractstatus:
  13237. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13238. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13239. type: integer
  13240. scfcontracttype:
  13241. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13242. type: integer
  13243. totalinterest:
  13244. description: 已计总利息(利息)
  13245. type: number
  13246. tradedate:
  13247. description: 交易日
  13248. type: string
  13249. tradeprice:
  13250. description: 成交价格(成本价格)
  13251. type: number
  13252. userid:
  13253. description: 用户ID
  13254. type: integer
  13255. userinfotype:
  13256. description: 用户类型 1-个人 2-企业
  13257. type: integer
  13258. username:
  13259. description: 用户名称
  13260. type: string
  13261. wrqty:
  13262. description: 仓单数量(数量)
  13263. type: number
  13264. type: object
  13265. models.QhjMgrCustomer:
  13266. properties:
  13267. address:
  13268. description: 通讯地址
  13269. type: string
  13270. attachment1:
  13271. description: 附件1
  13272. type: string
  13273. audittime:
  13274. description: 审核时间
  13275. type: string
  13276. birthday:
  13277. description: 生日
  13278. type: string
  13279. brokerid:
  13280. description: 所属客户经理id
  13281. type: integer
  13282. brokername:
  13283. description: 所属客户经理名称
  13284. type: string
  13285. cardbackphotourl:
  13286. description: 证件反面图片地址
  13287. type: string
  13288. cardfrontphotourl:
  13289. description: 证件正面图片地址
  13290. type: string
  13291. cardnum:
  13292. description: 证件号码
  13293. type: string
  13294. cardtype:
  13295. description: 证件类型
  13296. type: integer
  13297. cardtypename:
  13298. description: 证件类型名称
  13299. type: string
  13300. cityid:
  13301. description: 市
  13302. type: integer
  13303. cityname:
  13304. description: 城市名称
  13305. type: string
  13306. contactname:
  13307. description: 联系人
  13308. type: string
  13309. countryid:
  13310. description: 国家
  13311. type: integer
  13312. countryname:
  13313. description: 国家名称
  13314. type: string
  13315. createtime:
  13316. description: 创建时间
  13317. type: string
  13318. customername:
  13319. description: 客户名称
  13320. type: string
  13321. districtid:
  13322. description: 区域
  13323. type: integer
  13324. districtname:
  13325. description: 地区名称
  13326. type: string
  13327. email:
  13328. description: 邮件
  13329. type: string
  13330. legalpersonname:
  13331. description: 法人姓名(企业)
  13332. type: string
  13333. logincode:
  13334. description: 登录账号(代码)
  13335. type: string
  13336. memberuserid:
  13337. description: 所属机构ID(所属会员)
  13338. type: integer
  13339. memberusername:
  13340. description: 所属会员名称
  13341. type: string
  13342. mobile:
  13343. description: 手机号码
  13344. type: string
  13345. modifytime:
  13346. description: 修改时间
  13347. type: string
  13348. nickname:
  13349. description: 昵称
  13350. type: string
  13351. parentuserid:
  13352. description: 上级机构(所属机构)
  13353. type: integer
  13354. parentusername:
  13355. description: 所属机构名称
  13356. type: string
  13357. provinceid:
  13358. description: 省
  13359. type: integer
  13360. provincename:
  13361. description: 省名称
  13362. type: string
  13363. proxystatementurl:
  13364. description: 授权委托书
  13365. type: string
  13366. querytype:
  13367. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13368. type: integer
  13369. remark:
  13370. description: 备注
  13371. type: string
  13372. sex:
  13373. description: 性别 0-女 1-男
  13374. type: integer
  13375. status:
  13376. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13377. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13378. type: integer
  13379. statusdesc:
  13380. description: 账户状态中文描述
  13381. type: string
  13382. taxpayernum:
  13383. description: 纳税人识别号
  13384. type: string
  13385. telphone:
  13386. description: 联系电话
  13387. type: string
  13388. userid:
  13389. description: 用户ID
  13390. type: integer
  13391. userinfotype:
  13392. description: 客户类型 1-个人 2-企业
  13393. type: integer
  13394. username:
  13395. description: 用户名称
  13396. type: string
  13397. type: object
  13398. models.QhjMgrPickGoods:
  13399. properties:
  13400. enumdicname:
  13401. description: 单位名称(提货商品)
  13402. type: string
  13403. goodsid:
  13404. description: 商品id
  13405. type: integer
  13406. imageaddress:
  13407. description: 图片
  13408. type: string
  13409. modifierid:
  13410. description: 修改人
  13411. type: integer
  13412. modifiername:
  13413. description: 修改人名称
  13414. type: string
  13415. modifysrc:
  13416. description: 修改来源 - 1:管理端 2:终端
  13417. type: integer
  13418. pickupgoodsagreeunit:
  13419. description: 合约乘数
  13420. type: number
  13421. pickupgoodsdesc:
  13422. description: 描述
  13423. type: string
  13424. pickupgoodsid:
  13425. description: 提货商品ID
  13426. type: string
  13427. pickupgoodsname:
  13428. description: 提货商品名称
  13429. type: string
  13430. pickupgoodsstatus:
  13431. description: 状态 - 1:正常 2:停用 3:注销
  13432. type: integer
  13433. pickupgoodsunitid:
  13434. description: 单位ID
  13435. type: integer
  13436. pickupratio:
  13437. description: 提货系数
  13438. type: number
  13439. preparedays:
  13440. description: 备货期(天)
  13441. type: integer
  13442. remark:
  13443. description: 备注
  13444. type: string
  13445. updatetime:
  13446. description: 更新时间
  13447. type: string
  13448. type: object
  13449. models.QhjMgrPositionRsp:
  13450. properties:
  13451. accountid:
  13452. description: 账号Id
  13453. type: integer
  13454. accountname:
  13455. description: 用户名称
  13456. type: string
  13457. agreeunit:
  13458. description: 合约乘数
  13459. type: number
  13460. averageprice:
  13461. description: 均价
  13462. type: number
  13463. avialqty:
  13464. description: 可用数量
  13465. type: number
  13466. decimalplace:
  13467. description: 报价小数位
  13468. type: integer
  13469. enumdicname:
  13470. description: 单位名称(商品)
  13471. type: string
  13472. frozenqty:
  13473. description: 冻结数量
  13474. type: number
  13475. goodscode:
  13476. description: 商品代码(内部)
  13477. type: string
  13478. goodsid:
  13479. description: 商品Id
  13480. type: integer
  13481. goodsname:
  13482. description: 商品名称
  13483. type: string
  13484. goodunitid:
  13485. description: 报价单位ID
  13486. type: integer
  13487. holderamount:
  13488. description: 金额
  13489. type: number
  13490. holderqty:
  13491. description: 持有数量
  13492. type: number
  13493. holdertype:
  13494. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13495. type: integer
  13496. logincode:
  13497. description: 登录代码(账户)
  13498. type: string
  13499. marketid:
  13500. description: 市场id
  13501. type: integer
  13502. qtydecimalplace:
  13503. description: 成交量小数位
  13504. type: integer
  13505. trademode:
  13506. description: 交易模式
  13507. type: integer
  13508. userid:
  13509. description: 用户id
  13510. type: integer
  13511. userinfotype:
  13512. description: 账户类型 1-个人 2-企业
  13513. type: integer
  13514. type: object
  13515. models.QhjMgrSubArea:
  13516. properties:
  13517. accountname:
  13518. description: 账户名称(机构名称)
  13519. type: string
  13520. memberuserid:
  13521. description: 所属会员ID
  13522. type: integer
  13523. parenttopuser:
  13524. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13525. type: string
  13526. parentuserid:
  13527. description: 所属机构ID
  13528. type: integer
  13529. rootuserid:
  13530. description: 根用户ID
  13531. type: string
  13532. subaccountlevel:
  13533. description: 子账户层数
  13534. type: integer
  13535. subarealevelpath:
  13536. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13537. type: string
  13538. userid:
  13539. description: 用户ID
  13540. type: integer
  13541. usertype:
  13542. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13543. type: integer
  13544. type: object
  13545. models.QhjMgrTradeDetailRsp:
  13546. properties:
  13547. accountid:
  13548. description: 资金账号
  13549. type: integer
  13550. accountname:
  13551. description: 用户名称
  13552. type: string
  13553. agreeunit:
  13554. description: 合约乘数
  13555. type: number
  13556. buyorsell:
  13557. description: 成交类型(方向) 0:买 1:卖
  13558. type: integer
  13559. decimalplace:
  13560. description: 报价小数位
  13561. type: integer
  13562. enumdicname:
  13563. description: 单位名称(商品)
  13564. type: string
  13565. goodscode:
  13566. description: 商品代码(内部)
  13567. type: string
  13568. goodsid:
  13569. description: 商品id
  13570. type: integer
  13571. goodsname:
  13572. description: 商品名称
  13573. type: string
  13574. goodunitid:
  13575. description: 报价单位ID
  13576. type: integer
  13577. logincode:
  13578. description: 登录代码(账户)
  13579. type: string
  13580. marketid:
  13581. description: 市场id
  13582. type: integer
  13583. orderid:
  13584. description: 关联委托单号
  13585. type: string
  13586. qtydecimalplace:
  13587. description: 成交量小数位
  13588. type: integer
  13589. tradeamount:
  13590. description: 金额
  13591. type: number
  13592. tradedate:
  13593. description: 交易日
  13594. type: string
  13595. tradeid:
  13596. description: 成交单号
  13597. type: string
  13598. trademode:
  13599. description: 交易模式
  13600. type: integer
  13601. tradeprice:
  13602. description: 价格
  13603. type: number
  13604. tradeqty:
  13605. description: 数量
  13606. type: number
  13607. tradetime:
  13608. description: 成交时间
  13609. type: string
  13610. userid:
  13611. description: 用户id
  13612. type: integer
  13613. userinfotype:
  13614. description: 账户类型 1-个人 2-企业
  13615. type: integer
  13616. type: object
  13617. models.QhjMgrTradeOrderDetailRsp:
  13618. properties:
  13619. accountid:
  13620. description: 资金账号
  13621. type: integer
  13622. accountname:
  13623. description: 用户名称
  13624. type: string
  13625. agreeunit:
  13626. description: 合约乘数
  13627. type: number
  13628. amount:
  13629. description: 金额
  13630. type: number
  13631. decimalplace:
  13632. description: 报价小数位
  13633. type: integer
  13634. enumdicname:
  13635. description: 单位名称(商品)
  13636. type: string
  13637. goodscode:
  13638. description: 商品代码(内部)
  13639. type: string
  13640. goodsid:
  13641. description: 商品id
  13642. type: integer
  13643. goodsname:
  13644. description: 商品名称
  13645. type: string
  13646. goodunitid:
  13647. description: 报价单位ID
  13648. type: integer
  13649. logincode:
  13650. description: 登录代码(账户)
  13651. type: string
  13652. marketid:
  13653. description: 市场id
  13654. type: integer
  13655. orderid:
  13656. description: 关联委托单号
  13657. type: string
  13658. orderprice:
  13659. description: 价格
  13660. type: number
  13661. orderqty:
  13662. description: 数量
  13663. type: number
  13664. orderstatus:
  13665. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13666. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13667. 16:成交失败违约(荷兰式竞拍专用)
  13668. type: integer
  13669. ordertime:
  13670. description: 委托时间
  13671. type: string
  13672. qtydecimalplace:
  13673. description: 成交量小数位
  13674. type: integer
  13675. tradedate:
  13676. description: 交易日
  13677. type: string
  13678. trademode:
  13679. description: 交易模式
  13680. type: integer
  13681. userid:
  13682. description: 用户id
  13683. type: integer
  13684. userinfotype:
  13685. description: 账户类型 1-个人 2-企业
  13686. type: integer
  13687. type: object
  13688. models.QhjMgrTradePayOrder:
  13689. properties:
  13690. accountname:
  13691. description: 用户名称
  13692. type: string
  13693. advanceratio:
  13694. description: 首付比率
  13695. type: number
  13696. agreeunit:
  13697. description: 合约乘数
  13698. type: number
  13699. buyaccountid:
  13700. description: 买方账号ID[报价币种]
  13701. type: integer
  13702. buyorderid:
  13703. description: 买方委托单号(关联单号)
  13704. type: string
  13705. createtime:
  13706. description: 创建时间
  13707. type: string
  13708. decimalplace:
  13709. description: 报价小数位
  13710. type: integer
  13711. enumdicname:
  13712. description: 单位名称(商品)
  13713. type: string
  13714. goodscode:
  13715. description: 商品代码(内部)
  13716. type: string
  13717. goodsid:
  13718. description: 商品ID
  13719. type: integer
  13720. goodsname:
  13721. description: 商品名称
  13722. type: string
  13723. goodunitid:
  13724. description: 报价单位ID
  13725. type: integer
  13726. logincode:
  13727. description: 登录代码(账户)
  13728. type: string
  13729. marketid:
  13730. description: 市场id
  13731. type: integer
  13732. offamount:
  13733. description: 优惠金额
  13734. type: number
  13735. operatetype:
  13736. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13737. type: integer
  13738. payamount:
  13739. description: 支付金额(金额)
  13740. type: number
  13741. payflag:
  13742. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13743. type: integer
  13744. paylimitedtime:
  13745. description: 支付期限
  13746. type: string
  13747. paytime:
  13748. description: 付款时间
  13749. type: string
  13750. qtydecimalplace:
  13751. description: 成交量小数位
  13752. type: integer
  13753. sellaccountid:
  13754. description: 卖方账号ID[报价币种]
  13755. type: integer
  13756. sellorderid:
  13757. description: 卖方委托单号
  13758. type: string
  13759. tradeamount:
  13760. description: 成交金额(优惠后金额)
  13761. type: number
  13762. tradecharge:
  13763. description: 成交手续费(买方)
  13764. type: number
  13765. tradedate:
  13766. description: 交易日(yyyyMMdd)
  13767. type: string
  13768. tradeid:
  13769. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13770. type: string
  13771. trademode:
  13772. description: 交易模式
  13773. type: integer
  13774. tradeprice:
  13775. description: 成交价格(价格)
  13776. type: number
  13777. tradeqty:
  13778. description: 成交数量(数量)
  13779. type: number
  13780. tradetime:
  13781. description: 成交时间
  13782. type: string
  13783. userid:
  13784. description: 用户id
  13785. type: integer
  13786. userinfotype:
  13787. description: 账户类型 1-个人 2-企业
  13788. type: integer
  13789. type: object
  13790. models.QhjMyTeamEx:
  13791. properties:
  13792. accountname:
  13793. description: 用户名称
  13794. type: string
  13795. accountstatus:
  13796. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13797. type: integer
  13798. createtime:
  13799. description: 创建时间
  13800. type: string
  13801. mobile:
  13802. description: 手机号码
  13803. type: string
  13804. refereeuserid:
  13805. description: 推荐人id
  13806. type: integer
  13807. refernum:
  13808. description: 推荐码
  13809. type: string
  13810. subList:
  13811. items:
  13812. $ref: '#/definitions/models.QhjMyTeamEx'
  13813. type: array
  13814. userid:
  13815. description: 用户id
  13816. type: integer
  13817. userinfotype:
  13818. description: 用户类型 1-个人 2-企业
  13819. type: integer
  13820. type: object
  13821. models.QhjNodeAgreementConfig:
  13822. properties:
  13823. agreementcontent:
  13824. description: 协议内容
  13825. type: string
  13826. agreementid:
  13827. description: 协议ID
  13828. type: integer
  13829. agreementname:
  13830. description: 协议名称
  13831. type: string
  13832. agreementno:
  13833. description: 协议编号
  13834. type: string
  13835. agreementtype:
  13836. description: 协议类型 - 1:注册 2:登录 3:交易
  13837. type: integer
  13838. agreementversion:
  13839. description: 协议版本号
  13840. type: integer
  13841. configid:
  13842. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13843. type: integer
  13844. createtime:
  13845. description: 创建时间
  13846. type: string
  13847. goodsid:
  13848. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13849. type: integer
  13850. nodetype:
  13851. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13852. type: integer
  13853. type: object
  13854. models.QhjParentAreaList:
  13855. properties:
  13856. accountname:
  13857. description: 账户名称(机构名称)
  13858. type: string
  13859. userid:
  13860. description: 用户ID
  13861. type: integer
  13862. usertype:
  13863. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13864. type: integer
  13865. type: object
  13866. models.QhjPayOrder:
  13867. properties:
  13868. advanceratio:
  13869. description: 首付比率
  13870. type: number
  13871. buyaccountid:
  13872. description: 买方账号ID[报价币种]
  13873. type: integer
  13874. buyorderid:
  13875. description: 买方委托单号
  13876. type: string
  13877. createtime:
  13878. description: 创建时间
  13879. type: string
  13880. decimalplace:
  13881. description: 商品报价小数位
  13882. type: integer
  13883. enumdicname:
  13884. description: 单位名称
  13885. type: string
  13886. goodscode:
  13887. description: 商品代码
  13888. type: string
  13889. goodsid:
  13890. description: 商品ID
  13891. type: integer
  13892. goodsname:
  13893. description: 商品名称
  13894. type: string
  13895. goodunitid:
  13896. description: 商品单位id
  13897. type: integer
  13898. marketid:
  13899. description: 市场ID
  13900. type: integer
  13901. offamount:
  13902. description: 优惠金额
  13903. type: number
  13904. operatetype:
  13905. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13906. type: integer
  13907. payamount:
  13908. description: 支付金额
  13909. type: number
  13910. payflag:
  13911. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13912. type: integer
  13913. paylimitedtime:
  13914. description: 支付期限
  13915. type: string
  13916. paytime:
  13917. description: 付款时间
  13918. type: string
  13919. qtydecimalplace:
  13920. description: 成交量小数位
  13921. type: integer
  13922. sellaccountid:
  13923. description: 卖方账号ID[报价币种]
  13924. type: integer
  13925. sellorderid:
  13926. description: 卖方委托单号
  13927. type: string
  13928. tradeamount:
  13929. description: 成交金额(优惠后金额)
  13930. type: number
  13931. tradecharge:
  13932. description: 成交手续费(买方)
  13933. type: number
  13934. tradedate:
  13935. description: 交易日(yyyyMMdd)
  13936. type: string
  13937. tradeid:
  13938. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13939. type: string
  13940. tradeprice:
  13941. description: 成交价格
  13942. type: number
  13943. tradeqty:
  13944. description: 成交数量
  13945. type: number
  13946. type: object
  13947. models.QhjPickArea:
  13948. properties:
  13949. address:
  13950. description: 详细地址
  13951. type: string
  13952. cityid:
  13953. description: 市
  13954. type: integer
  13955. cityname:
  13956. description: 城市名称
  13957. type: string
  13958. countryid:
  13959. description: 国家
  13960. type: integer
  13961. countryname:
  13962. description: 国家名称
  13963. type: string
  13964. districtid:
  13965. description: 地区
  13966. type: integer
  13967. districtname:
  13968. description: 地区名称
  13969. type: string
  13970. fromuserid:
  13971. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13972. type: integer
  13973. fromusername:
  13974. description: 所属机构名称
  13975. type: string
  13976. provinceid:
  13977. description: 省
  13978. type: integer
  13979. provincename:
  13980. description: 省名称
  13981. type: string
  13982. suborgtype:
  13983. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13984. type: integer
  13985. userid:
  13986. description: 机构用户ID 其他做市关系,都设置为 1
  13987. type: integer
  13988. username:
  13989. description: 机构用户名称(门店门称)
  13990. type: string
  13991. type: object
  13992. models.QhjPickGoods:
  13993. properties:
  13994. enumdicname:
  13995. description: 单位名称(提货商品)
  13996. type: string
  13997. goodsid:
  13998. description: 商品id
  13999. type: integer
  14000. imageaddress:
  14001. description: 图片
  14002. type: string
  14003. modifierid:
  14004. description: 修改人
  14005. type: integer
  14006. modifiername:
  14007. description: 修改人名称
  14008. type: string
  14009. modifysrc:
  14010. description: 修改来源 - 1:管理端 2:终端
  14011. type: integer
  14012. pickupgoodsagreeunit:
  14013. description: 合约乘数
  14014. type: number
  14015. pickupgoodsdesc:
  14016. description: 描述
  14017. type: string
  14018. pickupgoodsid:
  14019. description: 提货商品ID
  14020. type: string
  14021. pickupgoodsname:
  14022. description: 提货商品名称
  14023. type: string
  14024. pickupgoodsstatus:
  14025. description: 状态 - 1:正常 2:停用 3:注销
  14026. type: integer
  14027. pickupgoodsunitid:
  14028. description: 单位ID
  14029. type: integer
  14030. pickupratio:
  14031. description: 提货系数
  14032. type: number
  14033. preparedays:
  14034. description: 备货期(天)
  14035. type: integer
  14036. remark:
  14037. description: 备注
  14038. type: string
  14039. updatetime:
  14040. description: 更新时间
  14041. type: string
  14042. type: object
  14043. models.QhjRSTriggerLog:
  14044. properties:
  14045. accountid:
  14046. description: 用户资金账户
  14047. type: integer
  14048. accountname:
  14049. description: 账号名称(ACCOUNTID对应的名称)
  14050. type: string
  14051. currencyid:
  14052. description: 币种id
  14053. type: integer
  14054. currencyname:
  14055. description: 币种名称
  14056. type: string
  14057. decimalplace:
  14058. description: 商品报价小数位
  14059. type: integer
  14060. enumdicname:
  14061. description: 单位名称
  14062. type: string
  14063. goodscode:
  14064. description: 定投商品代码
  14065. type: string
  14066. goodsid:
  14067. description: 定投商品ID
  14068. type: integer
  14069. goodsname:
  14070. description: 定投商品名称
  14071. type: string
  14072. goodunitid:
  14073. description: 定投商品单位id
  14074. type: integer
  14075. logid:
  14076. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14077. type: string
  14078. logincode:
  14079. description: 账号(登录代码)
  14080. type: string
  14081. qtydecimalplace:
  14082. description: 成交量小数位
  14083. type: integer
  14084. regularlycycle:
  14085. description: 定投频率 - 1:每周 2:每月
  14086. type: integer
  14087. regularlycyclevalue:
  14088. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14089. type: string
  14090. regularlymode:
  14091. description: 定投方式 - 1:按数量 2:按金额
  14092. type: integer
  14093. regularlymodevalue:
  14094. description: 定投方式值 - 数量或金额
  14095. type: number
  14096. regularlystrategyid:
  14097. description: 定投策略ID
  14098. type: integer
  14099. retcode:
  14100. description: 错误码
  14101. type: string
  14102. tradeid:
  14103. description: 成交单ID
  14104. type: string
  14105. triggeramount:
  14106. description: 触发金额
  14107. type: number
  14108. triggerqty:
  14109. description: 触发数量
  14110. type: number
  14111. triggerstatus:
  14112. description: 触发状态 - 1:成功 2:失败
  14113. type: integer
  14114. triggertime:
  14115. description: 触发时间
  14116. type: string
  14117. triggertradedate:
  14118. description: 触发交易日
  14119. type: string
  14120. userid:
  14121. description: 所属用户ID
  14122. type: integer
  14123. userinfotype:
  14124. description: 用户类型 1-个人 2-企业
  14125. type: integer
  14126. username:
  14127. description: 用户名称(userid对应的名称)
  14128. type: string
  14129. type: object
  14130. models.QhjRStrategy:
  14131. properties:
  14132. accountid:
  14133. description: 用户资金账户
  14134. type: integer
  14135. accountname:
  14136. description: 账号名称(ACCOUNTID对应的名称)
  14137. type: string
  14138. currencyid:
  14139. description: 币种id
  14140. type: integer
  14141. currencyname:
  14142. description: 币种名称
  14143. type: string
  14144. decimalplace:
  14145. description: 商品报价小数位
  14146. type: integer
  14147. enumdicname:
  14148. description: 单位名称
  14149. type: string
  14150. goodscode:
  14151. description: 定投商品代码
  14152. type: string
  14153. goodsid:
  14154. description: 定投商品ID
  14155. type: integer
  14156. goodsname:
  14157. description: 定投商品名称
  14158. type: string
  14159. goodunitid:
  14160. description: 定投商品单位id
  14161. type: integer
  14162. lasteffecttradedate:
  14163. description: 最新生效交易日
  14164. type: string
  14165. laststoptradedate:
  14166. description: 最新暂停交易日
  14167. type: string
  14168. lasttriggertradedate:
  14169. description: 最新触发交易日
  14170. type: string
  14171. logincode:
  14172. description: 账号(登录代码)
  14173. type: string
  14174. nexttriggeramount:
  14175. description: 下次触发金额
  14176. type: number
  14177. nexttriggerdate:
  14178. description: 下次触发日期
  14179. type: string
  14180. nexttriggerqty:
  14181. description: 下次触发数量 [按小数位放大值]
  14182. type: number
  14183. qtydecimalplace:
  14184. description: 成交量小数位
  14185. type: integer
  14186. regularlycycle:
  14187. description: 定投频率 - 1:每周 2:每月
  14188. type: integer
  14189. regularlycyclevalue:
  14190. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14191. type: string
  14192. regularlymode:
  14193. description: 定投方式 - 1:按数量 2:按金额
  14194. type: integer
  14195. regularlymodevalue:
  14196. description: 定投方式值 - 数量或金额
  14197. type: number
  14198. regularlystrategyid:
  14199. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14200. type: integer
  14201. regularlystrategystatus:
  14202. description: 策略状态 - 1:正常 2:暂停 3:终止
  14203. type: integer
  14204. remark:
  14205. description: 备注
  14206. type: string
  14207. triggersuccesstimes:
  14208. description: 累计定投成功次数
  14209. type: string
  14210. triggertotalamount:
  14211. description: 累计定投金额(成功)
  14212. type: number
  14213. triggertotalqty:
  14214. description: 累计定投数量(成功) [按小数位放大值]
  14215. type: number
  14216. triggertotaltimes:
  14217. description: 累计定投总次数
  14218. type: string
  14219. updatesrc:
  14220. description: 更新来源 - 1:管理端 2:终端
  14221. type: integer
  14222. updatetime:
  14223. description: 更新时间
  14224. type: string
  14225. updatorid:
  14226. description: 更新人
  14227. type: string
  14228. userid:
  14229. description: 所属用户ID
  14230. type: integer
  14231. userinfotype:
  14232. description: 用户类型 1-个人 2-企业
  14233. type: integer
  14234. username:
  14235. description: 用户名称(userid对应的名称)
  14236. type: string
  14237. type: object
  14238. models.QhjReckonPriceLog:
  14239. properties:
  14240. decimalplace:
  14241. description: 商品报价小数位
  14242. type: integer
  14243. goodscode:
  14244. description: 商品代码
  14245. type: string
  14246. goodsid:
  14247. description: 商品ID
  14248. type: integer
  14249. goodsname:
  14250. description: 商品名称
  14251. type: string
  14252. lastreckonprice:
  14253. description: 上日结算价
  14254. type: number
  14255. nextdnlimitprice:
  14256. description: 下个交易日跌停价
  14257. type: number
  14258. nexttrade:
  14259. description: 下个交易日
  14260. type: string
  14261. nextuplimitprice:
  14262. description: 下个交易日涨停价
  14263. type: number
  14264. reckonprice:
  14265. description: 今日结算价(定投价)
  14266. type: number
  14267. reckontime:
  14268. description: 结算时间
  14269. type: string
  14270. totalholderqty:
  14271. description: 总持仓数
  14272. type: integer
  14273. totalstock:
  14274. description: 总库存
  14275. type: integer
  14276. tradedate:
  14277. description: 交易日
  14278. type: string
  14279. updowncount:
  14280. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14281. type: integer
  14282. updownflag:
  14283. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14284. type: integer
  14285. updownrate:
  14286. description: 今日涨跌幅
  14287. type: number
  14288. updownrate_2d:
  14289. description: 连续两日涨跌幅
  14290. type: number
  14291. updownrate_3d:
  14292. description: 连续三日涨跌幅
  14293. type: number
  14294. type: object
  14295. models.QhjScoreLog:
  14296. properties:
  14297. accountid:
  14298. description: 账户ID
  14299. type: integer
  14300. createtime:
  14301. description: 创建时间(时间)
  14302. type: string
  14303. goodsid:
  14304. description: 商品ID
  14305. type: integer
  14306. hasuploaded:
  14307. description: 是否已同步(千海金) 0:未同步 1;已同步
  14308. type: integer
  14309. logid:
  14310. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14311. type: string
  14312. marketid:
  14313. description: 市场ID
  14314. type: integer
  14315. relatedamount:
  14316. description: 关联金额
  14317. type: number
  14318. relatedorderid:
  14319. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14320. type: string
  14321. scoreconfigvalue1:
  14322. description: 积分配置1
  14323. type: integer
  14324. scoreconfigvalue2:
  14325. description: 积分配置1
  14326. type: integer
  14327. scoretype:
  14328. description: 积分类型 - 1:提货积分
  14329. type: integer
  14330. scorevalue:
  14331. description: 积分
  14332. type: number
  14333. tradedate:
  14334. description: 交易日(yyyyMMdd)
  14335. type: string
  14336. uploadedtime:
  14337. description: 同步时间
  14338. type: string
  14339. userid:
  14340. description: 用户ID
  14341. type: integer
  14342. type: object
  14343. models.QhjSiteColumnDetail:
  14344. properties:
  14345. author:
  14346. description: 作者
  14347. type: string
  14348. brief:
  14349. description: 简介
  14350. type: string
  14351. columnid:
  14352. description: 所属栏目
  14353. type: integer
  14354. context:
  14355. description: 内容
  14356. type: string
  14357. coverimage:
  14358. description: 封面图片
  14359. type: string
  14360. creaedate:
  14361. description: 创建时间
  14362. type: string
  14363. creatorid:
  14364. description: 创建人
  14365. type: integer
  14366. hits:
  14367. description: 点击数
  14368. type: integer
  14369. id:
  14370. description: ID(SEQ_SITE_COLUMNDETAIL)
  14371. type: integer
  14372. isshow:
  14373. description: 是否展示 - 0:不展示 1:展示
  14374. type: integer
  14375. istop:
  14376. description: 是否置顶 - 0:不置 1:置顶
  14377. type: integer
  14378. modifierid:
  14379. description: 操作人
  14380. type: integer
  14381. publishdate:
  14382. description: 发布日期
  14383. type: string
  14384. status:
  14385. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14386. type: integer
  14387. title:
  14388. description: 标题
  14389. type: string
  14390. updatedate:
  14391. description: 修改时间
  14392. type: string
  14393. userid:
  14394. description: 用户ID(默认为0, 核心为为机构用户ID)
  14395. type: integer
  14396. username:
  14397. description: 用户名称
  14398. type: string
  14399. type: object
  14400. models.QhjTeamOrder:
  14401. properties:
  14402. accountid:
  14403. description: 账户ID[报价币种]
  14404. type: integer
  14405. accountname:
  14406. description: 账户名称
  14407. type: string
  14408. agreeunit:
  14409. description: 合约乘数
  14410. type: number
  14411. buyorsell:
  14412. description: 方向 - 0:买 1:卖
  14413. type: integer
  14414. decimalplace:
  14415. description: 报价小数位
  14416. type: integer
  14417. enumdicname:
  14418. description: 单位名称
  14419. type: string
  14420. goodscode:
  14421. description: 商品代码(内部)
  14422. type: string
  14423. goodsid:
  14424. description: 商品ID
  14425. type: integer
  14426. goodsname:
  14427. description: 商品名称
  14428. type: string
  14429. goodunitid:
  14430. description: 报价单位ID
  14431. type: integer
  14432. marketid:
  14433. description: 市场ID
  14434. type: integer
  14435. marketname:
  14436. description: 市场名称
  14437. type: string
  14438. qtydecimalplace:
  14439. description: 成交量小数位
  14440. type: integer
  14441. refereeuserid:
  14442. description: 推荐人ID
  14443. type: integer
  14444. tradeamount:
  14445. description: 成交金额[账户币种,用于所有权]
  14446. type: number
  14447. tradedate:
  14448. description: 交易日(yyyyMMdd)
  14449. type: string
  14450. trademode:
  14451. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14452. 21:竞拍-大宗式 22:受托竞价
  14453. type: integer
  14454. tradeprice:
  14455. description: 成交价格
  14456. type: number
  14457. tradeqty:
  14458. description: 成交数量
  14459. type: number
  14460. tradetime:
  14461. description: 成交时间
  14462. type: string
  14463. userid:
  14464. description: 用户ID
  14465. type: integer
  14466. type: object
  14467. models.QhjTradeGoodsPickup:
  14468. properties:
  14469. accountid:
  14470. description: 账户ID
  14471. type: integer
  14472. address:
  14473. description: 提货人详细地址
  14474. type: string
  14475. amount:
  14476. description: 提货金额
  14477. type: number
  14478. artradedate:
  14479. description: 自动收货交易日(yyyyMMdd)
  14480. type: string
  14481. auditer:
  14482. description: 审核人
  14483. type: integer
  14484. auditsrc:
  14485. description: 更新来源 - 1:管理端 2:终端
  14486. type: integer
  14487. audittime:
  14488. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14489. type: string
  14490. audittradedate:
  14491. description: 审核交易日(yyyyMMdd)
  14492. type: string
  14493. cardnum:
  14494. description: 提货人证件号码
  14495. type: string
  14496. cardtypeid:
  14497. description: 提货人证件类型
  14498. type: integer
  14499. checkremark:
  14500. description: 审核备注
  14501. type: string
  14502. cityid:
  14503. description: 市
  14504. type: integer
  14505. cityname:
  14506. description: 城市名称
  14507. type: string
  14508. confirmtime:
  14509. description: 取货时间 或 收货时间
  14510. type: string
  14511. countryid:
  14512. description: 国家
  14513. type: integer
  14514. countryname:
  14515. description: 国家名称
  14516. type: string
  14517. decimalplace:
  14518. description: 商品报价小数位
  14519. type: integer
  14520. districtid:
  14521. description: 地区
  14522. type: integer
  14523. districtname:
  14524. description: 地区名称
  14525. type: string
  14526. enumdicname:
  14527. description: 单位名称(提货商品)
  14528. type: string
  14529. expresscompany:
  14530. description: 物流公司
  14531. type: string
  14532. expressnum:
  14533. description: 物流单号
  14534. type: string
  14535. goodsagreeunit:
  14536. description: 交易商品乘数
  14537. type: number
  14538. goodscode:
  14539. description: 商品代码
  14540. type: string
  14541. goodsid:
  14542. description: 商品ID
  14543. type: integer
  14544. goodsname:
  14545. description: 商品名称
  14546. type: string
  14547. goodsqty:
  14548. description: 交易商品手数(69模式按成交量小数位放大取整)
  14549. type: number
  14550. handlestatus:
  14551. description: 处理状态
  14552. type: integer
  14553. logincode:
  14554. description: 账号(登录代码, 有可能为空)
  14555. type: string
  14556. marketid:
  14557. description: 市场ID
  14558. type: integer
  14559. phonenum:
  14560. description: 提货人联系方式
  14561. type: string
  14562. pickupgoodsagreeunit:
  14563. description: 提货商品合约乘数
  14564. type: number
  14565. pickupgoodsid:
  14566. description: 提货商品ID
  14567. type: string
  14568. pickupgoodsname:
  14569. description: 提货商品名称
  14570. type: string
  14571. pickupgoodsqty:
  14572. description: 提货商品手数(数量)
  14573. type: number
  14574. pickupgoodsunitid:
  14575. description: 单位ID(提货商品)
  14576. type: integer
  14577. pickupratio:
  14578. description: 提货系数
  14579. type: number
  14580. preparedays:
  14581. description: 备货期(天)-提货单明细表
  14582. type: integer
  14583. provinceid:
  14584. description: 省
  14585. type: integer
  14586. provincename:
  14587. description: 省名称
  14588. type: string
  14589. qty:
  14590. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14591. type: number
  14592. qtydecimalplace:
  14593. description: 商品数量小数位
  14594. type: integer
  14595. recivername:
  14596. description: 提货人姓名
  14597. type: string
  14598. reqtime:
  14599. description: 提货申请时间
  14600. type: string
  14601. storeuserid:
  14602. description: 门店用户ID (千海金)
  14603. type: integer
  14604. storeusername:
  14605. description: 门店用户名称
  14606. type: string
  14607. takemode:
  14608. description: 提货方式 - 2:自提 3:配送(邮寄)
  14609. type: integer
  14610. takeorderid:
  14611. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14612. type: string
  14613. takeorderstatus:
  14614. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14615. 7:已拒绝 8:已撤销
  14616. type: integer
  14617. takeremark:
  14618. description: 提货备注
  14619. type: string
  14620. tradedate:
  14621. description: 交易日(yyyyMMdd)
  14622. type: string
  14623. updatetime:
  14624. description: 更新时间
  14625. type: string
  14626. userid:
  14627. description: 用户ID
  14628. type: integer
  14629. userinfotype:
  14630. description: 客户类型 1-个人 2-企业
  14631. type: integer
  14632. username:
  14633. description: 用户名称
  14634. type: string
  14635. type: object
  14636. models.QhjUserNodeCfgAndStatus:
  14637. properties:
  14638. agreementcontent:
  14639. description: 协议内容
  14640. type: string
  14641. agreementid:
  14642. description: 协议ID
  14643. type: integer
  14644. agreementname:
  14645. description: 协议名称
  14646. type: string
  14647. agreementno:
  14648. description: 协议编号
  14649. type: string
  14650. agreementtype:
  14651. description: 协议类型 - 1:注册 2:登录 3:交易
  14652. type: integer
  14653. agreementversion:
  14654. description: 协议版本号
  14655. type: integer
  14656. configid:
  14657. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14658. type: integer
  14659. createtime:
  14660. description: 创建时间
  14661. type: string
  14662. goodsid:
  14663. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14664. type: integer
  14665. nodetype:
  14666. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14667. type: integer
  14668. signtimestamp:
  14669. description: 签约状态时间戳(最近一次)
  14670. type: string
  14671. tradedate:
  14672. description: 签约交易日(yyyyMMdd)
  14673. type: string
  14674. userid:
  14675. description: 客户ID
  14676. type: integer
  14677. type: object
  14678. models.Qhjgoodsex:
  14679. properties:
  14680. canfinance:
  14681. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14682. type: integer
  14683. canregularlybuy:
  14684. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14685. type: integer
  14686. defaulttradeuserid:
  14687. description: 默认交易用户ID
  14688. type: integer
  14689. deliverygoodsid:
  14690. description: 现货品种ID
  14691. type: integer
  14692. goodsid:
  14693. description: 商品ID(自增ID SEQ_GOODS)
  14694. type: integer
  14695. minamount:
  14696. description: 最小购买金额
  14697. type: number
  14698. regularlybuyminamount:
  14699. description: 定投最小金额
  14700. type: number
  14701. regularlybuyminqty:
  14702. description: 定投最小数量
  14703. type: number
  14704. spotgoodsbrandid:
  14705. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14706. type: integer
  14707. visibilityforenterprise:
  14708. description: 企业客户是否可见 - 0:不可见 1:可见
  14709. type: integer
  14710. visibilityforpersonal:
  14711. description: 个人客户是否可见 - 0:不可见 1:可见
  14712. type: integer
  14713. wrstandardid:
  14714. description: 现货商品ID
  14715. type: integer
  14716. type: object
  14717. models.QueryErrorInfosRsp:
  14718. properties:
  14719. description:
  14720. description: 异常描述
  14721. type: string
  14722. errorcode:
  14723. description: 异常代码
  14724. type: string
  14725. errorid:
  14726. description: 异常ID
  14727. type: integer
  14728. modulecode:
  14729. description: 所属模块
  14730. type: string
  14731. operatecode:
  14732. description: 所属操作
  14733. type: string
  14734. rownumber:
  14735. description: 行号
  14736. type: string
  14737. required:
  14738. - errorid
  14739. type: object
  14740. models.QueryHedgeOrderDetailRsp:
  14741. properties:
  14742. accountid:
  14743. description: 账户ID
  14744. type: integer
  14745. buyorsell:
  14746. description: 买卖 - 0:买 1:卖
  14747. type: integer
  14748. cancellogincode:
  14749. description: 撤单人
  14750. type: string
  14751. channelbuildtype:
  14752. description: 开平标志 - 0:无 1:建仓 2:平仓
  14753. type: integer
  14754. channelinnerorderstatus:
  14755. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14756. 9:全部成交
  14757. type: integer
  14758. channeloperatetype:
  14759. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14760. type: integer
  14761. closetype:
  14762. description: 平仓方式 - 0:无 1:平今 2:平昨
  14763. type: integer
  14764. curexchangerate:
  14765. description: 当前汇率
  14766. type: number
  14767. decimalplace:
  14768. description: 商品报价小数位
  14769. type: integer
  14770. exchangefullname:
  14771. description: 外部交易所全称
  14772. type: string
  14773. goodscode:
  14774. description: 商品代码(内部)
  14775. type: string
  14776. goodsid:
  14777. description: 商品ID
  14778. type: integer
  14779. goodsname:
  14780. description: 商品名称
  14781. type: string
  14782. marketid:
  14783. description: 市场ID
  14784. type: integer
  14785. openfreezemargin:
  14786. description: 冻结保证金(冻结交易金额)
  14787. type: number
  14788. orderid:
  14789. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14790. type: string
  14791. orderlogincode:
  14792. description: 委托人
  14793. type: string
  14794. orderprice:
  14795. description: 委托价格(账户)
  14796. type: number
  14797. orderqty:
  14798. description: 委托数量
  14799. type: integer
  14800. ordertime:
  14801. description: 委托时间
  14802. type: string
  14803. pricemode:
  14804. description: '取价方式 - 1:市价 2: 限价'
  14805. type: integer
  14806. tradedate:
  14807. description: 交易日(yyyyMMdd)
  14808. type: string
  14809. tradeqty:
  14810. description: 成交数量
  14811. type: integer
  14812. type: object
  14813. models.QueryHedgeTradeDetailRsp:
  14814. properties:
  14815. accountid:
  14816. description: 账号ID
  14817. type: integer
  14818. buyorsell:
  14819. description: 方向 - 0:买 1:卖
  14820. type: integer
  14821. channelbuildtype:
  14822. description: 委托单据类型 0:无 1:建仓 2:平仓
  14823. type: integer
  14824. closecharge:
  14825. description: 平仓手续费(账户)
  14826. type: number
  14827. closecharge2:
  14828. description: 平仓手续费(商品)
  14829. type: number
  14830. closepl:
  14831. description: 平仓盈亏(账户)
  14832. type: number
  14833. closepl2:
  14834. description: 平仓盈亏(商品)
  14835. type: number
  14836. closepl3:
  14837. description: 平仓盈亏(账户)(逐笔)
  14838. type: number
  14839. closepl4:
  14840. description: 平仓盈亏(商品)(逐笔)
  14841. type: number
  14842. closetype:
  14843. description: 平仓方式 - 0:无 1:平今 2:平昨
  14844. type: integer
  14845. curexchangerate:
  14846. description: 当前汇率
  14847. type: number
  14848. decimalplace:
  14849. description: 商品报价小数位
  14850. type: integer
  14851. exchangefullname:
  14852. description: 外部交易所全称
  14853. type: string
  14854. goodscode:
  14855. description: 商品代码(内部)
  14856. type: string
  14857. goodsid:
  14858. description: 商品ID
  14859. type: integer
  14860. goodsname:
  14861. description: 商品名称
  14862. type: string
  14863. marketid:
  14864. description: 市场ID
  14865. type: integer
  14866. opencharge:
  14867. description: 建仓手续费(账户)
  14868. type: number
  14869. opencharge2:
  14870. description: 建仓手续费(商品)
  14871. type: number
  14872. orderid:
  14873. description: 委托单号
  14874. type: string
  14875. orderlogincode:
  14876. description: 委托人
  14877. type: string
  14878. tradeamount:
  14879. description: 成交金额(账户)
  14880. type: number
  14881. tradedate:
  14882. description: 交易日(yyyyMMdd)
  14883. type: string
  14884. tradeid:
  14885. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14886. type: string
  14887. tradeprice:
  14888. description: 成交价格
  14889. type: number
  14890. tradeqty:
  14891. description: 成交数量
  14892. type: integer
  14893. tradetime:
  14894. description: 成交时间
  14895. type: string
  14896. tradetype:
  14897. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14898. type: integer
  14899. type: object
  14900. models.QuotePrimaryMenu:
  14901. properties:
  14902. Index:
  14903. description: 序号
  14904. type: integer
  14905. Key:
  14906. description: 键名
  14907. type: string
  14908. Name:
  14909. description: 菜单名称
  14910. type: string
  14911. SubMenus:
  14912. description: 子菜单
  14913. items:
  14914. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14915. type: array
  14916. SubTitleType:
  14917. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14918. type: integer
  14919. TradeModes:
  14920. description: 包含市场交易类型
  14921. type: string
  14922. type: object
  14923. models.QuoteSecondaryMenu:
  14924. properties:
  14925. ExExchangeCode:
  14926. description: 外部交易所代码
  14927. type: string
  14928. ExExchangeID:
  14929. description: 外部交易所ID
  14930. type: integer
  14931. GoodsGroupIDs:
  14932. description: 商品组ID列表
  14933. items:
  14934. type: integer
  14935. type: array
  14936. Index:
  14937. description: 序号
  14938. type: integer
  14939. MarketID:
  14940. description: 市场ID
  14941. type: integer
  14942. MenuTitle:
  14943. description: 菜单标题(市场名称或外部交易所名称)
  14944. type: string
  14945. TradeMode:
  14946. description: 交易模式
  14947. type: integer
  14948. type: object
  14949. models.RelatedTaAccount:
  14950. properties:
  14951. accountid:
  14952. description: 资金账户ID
  14953. type: integer
  14954. type: object
  14955. models.RoleMenu:
  14956. properties:
  14957. hasright:
  14958. description: 是否有权限 0-没有权限 1-有权限
  14959. type: integer
  14960. iconame:
  14961. description: 菜单图标
  14962. type: string
  14963. menutype:
  14964. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14965. type: integer
  14966. parentcode:
  14967. description: 上级资源代码
  14968. type: string
  14969. remark:
  14970. description: 菜单备注
  14971. type: string
  14972. resourcecode:
  14973. description: 菜单代码
  14974. type: string
  14975. resourcelevel:
  14976. description: 级别
  14977. type: integer
  14978. resourcename:
  14979. description: 菜单名称
  14980. type: string
  14981. roleid:
  14982. description: 角色id
  14983. type: integer
  14984. sort:
  14985. description: 排序
  14986. type: integer
  14987. subMenu:
  14988. description: 子级菜单(结构同上层一样, swag解析不出来)
  14989. items:
  14990. $ref: '#/definitions/models.RoleMenu'
  14991. type: array
  14992. url:
  14993. description: URL
  14994. type: string
  14995. userid:
  14996. description: 用户id
  14997. type: integer
  14998. type: object
  14999. models.SearchGoods:
  15000. properties:
  15001. goodscode:
  15002. description: 商品代码(内部)
  15003. type: string
  15004. goodsid:
  15005. description: 商品ID(自增ID SEQ_GOODS)
  15006. type: integer
  15007. goodsname:
  15008. description: 商品名称
  15009. type: string
  15010. marketid:
  15011. description: 所属市场ID
  15012. type: integer
  15013. marketname:
  15014. description: 市场名称
  15015. type: string
  15016. trademode:
  15017. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15018. 21:竞拍-大宗式 22:受托竞价
  15019. type: integer
  15020. required:
  15021. - goodscode
  15022. - goodsid
  15023. - goodsname
  15024. - marketid
  15025. - trademode
  15026. type: object
  15027. models.Systemparam:
  15028. properties:
  15029. loginid:
  15030. description: 更新用户账号,登录账号
  15031. type: string
  15032. modifyflag:
  15033. description: 修改标志0 不允许修改 1 允许修改
  15034. type: integer
  15035. paramcode:
  15036. description: 参数代码
  15037. type: string
  15038. paramname:
  15039. description: 参数名
  15040. type: string
  15041. paramtype:
  15042. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  15043. type: integer
  15044. paramvalue:
  15045. description: 参数值
  15046. type: string
  15047. paramvalue2:
  15048. description: 参数值(CLOB)
  15049. type: string
  15050. regexpress:
  15051. description: 正则表达式
  15052. type: string
  15053. remark:
  15054. description: 备注
  15055. type: string
  15056. serverip:
  15057. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  15058. type: string
  15059. showflag:
  15060. description: 是否显示0 不显示 1 显示
  15061. type: integer
  15062. updatetime:
  15063. description: 更新时间
  15064. type: string
  15065. userid:
  15066. description: 更新用户ID
  15067. type: integer
  15068. required:
  15069. - paramcode
  15070. type: object
  15071. models.Szdz3convertconfig:
  15072. properties:
  15073. canin:
  15074. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  15075. type: integer
  15076. canout:
  15077. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  15078. type: integer
  15079. converttype:
  15080. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15081. 6:交易转花生米(不设置)
  15082. type: integer
  15083. createtime:
  15084. description: 创建时间
  15085. type: string
  15086. creatorid:
  15087. description: 创建人
  15088. type: integer
  15089. daymaxvalue:
  15090. description: 当日最大转入限制
  15091. type: number
  15092. freezedays:
  15093. description: 冻结天数 [5:花生米转交易]
  15094. type: integer
  15095. innergoodsid:
  15096. description: 内部商品ID[交易]
  15097. type: integer
  15098. inratio:
  15099. description: 目标值
  15100. type: integer
  15101. modifierid:
  15102. description: 修改人
  15103. type: integer
  15104. modifytime:
  15105. description: 修改时间
  15106. type: string
  15107. outergoodscode:
  15108. description: 外部商品代码[JD\PD]
  15109. type: string
  15110. outratio:
  15111. description: 源值
  15112. type: integer
  15113. pddecimalplace:
  15114. description: PD小数位
  15115. type: integer
  15116. timemaxvalue:
  15117. description: 单次最大转入限制
  15118. type: number
  15119. timeminvalue:
  15120. description: 单次最小转入限制
  15121. type: number
  15122. required:
  15123. - converttype
  15124. - innergoodsid
  15125. - outergoodscode
  15126. type: object
  15127. models.Szdz3searchwhitelist:
  15128. properties:
  15129. createtime:
  15130. description: 创建时间
  15131. type: string
  15132. creatorid:
  15133. description: 创建人
  15134. type: integer
  15135. modifierid:
  15136. description: 修改人
  15137. type: integer
  15138. modifytime:
  15139. description: 修改时间
  15140. type: string
  15141. userid:
  15142. description: 用户ID
  15143. type: integer
  15144. required:
  15145. - userid
  15146. type: object
  15147. models.TBGoods:
  15148. properties:
  15149. agreeunit:
  15150. description: 合约乘数
  15151. type: number
  15152. enumdicname:
  15153. description: 单位名称
  15154. type: string
  15155. goodscode:
  15156. description: 商品代码(内部)
  15157. type: string
  15158. goodsid:
  15159. description: 商品ID(自增ID SEQ_GOODS)
  15160. type: integer
  15161. goodsname:
  15162. description: 商品名称
  15163. type: string
  15164. type: object
  15165. models.TBGoodsGroup:
  15166. properties:
  15167. GDLST:
  15168. description: 商品列表
  15169. items:
  15170. $ref: '#/definitions/models.TBGoods'
  15171. type: array
  15172. convertratio:
  15173. description: 折算系数
  15174. type: number
  15175. enumdicname:
  15176. description: 单位名称
  15177. type: string
  15178. exexchangecode:
  15179. description: 交易所代码
  15180. type: string
  15181. exexchangename:
  15182. description: 交易所名称
  15183. type: string
  15184. goodsgroupid:
  15185. description: 商品组ID(自增ID)
  15186. type: integer
  15187. goodsgroupname:
  15188. description: 商品组名称
  15189. type: string
  15190. goodunitid:
  15191. description: 报价单位ID
  15192. type: integer
  15193. type: object
  15194. models.TBMiddleGoods:
  15195. properties:
  15196. GPLST:
  15197. description: 期货品种列表
  15198. items:
  15199. $ref: '#/definitions/models.TBGoodsGroup'
  15200. type: array
  15201. WDLST:
  15202. description: 商品信息列表(现货品类)
  15203. items:
  15204. $ref: '#/definitions/models.TBWrstandard'
  15205. type: array
  15206. areauserid:
  15207. description: 机构用户ID
  15208. type: integer
  15209. enumdicname:
  15210. description: 单位名称
  15211. type: string
  15212. goodsunitid:
  15213. description: 套保品种单位id
  15214. type: integer
  15215. middlegoodscode:
  15216. description: 套保品种代码
  15217. type: string
  15218. middlegoodsid:
  15219. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15220. type: integer
  15221. middlegoodsname:
  15222. description: 套保品种名称
  15223. type: string
  15224. needarbitrageratio:
  15225. description: 套利比率
  15226. type: number
  15227. needhedgeratio:
  15228. description: 套保比率
  15229. type: number
  15230. type: object
  15231. models.TBWrstandard:
  15232. properties:
  15233. convertratio:
  15234. description: 折算系数
  15235. type: number
  15236. deliverygoodsname:
  15237. description: 品种名称
  15238. type: string
  15239. enumdicname:
  15240. description: 单位名称
  15241. type: string
  15242. vatrate:
  15243. description: 增值税率
  15244. type: number
  15245. wrstandardcode:
  15246. description: 现货商品代码
  15247. type: string
  15248. wrstandardid:
  15249. description: 现货商品ID(SEQ_WRSTANDARD)
  15250. type: integer
  15251. wrstandardname:
  15252. description: 现货商品名称
  15253. type: string
  15254. type: object
  15255. models.Taaccount:
  15256. properties:
  15257. accountflag:
  15258. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15259. type: integer
  15260. accountid:
  15261. description: 资金账户ID
  15262. type: integer
  15263. accountname:
  15264. description: 账户名称
  15265. type: string
  15266. balance:
  15267. description: 期初余额
  15268. type: number
  15269. capitalbalance:
  15270. description: 本金余额[外部子账户实际出入金余额]
  15271. type: number
  15272. changeflag:
  15273. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15274. type: integer
  15275. changetime:
  15276. description: 账户状态变更时间
  15277. type: string
  15278. closepl:
  15279. description: 今日平仓盈亏
  15280. type: number
  15281. creditdecrease:
  15282. description: 今日授信减少
  15283. type: number
  15284. creditincrease:
  15285. description: 今日授信增加
  15286. type: number
  15287. curamount:
  15288. description: 总市值(从持仓中统计)
  15289. type: number
  15290. currencyid:
  15291. description: 货币ID
  15292. type: integer
  15293. currentbalance:
  15294. description: 期末余额
  15295. type: number
  15296. freezecharge:
  15297. description: 手续费冻结
  15298. type: number
  15299. freezemargin:
  15300. description: 冻结保证金
  15301. type: number
  15302. fromaccountid:
  15303. description: 所属上级账户
  15304. type: integer
  15305. inamount:
  15306. description: 今日入金金额(包括三方入金)
  15307. type: number
  15308. ismain:
  15309. description: 是否母账号 0:不是母账户 1:是母账户
  15310. type: integer
  15311. ismarketaccount:
  15312. description: 是否机构接单账号 0:不是 1:是
  15313. type: integer
  15314. isreckonaccount:
  15315. description: 是否机构分润账号 0:不是 1:是
  15316. type: integer
  15317. mortgagecredit:
  15318. description: 授信金额
  15319. type: number
  15320. orifreezecharge:
  15321. description: 期初手续费冻结
  15322. type: number
  15323. orifreezemargin:
  15324. description: 期初冻结保证金
  15325. type: number
  15326. orimortgagecredit:
  15327. description: 期初授信金额
  15328. type: number
  15329. oriothercredit:
  15330. description: 期初其它授信金额
  15331. type: number
  15332. oriotherfreezemargin:
  15333. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15334. type: number
  15335. orioutamountfreeze:
  15336. description: 期初出金冻结
  15337. type: number
  15338. oriusedmargin:
  15339. description: 期初占用保证金
  15340. type: number
  15341. othercredit:
  15342. description: 其它授信金额
  15343. type: number
  15344. othercreditdecrease:
  15345. description: 今日其它授信减少
  15346. type: number
  15347. othercreditincrease:
  15348. description: 今日其它授信增加
  15349. type: number
  15350. otherfreezemargin:
  15351. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15352. type: number
  15353. otherincome:
  15354. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15355. type: number
  15356. otherpay:
  15357. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15358. type: number
  15359. outamount:
  15360. description: 今日出金金额(包括三方出金)
  15361. type: number
  15362. outamountfreeze:
  15363. description: 出金冻结
  15364. type: number
  15365. outthreshold:
  15366. description: 出金阈值
  15367. type: number
  15368. parentaccountid:
  15369. description: 所属根账号
  15370. type: integer
  15371. paycharge:
  15372. description: 今日手续费支出
  15373. type: number
  15374. relatedaccountstatus:
  15375. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15376. type: integer
  15377. relateduserid:
  15378. description: 关联用户
  15379. type: integer
  15380. remainamount:
  15381. description: 融资额(从融资合同中统计)
  15382. type: number
  15383. serivcegroup:
  15384. description: 服务分组
  15385. type: integer
  15386. signstatus:
  15387. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15388. type: integer
  15389. sublevelpath:
  15390. description: 账号层级路径(逗号分隔,首尾加逗号)
  15391. type: string
  15392. taaccounttype:
  15393. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15394. type: integer
  15395. thirdinamount:
  15396. description: 今日三方入金
  15397. type: number
  15398. thirdoutamount:
  15399. description: 今日三方出金
  15400. type: number
  15401. tradestatus:
  15402. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15403. type: integer
  15404. tradestatuschangetime:
  15405. description: 激活时间
  15406. type: string
  15407. transferamount:
  15408. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15409. type: number
  15410. usedmargin:
  15411. description: 占用保证金
  15412. type: number
  15413. userid:
  15414. description: 用户ID
  15415. type: integer
  15416. required:
  15417. - accountid
  15418. - userid
  15419. type: object
  15420. models.Tablecolumnconfig:
  15421. properties:
  15422. aligntype:
  15423. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15424. type: integer
  15425. autoid:
  15426. description: AutoID
  15427. type: integer
  15428. columnfield:
  15429. description: 列字段
  15430. type: string
  15431. columntitle:
  15432. description: 列Title
  15433. type: string
  15434. columnwidth:
  15435. description: 列宽
  15436. type: string
  15437. formatterstring:
  15438. description: 格式化字符
  15439. type: string
  15440. formattertype:
  15441. description: 格式化类型
  15442. type: string
  15443. groupname:
  15444. description: 表头分组名称
  15445. type: string
  15446. isshow:
  15447. description: 是否显示 - 0:不显示 1:显示
  15448. type: integer
  15449. needsummary:
  15450. description: 是否需要汇总 - 0:不需要 1:需要
  15451. type: integer
  15452. orderindex:
  15453. description: 顺序
  15454. type: integer
  15455. remark:
  15456. description: 备注
  15457. type: string
  15458. summarytype:
  15459. description: 汇总类型 - 1:加总 2:最后一个
  15460. type: integer
  15461. tablekey:
  15462. description: 列表Key
  15463. type: string
  15464. required:
  15465. - autoid
  15466. type: object
  15467. models.TjmdHolderDetailTradeInfo:
  15468. properties:
  15469. agreeunit:
  15470. description: 合约乘数
  15471. type: number
  15472. buyaccountid:
  15473. description: 买方账户
  15474. type: string
  15475. buyusername:
  15476. description: 买方
  15477. type: string
  15478. delistingdate:
  15479. description: 最后结算日
  15480. type: string
  15481. expiredate:
  15482. description: 到期结算价定价日
  15483. type: string
  15484. exprieprice:
  15485. description: 到期清算价格
  15486. type: string
  15487. goodscode:
  15488. description: 商品代码
  15489. type: string
  15490. goodsid:
  15491. description: 商品ID
  15492. type: integer
  15493. goodsname:
  15494. description: 商品名称(交易标的)
  15495. type: string
  15496. lasttradedate:
  15497. description: 最后交易日
  15498. type: string
  15499. listingdate:
  15500. description: 开始交易日
  15501. type: string
  15502. openprice:
  15503. description: 成交价
  15504. type: number
  15505. openqty:
  15506. description: 交易数量
  15507. type: integer
  15508. sellaccountid:
  15509. description: 卖方账户
  15510. type: string
  15511. sellusername:
  15512. description: 卖方
  15513. type: string
  15514. tradeamount:
  15515. description: 初始名义价值
  15516. type: number
  15517. tradedate:
  15518. description: 成交日期
  15519. type: string
  15520. tradeid:
  15521. description: 成交编号
  15522. type: string
  15523. type: object
  15524. models.TjmdMarketSection:
  15525. properties:
  15526. marketsectionid:
  15527. description: 市场版块ID(SEQ_MARKETSECTION)
  15528. type: integer
  15529. marketsectionname:
  15530. description: 市场版块名称
  15531. type: string
  15532. mlist:
  15533. description: 市场列表(板块下面有多少个市场)
  15534. items:
  15535. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15536. type: array
  15537. orderindex:
  15538. description: 排序
  15539. type: integer
  15540. pictureurl:
  15541. description: 图片url, 规格(90*90)
  15542. type: string
  15543. remark:
  15544. description: 备注
  15545. type: string
  15546. type: object
  15547. models.TjmdMarketSectionConfig:
  15548. properties:
  15549. auctionwrtype:
  15550. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15551. type: integer
  15552. canacceptquote:
  15553. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15554. type: integer
  15555. cangoodsexercise:
  15556. description: '[期权]是否可现货行权- 0:否 1:是'
  15557. type: integer
  15558. cangoodsexercisetype:
  15559. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15560. type: integer
  15561. canmanualquotestrike:
  15562. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15563. type: integer
  15564. canmutistage:
  15565. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15566. type: integer
  15567. canpreexercise:
  15568. description: '[期权]是否可预申报- 0:否 1:是'
  15569. type: integer
  15570. clearinterval:
  15571. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15572. type: integer
  15573. contracttmp:
  15574. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15575. type: string
  15576. exchareaid:
  15577. description: 所属交易所,可以没有
  15578. type: integer
  15579. financemarketid:
  15580. description: 融资回购市场ID [仓单贸易]
  15581. type: integer
  15582. goodstype:
  15583. description: 商品类型 - 1:交易商品 2:仓单商品
  15584. type: integer
  15585. hasrebate:
  15586. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15587. type: integer
  15588. hastradecredit:
  15589. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15590. type: integer
  15591. haswr:
  15592. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15593. type: integer
  15594. isdeductmargin:
  15595. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15596. type: integer
  15597. isrecordsource:
  15598. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15599. type: integer
  15600. isreleasemargin:
  15601. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15602. type: integer
  15603. isupdatereckonprice:
  15604. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15605. type: integer
  15606. listingmode:
  15607. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15608. type: integer
  15609. marginformula:
  15610. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15611. type: integer
  15612. marginformula2:
  15613. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15614. type: integer
  15615. marketid:
  15616. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15617. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15618. type: integer
  15619. marketname:
  15620. description: 市场名称
  15621. type: string
  15622. marketsectionid:
  15623. description: 市场版块ID(SEQ_MARKETSECTION)
  15624. type: integer
  15625. marketserviceid:
  15626. description: 市场服务ID
  15627. type: integer
  15628. marketstatus:
  15629. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15630. type: integer
  15631. markettype:
  15632. description: 市场类型- 1:非交易服务 2:交易服务
  15633. type: integer
  15634. matchermode:
  15635. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15636. type: integer
  15637. nowrquotaflag:
  15638. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15639. type: integer
  15640. openmethod:
  15641. description: 开盘模式 - 0 自动 1手动
  15642. type: integer
  15643. orderindex:
  15644. description: 排序
  15645. type: integer
  15646. otcuserid:
  15647. description: 场外期权做市商[场外期权]
  15648. type: integer
  15649. outersynctime:
  15650. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15651. type: string
  15652. paylaterflag:
  15653. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15654. type: integer
  15655. pendingflag:
  15656. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15657. type: integer
  15658. pendingtime:
  15659. description: 待开市时间[通道交易-对冲](HH:mm)
  15660. type: string
  15661. performancetempid:
  15662. description: 履约计划模板ID - 作废
  15663. type: integer
  15664. premiumquotemode:
  15665. description: 权利金报价方式 - 1:自动 2:手动
  15666. type: integer
  15667. rebateratio:
  15668. description: 返利比率[竞价式]
  15669. type: number
  15670. reckonorder:
  15671. description: 结算顺序
  15672. type: integer
  15673. reckonpricealgorithm:
  15674. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15675. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15676. type: integer
  15677. reckonpriceparam:
  15678. description: 结算价参数
  15679. type: integer
  15680. reckontime:
  15681. description: 结算时间[通道交易-对冲](HH:mm)
  15682. type: string
  15683. roleprioritytype:
  15684. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15685. type: integer
  15686. selllistingauditflag:
  15687. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15688. type: integer
  15689. trademarkettype:
  15690. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15691. type: integer
  15692. trademode:
  15693. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15694. 21:竞拍-大宗式 22:受托竞价
  15695. type: integer
  15696. tradeproperty:
  15697. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15698. 8:场外期权
  15699. type: integer
  15700. tradetype:
  15701. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15702. type: integer
  15703. updatereckonpriceinterval:
  15704. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15705. type: integer
  15706. type: object
  15707. models.TjmdQuoteGoods:
  15708. properties:
  15709. buyqty:
  15710. description: 买量(暂不做, 无值, 保留字段)
  15711. type: number
  15712. decimalplace:
  15713. description: 报价小数位
  15714. type: integer
  15715. goodscode:
  15716. description: 合约代码
  15717. type: string
  15718. goodsgroupid:
  15719. description: 商品组ID(自增ID)
  15720. type: integer
  15721. goodsgroupname:
  15722. description: 商品组名称
  15723. type: string
  15724. goodsid:
  15725. description: 合约id
  15726. type: integer
  15727. goodsname:
  15728. description: 合约名称
  15729. type: string
  15730. refgoodscode:
  15731. description: 标的合约代码
  15732. type: string
  15733. refgoodsid:
  15734. description: 标的合约id
  15735. type: integer
  15736. refgoodsname:
  15737. description: 标的合约名称
  15738. type: string
  15739. sellqty:
  15740. description: 卖量(暂不做, 无值, 保留字段)
  15741. type: number
  15742. type: object
  15743. models.TjmdTodayAccountMargin:
  15744. properties:
  15745. accountid:
  15746. description: 账号ID
  15747. type: integer
  15748. goodsid:
  15749. description: 商品ID
  15750. type: integer
  15751. infoc:
  15752. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15753. description: 配置参数
  15754. marketid:
  15755. description: 市场ID
  15756. type: integer
  15757. type: object
  15758. models.TjmdTradeOrderDetail:
  15759. properties:
  15760. buyorsell:
  15761. description: 买卖方向 0-买 1-卖
  15762. type: integer
  15763. goodsid:
  15764. description: 商品id
  15765. type: integer
  15766. marketmaxsub:
  15767. description: 市价最大偏移范围 [浮动价 - 点差]
  15768. type: number
  15769. orderid:
  15770. description: 委托单号
  15771. type: string
  15772. orderprice:
  15773. description: 委托价格
  15774. type: number
  15775. orderqty:
  15776. description: 委托数量
  15777. type: integer
  15778. pricemode:
  15779. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15780. type: integer
  15781. userid:
  15782. description: 用户id
  15783. type: integer
  15784. username:
  15785. description: 用户名称(已脱敏)
  15786. type: string
  15787. type: object
  15788. models.TjmdTransferApply:
  15789. properties:
  15790. applyid:
  15791. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15792. type: integer
  15793. applystatus:
  15794. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15795. type: integer
  15796. applytime:
  15797. description: 申请时间(时间)
  15798. type: string
  15799. auditremark:
  15800. description: 审核备注(拒绝原因?)
  15801. type: string
  15802. begindate:
  15803. description: 开始交易日(yyyymmdd)
  15804. type: string
  15805. buyorsell:
  15806. description: 买卖 - 0:买 1:卖
  15807. type: integer
  15808. enddate:
  15809. description: 结束交易日(yyyymmdd)
  15810. type: string
  15811. goodscode:
  15812. description: 商品代码
  15813. type: string
  15814. goodsid:
  15815. description: 商品ID
  15816. type: integer
  15817. goodsname:
  15818. description: 商品名称
  15819. type: string
  15820. marketid:
  15821. description: 市场ID
  15822. type: integer
  15823. qty:
  15824. description: 转让数量(数量)
  15825. type: number
  15826. tradeid:
  15827. description: 成交单号(关联持仓)
  15828. type: string
  15829. transferamount:
  15830. description: 转让总金额(金额)
  15831. type: number
  15832. transferprice:
  15833. description: 转让价格(协议价格)
  15834. type: number
  15835. type: object
  15836. models.TradeHolderDetail:
  15837. properties:
  15838. accountid:
  15839. description: 账号ID
  15840. type: integer
  15841. agreeunit:
  15842. description: 合约乘数
  15843. type: number
  15844. buyorsell:
  15845. description: 方向 - 0:买 1:卖
  15846. type: integer
  15847. currencyid:
  15848. description: 商品币种id
  15849. type: integer
  15850. currencyname:
  15851. description: 币种名称
  15852. type: string
  15853. decimalplace:
  15854. description: 商品价格小数位
  15855. type: integer
  15856. enumdicname:
  15857. description: 商品单位名称
  15858. type: string
  15859. expirecycle:
  15860. description: 行权周期(天) - 1:滚动行权时填写
  15861. type: integer
  15862. expiredate:
  15863. description: 行权日(yyyyMMdd) - 到期日
  15864. type: string
  15865. expiretype:
  15866. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15867. type: integer
  15868. freezeqty:
  15869. description: 冻结数量
  15870. type: number
  15871. goodscode:
  15872. description: 商品代码
  15873. type: string
  15874. goodsid:
  15875. description: 商品ID
  15876. type: integer
  15877. goodsname:
  15878. description: 商品名称
  15879. type: string
  15880. goodunitid:
  15881. description: 商品单位id
  15882. type: integer
  15883. holderamount:
  15884. description: 持仓金额
  15885. type: number
  15886. holdercredit:
  15887. description: 持仓授信金额
  15888. type: number
  15889. holderdays:
  15890. description: 剩余冻结天数
  15891. type: integer
  15892. holderprice:
  15893. description: 持仓价格
  15894. type: number
  15895. holderqty:
  15896. description: 持仓数量
  15897. type: number
  15898. isconfirmexercise:
  15899. description: 是否确认行权- 0:否 1:是
  15900. type: integer
  15901. ispreexercise:
  15902. description: 是否预申报- 0:否 1:是 2:不可行权
  15903. type: integer
  15904. marketid:
  15905. description: 市场id
  15906. type: integer
  15907. marketname:
  15908. description: 市场名称
  15909. type: string
  15910. openprice:
  15911. description: 建仓价格
  15912. type: number
  15913. openqty:
  15914. description: 建仓数量
  15915. type: number
  15916. optiontype:
  15917. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15918. type: integer
  15919. preexerciseprice:
  15920. description: 预申报价格
  15921. type: number
  15922. premium:
  15923. description: 权利金
  15924. type: number
  15925. qtydecimalplace:
  15926. description: 商品成交量小数位
  15927. type: integer
  15928. refgoodscode:
  15929. description: 标的合约代码
  15930. type: string
  15931. refgoodsid:
  15932. description: 标的合约id
  15933. type: integer
  15934. releaseamount:
  15935. description: 释放持仓金额
  15936. type: number
  15937. releaseholdercredit:
  15938. description: 释放持仓授信金额
  15939. type: number
  15940. taname:
  15941. description: 资金账号名称
  15942. type: string
  15943. tradeamount:
  15944. description: 成交金额
  15945. type: number
  15946. tradedate:
  15947. description: 交易日(yyyyMMdd)
  15948. type: string
  15949. tradeid:
  15950. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15951. type: string
  15952. trademode:
  15953. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15954. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15955. type: integer
  15956. tradeproperty:
  15957. description: 交易属性
  15958. type: integer
  15959. tradetime:
  15960. description: 交易时间
  15961. type: string
  15962. userid:
  15963. description: 用户id
  15964. type: integer
  15965. username:
  15966. description: 用户名称
  15967. type: string
  15968. type: object
  15969. models.Unlinkermcphedgeplan:
  15970. properties:
  15971. accountid:
  15972. description: 期货账户ID - 作废
  15973. type: integer
  15974. accountname:
  15975. description: 交易用户
  15976. type: string
  15977. applyid:
  15978. description: 申请人
  15979. type: integer
  15980. applysrc:
  15981. description: 申请来源 - 1:管理端 2:终端
  15982. type: integer
  15983. applytime:
  15984. description: 申请时间
  15985. type: string
  15986. areauserid:
  15987. description: '[企业ID]机构ID'
  15988. type: integer
  15989. auditid:
  15990. description: 审核人
  15991. type: integer
  15992. auditremark:
  15993. description: 审核备注
  15994. type: string
  15995. auditsrc:
  15996. description: 审核来源 - 1:管理端 2:终端
  15997. type: integer
  15998. audittime:
  15999. description: 审核时间
  16000. type: string
  16001. audittradedate:
  16002. description: 审核交易日(yyyyMMdd)
  16003. type: string
  16004. biztype:
  16005. description: 业务类型 - 1:套保
  16006. type: integer
  16007. contracttype:
  16008. description: 计划类型 - 1:采购 -1:销售
  16009. type: integer
  16010. convertfactor:
  16011. description: 标仓系数 - 作废
  16012. type: number
  16013. createtime:
  16014. description: 创建时间
  16015. type: string
  16016. currencyid:
  16017. description: 结算币种ID - 作废
  16018. type: integer
  16019. deliverygoodsid:
  16020. description: 现货品种ID
  16021. type: integer
  16022. enumdicname:
  16023. description: 结算币种
  16024. type: string
  16025. hedgeplanid:
  16026. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  16027. type: string
  16028. hedgeplanno:
  16029. description: '[计划编号]套保计划编号,模糊查询'
  16030. type: string
  16031. hedgeplanstatus:
  16032. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  16033. type: integer
  16034. isrelated:
  16035. description: 是否已关联计划项目 - 0:否 1:是
  16036. type: integer
  16037. planqty:
  16038. description: '[计划量]计划数量'
  16039. type: number
  16040. plantime:
  16041. description: 计划时间
  16042. type: string
  16043. producttype:
  16044. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  16045. type: integer
  16046. remark:
  16047. description: 备注
  16048. type: string
  16049. spotgoodsdesc:
  16050. description: 商品型号
  16051. type: string
  16052. tradedate:
  16053. description: 交易日(yyyyMMdd)
  16054. type: string
  16055. tradeuserid:
  16056. description: 交易用户ID
  16057. type: integer
  16058. updatetime:
  16059. description: 更新时间
  16060. type: string
  16061. wrstandardid:
  16062. description: 现货商品ID
  16063. type: integer
  16064. wrstandardname:
  16065. description: 现货商品,模糊查询
  16066. type: string
  16067. required:
  16068. - areauserid
  16069. type: object
  16070. models.UserCollectConfig:
  16071. properties:
  16072. accountstatus:
  16073. description: 账户状态 - 1:正常 2:停用 3:注销
  16074. type: integer
  16075. collectaccountname:
  16076. description: 收款人账户名称
  16077. type: string
  16078. collectaccountno:
  16079. description: 收款人账户
  16080. type: string
  16081. collectbankname:
  16082. description: 收款人开户行
  16083. type: string
  16084. collectbranchbankname:
  16085. description: 收款人开户支行
  16086. type: string
  16087. collectconfigid:
  16088. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16089. type: string
  16090. remark:
  16091. description: 备注
  16092. type: string
  16093. userid:
  16094. description: 收款人用户ID
  16095. type: integer
  16096. type: object
  16097. models.UserReceiveInfo:
  16098. properties:
  16099. address:
  16100. description: 提货人详细地址
  16101. type: string
  16102. autoid:
  16103. description: AutoID
  16104. type: integer
  16105. cardnum:
  16106. description: 证件号码(加密存储)
  16107. type: string
  16108. cardtypeid:
  16109. description: 证件类型
  16110. type: integer
  16111. cityid:
  16112. description: 市
  16113. type: integer
  16114. cityname:
  16115. description: 城市名称
  16116. type: string
  16117. countryid:
  16118. description: 国家
  16119. type: integer
  16120. countryname:
  16121. description: 国家名称
  16122. type: string
  16123. districtid:
  16124. description: 地区
  16125. type: integer
  16126. districtname:
  16127. description: 地区名称
  16128. type: string
  16129. hasencrypt:
  16130. description: 数据是否已加密 - 0:未加密 1:已加密
  16131. type: integer
  16132. isdefault:
  16133. description: 是否默认地址 - 0:否 1:是
  16134. type: integer
  16135. phonenum:
  16136. description: 提货人联系方式(加密存储)
  16137. type: string
  16138. provinceid:
  16139. description: 省
  16140. type: integer
  16141. provincename:
  16142. description: 省名称
  16143. type: string
  16144. receivername:
  16145. description: 提货人姓名
  16146. type: string
  16147. takeremark:
  16148. description: 提货备注
  16149. type: string
  16150. userid:
  16151. description: 用户ID
  16152. type: integer
  16153. type: object
  16154. models.Useraccount:
  16155. properties:
  16156. accountname:
  16157. description: 账户名称(机构名称)
  16158. type: string
  16159. accountstatus:
  16160. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16161. type: integer
  16162. applysrc:
  16163. description: 申请来源 - 1:管理端 2:终端
  16164. type: integer
  16165. auditremark:
  16166. description: 审核备注
  16167. type: string
  16168. auditsrc:
  16169. description: 审核来源 - 1:管理端 2:终端
  16170. type: integer
  16171. audittime:
  16172. description: 审核时间
  16173. type: string
  16174. audituserid:
  16175. description: 审核人
  16176. type: integer
  16177. broker:
  16178. description: 所属经纪人ID
  16179. type: integer
  16180. canceltime:
  16181. description: 销户时间
  16182. type: string
  16183. canceluserid:
  16184. description: 销户人
  16185. type: integer
  16186. canrecommend:
  16187. description: 是否可推荐 - 0:不可 1;可
  16188. type: integer
  16189. createtime:
  16190. description: 创建时间
  16191. type: string
  16192. creatorid:
  16193. description: 创建人
  16194. type: integer
  16195. hasauth:
  16196. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16197. type: integer
  16198. isanonymous:
  16199. description: 是否匿名下单 - 0:否 1:是
  16200. type: integer
  16201. maxinvestornum:
  16202. description: 最大用户数(经纪会员下投资者个数)
  16203. type: integer
  16204. memberuserid:
  16205. description: 所属会员ID
  16206. type: integer
  16207. modifierid:
  16208. description: 修改人
  16209. type: integer
  16210. modifyremark:
  16211. description: 变更备注
  16212. type: string
  16213. modifystatus:
  16214. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16215. type: integer
  16216. modifytime:
  16217. description: 修改时间
  16218. type: string
  16219. parenttopuser:
  16220. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16221. type: string
  16222. parentuserid:
  16223. description: 所属机构ID
  16224. type: integer
  16225. reckonaccountid:
  16226. description: 默认结算资金账号ID(机构分润使用) 作废
  16227. type: integer
  16228. refercount:
  16229. description: 推荐总人数
  16230. type: integer
  16231. refereeuserid:
  16232. description: 推荐人ID
  16233. type: integer
  16234. refernum:
  16235. description: 推荐码
  16236. type: string
  16237. rootuserid:
  16238. description: 根用户ID
  16239. type: integer
  16240. subaccountlevel:
  16241. description: 子账户层数
  16242. type: integer
  16243. subarealevelpath:
  16244. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16245. type: string
  16246. userid:
  16247. description: 用户ID
  16248. type: integer
  16249. usertype:
  16250. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16251. type: integer
  16252. required:
  16253. - userid
  16254. type: object
  16255. models.Userfavoritegoods:
  16256. properties:
  16257. goodsid:
  16258. description: 商品ID
  16259. type: integer
  16260. required:
  16261. - goodsid
  16262. type: object
  16263. models.Userinfo:
  16264. properties:
  16265. address:
  16266. description: 地址
  16267. type: string
  16268. attachment1:
  16269. description: 附件1
  16270. type: string
  16271. attachment2:
  16272. description: 附件2
  16273. type: string
  16274. bankaccount:
  16275. description: 银行帐号 (加密存储)
  16276. type: string
  16277. bankaccountname:
  16278. description: 收款人名称
  16279. type: string
  16280. bankcardfrontphotourl:
  16281. description: 银行卡正面照地址
  16282. type: string
  16283. bankid:
  16284. description: 银行编码
  16285. type: string
  16286. bankname:
  16287. description: 银行名称
  16288. type: string
  16289. biznature:
  16290. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16291. type: integer
  16292. bizscope:
  16293. description: 企业经营范围(企业)
  16294. type: string
  16295. cardbackphotourl:
  16296. description: 证件背面图片地址
  16297. type: string
  16298. cardfrontphotourl:
  16299. description: 证件正面图片地址
  16300. type: string
  16301. cardnum:
  16302. description: 证件号码(加密存储)
  16303. type: string
  16304. cardtypeid:
  16305. description: 证件类型ID
  16306. type: integer
  16307. cityid:
  16308. description: 市
  16309. type: integer
  16310. company:
  16311. description: 公司(个人)
  16312. type: string
  16313. contactname:
  16314. description: 联系人
  16315. type: string
  16316. countryid:
  16317. description: 国家
  16318. type: integer
  16319. createtime:
  16320. description: 创建时间
  16321. type: string
  16322. creatorid:
  16323. description: 创建人
  16324. type: integer
  16325. customername:
  16326. description: 客户名称(企业名称)
  16327. type: string
  16328. districtid:
  16329. description: 地区
  16330. type: integer
  16331. email:
  16332. description: 邮件(加密存储)
  16333. type: string
  16334. fax:
  16335. description: 传真(加密存储)
  16336. type: string
  16337. halfbodyphotourl:
  16338. description: 半身照地址
  16339. type: string
  16340. hasencrypt:
  16341. description: 数据是否已加密 - 0:未加密 1:已加密
  16342. type: integer
  16343. headurl:
  16344. description: 头像地址
  16345. type: string
  16346. legalcardbackphotourl:
  16347. description: 法人身份证背面照地址
  16348. type: string
  16349. legalcardfrontphotourl:
  16350. description: 法人身份证正面照地址
  16351. type: string
  16352. legalpersonname:
  16353. description: 法人姓名(企业)
  16354. type: string
  16355. mobile:
  16356. description: 手机号码(加密存储)
  16357. type: string
  16358. mobile2:
  16359. description: 手机号码[明文-尚志]
  16360. type: string
  16361. modifierid:
  16362. description: 修改人
  16363. type: integer
  16364. modifiertime:
  16365. description: 修改时间
  16366. type: string
  16367. needinvoice:
  16368. description: 是否需要发票 - 0:不需要 1:需要
  16369. type: integer
  16370. nickname:
  16371. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16372. type: string
  16373. openmode:
  16374. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16375. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16376. type: integer
  16377. otherurl:
  16378. description: 其它图片地址[使用分号分隔]
  16379. type: string
  16380. postalcode:
  16381. description: 邮政编码
  16382. type: string
  16383. provinceid:
  16384. description: 省
  16385. type: integer
  16386. qq:
  16387. description: QQ(加密存储
  16388. type: string
  16389. remark:
  16390. description: 备注
  16391. type: string
  16392. sex:
  16393. description: '用户性别 0: 女 1: 男'
  16394. type: integer
  16395. signpdfurl:
  16396. description: 签约pdf文件
  16397. type: string
  16398. telphone:
  16399. description: 联系电话(加密存储)
  16400. type: string
  16401. userid:
  16402. description: 用户ID
  16403. type: integer
  16404. userinfotype:
  16405. description: 用户信息类型 - 1:个人 2:企业
  16406. type: integer
  16407. userstatus:
  16408. description: 用户状态 - 1:正常 2:注销
  16409. type: integer
  16410. usertype:
  16411. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16412. type: integer
  16413. wechat:
  16414. description: 微信(加密存储)
  16415. type: string
  16416. wskhinfo:
  16417. description: 开户申请信息(JSON)
  16418. type: string
  16419. required:
  16420. - userid
  16421. type: object
  16422. models.WRSConverTDetail:
  16423. properties:
  16424. convertratio:
  16425. description: 套保系数
  16426. type: number
  16427. deliverygoodscode:
  16428. description: 现货商品代码
  16429. type: string
  16430. deliverygoodsid:
  16431. description: 现货品种ID
  16432. type: integer
  16433. deliverygoodsname:
  16434. description: 现货商品名称
  16435. type: string
  16436. enumdicname:
  16437. description: 单位名称
  16438. type: string
  16439. goodsunitid:
  16440. description: 套保品种单位id
  16441. type: integer
  16442. middlegoodscode:
  16443. description: 套保品种代码
  16444. type: string
  16445. middlegoodsid:
  16446. description: 套保品种ID
  16447. type: integer
  16448. middlegoodsname:
  16449. description: 套保品种名称
  16450. type: string
  16451. modifytime:
  16452. description: 修改时间
  16453. type: string
  16454. wrstandardid:
  16455. description: 品类ID
  16456. type: integer
  16457. type: object
  16458. models.WRStandardInfo:
  16459. properties:
  16460. areauserid:
  16461. description: 所属机构
  16462. type: integer
  16463. convertfactor:
  16464. description: 标仓系数
  16465. type: number
  16466. createtime:
  16467. description: 创建时间
  16468. type: string
  16469. creatorid:
  16470. description: 创建人
  16471. type: integer
  16472. deliverygoodsid:
  16473. description: 品种ID
  16474. type: integer
  16475. deliverygoodsname:
  16476. description: 交割商品名称
  16477. type: string
  16478. factoryitemjson:
  16479. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16480. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16481. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16482. 逗号分隔'
  16483. type: string
  16484. isvalid:
  16485. description: 是否有效 - 0:无效 1:有效
  16486. type: integer
  16487. minivalue:
  16488. description: 最小变动值
  16489. type: integer
  16490. minivaluedp:
  16491. description: 最小变动值小数位
  16492. type: integer
  16493. realminivalue:
  16494. description: 实际最小变动值
  16495. type: integer
  16496. realminivaluedp:
  16497. description: 实际最小变动值小数位
  16498. type: integer
  16499. remark:
  16500. description: 备注
  16501. type: string
  16502. unitid:
  16503. description: 单位ID
  16504. type: integer
  16505. unitname:
  16506. description: 单位
  16507. type: string
  16508. updatetime:
  16509. description: 更新时间
  16510. type: string
  16511. updatorid:
  16512. description: 更新人
  16513. type: integer
  16514. wrsstatus:
  16515. description: 状态 - 作废 - 0:未激活 1:正常
  16516. type: integer
  16517. wrstandardcode:
  16518. description: 现货品类代码
  16519. type: string
  16520. wrstandardid:
  16521. description: 现货品类ID(SEQ_WRSTANDARD)
  16522. type: integer
  16523. wrstandardname:
  16524. description: 现货品类名称
  16525. type: string
  16526. required:
  16527. - wrstandardid
  16528. type: object
  16529. models.WRTradeBargainApply:
  16530. properties:
  16531. accountid:
  16532. description: 摘牌资金账号
  16533. type: integer
  16534. applyprice:
  16535. description: 申请价格(议价价格)
  16536. type: string
  16537. applyqty:
  16538. description: 摘牌数量(议价数量)
  16539. type: number
  16540. applyremark:
  16541. description: 申请备注
  16542. type: string
  16543. applystatus:
  16544. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16545. type: integer
  16546. applytime:
  16547. description: 申请时间(议价时间)
  16548. type: string
  16549. begindate:
  16550. description: 开始交易日(yyyymmdd)
  16551. type: string
  16552. buyorsell:
  16553. description: 买卖(挂牌类型) - 0:买 1:卖
  16554. type: integer
  16555. confirmremark:
  16556. description: 确认备注
  16557. type: string
  16558. confirmtime:
  16559. description: 确认时间
  16560. type: string
  16561. confirmuserid:
  16562. description: 确认人
  16563. type: integer
  16564. deliverygoodscode:
  16565. description: 品种代码
  16566. type: string
  16567. deliverygoodsid:
  16568. description: 品种ID
  16569. type: integer
  16570. deliverygoodsname:
  16571. description: 品种名称
  16572. type: string
  16573. deliverymonth:
  16574. description: 交收月
  16575. type: string
  16576. enddate:
  16577. description: 结束交易日(yyyymmdd)
  16578. type: string
  16579. enumdicname:
  16580. description: 单位名称
  16581. type: string
  16582. fixedprice:
  16583. description: 挂牌价格
  16584. type: number
  16585. handlestatus:
  16586. description: 处理状态
  16587. type: integer
  16588. marginvalue:
  16589. description: 履约保证金比例
  16590. type: number
  16591. marketid:
  16592. description: 市场ID
  16593. type: integer
  16594. matchaccountid:
  16595. description: 挂牌方资金账号
  16596. type: integer
  16597. matchuserid:
  16598. description: 挂牌方用户id
  16599. type: integer
  16600. matchusername:
  16601. description: 挂牌方用户名称(已脱敏)
  16602. type: string
  16603. minivalue:
  16604. description: 现货商品最小变动值
  16605. type: integer
  16606. optioncompare:
  16607. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16608. type: string
  16609. orderqty:
  16610. description: 挂牌数量
  16611. type: integer
  16612. refprice:
  16613. description: 参考价格
  16614. type: string
  16615. retcode:
  16616. description: 委托返回代码
  16617. type: integer
  16618. templatename:
  16619. description: 履约方式(履约模板名称)
  16620. type: string
  16621. tradedate:
  16622. description: 交易日(yyyyMMdd)
  16623. type: string
  16624. userid:
  16625. description: 摘牌人用户ID(议价人ID)
  16626. type: integer
  16627. username:
  16628. description: 议价人名字(已脱敏)
  16629. type: string
  16630. validtime:
  16631. description: 有效期限
  16632. type: string
  16633. warehouseid:
  16634. description: 仓库ID
  16635. type: integer
  16636. warehousename:
  16637. description: 仓库名称
  16638. type: string
  16639. wrbargainid:
  16640. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16641. type: string
  16642. wrfactortypeid:
  16643. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16644. type: string
  16645. wrfactortypename:
  16646. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16647. type: string
  16648. wrstandardcode:
  16649. description: 现货商品代码
  16650. type: string
  16651. wrstandardid:
  16652. description: 现货商品ID
  16653. type: integer
  16654. wrstandardname:
  16655. description: 商品名称
  16656. type: string
  16657. wrtradeorderid:
  16658. description: 关联委托单ID
  16659. type: string
  16660. wrtypename:
  16661. description: 商品
  16662. type: string
  16663. type: object
  16664. models.Warehouseinfo:
  16665. properties:
  16666. address:
  16667. description: 详细地址
  16668. type: string
  16669. areauserid:
  16670. description: 所属机构
  16671. type: integer
  16672. autoid:
  16673. description: 自增ID
  16674. type: integer
  16675. cityid:
  16676. description: 市
  16677. type: integer
  16678. contactname:
  16679. description: 联系人
  16680. type: string
  16681. contactnum:
  16682. description: 联系电话
  16683. type: string
  16684. countryid:
  16685. description: 国家
  16686. type: integer
  16687. createtime:
  16688. description: 创建时间
  16689. type: string
  16690. districtid:
  16691. description: 区
  16692. type: integer
  16693. hasvideo:
  16694. description: 是否有视频 - 0:无 1:有
  16695. type: integer
  16696. provinceid:
  16697. description: 省
  16698. type: integer
  16699. remark:
  16700. description: 审核备注
  16701. type: string
  16702. videourl:
  16703. description: 视频地址
  16704. type: string
  16705. warehousecode:
  16706. description: 仓库代码
  16707. type: string
  16708. warehousename:
  16709. description: 仓库名称
  16710. type: string
  16711. warehousestatus:
  16712. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16713. type: integer
  16714. warehousetype:
  16715. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16716. type: integer
  16717. required:
  16718. - autoid
  16719. - warehousecode
  16720. type: object
  16721. models.WrAverageTradePrice:
  16722. properties:
  16723. averageprice:
  16724. description: 成交均价
  16725. type: number
  16726. tradedate:
  16727. description: 交易日yyyymm
  16728. type: string
  16729. type: object
  16730. models.WrBrandAndYears:
  16731. properties:
  16732. brandlst:
  16733. description: 品牌列表
  16734. items:
  16735. $ref: '#/definitions/models.DgFactoryItem'
  16736. type: array
  16737. yearslst:
  16738. description: 年份列表
  16739. items:
  16740. $ref: '#/definitions/models.DgFactoryItem'
  16741. type: array
  16742. type: object
  16743. models.WrBsGoodsInfo:
  16744. properties:
  16745. buyorsell:
  16746. description: 买卖方向 0-买 1-卖
  16747. type: integer
  16748. goodsid:
  16749. description: 交易合约ID
  16750. type: integer
  16751. lstitem:
  16752. description: 商品信息项
  16753. items:
  16754. $ref: '#/definitions/models.WrTypeItem'
  16755. type: array
  16756. lststep:
  16757. description: 履约规则
  16758. items:
  16759. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16760. type: array
  16761. type: object
  16762. models.WrBuybackDetail:
  16763. properties:
  16764. buybackamount:
  16765. description: 回购金额
  16766. type: number
  16767. buybackqty:
  16768. description: 回购数量
  16769. type: number
  16770. buybackreleasemargin:
  16771. description: 回购释放保证金
  16772. type: number
  16773. buybacktime:
  16774. description: 回购时间
  16775. type: string
  16776. errordesc:
  16777. description: 错误描述
  16778. type: string
  16779. handlestatus:
  16780. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16781. type: integer
  16782. relatedwrid:
  16783. description: 关联仓单ID
  16784. type: integer
  16785. scfcontractid:
  16786. description: SCF合同ID
  16787. type: string
  16788. scfwrbuybackid:
  16789. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16790. type: integer
  16791. tradedate:
  16792. description: 交易日(yyyyMMdd)
  16793. type: string
  16794. type: object
  16795. models.WrClientAdSpaceConfig:
  16796. properties:
  16797. adspaceid:
  16798. description: 广告位ID
  16799. type: integer
  16800. adspacename:
  16801. description: 广告位名称
  16802. type: string
  16803. adspacetype:
  16804. description: 广告位类型 - 1:固定广告位
  16805. type: integer
  16806. areauserid:
  16807. description: 所属机构ID
  16808. type: integer
  16809. createdate:
  16810. description: 创建时间
  16811. type: string
  16812. imagepath:
  16813. description: 图片
  16814. type: string
  16815. modifierid:
  16816. description: 操作人
  16817. type: integer
  16818. recsize:
  16819. description: 推荐尺寸
  16820. type: string
  16821. title:
  16822. description: 标题
  16823. type: string
  16824. updatedate:
  16825. description: 更新时间
  16826. type: string
  16827. urlcontent:
  16828. description: 链接(地址\商品ID\功能菜单Key\appid)
  16829. type: string
  16830. urltype:
  16831. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16832. type: integer
  16833. type: object
  16834. models.WrDeliveryAvalidHoldLB:
  16835. properties:
  16836. accountid:
  16837. description: 资金账号
  16838. type: integer
  16839. avalidqty:
  16840. description: 数量(可点选数量)
  16841. type: number
  16842. deliverygoodsid:
  16843. description: 品种id
  16844. type: integer
  16845. enumdicname:
  16846. description: 单位名称
  16847. type: string
  16848. goodsid:
  16849. description: x合约商品id
  16850. type: integer
  16851. ladingbillid:
  16852. description: 提单id
  16853. type: string
  16854. pgoodscode:
  16855. description: p商品代码(点价合约)
  16856. type: string
  16857. pgoodsid:
  16858. description: p商品id(点价合约)
  16859. type: integer
  16860. pgoodsname:
  16861. description: p商品名称(点价合约)
  16862. type: string
  16863. pricemove:
  16864. description: 升贴水
  16865. type: number
  16866. subnum:
  16867. description: 提单子id
  16868. type: integer
  16869. userid:
  16870. description: 用户id
  16871. type: integer
  16872. username:
  16873. description: 仓单持有人
  16874. type: string
  16875. warehousecode:
  16876. description: 仓库代码
  16877. type: string
  16878. warehouseid:
  16879. description: 仓库id
  16880. type: integer
  16881. warehousename:
  16882. description: 仓库名称
  16883. type: string
  16884. wrfactortypeid:
  16885. description: 仓单要素id
  16886. type: string
  16887. wrstandardcode:
  16888. description: 品代码
  16889. type: string
  16890. wrstandardid:
  16891. description: 品类d
  16892. type: integer
  16893. wrstandardname:
  16894. description: 品类名称
  16895. type: string
  16896. wrtypename:
  16897. description: 商品
  16898. type: string
  16899. xgoodscode:
  16900. description: x合约代码
  16901. type: string
  16902. xgoodsname:
  16903. description: x合约名称
  16904. type: string
  16905. type: object
  16906. models.WrDeliveryDetail:
  16907. properties:
  16908. accountid:
  16909. description: 账号ID
  16910. type: integer
  16911. averageprice:
  16912. description: 交割均价 = 交割金额 / 交割数量
  16913. type: number
  16914. begindate:
  16915. description: 开始交易日(yyyymmdd)
  16916. type: string
  16917. buyorsell:
  16918. description: 方向 - 0:买 1:卖
  16919. type: integer
  16920. deliveryamount:
  16921. description: 货款金额(X总货款+P总货款)
  16922. type: number
  16923. deliveryid:
  16924. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16925. type: string
  16926. deliveryorderid:
  16927. description: 申报单号
  16928. type: string
  16929. deliverypricemove:
  16930. description: 升贴水(升贴水总额)
  16931. type: number
  16932. deliveryqty:
  16933. description: 交收数量(点选数量)
  16934. type: number
  16935. deliverystatus:
  16936. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16937. type: integer
  16938. deliverytime:
  16939. description: 交割时间
  16940. type: string
  16941. deliverytotalamount:
  16942. description: 交收金额
  16943. type: number
  16944. enddate:
  16945. description: 结束交易日(yyyymmdd)
  16946. type: string
  16947. enumdicname:
  16948. description: 单位名称
  16949. type: string
  16950. matchaccountid:
  16951. description: 对手账号ID
  16952. type: integer
  16953. matchusername:
  16954. description: 对手方名称(仓单持有人)
  16955. type: string
  16956. p1goodsremainamount:
  16957. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16958. type: number
  16959. pdeliverycloseqty:
  16960. description: p合约平仓数量
  16961. type: number
  16962. pdeliveryprice:
  16963. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16964. type: number
  16965. pgoodscode:
  16966. description: 商品代码
  16967. type: string
  16968. pgoodsid:
  16969. description: p点选合约id
  16970. type: integer
  16971. pgoodsname:
  16972. description: 商品名称
  16973. type: string
  16974. ppricemode:
  16975. description: 点价价格方式 - 1:商品价 2:固定值
  16976. type: integer
  16977. tradedate:
  16978. description: 交易日(yyyymmdd)
  16979. type: string
  16980. userid:
  16981. description: 用户id
  16982. type: integer
  16983. username:
  16984. description: 用户名称
  16985. type: string
  16986. warehousename:
  16987. description: 仓库名称
  16988. type: string
  16989. wrfactortypeid:
  16990. description: 仓单要素类型ID
  16991. type: string
  16992. wrtypename:
  16993. description: 商品
  16994. type: string
  16995. xdeliverycloseqty:
  16996. description: 合约数量
  16997. type: number
  16998. xgoodsamount:
  16999. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  17000. type: number
  17001. xgoodscode:
  17002. description: 商品代码
  17003. type: string
  17004. xgoodsid:
  17005. description: x交易合约ID
  17006. type: integer
  17007. xgoodsname:
  17008. description: 商品名称
  17009. type: string
  17010. type: object
  17011. models.WrDeliveryGoodsSection:
  17012. properties:
  17013. dglst:
  17014. description: 板块商品列表
  17015. items:
  17016. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  17017. type: array
  17018. imagepath:
  17019. description: 图片地址
  17020. type: string
  17021. orderindex:
  17022. description: 排序
  17023. type: integer
  17024. sectionid:
  17025. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  17026. = 1的版块1 - 云融指数
  17027. type: integer
  17028. sectionname:
  17029. description: 版块名称
  17030. type: string
  17031. sectiontype:
  17032. description: 版块类型 - 1:指数版块 2:普通版块
  17033. type: integer
  17034. type: object
  17035. models.WrDeliveryGoodsSectionConfig:
  17036. properties:
  17037. deliverygoodscode:
  17038. description: 现货商品代码
  17039. type: string
  17040. deliverygoodsid:
  17041. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17042. type: integer
  17043. deliverygoodsname:
  17044. description: 现货商品名称
  17045. type: string
  17046. orderindex:
  17047. description: 排序
  17048. type: integer
  17049. type: object
  17050. models.WrDraftUserInfo:
  17051. properties:
  17052. address:
  17053. description: 地址
  17054. type: string
  17055. attachment1:
  17056. description: 附件1
  17057. type: string
  17058. attachment2:
  17059. description: 附件2
  17060. type: string
  17061. attachment3:
  17062. description: 附件3
  17063. type: string
  17064. attachment4:
  17065. description: 附件4
  17066. type: string
  17067. attachment5:
  17068. description: 附件5
  17069. type: string
  17070. bankaccount:
  17071. description: 银行帐号 (加密存储)
  17072. type: string
  17073. bankaccountname:
  17074. description: 收款人名称
  17075. type: string
  17076. bankcardfrontphotourl:
  17077. description: 银行卡正面照地址
  17078. type: string
  17079. bankid:
  17080. description: 银行编码
  17081. type: string
  17082. bankname:
  17083. description: 银行名称
  17084. type: string
  17085. birthday:
  17086. description: 生日(个人:年月日)
  17087. type: string
  17088. biznature:
  17089. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17090. type: integer
  17091. bizscope:
  17092. description: 企业经营范围(企业)
  17093. type: string
  17094. biztype:
  17095. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17096. type: integer
  17097. cardbackphotourl:
  17098. description: 证件背面图片地址
  17099. type: string
  17100. cardfrontphotourl:
  17101. description: 证件正面图片地址
  17102. type: string
  17103. cardnum:
  17104. description: 证件号码(加密存储)
  17105. type: string
  17106. cardtypeid:
  17107. description: 证件类型ID
  17108. type: integer
  17109. cityid:
  17110. description: 市
  17111. type: integer
  17112. company:
  17113. description: 公司(个人)
  17114. type: string
  17115. contactcardbackphotourl:
  17116. description: 联系人证件背面图片地址
  17117. type: string
  17118. contactcardfrontphotourl:
  17119. description: 联系人证件正面图片地址
  17120. type: string
  17121. contactname:
  17122. description: 联系人
  17123. type: string
  17124. countryid:
  17125. description: 国家
  17126. type: integer
  17127. createtime:
  17128. description: 创建时间
  17129. type: string
  17130. creatorid:
  17131. description: 创建人
  17132. type: integer
  17133. creditquota:
  17134. description: 授信额度(金瑞)
  17135. type: number
  17136. customername:
  17137. description: 客户名称(企业名称)
  17138. type: string
  17139. districtid:
  17140. description: 地区
  17141. type: integer
  17142. email:
  17143. description: 邮件(加密存储)
  17144. type: string
  17145. fax:
  17146. description: 传真(加密存储)
  17147. type: string
  17148. halfbodyphotourl:
  17149. description: 半身照地址
  17150. type: string
  17151. hasencrypt:
  17152. description: 数据是否已加密 - 0:未加密 1:已加密
  17153. type: integer
  17154. headurl:
  17155. description: 头像地址
  17156. type: string
  17157. legalcardbackphotourl:
  17158. description: 法人身份证背面照地址
  17159. type: string
  17160. legalcardfrontphotourl:
  17161. description: 法人身份证正面照地址
  17162. type: string
  17163. legalpersonname:
  17164. description: 法人姓名(企业)
  17165. type: string
  17166. mobile:
  17167. description: 手机号码(加密存储)
  17168. type: string
  17169. mobile2:
  17170. description: 手机号码[明文-尚志]
  17171. type: string
  17172. modifierid:
  17173. description: 修改人
  17174. type: integer
  17175. modifiertime:
  17176. description: 修改时间
  17177. type: string
  17178. needinvoice:
  17179. description: 是否需要发票 - 0:不需要 1:需要
  17180. type: integer
  17181. nickname:
  17182. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17183. type: string
  17184. openmode:
  17185. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17186. 6:苹果手机端注册 7:PC交易端注册"
  17187. type: integer
  17188. otherurl:
  17189. description: 其它图片地址[使用分号分隔]
  17190. type: string
  17191. postalcode:
  17192. description: 邮政编码
  17193. type: string
  17194. provinceid:
  17195. description: 省
  17196. type: integer
  17197. proxystatementurl:
  17198. description: 授权委托书
  17199. type: string
  17200. qq:
  17201. description: QQ(加密存储
  17202. type: string
  17203. remark:
  17204. description: 备注
  17205. type: string
  17206. sex:
  17207. description: '用户性别 0: 女 1: 男'
  17208. type: integer
  17209. signpdfurl:
  17210. description: 签约pdf文件
  17211. type: string
  17212. taxpayernum:
  17213. description: 纳税人识别号
  17214. type: string
  17215. telphone:
  17216. description: 联系电话(加密存储)
  17217. type: string
  17218. userid:
  17219. description: 用户ID
  17220. type: integer
  17221. userinfotype:
  17222. description: 用户信息类型 - 1:个人 2:企业
  17223. type: integer
  17224. userstatus:
  17225. description: 用户状态 - 1:正常 2:注销
  17226. type: integer
  17227. usertype:
  17228. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17229. type: integer
  17230. wechat:
  17231. description: 微信(加密存储)
  17232. type: string
  17233. wskhinfo:
  17234. description: 开户申请信息(JSON)
  17235. type: string
  17236. type: object
  17237. models.WrFAProductDetail:
  17238. properties:
  17239. accountid:
  17240. description: 资金账号
  17241. type: integer
  17242. areauserid:
  17243. description: 金融机构ID
  17244. type: integer
  17245. financingdays:
  17246. description: 天数(天)
  17247. type: integer
  17248. interestminlen:
  17249. description: 最小起息天数
  17250. type: integer
  17251. interestrate:
  17252. description: 利率
  17253. type: number
  17254. interestratemode:
  17255. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17256. type: integer
  17257. interestsettlemode:
  17258. description: 结息方式 - 1:按日结息 3:按月结息
  17259. type: integer
  17260. interestsettlevalue:
  17261. description: 结息方式值
  17262. type: integer
  17263. isautoloan:
  17264. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17265. type: integer
  17266. loantag:
  17267. description: '放款标识: "放款快" 或者为空'
  17268. type: string
  17269. marginratio:
  17270. description: 保证金比率质押率 - [仓单质押]
  17271. type: number
  17272. productdetailid:
  17273. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17274. type: integer
  17275. productid:
  17276. description: 金融产品ID
  17277. type: integer
  17278. productname:
  17279. description: 产品名称
  17280. type: string
  17281. updatetime:
  17282. description: 更新时间
  17283. type: string
  17284. username:
  17285. description: 融出方
  17286. type: string
  17287. type: object
  17288. models.WrFactorTypeInfo:
  17289. properties:
  17290. deliverygoodscode:
  17291. description: 品种代码
  17292. type: string
  17293. deliverygoodsname:
  17294. description: 品种名称
  17295. type: string
  17296. dgfactoryitemid:
  17297. description: 选择项id
  17298. type: integer
  17299. dgfactoryitemtypeid:
  17300. description: 要素选择项ID (1-仓库 2-品牌)
  17301. type: integer
  17302. dgfactoryitemvalue:
  17303. description: 要素项值
  17304. type: string
  17305. itemtypename:
  17306. description: 要素项名称
  17307. type: string
  17308. optioncompare:
  17309. description: 选择比较串
  17310. type: string
  17311. warehouseid:
  17312. description: 仓库id
  17313. type: integer
  17314. wrfactortypeid:
  17315. description: 仓单要素ID
  17316. type: string
  17317. wrfactortypename:
  17318. description: 要素名称
  17319. type: string
  17320. wrfactortypename2:
  17321. description: 要素名称(不含仓库)
  17322. type: string
  17323. wrstandardcode:
  17324. description: 品类代码
  17325. type: string
  17326. wrstandardid:
  17327. description: 品类id
  17328. type: integer
  17329. wrstandardname:
  17330. description: 品类名称
  17331. type: string
  17332. type: object
  17333. models.WrFilterItem:
  17334. properties:
  17335. itemcode:
  17336. description: 代码
  17337. type: string
  17338. itemid:
  17339. description: 项id
  17340. type: integer
  17341. itemname:
  17342. description: 名称
  17343. type: string
  17344. itemtype:
  17345. description: 类型 1-品种 2-品类(商品) 3-仓库
  17346. type: integer
  17347. type: object
  17348. models.WrFinanceBuyApply:
  17349. properties:
  17350. applydate:
  17351. description: 申请时间
  17352. type: string
  17353. applystatus:
  17354. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17355. type: integer
  17356. applyuserid:
  17357. description: 申请人
  17358. type: integer
  17359. auditdate:
  17360. description: 审核时间
  17361. type: string
  17362. auditremark:
  17363. description: 审核备注
  17364. type: string
  17365. audituserid:
  17366. description: 审核人
  17367. type: integer
  17368. buyaccountid:
  17369. description: 买方资金账号
  17370. type: integer
  17371. buyorsell:
  17372. description: 买卖 - 0:买 1:卖
  17373. type: integer
  17374. buyuserid:
  17375. description: 买方用户ID
  17376. type: integer
  17377. buyusername:
  17378. description: 买方名称
  17379. type: string
  17380. buywrtradeorderid:
  17381. description: 融资方买委托单ID
  17382. type: string
  17383. deliverygoodscode:
  17384. description: 品种代码
  17385. type: string
  17386. deliverygoodsid:
  17387. description: 品种ID
  17388. type: integer
  17389. deliverygoodsname:
  17390. description: 品种名称
  17391. type: string
  17392. deliverymonth:
  17393. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17394. type: string
  17395. enumdicname:
  17396. description: 单位名称
  17397. type: string
  17398. financeaccountid:
  17399. description: 融资方资金帐户ID
  17400. type: integer
  17401. financeapplyid:
  17402. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17403. type: string
  17404. financeareauserid:
  17405. description: 融资方用户ID
  17406. type: string
  17407. financename:
  17408. description: 融出方名称
  17409. type: string
  17410. financetype:
  17411. description: 融资类型 1-融资回购
  17412. type: integer
  17413. financingdays:
  17414. description: 天数(天)
  17415. type: integer
  17416. freezebuymargin:
  17417. description: 冻结融资保证金(买方)
  17418. type: number
  17419. handleremark:
  17420. description: 处理备注
  17421. type: string
  17422. handlestatus:
  17423. description: 处理状态
  17424. type: integer
  17425. interestminlen:
  17426. description: 最小起息天数
  17427. type: integer
  17428. interestrate:
  17429. description: 利率
  17430. type: number
  17431. interestratemode:
  17432. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17433. type: integer
  17434. interestsettlemode:
  17435. description: 结息方式 - 1:按日结息 3:按月结息
  17436. type: integer
  17437. interestsettlevalue:
  17438. description: 结息方式值
  17439. type: integer
  17440. isautoloan:
  17441. description: 是否自动放款 - 0:手动 1:自动
  17442. type: integer
  17443. marginratio:
  17444. description: 保证金比率质押率 - [仓单质押]
  17445. type: number
  17446. marketid:
  17447. description: 市场ID
  17448. type: integer
  17449. minivalue:
  17450. description: 现货商品最小变动值
  17451. type: integer
  17452. optioncompare:
  17453. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17454. type: string
  17455. orderqty:
  17456. description: 委托数量(商品数量)
  17457. type: number
  17458. productdetailid:
  17459. description: 产品组合ID
  17460. type: integer
  17461. productid:
  17462. description: 金融产品ID
  17463. type: integer
  17464. productname:
  17465. description: 产品名称
  17466. type: string
  17467. remark:
  17468. description: 备注
  17469. type: string
  17470. scfcontractid:
  17471. description: 仓单回购合同ID
  17472. type: string
  17473. sellaccountid:
  17474. description: 卖方资金账号
  17475. type: integer
  17476. selluserid:
  17477. description: 卖方用户ID
  17478. type: integer
  17479. sellwrtradeorderid:
  17480. description: 卖方委托单ID
  17481. type: string
  17482. tradeamount:
  17483. description: 成交金额(借款金额)
  17484. type: number
  17485. tradedate:
  17486. description: 交易日(yyyyMMdd)
  17487. type: string
  17488. tradeprice:
  17489. description: 成交价格
  17490. type: number
  17491. warehouseid:
  17492. description: 仓库ID
  17493. type: integer
  17494. warehousename:
  17495. description: 仓库名称
  17496. type: string
  17497. wrfactortypeid:
  17498. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17499. type: string
  17500. wrfactortypename:
  17501. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17502. type: string
  17503. wrpricetype:
  17504. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17505. type: integer
  17506. wrstandardcode:
  17507. description: 现货商品代码
  17508. type: string
  17509. wrstandardid:
  17510. description: 现货商品ID
  17511. type: integer
  17512. wrstandardname:
  17513. description: 商品名称
  17514. type: string
  17515. wrtypename:
  17516. description: 商品
  17517. type: string
  17518. type: object
  17519. models.WrFriendApply:
  17520. properties:
  17521. applicantid:
  17522. description: 申请人
  17523. type: integer
  17524. applyname:
  17525. description: 申请人名称
  17526. type: string
  17527. applysrc:
  17528. description: 申请来源 - 1:管理端 2:终端
  17529. type: integer
  17530. applystatus:
  17531. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17532. type: integer
  17533. applytime:
  17534. description: 申请时间
  17535. type: string
  17536. auditname:
  17537. description: 审核人名称
  17538. type: string
  17539. auditorid:
  17540. description: 审核人
  17541. type: integer
  17542. auditremark:
  17543. description: 审核备注
  17544. type: string
  17545. auditsrc:
  17546. description: 审核来源 - 1:管理端 2:终端
  17547. type: integer
  17548. audittime:
  17549. description: 审核时间
  17550. type: string
  17551. friendapplyid:
  17552. description: 申请ID(SEQ_FRIENDAPPLY)
  17553. type: string
  17554. friendname:
  17555. description: 好友名字(已脱敏)
  17556. type: string
  17557. frienduserid:
  17558. description: 好友用户ID
  17559. type: string
  17560. remark:
  17561. description: 备注
  17562. type: string
  17563. userid:
  17564. description: 申请人用户ID
  17565. type: integer
  17566. type: object
  17567. models.WrFtDeliveryGoods:
  17568. properties:
  17569. deliverygoodscode:
  17570. description: 品种代码
  17571. type: string
  17572. deliverygoodsid:
  17573. description: 品种ID
  17574. type: integer
  17575. deliverygoodsname:
  17576. description: 品种名称
  17577. type: string
  17578. wdlst:
  17579. description: 商品列表
  17580. items:
  17581. $ref: '#/definitions/models.WrFtWrstandard'
  17582. type: array
  17583. type: object
  17584. models.WrFtWrstandard:
  17585. properties:
  17586. enumdicname:
  17587. description: 单位名称
  17588. type: string
  17589. minivalue:
  17590. description: 最小变动值
  17591. type: integer
  17592. wrstandardcode:
  17593. description: 现货商品代码
  17594. type: string
  17595. wrstandardid:
  17596. description: 现货商品ID
  17597. type: integer
  17598. wrstandardname:
  17599. description: 商品名称
  17600. type: string
  17601. type: object
  17602. models.WrGoodsInfo:
  17603. properties:
  17604. haswr:
  17605. description: 0:仓单预售 1:仓单贸易
  17606. type: integer
  17607. lstitem:
  17608. description: 商品信息项
  17609. items:
  17610. $ref: '#/definitions/models.WrTypeItem'
  17611. type: array
  17612. lststep:
  17613. description: 履约规则
  17614. items:
  17615. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17616. type: array
  17617. marketid:
  17618. description: 市场id
  17619. type: integer
  17620. type: object
  17621. models.WrGoodsPerformanceStep:
  17622. properties:
  17623. autoid:
  17624. description: AutoID
  17625. type: integer
  17626. isauto:
  17627. description: 是否自动 - 0:不自动 1:自动
  17628. type: integer
  17629. remark:
  17630. description: 备注
  17631. type: string
  17632. stepdate:
  17633. description: 天数信息(T+N)
  17634. type: string
  17635. stepdays:
  17636. description: 距离上一步天数
  17637. type: integer
  17638. stepindex:
  17639. description: 步骤序号
  17640. type: integer
  17641. stepinfo:
  17642. description: 步骤信息(步骤名称+步骤值)
  17643. type: string
  17644. steptypeid:
  17645. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17646. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17647. type: integer
  17648. steptypename:
  17649. description: 步骤名称
  17650. type: string
  17651. stepvalue:
  17652. description: 步骤值
  17653. type: number
  17654. templateid:
  17655. description: 履约计划模板ID
  17656. type: integer
  17657. type: object
  17658. models.WrHoldLB:
  17659. properties:
  17660. accountid:
  17661. description: 持有人帐户ID
  17662. type: integer
  17663. bannerpicurl:
  17664. description: Banner图
  17665. type: string
  17666. createtime:
  17667. description: 创建时间(过户时间)
  17668. type: string
  17669. deliverygoodscode:
  17670. description: 品种代码
  17671. type: string
  17672. deliverygoodsid:
  17673. description: 品种ID
  17674. type: integer
  17675. deliverygoodsname:
  17676. description: 品种名称
  17677. type: string
  17678. enableqty:
  17679. description: 可用数量
  17680. type: number
  17681. enumdicname:
  17682. description: 单位名称
  17683. type: string
  17684. freezerqty:
  17685. description: 冻结数量
  17686. type: number
  17687. ladingbillid:
  17688. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17689. type: string
  17690. minivalue:
  17691. description: 现货商品最小变动值
  17692. type: integer
  17693. optioncompare:
  17694. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17695. type: string
  17696. parentsubnum:
  17697. description: 拆分父子单号
  17698. type: integer
  17699. pledgeqty:
  17700. description: 质押数量
  17701. type: number
  17702. qty:
  17703. description: 数量
  17704. type: number
  17705. subnum:
  17706. description: 提单子单号
  17707. type: integer
  17708. thumurls:
  17709. description: 缩略图
  17710. type: string
  17711. tradedate:
  17712. description: 交易日(yyyyMMdd)
  17713. type: string
  17714. userid:
  17715. description: 持有人ID
  17716. type: integer
  17717. warehouseid:
  17718. description: 仓库ID
  17719. type: integer
  17720. warehousename:
  17721. description: 仓库名称
  17722. type: string
  17723. wrfactortypeid:
  17724. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17725. type: string
  17726. wrfactortypename:
  17727. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17728. type: string
  17729. wrholdeno:
  17730. description: 仓单编号
  17731. type: string
  17732. wrid:
  17733. description: 仓单变更ID
  17734. type: string
  17735. wrstandardcode:
  17736. description: 现货商品代码
  17737. type: string
  17738. wrstandardid:
  17739. description: 现货商品ID
  17740. type: integer
  17741. wrstandardname:
  17742. description: 商品名称
  17743. type: string
  17744. wrtypename:
  17745. description: 商品
  17746. type: string
  17747. type: object
  17748. models.WrMarketTradeConfig:
  17749. properties:
  17750. basisdownratio:
  17751. description: 浮动价基差下限比例(仓单贸易)
  17752. type: number
  17753. basisupratio:
  17754. description: 浮动价基差上限比例(仓单贸易)
  17755. type: number
  17756. buychargealgorithm:
  17757. description: 买方手续费收取方式 1:比率 2:固定
  17758. type: integer
  17759. buychargealgorithm2:
  17760. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17761. type: integer
  17762. buychargealgorithmvalue:
  17763. description: 买方手续费设置值(交易所部分)
  17764. type: number
  17765. buychargealgorithmvalue2:
  17766. description: 买方手续费设置值(会员部分)
  17767. type: number
  17768. buychargealgorithmvalue3:
  17769. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17770. type: number
  17771. buychargealgorithmvalue4:
  17772. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17773. type: number
  17774. buyfirstmarginalgorithm:
  17775. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17776. type: integer
  17777. buyfirstmarginvalue:
  17778. description: 买方出价保证金设置值 - [竞拍]
  17779. type: number
  17780. buymarginalgorithm:
  17781. description: 买方保证金方式 - 1:比率 2:固定
  17782. type: integer
  17783. buymarginvalue:
  17784. description: 买方保证金设置值
  17785. type: number
  17786. buyreleaseratio:
  17787. description: 买方释放比率[2:分步履约]
  17788. type: number
  17789. executemode:
  17790. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17791. type: integer
  17792. executeside:
  17793. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17794. type: integer
  17795. failedchargealgorithm:
  17796. description: 流拍手续费收取方式 1:比率 2:固定
  17797. type: integer
  17798. failedchargevalue:
  17799. description: 流拍手续费设置值
  17800. type: number
  17801. failedchargevalue2:
  17802. description: 流拍卖方手续费设置值
  17803. type: number
  17804. holddays:
  17805. description: 合同期限[2:分步履约]
  17806. type: integer
  17807. listingmode:
  17808. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17809. type: integer
  17810. marketid:
  17811. description: 市场ID-仓单贸易、竞拍、预售
  17812. type: integer
  17813. minqty:
  17814. description: 最小执行量[2:分步履约]
  17815. type: number
  17816. modifierid:
  17817. description: 修改人
  17818. type: integer
  17819. nowrquotaflag:
  17820. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17821. type: integer
  17822. performancetempid:
  17823. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17824. 立即执行(-1)
  17825. type: integer
  17826. performancetempid2:
  17827. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17828. 立即执行
  17829. type: integer
  17830. performancetempid2s:
  17831. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17832. - 履约方式: 立即执行
  17833. type: string
  17834. performancetempids:
  17835. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17836. - 履约方式: 立即执行(-1)
  17837. type: string
  17838. performanceway:
  17839. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17840. type: integer
  17841. sellchargealgorithm:
  17842. description: 卖方手续费收取方式 1:比率 2:固定
  17843. type: integer
  17844. sellchargealgorithm2:
  17845. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17846. type: integer
  17847. sellchargealgorithmvalue:
  17848. description: 卖方手续费设置值(交易所部分)
  17849. type: number
  17850. sellchargealgorithmvalue2:
  17851. description: 卖方手续费设置值(会员部分)
  17852. type: number
  17853. sellchargealgorithmvalue3:
  17854. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17855. type: number
  17856. sellchargealgorithmvalue4:
  17857. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17858. type: number
  17859. sellmarginalgorithm:
  17860. description: 卖方保证金方式 - 1:比率 2:固定
  17861. type: integer
  17862. sellmarginvalue:
  17863. description: 卖方保证金设置值
  17864. type: number
  17865. sellmarginvalue2:
  17866. description: 卖方保证金设置值(无仓单)
  17867. type: number
  17868. sellreleaseratio:
  17869. description: 卖方释放比率[2:分步履约]
  17870. type: number
  17871. updatetime:
  17872. description: 更新时间
  17873. type: string
  17874. type: object
  17875. models.WrOrderDetail:
  17876. properties:
  17877. accountid:
  17878. description: 交易账号(资金账号)
  17879. type: integer
  17880. allfriendsflag:
  17881. description: 是否全好友可见 - 0:否 1:是
  17882. type: integer
  17883. amount:
  17884. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17885. type: number
  17886. bannerpicurl:
  17887. description: Banner图
  17888. type: string
  17889. begindate:
  17890. description: 开始交易日(yyyymmdd)
  17891. type: string
  17892. buyorsell:
  17893. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17894. type: integer
  17895. canbargain:
  17896. description: 是否可议价 - 0:不可 1:可
  17897. type: integer
  17898. cancelqty:
  17899. description: 撤销数量
  17900. type: number
  17901. canpart:
  17902. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17903. type: integer
  17904. delistminqty:
  17905. description: 起摘数量
  17906. type: integer
  17907. deliverygoodscode:
  17908. description: 品种代码
  17909. type: string
  17910. deliverygoodsid:
  17911. description: 品种ID
  17912. type: integer
  17913. deliverygoodsname:
  17914. description: 品种名称
  17915. type: string
  17916. deliverymonth:
  17917. description: 交收月
  17918. type: string
  17919. enddate:
  17920. description: 结束交易日(yyyymmdd)
  17921. type: string
  17922. enumdicname:
  17923. description: 单位名称
  17924. type: string
  17925. fixedprice:
  17926. description: 固定价格 - [挂牌]
  17927. type: number
  17928. freezecharge:
  17929. description: 冻结手续费
  17930. type: number
  17931. freezemargin:
  17932. description: 冻结保证金(保证金)
  17933. type: number
  17934. futupricemove:
  17935. description: 期货升贴水
  17936. type: number
  17937. futushow:
  17938. description: 期货合约/升贴水
  17939. type: string
  17940. goodscode:
  17941. description: 期货合约
  17942. type: string
  17943. goodsid:
  17944. description: 期货商品id
  17945. type: integer
  17946. goodsname:
  17947. description: 商品名称
  17948. type: string
  17949. haswr:
  17950. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17951. type: integer
  17952. isspecified:
  17953. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17954. type: integer
  17955. ladingbillid:
  17956. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17957. type: string
  17958. marginvalue:
  17959. description: 保证金设置值(履约保证金)
  17960. type: number
  17961. marketid:
  17962. description: 市场ID
  17963. type: integer
  17964. matchusername:
  17965. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17966. type: string
  17967. minivalue:
  17968. description: 现货商品最小变动值
  17969. type: integer
  17970. optioncompare:
  17971. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17972. type: string
  17973. orderqty:
  17974. description: 委托数量
  17975. type: number
  17976. ordertime:
  17977. description: 委托时间(挂牌时间)
  17978. type: string
  17979. performancetemplateid:
  17980. description: 履约模板id
  17981. type: integer
  17982. pricemove:
  17983. description: 升贴水(浮动价时填写) - [挂牌]
  17984. type: number
  17985. taname:
  17986. description: 交易用户名称(资金账号名称)
  17987. type: string
  17988. thumurls:
  17989. description: 缩略图
  17990. type: string
  17991. tradedate:
  17992. description: 交易日(yyyyMMdd)
  17993. type: string
  17994. tradeprice:
  17995. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17996. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17997. type: number
  17998. tradeqty:
  17999. description: 成交数量
  18000. type: number
  18001. userid:
  18002. description: 用户ID
  18003. type: integer
  18004. validtime:
  18005. description: 挂牌有效期
  18006. type: string
  18007. validtype:
  18008. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18009. type: integer
  18010. warehouseid:
  18011. description: 仓库ID
  18012. type: integer
  18013. warehousename:
  18014. description: 仓库名称
  18015. type: string
  18016. wrfactortypeid:
  18017. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18018. type: string
  18019. wrfactortypename:
  18020. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18021. type: string
  18022. wrpricetype:
  18023. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18024. type: integer
  18025. wrstandardcode:
  18026. description: 现货商品代码
  18027. type: string
  18028. wrstandardid:
  18029. description: 现货商品ID
  18030. type: integer
  18031. wrstandardname:
  18032. description: 商品名称
  18033. type: string
  18034. wrtradeorderid:
  18035. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18036. type: string
  18037. wrtradeorderstatus:
  18038. 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:撤单解冻贷款失败
  18039. type: integer
  18040. wrtradetype:
  18041. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18042. type: integer
  18043. wrtypename:
  18044. description: 商品
  18045. type: string
  18046. type: object
  18047. models.WrOrderQuote:
  18048. properties:
  18049. bannerpicurl:
  18050. description: Banner图
  18051. type: string
  18052. buyprice:
  18053. description: 买价
  18054. type: number
  18055. buypricemove:
  18056. description: 买升贴水(基差)
  18057. type: number
  18058. buyqty:
  18059. description: 买量
  18060. type: number
  18061. deliverygoodscode:
  18062. description: 品种代码
  18063. type: string
  18064. deliverygoodsid:
  18065. description: 品种id
  18066. type: integer
  18067. deliverygoodsname:
  18068. description: 品种名称
  18069. type: string
  18070. deliverymonth:
  18071. description: 交收月
  18072. type: string
  18073. enumdicname:
  18074. description: 单位名称
  18075. type: string
  18076. goodscode:
  18077. description: 商品合约(浮动价列表才有)
  18078. type: string
  18079. goodsid:
  18080. description: 商品id(浮动价列表才有)
  18081. type: integer
  18082. minivalue:
  18083. description: 现货商品最小变动值
  18084. type: integer
  18085. pictureurls:
  18086. description: 详情图片(逗号分隔)
  18087. type: string
  18088. sellprice:
  18089. description: 卖价
  18090. type: number
  18091. sellpricemove:
  18092. description: 卖升贴水(基差)
  18093. type: number
  18094. sellqty:
  18095. description: 卖量
  18096. type: number
  18097. thumurls:
  18098. description: 缩略图片(1:1)(逗号分隔)
  18099. type: string
  18100. warehousecode:
  18101. description: 仓库代码
  18102. type: string
  18103. warehouseid:
  18104. description: 仓库id
  18105. type: integer
  18106. warehousename:
  18107. description: 仓库名称
  18108. type: string
  18109. wrfactortypeid:
  18110. description: 仓单要素id
  18111. type: string
  18112. wrfactortypename:
  18113. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18114. type: string
  18115. wrgoodsname:
  18116. description: 商品(商品名称+仓库要素名称 拼接)
  18117. type: string
  18118. wrstandardcode:
  18119. description: 商品代码
  18120. type: string
  18121. wrstandardid:
  18122. description: 商品id
  18123. type: integer
  18124. wrstandardname:
  18125. description: 商品名称
  18126. type: string
  18127. type: object
  18128. models.WrOrderQuoteDetail:
  18129. properties:
  18130. buyorsell:
  18131. description: 买卖 - 0:买 1:卖
  18132. type: integer
  18133. delistminqty:
  18134. description: 起摘数量
  18135. type: number
  18136. deliverymonth:
  18137. description: 交收月
  18138. type: string
  18139. enumdicname:
  18140. description: 单位名称
  18141. type: string
  18142. fixedprice:
  18143. description: 买(卖)价
  18144. type: number
  18145. marketid:
  18146. description: 市场id
  18147. type: integer
  18148. minivalue:
  18149. description: 现货商品最小变动值
  18150. type: integer
  18151. orderqty:
  18152. description: 买(卖)量(=委托量-成交量)
  18153. type: number
  18154. ordertime:
  18155. description: 委托时间
  18156. type: string
  18157. pricemove:
  18158. description: 买(卖)升贴水- 基差
  18159. type: number
  18160. userid:
  18161. description: 购买方(销售方)用户ID
  18162. type: integer
  18163. username:
  18164. description: 购买方(销售方)
  18165. type: string
  18166. wrtradeorderid:
  18167. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18168. type: string
  18169. type: object
  18170. models.WrOutInApply:
  18171. properties:
  18172. applyid:
  18173. description: 申请单id
  18174. type: string
  18175. applystatus:
  18176. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18177. 8:已撤销
  18178. type: integer
  18179. applytime:
  18180. description: 申请时间
  18181. type: string
  18182. applytype:
  18183. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18184. type: integer
  18185. bannerpicurl:
  18186. description: Banner图
  18187. type: string
  18188. begindate:
  18189. description: 开始交易日(yyyymmdd)
  18190. type: string
  18191. deliverygoodscode:
  18192. description: 品种代码
  18193. type: string
  18194. deliverygoodsid:
  18195. description: 品种ID
  18196. type: integer
  18197. deliverygoodsname:
  18198. description: 品种名称
  18199. type: string
  18200. enddate:
  18201. description: 结束交易日(yyyymmdd)
  18202. type: string
  18203. enumdicname:
  18204. description: 单位名称
  18205. type: string
  18206. expresscompany:
  18207. description: 物流公司
  18208. type: string
  18209. expressnum:
  18210. description: 物流单号
  18211. type: string
  18212. minivalue:
  18213. description: 现货商品最小变动值
  18214. type: integer
  18215. optioncompare:
  18216. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18217. type: string
  18218. qty:
  18219. description: 数量
  18220. type: integer
  18221. userid:
  18222. description: 用户id
  18223. type: integer
  18224. warehouseid:
  18225. description: 仓库ID
  18226. type: integer
  18227. warehousename:
  18228. description: 仓库名称
  18229. type: string
  18230. wrfactortypeid:
  18231. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18232. type: string
  18233. wrfactortypename:
  18234. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18235. type: string
  18236. wrstandardcode:
  18237. description: 现货商品代码
  18238. type: string
  18239. wrstandardid:
  18240. description: 现货商品ID
  18241. type: integer
  18242. wrstandardname:
  18243. description: 商品名称
  18244. type: string
  18245. wrtypename:
  18246. description: 商品
  18247. type: string
  18248. type: object
  18249. models.WrPerformancePlan:
  18250. properties:
  18251. activatemonth:
  18252. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18253. type: string
  18254. amount:
  18255. description: 履约金额(总金额)
  18256. type: number
  18257. begindate:
  18258. description: 开始交易日(yyyymmdd)
  18259. type: string
  18260. buyaccountid:
  18261. description: 买方账号
  18262. type: integer
  18263. buyerfreezeamount:
  18264. description: 履约冻结(买履约)
  18265. type: number
  18266. buyerfreezeamountremain:
  18267. description: 履约冻结剩余(买履约)
  18268. type: number
  18269. buyorsell:
  18270. description: 买卖方向 0-买 1-卖
  18271. type: integer
  18272. buypaidamount:
  18273. description: 买方已冻/已扣金额 (已付金额)
  18274. type: number
  18275. buyusername:
  18276. description: 买方名字
  18277. type: string
  18278. contractid:
  18279. description: 合同ID
  18280. type: integer
  18281. createtime:
  18282. description: 创建时间
  18283. type: string
  18284. creatorid:
  18285. description: 创建人
  18286. type: integer
  18287. curstepdeadline:
  18288. description: 当前步骤到期时间
  18289. type: string
  18290. curstepid:
  18291. description: 当前步骤ID
  18292. type: string
  18293. curstepname:
  18294. description: 当前步骤名称
  18295. type: string
  18296. deliverygoodscode:
  18297. description: 品种代码
  18298. type: string
  18299. deliverygoodsid:
  18300. description: 品种ID
  18301. type: integer
  18302. deliverygoodsname:
  18303. description: 品种名称
  18304. type: string
  18305. enddate:
  18306. description: 结束交易日(yyyymmdd)
  18307. type: string
  18308. enumdicname:
  18309. description: 单位名称
  18310. type: string
  18311. expressfee:
  18312. description: 运费
  18313. type: number
  18314. expressfeeconfirmed:
  18315. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18316. type: integer
  18317. hasovershort:
  18318. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18319. type: integer
  18320. haswr:
  18321. description: 类型 0-仓单预售 1-仓单贸易
  18322. type: integer
  18323. marketid:
  18324. description: 市场ID
  18325. type: integer
  18326. middleaccountid:
  18327. description: 中间商资金账号ID
  18328. type: integer
  18329. middleuserid:
  18330. description: 中间商用户ID
  18331. type: integer
  18332. minivalue:
  18333. description: 现货商品最小变动值
  18334. type: integer
  18335. optioncompare:
  18336. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18337. type: string
  18338. overshortamount:
  18339. description: 溢短金额
  18340. type: number
  18341. overshortqty:
  18342. description: 溢短数量
  18343. type: number
  18344. paymenttype:
  18345. description: 付款方式 - 1:冻结 2:扣款
  18346. type: integer
  18347. performanceplanid:
  18348. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18349. type: string
  18350. performancestatus:
  18351. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18352. 9:超时待处理 10:超时关闭
  18353. type: integer
  18354. performancetype:
  18355. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18356. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18357. type: integer
  18358. qty:
  18359. description: 履约数量
  18360. type: number
  18361. relatedorderid:
  18362. description: 关联单号(履约类型的关联单号)
  18363. type: string
  18364. remark:
  18365. description: 备注
  18366. type: string
  18367. sellaccountid:
  18368. description: 卖方账号
  18369. type: integer
  18370. sellerfreezeamount:
  18371. description: 履约冻结(卖履约)
  18372. type: number
  18373. sellerfreezeamountremain:
  18374. description: 履约冻结剩余(卖履约)
  18375. type: number
  18376. sellreceivedamount:
  18377. description: 卖方已收金额
  18378. type: number
  18379. sellusername:
  18380. description: 卖方名字
  18381. type: string
  18382. shipremark:
  18383. description: 发货备注[物流单号]
  18384. type: string
  18385. starttime:
  18386. description: 开始时间
  18387. type: string
  18388. steptypeid:
  18389. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18390. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18391. type: integer
  18392. typename:
  18393. description: 履约类型 名称
  18394. type: string
  18395. unpaidamount:
  18396. description: 剩余款(待支付金额)
  18397. type: number
  18398. userid:
  18399. description: 用户id
  18400. type: integer
  18401. warehouseid:
  18402. description: 仓库ID
  18403. type: integer
  18404. warehousename:
  18405. description: 仓库名称
  18406. type: string
  18407. wrfactortypeid:
  18408. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18409. type: string
  18410. wrfactortypename:
  18411. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18412. type: string
  18413. wrstandardcode:
  18414. description: 现货商品代码
  18415. type: string
  18416. wrstandardid:
  18417. description: 现货商品ID
  18418. type: integer
  18419. wrstandardname:
  18420. description: 商品名称
  18421. type: string
  18422. wrtransferuserid:
  18423. description: 仓单受让用户
  18424. type: integer
  18425. wrtypename:
  18426. description: 商品
  18427. type: string
  18428. required:
  18429. - userid
  18430. type: object
  18431. models.WrPerformancePlanStep:
  18432. properties:
  18433. delaydays:
  18434. description: 延期申请天数
  18435. type: integer
  18436. deliverygoodscode:
  18437. description: 品种代码
  18438. type: string
  18439. deliverygoodsid:
  18440. description: 品种ID
  18441. type: integer
  18442. deliverygoodsname:
  18443. description: 品种名称
  18444. type: string
  18445. endtime:
  18446. description: 结束日期
  18447. type: string
  18448. enumdicname:
  18449. description: 单位名称
  18450. type: string
  18451. executeside:
  18452. description: 步骤执行方 - 1:买方 2:卖方
  18453. type: integer
  18454. handlestatus:
  18455. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18456. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18457. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18458. type: integer
  18459. isauto:
  18460. description: 是否自动 - 0:不自动 1:自动
  18461. type: integer
  18462. islastreceivestep:
  18463. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18464. type: integer
  18465. minivalue:
  18466. description: 现货商品最小变动值
  18467. type: integer
  18468. optioncompare:
  18469. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18470. type: string
  18471. overdays:
  18472. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18473. type: integer
  18474. performancestepid:
  18475. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18476. type: string
  18477. planid:
  18478. description: 所属履约计划ID
  18479. type: string
  18480. realamount:
  18481. description: 实际完成金额
  18482. type: number
  18483. relatedorderid:
  18484. description: 关联单号
  18485. type: string
  18486. remaindays:
  18487. description: 剩余天数
  18488. type: integer
  18489. remark:
  18490. description: 错误备注
  18491. type: string
  18492. starttime:
  18493. description: 开始日期
  18494. type: string
  18495. stepamount:
  18496. description: 步骤金额
  18497. type: number
  18498. stepdays:
  18499. description: 距离上一步天数(分钟)
  18500. type: integer
  18501. stepindex:
  18502. description: 步骤序号
  18503. type: integer
  18504. steplanchtype:
  18505. description: 步骤启动类型 - 1:系统自动 2:手动
  18506. type: integer
  18507. stepremark:
  18508. description: 步骤备注
  18509. type: string
  18510. stepstatus:
  18511. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18512. type: integer
  18513. steptypeid:
  18514. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18515. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18516. type: integer
  18517. steptypename:
  18518. description: 步骤名称
  18519. type: string
  18520. stepvalue:
  18521. description: 步骤值
  18522. type: number
  18523. warehouseid:
  18524. description: 仓库ID
  18525. type: integer
  18526. warehousename:
  18527. description: 仓库名称
  18528. type: string
  18529. wrfactortypeid:
  18530. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18531. type: string
  18532. wrfactortypename:
  18533. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18534. type: string
  18535. wrstandardcode:
  18536. description: 现货商品代码
  18537. type: string
  18538. wrstandardid:
  18539. description: 现货商品ID
  18540. type: integer
  18541. wrstandardname:
  18542. description: 商品名称
  18543. type: string
  18544. wrtypename:
  18545. description: 商品
  18546. type: string
  18547. type: object
  18548. models.WrPerformanceStepType:
  18549. properties:
  18550. canauto:
  18551. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18552. type: integer
  18553. steptypeid:
  18554. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18555. type: integer
  18556. steptypename:
  18557. description: 步骤类型名称
  18558. type: string
  18559. type: object
  18560. models.WrPerformanceTemplateEx:
  18561. properties:
  18562. autoid:
  18563. description: AutoID 模板id
  18564. type: integer
  18565. createtime:
  18566. description: 创建时间
  18567. type: string
  18568. creatorid:
  18569. description: 创建人
  18570. type: integer
  18571. lstStep:
  18572. description: 步骤信息列表
  18573. items:
  18574. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18575. type: array
  18576. paymenttype:
  18577. description: 支付方式 - 1:冻结 2:扣款
  18578. type: integer
  18579. takemode:
  18580. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18581. type: integer
  18582. templatename:
  18583. description: 模板名称
  18584. type: string
  18585. templatetype:
  18586. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18587. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18588. type: integer
  18589. userid:
  18590. description: 所属用户
  18591. type: integer
  18592. type: object
  18593. models.WrPosition:
  18594. properties:
  18595. accountid:
  18596. description: 帐户ID
  18597. type: integer
  18598. buyexcuteqty:
  18599. description: 采购履约中数量
  18600. type: number
  18601. creditcurqty:
  18602. description: 授信当前数量(预售仓单:预售当前量)
  18603. type: number
  18604. creditenableqty:
  18605. description: '授信可用数量(预售仓单: 可用数量)'
  18606. type: number
  18607. creditfreezeqty:
  18608. description: '授信冻结数量(预售仓单: 当前数量)'
  18609. type: number
  18610. credittotalqty:
  18611. description: 授信总数量(预售仓单:预售总量)
  18612. type: number
  18613. credittradeqty:
  18614. description: 授信成交数量(预售仓单:成交总量)
  18615. type: number
  18616. deliverygoodscode:
  18617. description: 品种代码
  18618. type: string
  18619. deliverygoodsid:
  18620. description: 品种ID
  18621. type: integer
  18622. deliverygoodsname:
  18623. description: 品种名称
  18624. type: string
  18625. enalbeqty:
  18626. description: 可用数量
  18627. type: number
  18628. enumdicname:
  18629. description: 单位名称
  18630. type: string
  18631. freezeqty:
  18632. description: 总冻结数量
  18633. type: number
  18634. haswr:
  18635. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18636. type: integer
  18637. minivalue:
  18638. description: 现货商品最小变动值
  18639. type: integer
  18640. modifytime:
  18641. description: 修改时间(过户时间)
  18642. type: string
  18643. optioncompare:
  18644. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18645. type: string
  18646. pledgeqty:
  18647. description: 质押数量
  18648. type: number
  18649. querytype:
  18650. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18651. type: integer
  18652. sellexcuteqty:
  18653. description: 销售履约中数量
  18654. type: number
  18655. totalqty:
  18656. description: 总数量(库存数量)
  18657. type: number
  18658. warehouseid:
  18659. description: 仓库ID
  18660. type: integer
  18661. warehousename:
  18662. description: 仓库名称
  18663. type: string
  18664. wrfactortypeid:
  18665. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18666. type: string
  18667. wrfactortypename:
  18668. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18669. type: string
  18670. wrpositionid:
  18671. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18672. type: string
  18673. wrpositionno:
  18674. description: 仓单编号
  18675. type: string
  18676. wrstandardcode:
  18677. description: 现货商品代码
  18678. type: string
  18679. wrstandardid:
  18680. description: 现货商品ID
  18681. type: integer
  18682. wrstandardname:
  18683. description: 商品名称
  18684. type: string
  18685. wrtypename:
  18686. description: 商品
  18687. type: string
  18688. wruserid:
  18689. description: 持有人ID
  18690. type: integer
  18691. type: object
  18692. models.WrPreSaleInfo:
  18693. properties:
  18694. bannerpicurl:
  18695. description: Banner图
  18696. type: string
  18697. baseqty:
  18698. description: 中签基数
  18699. type: number
  18700. createtime:
  18701. description: 创建时间
  18702. type: string
  18703. deliverygoodsid:
  18704. description: 现货品种ID
  18705. type: integer
  18706. enddate:
  18707. description: 预售结束日期
  18708. type: string
  18709. enumdicname:
  18710. description: 单位名称
  18711. type: string
  18712. lotteryflag:
  18713. description: 摇号标识 - 0:未摇号 1:已摇号
  18714. type: integer
  18715. lotteryqty:
  18716. description: 摇号总量
  18717. type: number
  18718. luckyqty:
  18719. description: 已中签量
  18720. type: number
  18721. marketid:
  18722. description: 市场ID
  18723. type: integer
  18724. maxbuyqty:
  18725. description: 单人最大申购量
  18726. type: number
  18727. maxluckyqty:
  18728. description: 单人最大中签量
  18729. type: number
  18730. pictureurls:
  18731. description: 详情图片(逗号分隔)
  18732. type: string
  18733. placeqty:
  18734. description: 已配售量
  18735. type: number
  18736. presaleapplyid:
  18737. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18738. example: "0"
  18739. type: string
  18740. presaleqty:
  18741. description: 预售总量
  18742. type: number
  18743. presalestatus:
  18744. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18745. type: integer
  18746. sellaccountid:
  18747. description: 发行方资金账户ID
  18748. type: integer
  18749. selluserid:
  18750. description: 发行方用户ID
  18751. type: integer
  18752. sellwrtradeorderid:
  18753. description: 发行方卖委托单ID
  18754. type: string
  18755. startdate:
  18756. description: 预售开始日期
  18757. type: string
  18758. takestartdate:
  18759. description: 提货开始日期
  18760. type: string
  18761. thumurls:
  18762. description: 缩略图片(1:1)(逗号分隔)
  18763. type: string
  18764. tradedate:
  18765. description: 交易日
  18766. type: string
  18767. unitid:
  18768. description: 单位ID
  18769. type: integer
  18770. unitprice:
  18771. description: 商品单价
  18772. type: number
  18773. username:
  18774. description: 发行方用户名称
  18775. type: string
  18776. warehousecode:
  18777. description: 仓库代码(仓库简称)
  18778. type: string
  18779. warehouseid:
  18780. description: 仓库ID
  18781. type: integer
  18782. warehousename:
  18783. description: 仓库名称
  18784. type: string
  18785. wrfactortypeid:
  18786. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18787. example: "0"
  18788. type: string
  18789. wrstandardid:
  18790. description: 现货商品ID
  18791. type: integer
  18792. wrstandardname:
  18793. description: 现货商品名称
  18794. type: string
  18795. type: object
  18796. models.WrQuoteOrderMyq:
  18797. properties:
  18798. buyorsell:
  18799. description: 买卖 - 0:买 1:卖
  18800. type: integer
  18801. canbargain:
  18802. description: 是否可议价 - 0:不可 1:可
  18803. type: integer
  18804. canpart:
  18805. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18806. type: integer
  18807. delistminqty:
  18808. description: 起摘数量
  18809. type: number
  18810. deliverygoodscode:
  18811. description: 品种代码
  18812. type: string
  18813. deliverygoodsid:
  18814. description: 品种ID
  18815. type: integer
  18816. deliverygoodsname:
  18817. description: 品种名称
  18818. type: string
  18819. deliverymonth:
  18820. description: 交收月
  18821. type: string
  18822. enumdicname:
  18823. description: 单位名称
  18824. type: string
  18825. fixedprice:
  18826. description: 买(卖)价
  18827. type: number
  18828. goodscode:
  18829. description: 商品合约代码
  18830. type: string
  18831. marginflag:
  18832. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18833. type: integer
  18834. marginvalue:
  18835. description: 保证金设置值
  18836. type: number
  18837. minivalue:
  18838. description: 现货商品最小变动值
  18839. type: integer
  18840. orderqty:
  18841. description: 买(卖)量(=委托量-成交量)
  18842. type: number
  18843. ordertime:
  18844. description: 委托时间
  18845. type: string
  18846. performancetemplateid:
  18847. description: 履约模板id
  18848. type: integer
  18849. pricemove:
  18850. description: 买(卖)升贴水- 基差
  18851. type: number
  18852. templatename:
  18853. description: 履约模板名称
  18854. type: string
  18855. userid:
  18856. description: 购买方(销售方)用户ID
  18857. type: integer
  18858. username:
  18859. description: 购买方(销售方)
  18860. type: string
  18861. validtime:
  18862. description: 有效期限
  18863. type: string
  18864. validtype:
  18865. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18866. type: integer
  18867. warehousename:
  18868. description: 仓库名称
  18869. type: string
  18870. wrfactortypeid:
  18871. description: 仓单要素id
  18872. type: string
  18873. wrstandardcode:
  18874. description: 现货商品代码
  18875. type: string
  18876. wrstandardid:
  18877. description: 现货商品ID
  18878. type: integer
  18879. wrstandardname:
  18880. description: 商品名称
  18881. type: string
  18882. wrtradeorderid:
  18883. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18884. type: string
  18885. wrtypename:
  18886. description: 商品
  18887. type: string
  18888. type: object
  18889. models.WrReckonSpotGoodsTradeSum:
  18890. properties:
  18891. begindate:
  18892. description: 开始日期(结果含开始日期) yyyymmdd
  18893. type: string
  18894. enddate:
  18895. description: 结束日期(结果含结束日期) yyyymmdd
  18896. type: string
  18897. istoday:
  18898. description: 是否当日
  18899. type: boolean
  18900. marketid:
  18901. description: 市场ID
  18902. type: integer
  18903. price:
  18904. description: 价格 = 日成交金额 / 日成交数量
  18905. type: string
  18906. reckondate:
  18907. description: 日期 格式 yyyymmdd
  18908. type: string
  18909. tradeamount:
  18910. description: 日成交金额(当日单方向成交金额)
  18911. type: number
  18912. tradeqty:
  18913. description: 日成交数量(当日单方向成交数量)
  18914. type: number
  18915. wrstandardid:
  18916. description: 现货商品ID
  18917. type: integer
  18918. type: object
  18919. models.WrScfContract:
  18920. properties:
  18921. borroweruserid:
  18922. description: 借款用户ID
  18923. type: integer
  18924. buybackwrpositionqty:
  18925. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18926. type: number
  18927. closeinterest:
  18928. description: 已结利息 -> 已结费用
  18929. type: number
  18930. currisklevel:
  18931. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18932. type: integer
  18933. deadline:
  18934. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18935. type: string
  18936. deliverygoodscode:
  18937. description: 品种代码
  18938. type: string
  18939. deliverygoodsid:
  18940. description: 品种ID
  18941. type: integer
  18942. deliverygoodsname:
  18943. description: 品种名称
  18944. type: string
  18945. enumdicname:
  18946. description: 单位名称
  18947. type: string
  18948. financingdays:
  18949. description: 天数(天)
  18950. type: integer
  18951. initmargin:
  18952. description: 保证金 - [仓单回购]
  18953. type: number
  18954. interestamount:
  18955. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18956. type: number
  18957. interestdebt:
  18958. description: 利息欠款(记录负数) -> 费用欠款
  18959. type: number
  18960. interestminlen:
  18961. description: 最小起息天数
  18962. type: integer
  18963. interestrate:
  18964. description: 利率
  18965. type: number
  18966. interestratemode:
  18967. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18968. type: integer
  18969. interestsettlemode:
  18970. description: 结息方式 - 1:按日结息 3:按月结息
  18971. type: integer
  18972. interestsettlevalue:
  18973. description: 结息方式值
  18974. type: integer
  18975. isautoloan:
  18976. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18977. type: integer
  18978. lastcloseinterestday:
  18979. description: 最近结息日(yyyyMMdd)
  18980. type: string
  18981. lenderamount:
  18982. description: 贷款金额 -> 借款金额
  18983. type: number
  18984. lenderuserid:
  18985. description: 贷款方用户ID -> 融出方用户ID
  18986. type: integer
  18987. lenderusername:
  18988. description: 融出方
  18989. type: string
  18990. marginratio:
  18991. description: 保证金比率质押率 - [仓单质押]
  18992. type: number
  18993. marketid:
  18994. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18995. type: integer
  18996. minivalue:
  18997. description: 现货商品最小变动值
  18998. type: integer
  18999. optioncompare:
  19000. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19001. type: string
  19002. pricemove:
  19003. description: 估值升贴水值
  19004. type: number
  19005. productdetailid:
  19006. description: 产品组合ID
  19007. type: integer
  19008. productid:
  19009. description: 金融产品ID
  19010. type: integer
  19011. productname:
  19012. description: 产品名称
  19013. type: string
  19014. remainamount:
  19015. description: 合同剩余金额 -> 剩余金额
  19016. type: number
  19017. remainwrpositionqty:
  19018. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  19019. type: number
  19020. remark:
  19021. description: 备注
  19022. type: string
  19023. scfcontractid:
  19024. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  19025. type: string
  19026. scfcontractstatus:
  19027. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  19028. 9:违约结束 10:已注销 11:已关闭 99:未提交
  19029. type: integer
  19030. scfcontracttype:
  19031. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  19032. type: integer
  19033. startinterestday:
  19034. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  19035. type: string
  19036. totalinterest:
  19037. description: 已计利息 -> 已计费用
  19038. type: number
  19039. unpaidinterest:
  19040. description: 未结费用
  19041. type: number
  19042. updatetime:
  19043. description: 更新时间
  19044. type: string
  19045. warehouseid:
  19046. description: 仓库ID
  19047. type: integer
  19048. warehousename:
  19049. description: 仓库名称
  19050. type: string
  19051. wrfactortypeid:
  19052. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19053. type: string
  19054. wrfactortypename:
  19055. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19056. type: string
  19057. wrqty:
  19058. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  19059. type: number
  19060. wrstandardcode:
  19061. description: 现货商品代码
  19062. type: string
  19063. wrstandardid:
  19064. description: 现货商品ID
  19065. type: integer
  19066. wrstandardname:
  19067. description: 商品名称
  19068. type: string
  19069. wrtypename:
  19070. description: 商品
  19071. type: string
  19072. type: object
  19073. models.WrScfContractInterest:
  19074. properties:
  19075. closeinterest:
  19076. description: 已结利息
  19077. type: number
  19078. closeintereststatus:
  19079. description: 结息状态 - 1:未结 2:已结
  19080. type: integer
  19081. closetime:
  19082. description: 结息时间
  19083. type: string
  19084. closetradedate:
  19085. description: 结息交易日
  19086. type: string
  19087. creatorid:
  19088. description: 操作人ID
  19089. type: integer
  19090. dayrate:
  19091. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19092. type: number
  19093. interest:
  19094. description: 利息
  19095. type: number
  19096. interestamount:
  19097. description: 计息金额
  19098. type: number
  19099. interestday:
  19100. description: 计息日(yyyyMMdd)
  19101. type: string
  19102. scfcontractid:
  19103. description: SCF合同ID
  19104. type: string
  19105. scfcontractinterestid:
  19106. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19107. type: integer
  19108. updatetime:
  19109. description: 更新时间
  19110. type: string
  19111. type: object
  19112. models.WrSearchUser:
  19113. properties:
  19114. userid:
  19115. description: 用户ID
  19116. type: integer
  19117. username:
  19118. description: 用户名称(已脱敏)
  19119. type: string
  19120. username2:
  19121. description: 用户名称(未脱敏)
  19122. type: string
  19123. usertype:
  19124. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19125. type: integer
  19126. required:
  19127. - username
  19128. type: object
  19129. models.WrSiteColumnDetail:
  19130. properties:
  19131. brief:
  19132. description: 简介
  19133. type: string
  19134. context:
  19135. description: 内容
  19136. type: string
  19137. coverimage:
  19138. description: 封面图片
  19139. type: string
  19140. creaedate:
  19141. description: 创建时间
  19142. type: string
  19143. id:
  19144. description: ID(SEQ_SITE_COLUMNDETAIL)
  19145. type: integer
  19146. istop:
  19147. description: 是否置顶 - 0:不置 1:置顶
  19148. type: integer
  19149. publishdate:
  19150. description: 发布日期
  19151. type: string
  19152. title:
  19153. description: 标题
  19154. type: string
  19155. updatedate:
  19156. description: 修改时间
  19157. type: string
  19158. type: object
  19159. models.WrSpecialMatchOrder:
  19160. properties:
  19161. amount:
  19162. description: 金额 = 数量 * 价格
  19163. type: number
  19164. buyorsell:
  19165. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19166. type: integer
  19167. cancelqty:
  19168. description: 撤销数量
  19169. type: number
  19170. deliverygoodscode:
  19171. description: 品种代码
  19172. type: string
  19173. deliverygoodsid:
  19174. description: 品种ID
  19175. type: integer
  19176. deliverygoodsname:
  19177. description: 品种名称
  19178. type: string
  19179. enumdicname:
  19180. description: 单位名称
  19181. type: string
  19182. fixedprice:
  19183. description: 固定价格(价格)
  19184. type: number
  19185. haswr:
  19186. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19187. type: integer
  19188. isspecified:
  19189. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19190. type: integer
  19191. marketid:
  19192. description: 市场ID
  19193. type: integer
  19194. matchuserid:
  19195. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19196. type: integer
  19197. matchusername:
  19198. description: 指定方
  19199. type: string
  19200. minivalue:
  19201. description: 现货商品最小变动值
  19202. type: integer
  19203. optioncompare:
  19204. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19205. type: string
  19206. orderqty:
  19207. description: 委托数量
  19208. type: number
  19209. ordertime:
  19210. description: 委托时间
  19211. type: string
  19212. pricemove:
  19213. description: 升贴水(浮动价时填写) - [挂牌]
  19214. type: number
  19215. tradedate:
  19216. description: 交易日(yyyyMMdd)
  19217. type: string
  19218. tradeprice:
  19219. description: 成交价格
  19220. type: number
  19221. tradeqty:
  19222. description: 成交数量
  19223. type: number
  19224. userid:
  19225. description: 用户ID
  19226. type: integer
  19227. username:
  19228. description: 发起方
  19229. type: string
  19230. warehouseid:
  19231. description: 仓库ID
  19232. type: integer
  19233. warehousename:
  19234. description: 仓库名称
  19235. type: string
  19236. wrfactortypeid:
  19237. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19238. type: string
  19239. wrfactortypename:
  19240. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19241. type: string
  19242. wrpricetype:
  19243. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19244. type: integer
  19245. wrstandardcode:
  19246. description: 现货商品代码
  19247. type: string
  19248. wrstandardid:
  19249. description: 现货商品ID
  19250. type: integer
  19251. wrstandardname:
  19252. description: 商品名称
  19253. type: string
  19254. wrtradeorderid:
  19255. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19256. type: string
  19257. wrtradeorderstatus:
  19258. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19259. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19260. type: integer
  19261. wrtradetype:
  19262. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19263. type: integer
  19264. wrtypename:
  19265. description: 商品
  19266. type: string
  19267. type: object
  19268. models.WrSpotGroupTradeSum:
  19269. properties:
  19270. deliverygoodscode:
  19271. description: 现货品种代码
  19272. type: string
  19273. deliverygoodsid:
  19274. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19275. type: integer
  19276. deliverygoodsname:
  19277. description: 现货品种名称
  19278. type: string
  19279. lastavgprice:
  19280. description: 上上个交易日价格(前2天价格)
  19281. type: string
  19282. lastreckondate:
  19283. description: 上上个交易日(前2天交易日)
  19284. type: string
  19285. reckondate:
  19286. description: 上个交易日(前1天交易日)
  19287. type: string
  19288. todayavgprice:
  19289. description: 上个交易日价格(前1天价格)
  19290. type: string
  19291. updown:
  19292. description: 涨跌
  19293. type: string
  19294. updownratio:
  19295. description: 涨幅(已格式化, 直接显示即可)
  19296. type: string
  19297. type: object
  19298. models.WrSpotGroupTradeSumDetail:
  19299. properties:
  19300. deliverygoodsid:
  19301. description: 现货商品id
  19302. type: integer
  19303. price:
  19304. description: 价格
  19305. type: number
  19306. reckondate:
  19307. description: 日期(yyymmdd, 如:20211031)
  19308. type: string
  19309. type: object
  19310. models.WrSpotGroupTradeSumEx:
  19311. properties:
  19312. lst:
  19313. description: 指数列表
  19314. items:
  19315. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19316. type: array
  19317. prereckondate:
  19318. description: 上上个交易日(yyymmdd)
  19319. type: string
  19320. reckondate:
  19321. description: 上个交易日(yyyymmdd)
  19322. type: string
  19323. type: object
  19324. models.WrStandardFactoryItem:
  19325. properties:
  19326. dgfactoryitemid:
  19327. description: 选择项id
  19328. type: integer
  19329. dgfactoryitemvalue:
  19330. description: 要素项值
  19331. type: string
  19332. warehouseid:
  19333. description: 仓库id
  19334. type: integer
  19335. type: object
  19336. models.WrStandardFactoryItemEx:
  19337. properties:
  19338. dgfactoryitemtypeid:
  19339. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19340. type: integer
  19341. itemlst:
  19342. description: 要素项列表
  19343. items:
  19344. $ref: '#/definitions/models.WrStandardFactoryItem'
  19345. type: array
  19346. itemtypename:
  19347. description: 要素项类型名称
  19348. type: string
  19349. wrstandardid:
  19350. description: 品类
  19351. type: integer
  19352. type: object
  19353. models.WrTradeDetail:
  19354. properties:
  19355. accountid:
  19356. description: 资金账号
  19357. type: integer
  19358. bannerpicurl:
  19359. description: Banner图
  19360. type: string
  19361. begindate:
  19362. description: 开始交易日(yyyymmdd)
  19363. type: string
  19364. buyorsell:
  19365. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19366. type: integer
  19367. chargevalue:
  19368. description: 手续费
  19369. type: number
  19370. deliverygoodscode:
  19371. description: 品种代码
  19372. type: string
  19373. deliverygoodsid:
  19374. description: 品种ID
  19375. type: integer
  19376. deliverygoodsname:
  19377. description: 品种名称
  19378. type: string
  19379. deliverymonth:
  19380. description: 交收月
  19381. type: string
  19382. enddate:
  19383. description: 结束交易日(yyyymmdd)
  19384. type: string
  19385. enumdicname:
  19386. description: 单位名称
  19387. type: string
  19388. haswr:
  19389. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19390. type: integer
  19391. marketid:
  19392. description: 市场ID
  19393. type: integer
  19394. matchaccountid:
  19395. description: 对手账号
  19396. type: integer
  19397. matchusername:
  19398. description: 对手方
  19399. type: string
  19400. minivalue:
  19401. description: 现货商品最小变动值
  19402. type: integer
  19403. optioncompare:
  19404. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19405. type: string
  19406. thumurls:
  19407. description: 缩略图
  19408. type: string
  19409. tradedate:
  19410. description: 交易日(yyyyMMdd)
  19411. type: string
  19412. tradeprice:
  19413. description: 成交价格
  19414. type: number
  19415. tradeqty:
  19416. description: 成交数量
  19417. type: number
  19418. tradetime:
  19419. description: 成交时间
  19420. type: string
  19421. userid:
  19422. description: 用户ID
  19423. type: integer
  19424. warehouseid:
  19425. description: 仓库ID
  19426. type: integer
  19427. warehousename:
  19428. description: 仓库名称
  19429. type: string
  19430. wrfactortypeid:
  19431. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19432. type: string
  19433. wrfactortypename:
  19434. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19435. type: string
  19436. wrstandardcode:
  19437. description: 现货商品代码
  19438. type: string
  19439. wrstandardid:
  19440. description: 现货商品ID
  19441. type: integer
  19442. wrstandardname:
  19443. description: 商品名称
  19444. type: string
  19445. wrtradedetailid:
  19446. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19447. type: string
  19448. wrtradetype:
  19449. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19450. type: integer
  19451. wrtypename:
  19452. description: 商品
  19453. type: string
  19454. type: object
  19455. models.WrTradeOrderDetail:
  19456. properties:
  19457. buyorsell:
  19458. description: 买卖方向 0-买 1-卖
  19459. type: integer
  19460. goodsid:
  19461. description: 商品id
  19462. type: integer
  19463. orderid:
  19464. description: 委托单号
  19465. type: string
  19466. orderprice:
  19467. description: 委托价格
  19468. type: number
  19469. orderqty:
  19470. description: 委托数量
  19471. type: integer
  19472. userid:
  19473. description: 用户id
  19474. type: integer
  19475. username:
  19476. description: 用户名称(已脱敏)
  19477. type: string
  19478. type: object
  19479. models.WrTypeItem:
  19480. properties:
  19481. name:
  19482. description: 名称
  19483. type: string
  19484. value:
  19485. description: 值
  19486. type: string
  19487. type: object
  19488. models.WrUserFriend:
  19489. properties:
  19490. friendname:
  19491. description: 朋友名称(已脱敏)
  19492. type: string
  19493. frienduserid:
  19494. description: 朋友id
  19495. type: integer
  19496. isfriend:
  19497. description: 是否好友 0-不是 1-是
  19498. type: integer
  19499. userid:
  19500. description: 用户id
  19501. type: integer
  19502. type: object
  19503. models.WrUserReceiptInfo:
  19504. properties:
  19505. address:
  19506. description: 地址[发票类型:企业]
  19507. type: string
  19508. autoid:
  19509. description: AutoID
  19510. type: integer
  19511. contactinfo:
  19512. description: 联系方式
  19513. type: string
  19514. idnum:
  19515. description: 身份证号码[发票类型:个人]
  19516. type: string
  19517. isdefault:
  19518. description: 是否默认地址 - 0:否 1:是
  19519. type: integer
  19520. receiptaccount:
  19521. description: 发票帐号[发票类型:企业]
  19522. type: string
  19523. receiptbank:
  19524. description: 发票开户行[发票类型:企业]
  19525. type: string
  19526. receipttype:
  19527. description: 发票类型 - 1:个人 2:企业
  19528. type: integer
  19529. taxpayerid:
  19530. description: 纳税人识别号
  19531. type: string
  19532. userid:
  19533. description: 用户ID
  19534. type: integer
  19535. username:
  19536. description: 户名(个人姓名或企业名称)
  19537. type: string
  19538. type: object
  19539. models.Wrtradetradequote:
  19540. properties:
  19541. begindate:
  19542. description: 开始日期(结果含开始日期) yyyymmdd
  19543. type: string
  19544. buyaccountid:
  19545. description: 买方账号ID
  19546. type: integer
  19547. buyuserid:
  19548. description: 买方用户ID
  19549. type: integer
  19550. deliverygoodsid:
  19551. description: 现货品种ID
  19552. type: integer
  19553. enddate:
  19554. description: 结束日期(结果含结束日期) yyyymmdd
  19555. type: string
  19556. marketid:
  19557. description: 市场ID
  19558. type: integer
  19559. sellaccountid:
  19560. description: 卖方账号ID
  19561. type: integer
  19562. selluserid:
  19563. description: 卖方用户ID
  19564. type: integer
  19565. tradeamount:
  19566. description: 成交金额
  19567. type: number
  19568. tradedate:
  19569. description: 交易日(yyyyMMdd)
  19570. type: string
  19571. tradeprice:
  19572. description: 成交价格
  19573. type: number
  19574. tradeqty:
  19575. description: 成交数量
  19576. type: integer
  19577. tradetime:
  19578. description: 成交时间
  19579. type: string
  19580. wrfactortypeid:
  19581. description: 仓单要素类型ID
  19582. type: integer
  19583. wrstandardid:
  19584. description: 现货商品ID
  19585. type: integer
  19586. wrtradedetailid:
  19587. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19588. type: string
  19589. type: object
  19590. models.XHBRAND:
  19591. properties:
  19592. brandid:
  19593. description: 品牌id
  19594. type: integer
  19595. brandname:
  19596. description: 品牌名称
  19597. type: string
  19598. isvalid:
  19599. description: 是否有效 0-无效 1-有效
  19600. type: integer
  19601. type: object
  19602. models.XHDeliveryGoods:
  19603. properties:
  19604. areauserid:
  19605. description: 所属机构
  19606. type: integer
  19607. bdlst:
  19608. description: 品牌列表
  19609. items:
  19610. $ref: '#/definitions/models.XHBRAND'
  19611. type: array
  19612. deliverygoodscode:
  19613. description: 现货品种代码
  19614. type: string
  19615. deliverygoodsid:
  19616. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19617. type: integer
  19618. deliverygoodsname:
  19619. description: 现货品种名称
  19620. type: string
  19621. dgstatus:
  19622. description: 品种状态 - 作废 - 0:未激活 1:正常
  19623. type: integer
  19624. filterSubEmpty:
  19625. description: 过滤下级为空的
  19626. type: integer
  19627. isvalid:
  19628. description: 是否有效 - 0:无效 1:有效
  19629. type: integer
  19630. remark:
  19631. description: 备注
  19632. type: string
  19633. unitid:
  19634. description: 单位id(目前看,数据库中是空值)
  19635. type: integer
  19636. wdlst:
  19637. description: 品类(现货商品)列表
  19638. items:
  19639. $ref: '#/definitions/models.XHWrstandard'
  19640. type: array
  19641. type: object
  19642. models.XHMiddleGoods:
  19643. properties:
  19644. GPLST:
  19645. description: 期货品种列表
  19646. items:
  19647. $ref: '#/definitions/models.TBGoodsGroup'
  19648. type: array
  19649. convertratio:
  19650. description: 拆算系数
  19651. type: number
  19652. costratio:
  19653. description: 成本权重
  19654. type: number
  19655. deliverygoodsid:
  19656. description: 现货商品id
  19657. type: integer
  19658. enumdicname:
  19659. description: 单位名称
  19660. type: string
  19661. middlegoodscode:
  19662. description: 套保品种代码
  19663. type: string
  19664. middlegoodsid:
  19665. description: 套保品种id
  19666. type: integer
  19667. middlegoodsname:
  19668. description: 套保品种名称
  19669. type: string
  19670. unitid:
  19671. description: 单位id
  19672. type: integer
  19673. type: object
  19674. models.XHWrstandard:
  19675. properties:
  19676. bannerpicurl:
  19677. description: banner图
  19678. type: string
  19679. deliverygoodsid:
  19680. description: 品种ID
  19681. type: integer
  19682. enumdicname:
  19683. description: 单位名称
  19684. type: string
  19685. mglst:
  19686. description: 套保品列表
  19687. items:
  19688. $ref: '#/definitions/models.XHMiddleGoods'
  19689. type: array
  19690. pictureurls:
  19691. description: 详情图片(逗号分隔)
  19692. type: string
  19693. thumurls:
  19694. description: 缩略图片(1:1)(逗号分隔)
  19695. type: string
  19696. unitid:
  19697. description: 单位id
  19698. type: integer
  19699. vatrate:
  19700. description: 增值税率
  19701. type: number
  19702. wrstandardcode:
  19703. description: 现货商品代码
  19704. type: string
  19705. wrstandardid:
  19706. description: 现货商品ID(SEQ_WRSTANDARD)
  19707. type: integer
  19708. wrstandardname:
  19709. description: 现货商品名称
  19710. type: string
  19711. type: object
  19712. models.XhcpSellBackApplyEx:
  19713. properties:
  19714. applyremark:
  19715. description: 申请备注
  19716. type: string
  19717. expirytype:
  19718. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19719. type: integer
  19720. goodsspec:
  19721. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19722. type: integer
  19723. holeflag:
  19724. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19725. type: integer
  19726. isunopened:
  19727. description: 是否原封 - 1:否 2:是
  19728. type: integer
  19729. mpflag:
  19730. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19731. type: integer
  19732. openflag:
  19733. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19734. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19735. type: integer
  19736. phonenum:
  19737. description: 联系电话
  19738. type: string
  19739. userid:
  19740. description: 所属用户ID
  19741. type: integer
  19742. zpflag:
  19743. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19744. type: integer
  19745. required:
  19746. - userid
  19747. type: object
  19748. models.Xhcpsellbackapply:
  19749. properties:
  19750. applyid:
  19751. description: 申请人
  19752. type: integer
  19753. applyremark:
  19754. description: 申请备注
  19755. type: string
  19756. applysrc:
  19757. description: 申请来源 - 1:管理端 2:终端
  19758. type: integer
  19759. applystatus:
  19760. description: 申请状态 - 1:待确认 2:已处理
  19761. type: integer
  19762. applytime:
  19763. description: 申请时间
  19764. type: string
  19765. auditremark:
  19766. description: 审核备注
  19767. type: string
  19768. auditsrc:
  19769. description: 审核来源 - 1:管理端 2:终端
  19770. type: integer
  19771. expirytype:
  19772. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19773. type: integer
  19774. goodsspec:
  19775. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19776. type: integer
  19777. holeflag:
  19778. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19779. type: integer
  19780. isunopened:
  19781. description: 是否原封 - 1:否 2:是
  19782. type: integer
  19783. mpflag:
  19784. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19785. type: integer
  19786. openflag:
  19787. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19788. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19789. type: integer
  19790. phonenum:
  19791. description: 联系电话
  19792. type: string
  19793. sellbackapplyid:
  19794. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19795. type: string
  19796. userid:
  19797. description: 所属用户ID
  19798. type: integer
  19799. zpflag:
  19800. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19801. type: integer
  19802. required:
  19803. - userid
  19804. type: object
  19805. order.QueryHisTradeDetailRsp:
  19806. properties:
  19807. accountid:
  19808. description: 账户ID[报价币种]
  19809. type: integer
  19810. advanceratio:
  19811. description: 首付比率
  19812. type: number
  19813. buildtype:
  19814. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19815. type: integer
  19816. buyorsell:
  19817. description: 方向 - 0:买 1:卖
  19818. type: integer
  19819. charge:
  19820. description: 手续费
  19821. type: number
  19822. closecharge:
  19823. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19824. type: number
  19825. closeexchagechargevalue:
  19826. description: 平仓交易所手续费设置值
  19827. type: number
  19828. closefeealgorithm:
  19829. description: 平仓手续费收取方式 1:比率 2:固定
  19830. type: integer
  19831. closememberchargevalue:
  19832. description: 平仓会员手续费设置值
  19833. type: number
  19834. closepl:
  19835. description: 平仓盈亏
  19836. type: number
  19837. closepl2:
  19838. description: 平仓盈亏[逐笔]
  19839. type: number
  19840. closeqty:
  19841. description: 平仓数量(先建后平操作 需要记录)
  19842. type: number
  19843. creditamount:
  19844. description: 授信金额
  19845. type: number
  19846. decimalplace:
  19847. description: 商品报价小数位
  19848. type: integer
  19849. enumdicname:
  19850. description: 单位名称
  19851. type: string
  19852. gcaccountid:
  19853. description: 账户ID[合约币种]
  19854. type: integer
  19855. goodscode:
  19856. description: 商品代码
  19857. type: string
  19858. goodsid:
  19859. description: 商品ID
  19860. type: integer
  19861. goodsname:
  19862. description: 商品名称
  19863. type: string
  19864. goodunitid:
  19865. description: 商品单位id
  19866. type: integer
  19867. histradedate:
  19868. description: 历史交易日
  19869. type: string
  19870. intclosepl:
  19871. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19872. type: integer
  19873. isconfirmexercise:
  19874. description: 是否确认行权- 0:否 1:是
  19875. type: integer
  19876. ismain:
  19877. description: 是否主单 - 0:不是 1:是
  19878. type: integer
  19879. ispreexercise:
  19880. description: 是否预申报- 0:否 1:是
  19881. type: integer
  19882. isreckoned:
  19883. description: 是否结算 - 0:未结算 1:已结算
  19884. type: integer
  19885. isvaliddata:
  19886. description: 是否有效 - 0:无效 1:有效
  19887. type: integer
  19888. listingselecttype:
  19889. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19890. type: integer
  19891. marketid:
  19892. description: 市场ID
  19893. type: integer
  19894. marketname:
  19895. description: 市场名称
  19896. type: string
  19897. matchaccountid:
  19898. description: 对手账号id
  19899. type: integer
  19900. memberuserid:
  19901. description: 会员id 个人投资者 需要填写
  19902. type: integer
  19903. opencharge:
  19904. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19905. type: number
  19906. openexchagechargevalue:
  19907. description: 建仓交易所手续费设置值
  19908. type: number
  19909. openfeealgorithm:
  19910. description: 建仓手续费收取方式 1:比率 2:固定
  19911. type: integer
  19912. openmemberchargevalue:
  19913. description: 建仓会员手续费设置值
  19914. type: number
  19915. openqty:
  19916. description: 开仓数量(先建后平操作 需要记录)
  19917. type: number
  19918. optiontype:
  19919. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19920. type: integer
  19921. orderid:
  19922. description: 委托单号
  19923. type: string
  19924. payamount:
  19925. description: 支付金额(付款金额)
  19926. type: number
  19927. performanceplanid:
  19928. description: 履约计划ID[期权]
  19929. type: integer
  19930. performancestatus:
  19931. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19932. type: integer
  19933. preexerciseprice:
  19934. description: 预申报价格
  19935. type: number
  19936. premium:
  19937. description: 权利金 - [持仓单的权利金]
  19938. type: number
  19939. qtydecimalplace:
  19940. description: 商品报价小数位
  19941. type: integer
  19942. recvamount:
  19943. description: 到账金额 = 成交金额 - 手续费
  19944. type: number
  19945. relatedouttradeid:
  19946. description: 关联外部成交单ID
  19947. type: integer
  19948. status:
  19949. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19950. type: integer
  19951. totalamount:
  19952. description: 订单总额 = 成交金额 + 手续费
  19953. type: number
  19954. tradeamount:
  19955. description: 成交金额[账户币种,用于所有权]
  19956. type: number
  19957. tradedate:
  19958. description: 交易日(yyyyMMdd)
  19959. type: string
  19960. tradeid:
  19961. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19962. type: string
  19963. trademode:
  19964. description: 交易模式
  19965. type: integer
  19966. tradeprice:
  19967. description: 成交价格
  19968. type: number
  19969. tradeproperty:
  19970. description: 交易属性
  19971. type: integer
  19972. tradeqty:
  19973. description: 成交数量
  19974. type: number
  19975. tradetime:
  19976. description: 成交时间
  19977. type: string
  19978. tradetype:
  19979. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19980. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19981. type: integer
  19982. required:
  19983. - accountid
  19984. - buyorsell
  19985. - goodsid
  19986. - histradedate
  19987. - marketid
  19988. - memberuserid
  19989. - orderid
  19990. - tradeamount
  19991. - tradedate
  19992. - tradeid
  19993. - tradeprice
  19994. - tradeqty
  19995. - tradetime
  19996. type: object
  19997. order.QueryHisTradeOrderDetailRsp:
  19998. properties:
  19999. accountid:
  20000. description: 账户ID[报价币种]
  20001. type: integer
  20002. buildtype:
  20003. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20004. type: integer
  20005. buyorsell:
  20006. description: 买卖 - 0:买 1:卖
  20007. type: integer
  20008. cancelorderid:
  20009. description: 撤单单号(撤单时填写)
  20010. type: string
  20011. cancelqty:
  20012. description: 撤单数量
  20013. type: number
  20014. clientordertime:
  20015. description: 客户端委托时间
  20016. type: string
  20017. clientticket:
  20018. description: 客户端流水号
  20019. type: string
  20020. clienttype:
  20021. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20022. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20023. type: integer
  20024. closeexchagechargevalue:
  20025. description: 平仓交易所手续费设置值
  20026. type: number
  20027. closefeealgorithm:
  20028. description: 平仓手续费收取方式 1:比率 2:固定
  20029. type: integer
  20030. closefreezecharge:
  20031. description: 平仓冻结手续费(先建后平操作,需要记录)
  20032. type: number
  20033. closememberchargevalue:
  20034. description: 平仓会员手续费设置值
  20035. type: number
  20036. closeqty:
  20037. description: 平仓数量(先建后平操作 需要记录)
  20038. type: number
  20039. closetradeqty:
  20040. description: 平仓成交数量(先建后平操作,需要记录)
  20041. type: number
  20042. closeunfreezecharge:
  20043. description: 平仓解冻手续费(先建后平操作,需要记录)
  20044. type: number
  20045. decimalplace:
  20046. description: 商品报价小数位
  20047. type: integer
  20048. delistingtype:
  20049. description: 摘牌类型 - 1:价格最优 2:点选成交
  20050. type: integer
  20051. enumdicname:
  20052. description: 单位名称
  20053. type: string
  20054. freezecharge:
  20055. description: 冻结手续费
  20056. type: number
  20057. freezemargin:
  20058. description: 冻结保证金(冻结交易金额)
  20059. type: number
  20060. gcaccountid:
  20061. description: 账户ID[合约币种]
  20062. type: integer
  20063. goodscode:
  20064. description: 商品代码
  20065. type: string
  20066. goodsid:
  20067. description: 商品ID
  20068. type: integer
  20069. goodsname:
  20070. description: 商品名称
  20071. type: string
  20072. goodunitid:
  20073. description: 商品单位id
  20074. type: integer
  20075. histradedate:
  20076. description: 历史交易日
  20077. type: string
  20078. isconfirmexercise:
  20079. description: 是否确认行权- 0:否 1:是
  20080. type: integer
  20081. ispreexercise:
  20082. description: 是否预申报- 0:否 1:是
  20083. type: integer
  20084. isvaliddata:
  20085. description: 是否有效 - 0:无效 1:有效
  20086. type: integer
  20087. listingselecttype:
  20088. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20089. type: integer
  20090. marginalgorithm:
  20091. description: 保证金收取方式 1:比率 2:固定
  20092. type: integer
  20093. marginvalue:
  20094. description: 即市保证金设置值
  20095. type: number
  20096. marketid:
  20097. description: 市场ID
  20098. type: integer
  20099. marketmaxsub:
  20100. description: 市价最大偏移范围
  20101. type: number
  20102. marketname:
  20103. description: 市场名称
  20104. type: string
  20105. memberuserid:
  20106. description: 所属会员UserID
  20107. type: integer
  20108. openexchagechargevalue:
  20109. description: 建仓交易所手续费设置值
  20110. type: number
  20111. openfeealgorithm:
  20112. description: 建仓手续费收取方式 1:比率 2:固定
  20113. type: integer
  20114. openfreezecharge:
  20115. description: 开仓冻结手续费(先建后平操作,需要记录)
  20116. type: number
  20117. openmemberchargevalue:
  20118. description: 建仓会员手续费设置值
  20119. type: number
  20120. openqty:
  20121. description: 开仓数量(先建后平操作,需要记录)
  20122. type: number
  20123. opentradeqty:
  20124. description: 开仓成交数量(先建后平操作,需要记录)
  20125. type: number
  20126. openunfreezecharge:
  20127. description: 开仓解冻手续费(先建后平操作,需要记录)
  20128. type: number
  20129. operatetype:
  20130. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20131. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20132. 15:管理端协议转让
  20133. type: integer
  20134. operatorid:
  20135. description: 登录账号(LoginID)
  20136. type: integer
  20137. optiontype:
  20138. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20139. type: integer
  20140. orderid:
  20141. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20142. type: string
  20143. orderprice:
  20144. description: 委托价格
  20145. type: number
  20146. orderqty:
  20147. description: 委托数量
  20148. type: number
  20149. ordersrc:
  20150. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20151. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20152. type: integer
  20153. orderstatus:
  20154. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20155. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20156. 16:成交失败违约(荷兰式竞拍专用)
  20157. type: integer
  20158. ordertime:
  20159. description: 委托时间
  20160. type: string
  20161. preexerciseprice:
  20162. description: 预申报价格
  20163. type: number
  20164. premium:
  20165. description: 权利金
  20166. type: number
  20167. preorderid:
  20168. description: 关联预埋单号(止盈止损单时填写)
  20169. type: string
  20170. pricemode:
  20171. description: '取价方式 - 1:市价 2: 限价'
  20172. type: integer
  20173. qtydecimalplace:
  20174. description: 成交量小数位
  20175. type: integer
  20176. quoteid:
  20177. description: 报价单ID
  20178. type: integer
  20179. relatedid:
  20180. description: 关联单号(交割单)
  20181. type: string
  20182. retcode:
  20183. description: 错误代码
  20184. type: integer
  20185. sessionid:
  20186. description: 会话ID
  20187. type: integer
  20188. tradedate:
  20189. description: 交易日(yyyyMMdd)
  20190. type: string
  20191. trademode:
  20192. description: 交易模式
  20193. type: integer
  20194. tradeproperty:
  20195. description: 交易属性
  20196. type: integer
  20197. tradeqty:
  20198. description: 成交数量
  20199. type: number
  20200. unfreezecharge:
  20201. description: 解冻手续费
  20202. type: number
  20203. unfreezemargin:
  20204. description: 解冻保证金
  20205. type: number
  20206. updatetime:
  20207. description: 更新时间
  20208. type: string
  20209. uuid:
  20210. description: 发起端唯一id
  20211. type: string
  20212. validtime:
  20213. description: 有效期限
  20214. type: string
  20215. validtype:
  20216. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20217. type: integer
  20218. volumetype:
  20219. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20220. type: integer
  20221. required:
  20222. - accountid
  20223. - buildtype
  20224. - buyorsell
  20225. - goodsid
  20226. - histradedate
  20227. - marketid
  20228. - memberuserid
  20229. - operatetype
  20230. - orderid
  20231. - orderqty
  20232. - ordertime
  20233. - pricemode
  20234. - tradedate
  20235. - validtype
  20236. type: object
  20237. order.QueryTradeDetailRsp:
  20238. properties:
  20239. accountid:
  20240. description: 账户ID[报价币种]
  20241. type: integer
  20242. advanceratio:
  20243. description: 首付比率
  20244. type: number
  20245. buildtype:
  20246. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20247. type: integer
  20248. buyorsell:
  20249. description: 方向 - 0:买 1:卖
  20250. type: integer
  20251. charge:
  20252. description: 手续费
  20253. type: number
  20254. closecharge:
  20255. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20256. type: number
  20257. closeexchagechargevalue:
  20258. description: 平仓交易所手续费设置值
  20259. type: number
  20260. closefeealgorithm:
  20261. description: 平仓手续费收取方式 1:比率 2:固定
  20262. type: integer
  20263. closememberchargevalue:
  20264. description: 平仓会员手续费设置值
  20265. type: number
  20266. closepl:
  20267. description: 平仓盈亏
  20268. type: number
  20269. closepl2:
  20270. description: 平仓盈亏[逐笔]
  20271. type: number
  20272. closeqty:
  20273. description: 平仓数量(先建后平操作 需要记录)
  20274. type: number
  20275. creditamount:
  20276. description: 授信金额
  20277. type: number
  20278. decimalplace:
  20279. description: 商品报价小数位
  20280. type: integer
  20281. enumdicname:
  20282. description: 单位名称
  20283. type: string
  20284. gcaccountid:
  20285. description: 账户ID[合约币种]
  20286. type: integer
  20287. goodscode:
  20288. description: 商品代码
  20289. type: string
  20290. goodsid:
  20291. description: 商品ID
  20292. type: integer
  20293. goodsname:
  20294. description: 商品名称
  20295. type: string
  20296. goodunitid:
  20297. description: 商品单位id
  20298. type: integer
  20299. intclosepl:
  20300. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20301. type: integer
  20302. isconfirmexercise:
  20303. description: 是否确认行权- 0:否 1:是
  20304. type: integer
  20305. ismain:
  20306. description: 是否主单 - 0:不是 1:是
  20307. type: integer
  20308. ispreexercise:
  20309. description: 是否预申报- 0:否 1:是
  20310. type: integer
  20311. isreckoned:
  20312. description: 是否结算 - 0:未结算 1:已结算
  20313. type: integer
  20314. listingselecttype:
  20315. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20316. type: integer
  20317. marketid:
  20318. description: 市场ID
  20319. type: integer
  20320. marketname:
  20321. description: 市场名称
  20322. type: string
  20323. matchaccountid:
  20324. description: 对手账号id
  20325. type: integer
  20326. memberuserid:
  20327. description: 会员id 个人投资者 需要填写
  20328. type: integer
  20329. opencharge:
  20330. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20331. type: number
  20332. openexchagechargevalue:
  20333. description: 建仓交易所手续费设置值
  20334. type: number
  20335. openfeealgorithm:
  20336. description: 建仓手续费收取方式 1:比率 2:固定
  20337. type: integer
  20338. openmemberchargevalue:
  20339. description: 建仓会员手续费设置值
  20340. type: number
  20341. openqty:
  20342. description: 开仓数量(先建后平操作 需要记录)
  20343. type: number
  20344. optiontype:
  20345. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20346. type: integer
  20347. orderid:
  20348. description: 委托单号
  20349. type: string
  20350. payamount:
  20351. description: 支付金额(付款金额)
  20352. type: number
  20353. performanceplanid:
  20354. description: 履约计划ID[期权]
  20355. type: integer
  20356. performancestatus:
  20357. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20358. type: integer
  20359. preexerciseprice:
  20360. description: 预申报价格
  20361. type: number
  20362. premium:
  20363. description: 权利金 - [持仓单的权利金]
  20364. type: number
  20365. qtydecimalplace:
  20366. description: 商品报价小数位
  20367. type: integer
  20368. recvamount:
  20369. description: 到账金额 = 成交金额 - 手续费
  20370. type: number
  20371. relatedouttradeid:
  20372. description: 关联外部成交单ID
  20373. type: integer
  20374. status:
  20375. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20376. type: integer
  20377. totalamount:
  20378. description: 订单总额 = 成交金额 + 手续费
  20379. type: number
  20380. tradeamount:
  20381. description: 成交金额[账户币种,用于所有权]
  20382. type: number
  20383. tradedate:
  20384. description: 交易日(yyyyMMdd)
  20385. type: string
  20386. tradeid:
  20387. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20388. type: string
  20389. trademode:
  20390. description: 交易模式
  20391. type: integer
  20392. tradeprice:
  20393. description: 成交价格
  20394. type: number
  20395. tradeproperty:
  20396. description: 交易属性
  20397. type: integer
  20398. tradeqty:
  20399. description: 成交数量
  20400. type: number
  20401. tradetime:
  20402. description: 成交时间
  20403. type: string
  20404. tradetype:
  20405. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20406. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20407. type: integer
  20408. required:
  20409. - accountid
  20410. - buyorsell
  20411. - goodsid
  20412. - marketid
  20413. - memberuserid
  20414. - orderid
  20415. - tradeamount
  20416. - tradedate
  20417. - tradeid
  20418. - tradeprice
  20419. - tradeqty
  20420. - tradetime
  20421. type: object
  20422. order.QueryTradeOrderDetailRsp:
  20423. properties:
  20424. accountid:
  20425. description: 账户ID[报价币种]
  20426. type: integer
  20427. buildtype:
  20428. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20429. type: integer
  20430. buyorsell:
  20431. description: 买卖 - 0:买 1:卖
  20432. type: integer
  20433. cancelorderid:
  20434. description: 撤单单号(撤单时填写)
  20435. type: string
  20436. cancelqty:
  20437. description: 撤单数量
  20438. type: number
  20439. clienttype:
  20440. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20441. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20442. type: integer
  20443. closefreezecharge:
  20444. description: 平仓冻结手续费(先建后平操作,需要记录)
  20445. type: number
  20446. closeqty:
  20447. description: 平仓数量(先建后平操作 需要记录)
  20448. type: number
  20449. closetradeqty:
  20450. description: 平仓成交数量(先建后平操作,需要记录)
  20451. type: number
  20452. closeunfreezecharge:
  20453. description: 平仓解冻手续费(先建后平操作,需要记录)
  20454. type: number
  20455. decimalplace:
  20456. description: 商品报价小数位
  20457. type: integer
  20458. delistingtype:
  20459. description: 摘牌类型 - 1:价格最优 2:点选成交
  20460. type: integer
  20461. enableqty:
  20462. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20463. type: number
  20464. enumdicname:
  20465. description: 单位名称
  20466. type: string
  20467. freezecharge:
  20468. description: 冻结手续费
  20469. type: number
  20470. freezemargin:
  20471. description: 冻结保证金(冻结交易金额)
  20472. type: number
  20473. goodscode:
  20474. description: 商品代码
  20475. type: string
  20476. goodsid:
  20477. description: 商品ID
  20478. type: integer
  20479. goodsname:
  20480. description: 商品名称
  20481. type: string
  20482. goodunitid:
  20483. description: 商品单位id
  20484. type: integer
  20485. listingselecttype:
  20486. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20487. type: integer
  20488. marketid:
  20489. description: 市场ID
  20490. type: integer
  20491. marketname:
  20492. description: 市场名称
  20493. type: string
  20494. openfreezecharge:
  20495. description: 开仓冻结手续费(先建后平操作,需要记录)
  20496. type: number
  20497. openqty:
  20498. description: 开仓数量(先建后平操作,需要记录)
  20499. type: number
  20500. opentradeqty:
  20501. description: 开仓成交数量(先建后平操作,需要记录)
  20502. type: number
  20503. openunfreezecharge:
  20504. description: 开仓解冻手续费(先建后平操作,需要记录)
  20505. type: number
  20506. operatetype:
  20507. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20508. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20509. 15:管理端协议转让
  20510. type: integer
  20511. operatorid:
  20512. description: 登录账号(LoginID)
  20513. type: integer
  20514. orderid:
  20515. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20516. type: string
  20517. orderprice:
  20518. description: 委托价格
  20519. type: number
  20520. orderqty:
  20521. description: 委托数量
  20522. type: number
  20523. ordersrc:
  20524. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20525. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20526. type: integer
  20527. orderstatus:
  20528. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20529. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20530. 16:成交失败违约(荷兰式竞拍专用)
  20531. type: integer
  20532. ordertime:
  20533. description: 委托时间
  20534. type: string
  20535. preorderid:
  20536. description: 关联预埋单号(止盈止损单时填写)
  20537. type: string
  20538. pricemode:
  20539. description: '取价方式 - 1:市价 2: 限价'
  20540. type: integer
  20541. qtydecimalplace:
  20542. description: 商品报价小数位
  20543. type: integer
  20544. relatedid:
  20545. description: 关联单号(交割单)
  20546. type: string
  20547. tradedate:
  20548. description: 交易日(yyyyMMdd)
  20549. type: string
  20550. trademode:
  20551. description: 交易模式
  20552. type: integer
  20553. tradeqty:
  20554. description: 成交数量
  20555. type: number
  20556. unfreezecharge:
  20557. description: 解冻手续费
  20558. type: number
  20559. unfreezemargin:
  20560. description: 解冻保证金
  20561. type: number
  20562. validtime:
  20563. description: 有效期限
  20564. type: string
  20565. validtype:
  20566. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20567. type: integer
  20568. volumetype:
  20569. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20570. type: integer
  20571. required:
  20572. - accountid
  20573. - buildtype
  20574. - buyorsell
  20575. - goodsid
  20576. - marketid
  20577. - operatetype
  20578. - orderqty
  20579. - ordertime
  20580. - pricemode
  20581. - tradedate
  20582. - validtype
  20583. type: object
  20584. order.QueryTradePositionRsp:
  20585. properties:
  20586. accountid:
  20587. description: 资金账户
  20588. type: integer
  20589. agreeunit:
  20590. description: 合约单位
  20591. type: number
  20592. averageprice:
  20593. description: 持仓均价
  20594. type: number
  20595. buyorsell:
  20596. description: 方向 - 0:买 1:卖
  20597. type: integer
  20598. closetotalqty:
  20599. description: 平仓总数量
  20600. type: number
  20601. curholderamount:
  20602. description: 当前持仓总金额[商品币种]
  20603. type: number
  20604. curpositionqty:
  20605. description: 当前持仓总数量
  20606. type: number
  20607. currencyid:
  20608. description: 报价货币ID
  20609. type: integer
  20610. curtdposition:
  20611. description: 期末今日头寸
  20612. type: number
  20613. decimalplace:
  20614. description: 报价小数位
  20615. type: integer
  20616. enableqty:
  20617. description: 可用量
  20618. type: number
  20619. fretdposition:
  20620. description: 冻结今日头寸
  20621. type: number
  20622. frozenqty:
  20623. description: 持仓冻结数量
  20624. type: number
  20625. goodscode:
  20626. description: 商品代码
  20627. type: string
  20628. goodsid:
  20629. description: 商品Id
  20630. type: integer
  20631. goodsname:
  20632. description: 商品名称
  20633. type: string
  20634. goodunit:
  20635. description: 报价单位
  20636. type: string
  20637. goodunitid:
  20638. description: 报价单位ID
  20639. type: integer
  20640. holderamount:
  20641. description: 期初持仓总金额[商品币种]
  20642. type: number
  20643. lastprice:
  20644. description: 最新价
  20645. type: number
  20646. marketamount:
  20647. description: 市值
  20648. type: number
  20649. marketid:
  20650. description: 所属市场ID
  20651. type: integer
  20652. openreqqty:
  20653. description: 开仓申请数量(用于比较最大持仓数量)
  20654. type: number
  20655. opentotalqty:
  20656. description: 开仓总数量
  20657. type: number
  20658. otherfrozenqty:
  20659. description: 持仓其他冻结数量(交割冻结)
  20660. type: number
  20661. positionpl:
  20662. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20663. * 合约单位
  20664. type: number
  20665. positionplrate:
  20666. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20667. type: number
  20668. positionqty:
  20669. description: 期初持仓数量
  20670. type: number
  20671. qtydecimalplace:
  20672. description: 成交量小数位
  20673. type: integer
  20674. refgoodscode:
  20675. description: 参考商品代码
  20676. type: string
  20677. refgoodsid:
  20678. description: 参考商品ID
  20679. type: integer
  20680. tnqty:
  20681. description: T+N冻结总量
  20682. type: number
  20683. tnusedqty:
  20684. description: T+N使用量(可以使用T+N的冻结数量)
  20685. type: number
  20686. trademode:
  20687. description: 交易模式
  20688. type: integer
  20689. tradeproperty:
  20690. description: 交易属性
  20691. type: integer
  20692. usedmargin:
  20693. description: 占用保证金[商品币种]
  20694. type: number
  20695. required:
  20696. - goodsid
  20697. type: object
  20698. pb.GoodsMarginCfgStruct:
  20699. properties:
  20700. CustomerTypeID:
  20701. description: 投资者客户类型
  20702. type: integer
  20703. GoodsID:
  20704. description: 商品ID
  20705. type: integer
  20706. IsDefault:
  20707. description: 是否默认标志位
  20708. type: integer
  20709. LockMarginValue:
  20710. description: 锁仓保证金
  20711. type: number
  20712. MarginAlgorithm:
  20713. description: 保证金计算方式
  20714. type: integer
  20715. MarketMarginValue:
  20716. description: 即市保证金值
  20717. type: number
  20718. RealMarginAlgorithm:
  20719. description: 实付保证金计算方式
  20720. type: integer
  20721. RealMarginValue:
  20722. description: 实付比例
  20723. type: number
  20724. ReckonMarginValue:
  20725. description: 结算保证金值
  20726. type: number
  20727. type: object
  20728. quote.HistoryData:
  20729. properties:
  20730. c:
  20731. description: 收盘价
  20732. type: number
  20733. f:
  20734. description: 是否补充数据
  20735. type: boolean
  20736. h:
  20737. description: 最高价
  20738. type: number
  20739. hv:
  20740. description: 持仓量
  20741. type: integer
  20742. l:
  20743. description: 最低价
  20744. type: number
  20745. o:
  20746. description: 开盘价
  20747. type: number
  20748. s:
  20749. description: 结算价,日线周期(包括)以上才有
  20750. type: number
  20751. ts:
  20752. description: 时间
  20753. type: string
  20754. tt:
  20755. description: 总金额
  20756. type: number
  20757. tv:
  20758. description: 总量(成交量)
  20759. type: integer
  20760. type: object
  20761. quote.HistoryTikData:
  20762. properties:
  20763. AV:
  20764. description: 卖量
  20765. type: integer
  20766. Ask:
  20767. description: 卖价
  20768. type: number
  20769. BV:
  20770. description: 买量
  20771. type: integer
  20772. Bid:
  20773. description: 买价
  20774. type: number
  20775. HI:
  20776. description: 单笔持仓
  20777. type: integer
  20778. HV:
  20779. description: 持仓量
  20780. type: integer
  20781. PE:
  20782. description: 现价
  20783. type: number
  20784. TDR:
  20785. description: 交易方向,0:买 1:卖
  20786. type: integer
  20787. TK:
  20788. description: 交易类型
  20789. type: integer
  20790. TS:
  20791. description: 行情时间文本
  20792. type: string
  20793. TT:
  20794. description: 现金额
  20795. type: number
  20796. Vol:
  20797. description: 现量
  20798. type: integer
  20799. type: object
  20800. quote.QueryQuoteDayRsp:
  20801. properties:
  20802. ask:
  20803. description: 卖1
  20804. type: number
  20805. ask2:
  20806. description: 卖2
  20807. type: number
  20808. ask3:
  20809. description: 卖3
  20810. type: number
  20811. ask4:
  20812. description: 卖4
  20813. type: number
  20814. ask5:
  20815. description: 卖5
  20816. type: number
  20817. ask6:
  20818. description: 卖6
  20819. type: number
  20820. ask7:
  20821. description: 卖7
  20822. type: number
  20823. ask8:
  20824. description: 卖8
  20825. type: number
  20826. ask9:
  20827. description: 卖9
  20828. type: number
  20829. ask10:
  20830. description: 卖10
  20831. type: number
  20832. askorderid:
  20833. description: 卖单号1
  20834. type: integer
  20835. askorderid2:
  20836. description: 卖单号2
  20837. type: integer
  20838. askorderid3:
  20839. description: 卖单号3
  20840. type: integer
  20841. askorderid4:
  20842. description: 卖单号4
  20843. type: integer
  20844. askorderid5:
  20845. description: 卖单号5
  20846. type: integer
  20847. askordervolume:
  20848. description: 卖单量1
  20849. type: integer
  20850. askordervolume2:
  20851. description: 卖单量2
  20852. type: integer
  20853. askordervolume3:
  20854. description: 卖单量3
  20855. type: integer
  20856. askordervolume4:
  20857. description: 卖单量4
  20858. type: integer
  20859. askordervolume5:
  20860. description: 卖单量5
  20861. type: integer
  20862. askordervolume6:
  20863. description: 卖单量6
  20864. type: integer
  20865. askordervolume7:
  20866. description: 卖单量7
  20867. type: integer
  20868. askordervolume8:
  20869. description: 卖单量8
  20870. type: integer
  20871. askordervolume9:
  20872. description: 卖单量9
  20873. type: integer
  20874. askordervolume10:
  20875. description: 卖单量10
  20876. type: integer
  20877. askqueueinfo:
  20878. description: 大利市卖港股用
  20879. type: string
  20880. askvolume:
  20881. description: 卖量1
  20882. type: integer
  20883. askvolume2:
  20884. description: 卖量2
  20885. type: integer
  20886. askvolume3:
  20887. description: 卖量3
  20888. type: integer
  20889. askvolume4:
  20890. description: 卖量4
  20891. type: integer
  20892. askvolume5:
  20893. description: 卖量5
  20894. type: integer
  20895. askvolume6:
  20896. description: 卖量6
  20897. type: integer
  20898. askvolume7:
  20899. description: 卖量7
  20900. type: integer
  20901. askvolume8:
  20902. description: 卖量8
  20903. type: integer
  20904. askvolume9:
  20905. description: 卖量9
  20906. type: integer
  20907. askvolume10:
  20908. description: 卖量10
  20909. type: integer
  20910. averageprice:
  20911. description: 均价
  20912. type: number
  20913. bid:
  20914. description: 买1
  20915. type: number
  20916. bid2:
  20917. description: 买2
  20918. type: number
  20919. bid3:
  20920. description: 买3
  20921. type: number
  20922. bid4:
  20923. description: 买4
  20924. type: number
  20925. bid5:
  20926. description: 买5
  20927. type: number
  20928. bid6:
  20929. description: 买6
  20930. type: number
  20931. bid7:
  20932. description: 买7
  20933. type: number
  20934. bid8:
  20935. description: 买8
  20936. type: number
  20937. bid9:
  20938. description: 买9
  20939. type: number
  20940. bid10:
  20941. description: 买10
  20942. type: number
  20943. bidorderid:
  20944. description: 买单号1
  20945. type: integer
  20946. bidorderid2:
  20947. description: 买单号2
  20948. type: integer
  20949. bidorderid3:
  20950. description: 买单号3
  20951. type: integer
  20952. bidorderid4:
  20953. description: 买单号4
  20954. type: integer
  20955. bidorderid5:
  20956. description: 买单号5
  20957. type: integer
  20958. bidordervolume:
  20959. description: 买单量1
  20960. type: integer
  20961. bidordervolume2:
  20962. description: 买单量2
  20963. type: integer
  20964. bidordervolume3:
  20965. description: 买单量3
  20966. type: integer
  20967. bidordervolume4:
  20968. description: 买单量4
  20969. type: integer
  20970. bidordervolume5:
  20971. description: 买单量5
  20972. type: integer
  20973. bidordervolume6:
  20974. description: 买单量6
  20975. type: integer
  20976. bidordervolume7:
  20977. description: 买单量7
  20978. type: integer
  20979. bidordervolume8:
  20980. description: 买单量8
  20981. type: integer
  20982. bidordervolume9:
  20983. description: 买单量9
  20984. type: integer
  20985. bidordervolume10:
  20986. description: 买单量10
  20987. type: integer
  20988. bidqueueinfo:
  20989. description: 大利市买港股用
  20990. type: string
  20991. bidvolume:
  20992. description: 买量1
  20993. type: integer
  20994. bidvolume2:
  20995. description: 买量2
  20996. type: integer
  20997. bidvolume3:
  20998. description: 买量3
  20999. type: integer
  21000. bidvolume4:
  21001. description: 买量4
  21002. type: integer
  21003. bidvolume5:
  21004. description: 买量5
  21005. type: integer
  21006. bidvolume6:
  21007. description: 买量6
  21008. type: integer
  21009. bidvolume7:
  21010. description: 买量7
  21011. type: integer
  21012. bidvolume8:
  21013. description: 买量8
  21014. type: integer
  21015. bidvolume9:
  21016. description: 买量9
  21017. type: integer
  21018. bidvolume10:
  21019. description: 买量10
  21020. type: integer
  21021. calloptionpremiums:
  21022. description: 认购期权1
  21023. type: integer
  21024. calloptionpremiums2:
  21025. description: 认购期权2
  21026. type: integer
  21027. calloptionpremiums3:
  21028. description: 认购期权3
  21029. type: integer
  21030. calloptionpremiums4:
  21031. description: 认购期权4
  21032. type: integer
  21033. calloptionpremiums5:
  21034. description: 认购期权5
  21035. type: integer
  21036. cleartime:
  21037. description: 清盘时间
  21038. type: integer
  21039. exchangecode:
  21040. description: 交易所代码
  21041. type: integer
  21042. exchangedate:
  21043. description: 交易日
  21044. type: integer
  21045. goodscode:
  21046. description: 商品代码
  21047. type: string
  21048. grepmarketprice:
  21049. description: 暗盘价 港股专用
  21050. type: number
  21051. highest:
  21052. description: 最高价
  21053. type: number
  21054. holdincrement:
  21055. description: 单笔持仓
  21056. type: integer
  21057. holdvolume:
  21058. description: 持仓
  21059. type: integer
  21060. iep:
  21061. description: 平衡价 港股专用
  21062. type: number
  21063. iev:
  21064. description: 平衡量 港股专用
  21065. type: number
  21066. inventory:
  21067. description: 库存
  21068. type: integer
  21069. iscleared:
  21070. description: 是否清盘标志
  21071. type: integer
  21072. issettled:
  21073. description: 是否结算标志
  21074. type: integer
  21075. last:
  21076. description: 最新价
  21077. type: number
  21078. lastlot:
  21079. description: 最新成交手数
  21080. type: integer
  21081. lasttime:
  21082. description: 行情时间(只有现价变化行情时间才变化)
  21083. type: string
  21084. lastturnover:
  21085. description: 最新成交金额
  21086. type: number
  21087. lastvolume:
  21088. description: 最新成交量
  21089. type: integer
  21090. limitdown:
  21091. description: 跌停价
  21092. type: number
  21093. limitup:
  21094. description: 涨停价
  21095. type: number
  21096. lowest:
  21097. description: 最低价
  21098. type: number
  21099. nontotalholdervolume:
  21100. description: 非交易持仓量
  21101. type: integer
  21102. nontotallot:
  21103. description: 非交易总手数
  21104. type: integer
  21105. nontotalturnover:
  21106. description: 非交易总金额
  21107. type: integer
  21108. nontotalvolume:
  21109. description: 非交易总量
  21110. type: integer
  21111. opened:
  21112. description: 开盘价
  21113. type: number
  21114. opentime:
  21115. description: 开盘时间
  21116. type: string
  21117. orderid:
  21118. description: 序号
  21119. type: integer
  21120. preclose:
  21121. description: 昨收
  21122. type: number
  21123. preholdvolume:
  21124. description: 昨持仓
  21125. type: integer
  21126. presettle:
  21127. description: 昨结价
  21128. type: number
  21129. publictradetype:
  21130. description: 公共交易标志类型 港股专用
  21131. type: string
  21132. putoptionpremiums:
  21133. description: 认沽期权1
  21134. type: integer
  21135. putoptionpremiums2:
  21136. description: 认沽期权2
  21137. type: integer
  21138. putoptionpremiums3:
  21139. description: 认沽期权3
  21140. type: integer
  21141. putoptionpremiums4:
  21142. description: 认沽期权4
  21143. type: integer
  21144. putoptionpremiums5:
  21145. description: 认沽期权5
  21146. type: integer
  21147. settle:
  21148. description: 结算价
  21149. type: number
  21150. strikeprice:
  21151. description: 发行价
  21152. type: number
  21153. totalaskvolume:
  21154. description: 内盘
  21155. type: integer
  21156. totalbidvolume:
  21157. description: 外盘
  21158. type: integer
  21159. totallot:
  21160. description: 总手数
  21161. type: integer
  21162. totalturnover:
  21163. description: 总金额
  21164. type: number
  21165. totalvolume:
  21166. description: 总量
  21167. type: integer
  21168. utclasttime:
  21169. description: utc的行情时间
  21170. type: string
  21171. type: object
  21172. quote.QueryTSDataRsp:
  21173. properties:
  21174. Count:
  21175. description: 交易日应有数据个数
  21176. type: integer
  21177. decimalPlace:
  21178. description: 小数位
  21179. type: integer
  21180. endTime:
  21181. description: 结束时间
  21182. type: string
  21183. goodsCode:
  21184. description: 商品代码
  21185. type: string
  21186. historyDatas:
  21187. description: 历史数据
  21188. items:
  21189. $ref: '#/definitions/quote.HistoryData'
  21190. type: array
  21191. outGoodsCode:
  21192. description: 外部商品代码
  21193. type: string
  21194. preSettle:
  21195. description: 昨结价
  21196. type: number
  21197. runSteps:
  21198. description: 交易日开休市计划
  21199. items:
  21200. $ref: '#/definitions/quote.TSDataRunStep'
  21201. type: array
  21202. startTime:
  21203. description: 开始时间
  21204. type: string
  21205. tradeDate:
  21206. description: 交易日
  21207. type: string
  21208. type: object
  21209. quote.TSDataRunStep:
  21210. properties:
  21211. end:
  21212. description: 真实结束时间
  21213. type: string
  21214. endflag:
  21215. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21216. type: integer
  21217. endtime:
  21218. description: 结束时间(HH:mm)
  21219. type: string
  21220. endweekday:
  21221. description: 结束周几
  21222. type: integer
  21223. groupid:
  21224. description: 分组ID
  21225. type: integer
  21226. runstep:
  21227. description: 运行阶段 - 2:连续交易
  21228. type: integer
  21229. sectionid:
  21230. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21231. 结束时间=结算时间 结束周几=结算周几
  21232. type: integer
  21233. start:
  21234. description: 真实开始时间
  21235. type: string
  21236. startflag:
  21237. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21238. type: integer
  21239. starttime:
  21240. description: 起始时间(HH:mm)
  21241. type: string
  21242. startweekday:
  21243. description: 起始周几
  21244. type: integer
  21245. tradeweekday:
  21246. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21247. type: integer
  21248. type: object
  21249. szdz.QueryConvertLogRsp:
  21250. properties:
  21251. accountid:
  21252. description: 资金账户ID
  21253. type: integer
  21254. clientticket:
  21255. description: 客户端流水号
  21256. type: string
  21257. converttype:
  21258. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21259. type: integer
  21260. createtime:
  21261. description: 记账时间
  21262. type: string
  21263. daymaxvalue:
  21264. description: 配置当日最大转入限制
  21265. type: number
  21266. daymaxvalue2:
  21267. description: 配置当日最大转入限制(转入)
  21268. type: number
  21269. goodscode:
  21270. description: 商品代码
  21271. type: string
  21272. goodsname:
  21273. description: 商品名称
  21274. type: string
  21275. handlestatus:
  21276. description: 处理状态
  21277. type: integer
  21278. innergoodsid:
  21279. description: 内部商品ID
  21280. type: integer
  21281. inratio:
  21282. description: 配置转入比值
  21283. type: integer
  21284. invalue:
  21285. description: 目标值
  21286. type: number
  21287. logid:
  21288. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21289. type: integer
  21290. mobile:
  21291. description: 手机号码(加密存储)
  21292. type: string
  21293. outergoodscode:
  21294. description: 外部商品代码[JD\PD]
  21295. type: string
  21296. outratio:
  21297. description: 配置转出比值
  21298. type: integer
  21299. outvalue:
  21300. description: 源值
  21301. type: number
  21302. pddecimalplace:
  21303. description: PD小数位
  21304. type: integer
  21305. qty:
  21306. description: 数量
  21307. type: string
  21308. remark:
  21309. description: 备注
  21310. type: string
  21311. sessionid:
  21312. description: 会话ID
  21313. type: integer
  21314. timemaxvalue:
  21315. description: 配置单次最大转入限制
  21316. type: number
  21317. timemaxvalue2:
  21318. description: 配置单次最大转入限制(转入)
  21319. type: number
  21320. timeminvalue:
  21321. description: 配置单次最小数量限制
  21322. type: number
  21323. timeminvalue2:
  21324. description: 配置单次最小数量限制(转入)
  21325. type: number
  21326. tradedate:
  21327. description: 交易日(yyyyMMdd)
  21328. type: string
  21329. userid:
  21330. description: 用户ID
  21331. type: integer
  21332. required:
  21333. - logid
  21334. type: object
  21335. szdz.QueryGoodsPickupRsp:
  21336. properties:
  21337. accountid:
  21338. description: 账户ID
  21339. type: integer
  21340. address:
  21341. description: 提货人详细地址
  21342. type: string
  21343. auditer:
  21344. description: 审核人
  21345. type: integer
  21346. audittime:
  21347. description: 审核时间
  21348. type: string
  21349. cardnum:
  21350. description: 提货人证件号码
  21351. type: string
  21352. cardtypeid:
  21353. description: 提货人证件类型
  21354. type: integer
  21355. checkremark:
  21356. description: 审核备注
  21357. type: string
  21358. goodscode:
  21359. description: 商品代码
  21360. type: string
  21361. goodsid:
  21362. description: 商品ID
  21363. type: integer
  21364. goodsname:
  21365. description: 商品名称
  21366. type: string
  21367. handlestatus:
  21368. description: 处理状态
  21369. type: integer
  21370. marketid:
  21371. description: 市场ID
  21372. type: integer
  21373. phonenum:
  21374. description: 提货人联系方式
  21375. type: string
  21376. qty:
  21377. description: 提货数量
  21378. type: number
  21379. recivername:
  21380. description: 提货人姓名
  21381. type: string
  21382. reqtime:
  21383. description: 更新时间
  21384. type: string
  21385. takemode:
  21386. description: 提货方式 - 2:自提 3:配送
  21387. type: integer
  21388. takeorderid:
  21389. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21390. type: string
  21391. takeorderstatus:
  21392. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21393. type: integer
  21394. takeremark:
  21395. description: 提货备注
  21396. type: string
  21397. tradedate:
  21398. description: 交易日(yyyyMMdd)
  21399. type: string
  21400. userid:
  21401. description: 用户ID
  21402. type: integer
  21403. required:
  21404. - takeorderid
  21405. type: object
  21406. szdz.QueryRecieptOrderRsp:
  21407. properties:
  21408. accountName:
  21409. description: 所属账号名称(已脱敏)
  21410. type: string
  21411. accountid:
  21412. description: 资金账号
  21413. type: integer
  21414. buyorsell:
  21415. description: 方向 - 0:买 1:卖
  21416. type: integer
  21417. enableqty:
  21418. description: 可摘数量
  21419. type: integer
  21420. goodscode:
  21421. description: 商品代码
  21422. type: string
  21423. goodsid:
  21424. description: 商品ID
  21425. type: integer
  21426. goodsname:
  21427. description: 商品名称
  21428. type: string
  21429. orderid:
  21430. description: 委托单号
  21431. type: string
  21432. orderprice:
  21433. description: 委托价格
  21434. type: number
  21435. ordertime:
  21436. description: 委托时间
  21437. type: string
  21438. tradedate:
  21439. description: 交易日(yyyyMMdd)
  21440. type: string
  21441. required:
  21442. - ordertime
  21443. type: object
  21444. szdz.QuerySZDZTradePositionRsp:
  21445. properties:
  21446. accountid:
  21447. description: 账号Id
  21448. type: integer
  21449. agreeunit:
  21450. description: 合约单位
  21451. type: number
  21452. averageprice:
  21453. description: 持仓均价
  21454. type: number
  21455. buyorsell:
  21456. description: 方向 - 0:买 1:卖
  21457. type: integer
  21458. closetotalqty:
  21459. description: 平仓总数量
  21460. type: integer
  21461. curholderamount:
  21462. description: 当前持仓总金额
  21463. type: number
  21464. curpositionqty:
  21465. description: 当前持仓总数量
  21466. type: integer
  21467. currencyid:
  21468. description: 报价货币ID
  21469. type: integer
  21470. curtdposition:
  21471. description: 期末今日头寸
  21472. type: integer
  21473. decimalplace:
  21474. description: 报价小数位
  21475. type: integer
  21476. enableqty:
  21477. description: 可用量
  21478. type: integer
  21479. fretdposition:
  21480. description: 冻结今日头寸
  21481. type: integer
  21482. frozenqty:
  21483. description: 持仓冻结数量
  21484. type: integer
  21485. goodscode:
  21486. description: 商品代码(内部)
  21487. type: string
  21488. goodsid:
  21489. description: 商品Id
  21490. type: integer
  21491. goodsname:
  21492. description: 商品名称
  21493. type: string
  21494. goodunit:
  21495. description: 报价单位
  21496. type: string
  21497. goodunitid:
  21498. description: 报价单位ID
  21499. type: integer
  21500. holderamount:
  21501. description: 期初持仓总金额
  21502. type: number
  21503. marketid:
  21504. description: 市场ID
  21505. type: integer
  21506. openreqqty:
  21507. description: 开仓申请数量
  21508. type: integer
  21509. opentotalqty:
  21510. description: 开仓总数量
  21511. type: integer
  21512. otherfrozenqty:
  21513. description: 持仓其他冻结数量(交割冻结)
  21514. type: integer
  21515. positionqty:
  21516. description: 期初持仓数量
  21517. type: integer
  21518. szdz3freezqty:
  21519. description: 尚志大宗转换冻结总数量
  21520. type: integer
  21521. tnqty:
  21522. description: T+N冻结总量
  21523. type: integer
  21524. tnusedqty:
  21525. description: T+N使用量
  21526. type: integer
  21527. trademode:
  21528. description: 交易模式
  21529. type: integer
  21530. usedmargin:
  21531. description: 占用保证金
  21532. type: number
  21533. type: object
  21534. taaccount.QueryAmountLogRsp:
  21535. properties:
  21536. OPERATETYPENAME:
  21537. description: 资金操作类型名称
  21538. type: string
  21539. accountid:
  21540. description: 资金账户ID
  21541. type: integer
  21542. agoodscode:
  21543. description: 竞拍商品代码
  21544. type: string
  21545. agoodsname:
  21546. description: 竞拍商品名称
  21547. type: string
  21548. amount:
  21549. description: 资金金额
  21550. type: number
  21551. amountadjusttype:
  21552. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21553. type: integer
  21554. autoid:
  21555. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21556. type: integer
  21557. balance:
  21558. description: 期初余额
  21559. type: number
  21560. businesscode:
  21561. description: 业务编号
  21562. type: integer
  21563. createtime:
  21564. description: 发生时间
  21565. type: string
  21566. currencyid:
  21567. description: 币种ID
  21568. type: integer
  21569. currentbalance:
  21570. description: 期末余额(变动后金额)
  21571. type: number
  21572. dgoodscode:
  21573. description: 交割商品代码
  21574. type: string
  21575. dgoodsname:
  21576. description: 交割商品名称
  21577. type: string
  21578. goodscode:
  21579. description: 商品代码
  21580. type: string
  21581. goodsid:
  21582. description: 商品ID
  21583. type: integer
  21584. goodsname:
  21585. description: 商品名称
  21586. type: string
  21587. marketid:
  21588. description: 市场ID
  21589. type: integer
  21590. marketname:
  21591. description: 市场名称
  21592. type: string
  21593. moneyticket:
  21594. description: 资金流水号:银行端流水号
  21595. type: integer
  21596. operatetype:
  21597. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21598. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21599. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21600. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21601. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21602. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21603. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21604. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21605. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21606. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21607. type: integer
  21608. relationorderid:
  21609. description: 关联单号
  21610. type: string
  21611. remark:
  21612. description: 备注
  21613. type: string
  21614. trademode:
  21615. description: 交易模式
  21616. type: integer
  21617. required:
  21618. - accountid
  21619. - amount
  21620. - amountadjusttype
  21621. - autoid
  21622. - balance
  21623. - createtime
  21624. - currentbalance
  21625. - operatetype
  21626. type: object
  21627. taaccount.QueryHisAmountLogRsp:
  21628. properties:
  21629. OPERATETYPENAME:
  21630. description: 资金操作类型名称
  21631. type: string
  21632. accountid:
  21633. description: 资金账户ID
  21634. type: integer
  21635. agoodscode:
  21636. description: 竞拍商品代码
  21637. type: string
  21638. agoodsname:
  21639. description: 竞拍商品名称
  21640. type: string
  21641. amount:
  21642. description: 资金金额
  21643. type: number
  21644. amountadjusttype:
  21645. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21646. type: integer
  21647. autoid:
  21648. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21649. type: integer
  21650. balance:
  21651. description: 期初余额
  21652. type: number
  21653. businesscode:
  21654. description: 业务编号
  21655. type: integer
  21656. createtime:
  21657. description: 发生时间
  21658. type: string
  21659. currencyid:
  21660. description: 币种ID
  21661. type: integer
  21662. currentbalance:
  21663. description: 期末余额(变动后金额)
  21664. type: number
  21665. dgoodscode:
  21666. description: 交割商品代码
  21667. type: string
  21668. dgoodsname:
  21669. description: 交割商品名称
  21670. type: string
  21671. goodscode:
  21672. description: 商品代码
  21673. type: string
  21674. goodsid:
  21675. description: 商品ID
  21676. type: integer
  21677. goodsname:
  21678. description: 商品名称
  21679. type: string
  21680. histradedate:
  21681. description: 历史交易日
  21682. type: string
  21683. isvaliddata:
  21684. description: 是否有效 - 0:无效 1:有效
  21685. type: integer
  21686. marketid:
  21687. description: 市场ID
  21688. type: integer
  21689. marketname:
  21690. description: 市场名称
  21691. type: string
  21692. moneyticket:
  21693. description: 资金流水号:银行端流水号
  21694. type: integer
  21695. operatetype:
  21696. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21697. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21698. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21699. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21700. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21701. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21702. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21703. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21704. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21705. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21706. type: integer
  21707. relationorderid:
  21708. description: 关联单号
  21709. type: string
  21710. remark:
  21711. description: 备注
  21712. type: string
  21713. trademode:
  21714. description: 交易模式
  21715. type: integer
  21716. required:
  21717. - accountid
  21718. - amount
  21719. - amountadjusttype
  21720. - autoid
  21721. - balance
  21722. - createtime
  21723. - currentbalance
  21724. - histradedate
  21725. - operatetype
  21726. type: object
  21727. trade.QueryRecieptOrderRsp:
  21728. properties:
  21729. accountName:
  21730. description: 所属账号名称(已脱敏)
  21731. type: string
  21732. accountid:
  21733. description: 资金账号
  21734. type: integer
  21735. buyorsell:
  21736. description: 方向 - 0:买 1:卖
  21737. type: integer
  21738. enableqty:
  21739. description: 可摘数量
  21740. type: integer
  21741. goodscode:
  21742. description: 商品代码
  21743. type: string
  21744. goodsid:
  21745. description: 商品ID
  21746. type: integer
  21747. goodsname:
  21748. description: 商品名称
  21749. type: string
  21750. orderid:
  21751. description: 委托单号
  21752. type: string
  21753. orderprice:
  21754. description: 委托价格
  21755. type: number
  21756. ordertime:
  21757. description: 委托时间
  21758. type: string
  21759. tradedate:
  21760. description: 交易日(yyyyMMdd)
  21761. type: string
  21762. required:
  21763. - ordertime
  21764. type: object
  21765. user.LoginQueryRsp:
  21766. properties:
  21767. areaRoles:
  21768. description: 所属角色信息
  21769. items:
  21770. $ref: '#/definitions/models.Arearole'
  21771. type: array
  21772. externalExchanges:
  21773. description: 外部交易所
  21774. items:
  21775. $ref: '#/definitions/models.Externalexchange'
  21776. type: array
  21777. goodsgroups:
  21778. description: 商品组
  21779. items:
  21780. $ref: '#/definitions/models.Goodsgroup'
  21781. type: array
  21782. loginAccount:
  21783. $ref: '#/definitions/models.Loginaccount'
  21784. description: 登录账号
  21785. markets:
  21786. description: 市场
  21787. items:
  21788. $ref: '#/definitions/models.Market'
  21789. type: array
  21790. systemParams:
  21791. description: 系统参数
  21792. items:
  21793. $ref: '#/definitions/models.Systemparam'
  21794. type: array
  21795. userAccount:
  21796. $ref: '#/definitions/models.Useraccount'
  21797. description: 用户账号
  21798. userInfo:
  21799. $ref: '#/definitions/models.Userinfo'
  21800. description: 用户信息
  21801. username:
  21802. description: 用户姓名
  21803. type: string
  21804. type: object
  21805. info:
  21806. contact: {}
  21807. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21808. termsOfService: http://www.muchinfo.cn
  21809. title: MTP2.0 查询服务 API
  21810. version: "1.0"
  21811. paths:
  21812. /CPTrade/QueryCPTradeMyBidInfos:
  21813. get:
  21814. parameters:
  21815. - description: 资金账户
  21816. in: query
  21817. name: accountid
  21818. required: true
  21819. type: integer
  21820. - description: 预售市场ID
  21821. in: query
  21822. name: marketid
  21823. type: integer
  21824. - description: 预售商品ID
  21825. in: query
  21826. name: goodsid
  21827. type: integer
  21828. produces:
  21829. - application/json
  21830. responses:
  21831. "200":
  21832. description: OK
  21833. schema:
  21834. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21835. "500":
  21836. description: Internal Server Error
  21837. schema:
  21838. $ref: '#/definitions/app.Response'
  21839. security:
  21840. - ApiKeyAuth: []
  21841. summary: 查询产能预售我的出价信息
  21842. tags:
  21843. - 产能预售
  21844. /CPTrade/QueryCPTradeOrderDetail:
  21845. get:
  21846. parameters:
  21847. - description: 预售商品ID
  21848. in: query
  21849. name: goodsid
  21850. type: integer
  21851. - description: 预售市场ID
  21852. in: query
  21853. name: marketid
  21854. type: integer
  21855. - description: 预售商品ID列表 - 格式:1,2,3
  21856. in: query
  21857. name: goodsids
  21858. type: string
  21859. produces:
  21860. - application/json
  21861. responses:
  21862. "200":
  21863. description: OK
  21864. schema:
  21865. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21866. "500":
  21867. description: Internal Server Error
  21868. schema:
  21869. $ref: '#/definitions/app.Response'
  21870. security:
  21871. - ApiKeyAuth: []
  21872. summary: 查询产能预售委托单信息
  21873. tags:
  21874. - 产能预售
  21875. /CPTrade/QueryMyCPTradeGoods:
  21876. get:
  21877. parameters:
  21878. - description: 资金账户
  21879. in: query
  21880. name: accountid
  21881. required: true
  21882. type: integer
  21883. produces:
  21884. - application/json
  21885. responses:
  21886. "200":
  21887. description: OK
  21888. schema:
  21889. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21890. "500":
  21891. description: Internal Server Error
  21892. schema:
  21893. $ref: '#/definitions/app.Response'
  21894. security:
  21895. - ApiKeyAuth: []
  21896. summary: 查询我的预售信息
  21897. tags:
  21898. - 产能预售
  21899. /CPTrade/QueryPositionCancel:
  21900. get:
  21901. parameters:
  21902. - description: 账户ID
  21903. in: query
  21904. name: userid
  21905. required: true
  21906. type: integer
  21907. - description: 注销ID
  21908. in: query
  21909. name: cancelid
  21910. type: integer
  21911. - description: 资金账户ID
  21912. in: query
  21913. name: accountid
  21914. type: integer
  21915. produces:
  21916. - application/json
  21917. responses:
  21918. "200":
  21919. description: OK
  21920. schema:
  21921. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21922. "500":
  21923. description: Internal Server Error
  21924. schema:
  21925. $ref: '#/definitions/app.Response'
  21926. security:
  21927. - ApiKeyAuth: []
  21928. summary: 查询远期订单注销申请信息
  21929. tags:
  21930. - 产能预售
  21931. /CPTrade/QueryPreasleApply:
  21932. get:
  21933. parameters:
  21934. - description: 账户ID
  21935. in: query
  21936. name: userid
  21937. required: true
  21938. type: integer
  21939. - description: 申请ID
  21940. in: query
  21941. name: applyid
  21942. type: integer
  21943. - description: 资金账户ID
  21944. in: query
  21945. name: accountid
  21946. type: integer
  21947. produces:
  21948. - application/json
  21949. responses:
  21950. "200":
  21951. description: OK
  21952. schema:
  21953. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21954. "500":
  21955. description: Internal Server Error
  21956. schema:
  21957. $ref: '#/definitions/app.Response'
  21958. security:
  21959. - ApiKeyAuth: []
  21960. summary: 查询产能预售申请信息
  21961. tags:
  21962. - 产能预售
  21963. /CPTrade/QueryPresaleGoodsEx:
  21964. get:
  21965. parameters:
  21966. - description: 预售商品ID
  21967. in: query
  21968. name: goodsid
  21969. type: integer
  21970. - description: 预售市场ID
  21971. in: query
  21972. name: marketid
  21973. type: integer
  21974. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21975. in: query
  21976. name: presalemode
  21977. type: integer
  21978. - description: 预售商品ID列表 - 格式:1,2,3
  21979. in: query
  21980. name: goodsids
  21981. type: string
  21982. - description: 预售商品代码
  21983. in: query
  21984. name: goodscode
  21985. type: string
  21986. produces:
  21987. - application/json
  21988. responses:
  21989. "200":
  21990. description: OK
  21991. schema:
  21992. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21993. "500":
  21994. description: Internal Server Error
  21995. schema:
  21996. $ref: '#/definitions/app.Response'
  21997. security:
  21998. - ApiKeyAuth: []
  21999. summary: 查询产能预售商品扩展信息
  22000. tags:
  22001. - 产能预售
  22002. /CPTrade/QueryUserGoodsData:
  22003. get:
  22004. parameters:
  22005. - description: 资金账户ID
  22006. in: query
  22007. name: accountid
  22008. required: true
  22009. type: integer
  22010. produces:
  22011. - application/json
  22012. responses:
  22013. "200":
  22014. description: OK
  22015. schema:
  22016. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  22017. "500":
  22018. description: Internal Server Error
  22019. schema:
  22020. $ref: '#/definitions/app.Response'
  22021. security:
  22022. - ApiKeyAuth: []
  22023. summary: 查询远期订单信息
  22024. tags:
  22025. - 产能预售
  22026. /Common/GetAllEnums:
  22027. get:
  22028. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  22029. parameters:
  22030. - description: 起始自增ID
  22031. in: query
  22032. name: autoid
  22033. type: integer
  22034. produces:
  22035. - application/json
  22036. responses:
  22037. "200":
  22038. description: OK
  22039. schema:
  22040. $ref: '#/definitions/models.Enumdicitem'
  22041. "500":
  22042. description: Internal Server Error
  22043. schema:
  22044. $ref: '#/definitions/app.Response'
  22045. summary: 获取所有枚举信息
  22046. tags:
  22047. - 通用服务
  22048. /Common/GetClientMenus:
  22049. get:
  22050. parameters:
  22051. - description: 登录账号
  22052. in: query
  22053. name: loginID
  22054. required: true
  22055. type: integer
  22056. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  22057. in: query
  22058. name: clientType
  22059. type: integer
  22060. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  22061. in: query
  22062. name: name
  22063. type: string
  22064. produces:
  22065. - application/json
  22066. responses:
  22067. "200":
  22068. description: OK
  22069. schema:
  22070. items:
  22071. $ref: '#/definitions/common.ClientMenu'
  22072. type: array
  22073. "500":
  22074. description: Internal Server Error
  22075. schema:
  22076. $ref: '#/definitions/app.Response'
  22077. security:
  22078. - ApiKeyAuth: []
  22079. summary: 获取交易端菜单
  22080. tags:
  22081. - 通用服务
  22082. /Common/GetDivisions:
  22083. get:
  22084. produces:
  22085. - application/json
  22086. responses:
  22087. "200":
  22088. description: OK
  22089. schema:
  22090. $ref: '#/definitions/models.Division'
  22091. "500":
  22092. description: Internal Server Error
  22093. schema:
  22094. $ref: '#/definitions/app.Response'
  22095. summary: 查询区域信息
  22096. tags:
  22097. - 通用服务
  22098. /Common/GetPCWebMenus:
  22099. get:
  22100. parameters:
  22101. - description: 登录账号
  22102. in: query
  22103. name: loginID
  22104. required: true
  22105. type: integer
  22106. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22107. in: query
  22108. name: name
  22109. type: string
  22110. produces:
  22111. - application/json
  22112. responses:
  22113. "200":
  22114. description: OK
  22115. schema:
  22116. items:
  22117. $ref: '#/definitions/common.PCWebMenu'
  22118. type: array
  22119. "500":
  22120. description: Internal Server Error
  22121. schema:
  22122. $ref: '#/definitions/app.Response'
  22123. security:
  22124. - ApiKeyAuth: []
  22125. summary: 获取PCWeb交易端菜单
  22126. tags:
  22127. - 通用服务
  22128. /Common/GetServerTime:
  22129. get:
  22130. produces:
  22131. - application/json
  22132. responses:
  22133. "200":
  22134. description: OK
  22135. schema:
  22136. $ref: '#/definitions/app.Response'
  22137. "500":
  22138. description: Internal Server Error
  22139. schema:
  22140. $ref: '#/definitions/app.Response'
  22141. summary: 获取服务器时间
  22142. tags:
  22143. - 通用服务
  22144. /Common/NoticeReaded:
  22145. post:
  22146. parameters:
  22147. - description: 登录账号
  22148. in: query
  22149. name: loginID
  22150. required: true
  22151. type: integer
  22152. - description: 通知公告ID
  22153. in: query
  22154. name: noticeID
  22155. required: true
  22156. type: integer
  22157. produces:
  22158. - application/json
  22159. responses:
  22160. "200":
  22161. description: OK
  22162. schema:
  22163. $ref: '#/definitions/app.Response'
  22164. "500":
  22165. description: Internal Server Error
  22166. schema:
  22167. $ref: '#/definitions/app.Response'
  22168. security:
  22169. - ApiKeyAuth: []
  22170. summary: 通知公告设置已读请求
  22171. tags:
  22172. - 通用服务
  22173. /Common/QueryErrorInfos:
  22174. get:
  22175. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22176. parameters:
  22177. - description: 起始行号前索引
  22178. in: query
  22179. name: rowNumber
  22180. type: string
  22181. produces:
  22182. - application/json
  22183. responses:
  22184. "200":
  22185. description: OK
  22186. schema:
  22187. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22188. "500":
  22189. description: Internal Server Error
  22190. schema:
  22191. $ref: '#/definitions/app.Response'
  22192. summary: 获取数据库错误信息
  22193. tags:
  22194. - 通用服务
  22195. /Common/QueryImageConfigs:
  22196. get:
  22197. parameters:
  22198. - description: 用户id
  22199. in: query
  22200. name: userId
  22201. type: integer
  22202. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22203. in: query
  22204. name: imageType
  22205. type: integer
  22206. produces:
  22207. - application/json
  22208. responses:
  22209. "200":
  22210. description: OK
  22211. schema:
  22212. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22213. "500":
  22214. description: Internal Server Error
  22215. schema:
  22216. $ref: '#/definitions/app.Response'
  22217. summary: 查询轮播图配置信息
  22218. tags:
  22219. - 通用服务
  22220. /Common/QueryNotice:
  22221. get:
  22222. parameters:
  22223. - description: 页码
  22224. in: query
  22225. name: page
  22226. type: integer
  22227. - description: 每页条数
  22228. in: query
  22229. name: pagesize
  22230. type: integer
  22231. - description: 登录账号
  22232. in: query
  22233. name: loginID
  22234. required: true
  22235. type: integer
  22236. - description: 消息类型 - 1:公告通知 2:系统消息
  22237. in: query
  22238. name: msgType
  22239. type: integer
  22240. - description: 是否只获取未读信息
  22241. in: query
  22242. name: onlyUnRead
  22243. type: boolean
  22244. - description: 自增ID,传入后会返回这个ID后面的记录
  22245. in: query
  22246. name: lastID
  22247. type: integer
  22248. produces:
  22249. - application/json
  22250. responses:
  22251. "200":
  22252. description: OK
  22253. schema:
  22254. $ref: '#/definitions/common.QueryNoticeRsp'
  22255. "500":
  22256. description: Internal Server Error
  22257. schema:
  22258. $ref: '#/definitions/app.Response'
  22259. security:
  22260. - ApiKeyAuth: []
  22261. summary: 通知公告系统消息查询
  22262. tags:
  22263. - 通用服务
  22264. /Common/QueryProvincesAndCities:
  22265. get:
  22266. parameters:
  22267. - description: 省ID
  22268. in: query
  22269. name: provinceID
  22270. type: integer
  22271. produces:
  22272. - application/json
  22273. responses:
  22274. "200":
  22275. description: OK
  22276. schema:
  22277. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22278. "500":
  22279. description: Internal Server Error
  22280. schema:
  22281. $ref: '#/definitions/app.Response'
  22282. summary: 查询省市信息(不包括区)
  22283. tags:
  22284. - 通用服务
  22285. /Common/QueryTableDefine:
  22286. get:
  22287. parameters:
  22288. - description: 表key
  22289. in: query
  22290. name: tableKey
  22291. type: string
  22292. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22293. in: query
  22294. name: tableType
  22295. type: integer
  22296. produces:
  22297. - application/json
  22298. responses:
  22299. "200":
  22300. description: OK
  22301. schema:
  22302. $ref: '#/definitions/common.QueryTableDefineRsp'
  22303. "500":
  22304. description: Internal Server Error
  22305. schema:
  22306. $ref: '#/definitions/app.Response'
  22307. summary: 查询交易端列表头信息
  22308. tags:
  22309. - 通用服务
  22310. /Common/QueryTraderMenu:
  22311. get:
  22312. parameters:
  22313. - description: 登录账号
  22314. in: query
  22315. name: loginid
  22316. required: true
  22317. type: integer
  22318. produces:
  22319. - application/json
  22320. responses:
  22321. "200":
  22322. description: OK
  22323. schema:
  22324. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22325. "500":
  22326. description: Internal Server Error
  22327. schema:
  22328. $ref: '#/definitions/app.Response'
  22329. summary: 查询交易端菜单
  22330. tags:
  22331. - 通用服务
  22332. /Delivery/QueryDeliveryRelation:
  22333. get:
  22334. parameters:
  22335. - description: 商品ID
  22336. in: query
  22337. name: goodsid
  22338. type: integer
  22339. - description: 品种ID
  22340. in: query
  22341. name: deliverygoodsid
  22342. type: integer
  22343. - description: 市场ID
  22344. in: query
  22345. name: marketid
  22346. type: integer
  22347. produces:
  22348. - application/json
  22349. responses:
  22350. "200":
  22351. description: OK
  22352. schema:
  22353. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22354. "500":
  22355. description: Internal Server Error
  22356. schema:
  22357. $ref: '#/definitions/app.Response'
  22358. security:
  22359. - ApiKeyAuth: []
  22360. summary: 查询商品交割关系表
  22361. tags:
  22362. - 交割服务
  22363. /Ermcp/GetErmcpGoods:
  22364. get:
  22365. parameters:
  22366. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22367. in: query
  22368. name: userid
  22369. type: integer
  22370. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22371. in: query
  22372. name: lastUpdateTime
  22373. type: string
  22374. produces:
  22375. - application/json
  22376. responses:
  22377. "200":
  22378. description: OK
  22379. schema:
  22380. $ref: '#/definitions/models.ErmcpGoods'
  22381. "500":
  22382. description: Internal Server Error
  22383. schema:
  22384. $ref: '#/definitions/app.Response'
  22385. security:
  22386. - ApiKeyAuth: []
  22387. summary: 查询企业风管期货商品信息
  22388. tags:
  22389. - 企业风险管理(app)
  22390. /Ermcp/GetErmcpGoodsSortByPosition:
  22391. get:
  22392. parameters:
  22393. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22394. in: query
  22395. name: sortIndex
  22396. type: string
  22397. produces:
  22398. - application/json
  22399. responses:
  22400. "200":
  22401. description: OK
  22402. schema:
  22403. $ref: '#/definitions/models.Goodssortbypreposition'
  22404. "500":
  22405. description: Internal Server Error
  22406. schema:
  22407. $ref: '#/definitions/app.Response'
  22408. security:
  22409. - ApiKeyAuth: []
  22410. summary: 查询企业风管期货主力、次主力商品信息
  22411. tags:
  22412. - 企业风险管理(app)
  22413. /Ermcp/GetErmcpOutAccountStatus:
  22414. get:
  22415. parameters:
  22416. - description: 登录账号
  22417. in: query
  22418. name: loginID
  22419. required: true
  22420. type: integer
  22421. produces:
  22422. - application/json
  22423. responses:
  22424. "200":
  22425. description: OK
  22426. schema:
  22427. $ref: '#/definitions/models.Hedgemarketopenlog'
  22428. "500":
  22429. description: Internal Server Error
  22430. schema:
  22431. $ref: '#/definitions/app.Response'
  22432. security:
  22433. - ApiKeyAuth: []
  22434. summary: 获取目标登录账号当前对冲账号在线状态
  22435. tags:
  22436. - 企业风险管理(app)
  22437. /Ermcp/GetErmcpRoleFuncMenuLists:
  22438. get:
  22439. parameters:
  22440. - description: 登录账号
  22441. in: query
  22442. name: loginID
  22443. required: true
  22444. type: integer
  22445. produces:
  22446. - application/json
  22447. responses:
  22448. "200":
  22449. description: OK
  22450. schema:
  22451. $ref: '#/definitions/models.Funcmenulist'
  22452. "500":
  22453. description: Internal Server Error
  22454. schema:
  22455. $ref: '#/definitions/app.Response'
  22456. security:
  22457. - ApiKeyAuth: []
  22458. summary: 获取企业风管终端权限
  22459. tags:
  22460. - 企业风险管理(app)
  22461. /Ermcp/QueryAccMgrBizGroupSet:
  22462. get:
  22463. parameters:
  22464. - description: 用户ID
  22465. in: query
  22466. name: userid
  22467. required: true
  22468. type: integer
  22469. - description: 现货商品id
  22470. in: query
  22471. name: deliverygoodsid
  22472. type: integer
  22473. produces:
  22474. - application/json
  22475. responses:
  22476. "200":
  22477. description: OK
  22478. schema:
  22479. items:
  22480. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22481. type: array
  22482. "500":
  22483. description: Internal Server Error
  22484. schema:
  22485. $ref: '#/definitions/app.Response'
  22486. security:
  22487. - ApiKeyAuth: []
  22488. summary: 查询业务类型分组(账户管理/账户设置)
  22489. tags:
  22490. - 企业风险管理(app)
  22491. /Ermcp/QueryAccMgrLoginUser:
  22492. get:
  22493. parameters:
  22494. - description: 用户ID
  22495. in: query
  22496. name: userid
  22497. required: true
  22498. type: integer
  22499. - description: 用户类型 2-机构 7-企业成员
  22500. in: query
  22501. name: usertype
  22502. type: integer
  22503. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22504. in: query
  22505. name: querytype
  22506. required: true
  22507. type: integer
  22508. produces:
  22509. - application/json
  22510. responses:
  22511. "200":
  22512. description: OK
  22513. schema:
  22514. items:
  22515. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22516. type: array
  22517. "500":
  22518. description: Internal Server Error
  22519. schema:
  22520. $ref: '#/definitions/app.Response'
  22521. security:
  22522. - ApiKeyAuth: []
  22523. summary: 查询账户管理登录账号(账户管理/登录账号)
  22524. tags:
  22525. - 企业风险管理(app)
  22526. /Ermcp/QueryAccMgrMainAccountInfo:
  22527. get:
  22528. parameters:
  22529. - description: 用户ID
  22530. in: query
  22531. name: userid
  22532. type: integer
  22533. - description: 主账号id
  22534. in: query
  22535. name: accountid
  22536. type: integer
  22537. produces:
  22538. - application/json
  22539. responses:
  22540. "200":
  22541. description: OK
  22542. schema:
  22543. items:
  22544. $ref: '#/definitions/models.MainAccountInfo'
  22545. type: array
  22546. "500":
  22547. description: Internal Server Error
  22548. schema:
  22549. $ref: '#/definitions/app.Response'
  22550. security:
  22551. - ApiKeyAuth: []
  22552. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22553. tags:
  22554. - 企业风险管理(app)
  22555. /Ermcp/QueryAccMgrRole:
  22556. get:
  22557. parameters:
  22558. - description: 用户ID
  22559. in: query
  22560. name: userid
  22561. required: true
  22562. type: integer
  22563. produces:
  22564. - application/json
  22565. responses:
  22566. "200":
  22567. description: OK
  22568. schema:
  22569. items:
  22570. $ref: '#/definitions/models.ErmcpRole'
  22571. type: array
  22572. "500":
  22573. description: Internal Server Error
  22574. schema:
  22575. $ref: '#/definitions/app.Response'
  22576. security:
  22577. - ApiKeyAuth: []
  22578. summary: 查询账户管理角色设置(账户管理/角色设置)
  22579. tags:
  22580. - 企业风险管理(app)
  22581. /Ermcp/QueryAccMgrRoleMenu:
  22582. get:
  22583. parameters:
  22584. - description: 用户ID
  22585. in: query
  22586. name: userid
  22587. required: true
  22588. type: integer
  22589. - description: 角色id(可多个,逗号隔开)
  22590. in: query
  22591. name: roleid
  22592. type: string
  22593. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22594. in: query
  22595. name: menutype
  22596. type: integer
  22597. produces:
  22598. - application/json
  22599. responses:
  22600. "200":
  22601. description: OK
  22602. schema:
  22603. items:
  22604. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22605. type: array
  22606. "500":
  22607. description: Internal Server Error
  22608. schema:
  22609. $ref: '#/definitions/app.Response'
  22610. security:
  22611. - ApiKeyAuth: []
  22612. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22613. tags:
  22614. - 企业风险管理(app)
  22615. /Ermcp/QueryAccMgrTaAccountInfo:
  22616. get:
  22617. parameters:
  22618. - description: 用户ID
  22619. in: query
  22620. name: userid
  22621. required: true
  22622. type: integer
  22623. - description: 账号id
  22624. in: query
  22625. name: accountid
  22626. type: integer
  22627. produces:
  22628. - application/json
  22629. responses:
  22630. "200":
  22631. description: OK
  22632. schema:
  22633. items:
  22634. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22635. type: array
  22636. "500":
  22637. description: Internal Server Error
  22638. schema:
  22639. $ref: '#/definitions/app.Response'
  22640. security:
  22641. - ApiKeyAuth: []
  22642. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22643. tags:
  22644. - 企业风险管理(app)
  22645. /Ermcp/QueryAccMgrTaaccount:
  22646. get:
  22647. parameters:
  22648. - description: 用户ID
  22649. in: query
  22650. name: userid
  22651. required: true
  22652. type: integer
  22653. produces:
  22654. - application/json
  22655. responses:
  22656. "200":
  22657. description: OK
  22658. schema:
  22659. items:
  22660. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22661. type: array
  22662. "500":
  22663. description: Internal Server Error
  22664. schema:
  22665. $ref: '#/definitions/app.Response'
  22666. security:
  22667. - ApiKeyAuth: []
  22668. summary: 查询账户管理期货账号(账户管理/期货账号)
  22669. tags:
  22670. - 企业风险管理(app)
  22671. /Ermcp/QueryAvaildGoodsGroup:
  22672. get:
  22673. parameters:
  22674. - description: 所属机构ID
  22675. in: query
  22676. name: userid
  22677. required: true
  22678. type: integer
  22679. produces:
  22680. - application/json
  22681. responses:
  22682. "200":
  22683. description: OK
  22684. schema:
  22685. items:
  22686. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22687. type: array
  22688. "500":
  22689. description: Internal Server Error
  22690. schema:
  22691. $ref: '#/definitions/app.Response'
  22692. security:
  22693. - ApiKeyAuth: []
  22694. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22695. tags:
  22696. - 企业风险管理(app)
  22697. /Ermcp/QueryBusinessDj:
  22698. get:
  22699. parameters:
  22700. - description: 用户ID
  22701. in: query
  22702. name: UserId
  22703. required: true
  22704. type: integer
  22705. - description: 用户类型 2-机构 7-企业成员
  22706. in: query
  22707. name: usertype
  22708. type: integer
  22709. - description: 现货合同ID, 不填则查所有
  22710. in: query
  22711. name: relatedid
  22712. type: string
  22713. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22714. in: query
  22715. name: applystatus
  22716. type: string
  22717. produces:
  22718. - application/json
  22719. responses:
  22720. "200":
  22721. description: OK
  22722. schema:
  22723. items:
  22724. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22725. type: array
  22726. "500":
  22727. description: Internal Server Error
  22728. schema:
  22729. $ref: '#/definitions/app.Response'
  22730. security:
  22731. - ApiKeyAuth: []
  22732. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22733. tags:
  22734. - 企业风险管理(app)
  22735. /Ermcp/QueryBusinessFp:
  22736. get:
  22737. parameters:
  22738. - description: 用户ID
  22739. in: query
  22740. name: UserId
  22741. required: true
  22742. type: integer
  22743. - description: 用户类型 2-机构 7-企业成员
  22744. in: query
  22745. name: usertype
  22746. type: integer
  22747. - description: 现货合同ID, 不填则查所有
  22748. in: query
  22749. name: relatedid
  22750. type: string
  22751. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22752. in: query
  22753. name: applystatus
  22754. type: string
  22755. produces:
  22756. - application/json
  22757. responses:
  22758. "200":
  22759. description: OK
  22760. schema:
  22761. items:
  22762. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22763. type: array
  22764. "500":
  22765. description: Internal Server Error
  22766. schema:
  22767. $ref: '#/definitions/app.Response'
  22768. security:
  22769. - ApiKeyAuth: []
  22770. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22771. tags:
  22772. - 企业风险管理(app)
  22773. /Ermcp/QueryBusinessJs:
  22774. get:
  22775. parameters:
  22776. - description: 用户ID
  22777. in: query
  22778. name: UserId
  22779. required: true
  22780. type: integer
  22781. - description: 用户类型 2-机构 7-企业成员
  22782. in: query
  22783. name: usertype
  22784. type: integer
  22785. - description: 现货合同ID, 不填则查所有
  22786. in: query
  22787. name: relatedid
  22788. type: string
  22789. - description: 操作申请id
  22790. in: query
  22791. name: operateapplyid
  22792. type: string
  22793. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22794. in: query
  22795. name: applystatus
  22796. type: string
  22797. produces:
  22798. - application/json
  22799. responses:
  22800. "200":
  22801. description: OK
  22802. schema:
  22803. items:
  22804. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22805. type: array
  22806. "500":
  22807. description: Internal Server Error
  22808. schema:
  22809. $ref: '#/definitions/app.Response'
  22810. security:
  22811. - ApiKeyAuth: []
  22812. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22813. tags:
  22814. - 企业风险管理(app)
  22815. /Ermcp/QueryBusinessJsEx:
  22816. get:
  22817. parameters:
  22818. - description: 用户ID
  22819. in: query
  22820. name: UserId
  22821. required: true
  22822. type: integer
  22823. - description: 用户类型 2-机构 7-企业成员
  22824. in: query
  22825. name: usertype
  22826. type: integer
  22827. - description: 现货合同ID, 不填则查所有
  22828. in: query
  22829. name: relatedid
  22830. type: string
  22831. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22832. in: query
  22833. name: applystatus
  22834. type: string
  22835. produces:
  22836. - application/json
  22837. responses:
  22838. "200":
  22839. description: OK
  22840. schema:
  22841. items:
  22842. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22843. type: array
  22844. "500":
  22845. description: Internal Server Error
  22846. schema:
  22847. $ref: '#/definitions/app.Response'
  22848. security:
  22849. - ApiKeyAuth: []
  22850. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22851. tags:
  22852. - 企业风险管理(app)
  22853. /Ermcp/QueryBusinessKx:
  22854. get:
  22855. parameters:
  22856. - description: 用户ID
  22857. in: query
  22858. name: UserId
  22859. required: true
  22860. type: integer
  22861. - description: 用户类型 2-机构 7-企业成员
  22862. in: query
  22863. name: usertype
  22864. type: integer
  22865. - description: 现货合同ID, 不填则查所有
  22866. in: query
  22867. name: relatedid
  22868. type: string
  22869. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22870. in: query
  22871. name: applystatus
  22872. type: string
  22873. produces:
  22874. - application/json
  22875. responses:
  22876. "200":
  22877. description: OK
  22878. schema:
  22879. items:
  22880. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22881. type: array
  22882. "500":
  22883. description: Internal Server Error
  22884. schema:
  22885. $ref: '#/definitions/app.Response'
  22886. security:
  22887. - ApiKeyAuth: []
  22888. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22889. tags:
  22890. - 企业风险管理(app)
  22891. /Ermcp/QueryChangeLog:
  22892. get:
  22893. parameters:
  22894. - description: 合同ID
  22895. in: query
  22896. name: RelatedId
  22897. required: true
  22898. type: string
  22899. produces:
  22900. - application/json
  22901. responses:
  22902. "200":
  22903. description: OK
  22904. schema:
  22905. items:
  22906. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22907. type: array
  22908. "500":
  22909. description: Internal Server Error
  22910. schema:
  22911. $ref: '#/definitions/app.Response'
  22912. security:
  22913. - ApiKeyAuth: []
  22914. summary: 查询变更记录
  22915. tags:
  22916. - 企业风险管理(app)
  22917. /Ermcp/QueryErmcpHisOrderDetails:
  22918. get:
  22919. parameters:
  22920. - description: 资金账户ID
  22921. in: query
  22922. name: accountID
  22923. required: true
  22924. type: integer
  22925. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22926. in: query
  22927. name: startDate
  22928. type: string
  22929. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22930. in: query
  22931. name: endDate
  22932. type: string
  22933. produces:
  22934. - application/json
  22935. responses:
  22936. "200":
  22937. description: OK
  22938. schema:
  22939. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22940. "500":
  22941. description: Internal Server Error
  22942. schema:
  22943. $ref: '#/definitions/app.Response'
  22944. security:
  22945. - ApiKeyAuth: []
  22946. summary: 获取企业风管期货历史委托单信息
  22947. tags:
  22948. - 企业风险管理(app)
  22949. /Ermcp/QueryErmcpHisTradeDetails:
  22950. get:
  22951. parameters:
  22952. - description: 资金账户ID
  22953. in: query
  22954. name: accountID
  22955. required: true
  22956. type: integer
  22957. - description: 商品ID
  22958. in: query
  22959. name: goodsID
  22960. type: integer
  22961. - description: 买卖方向,0:买 1:卖
  22962. in: query
  22963. name: buyOrSell
  22964. type: integer
  22965. - description: 关联委托单号
  22966. in: query
  22967. name: orderID
  22968. type: integer
  22969. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22970. in: query
  22971. name: startDate
  22972. type: string
  22973. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22974. in: query
  22975. name: endDate
  22976. type: string
  22977. produces:
  22978. - application/json
  22979. responses:
  22980. "200":
  22981. description: OK
  22982. schema:
  22983. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22984. "500":
  22985. description: Internal Server Error
  22986. schema:
  22987. $ref: '#/definitions/app.Response'
  22988. security:
  22989. - ApiKeyAuth: []
  22990. summary: 获取企业风管期货历史成交单信息
  22991. tags:
  22992. - 企业风险管理(app)
  22993. /Ermcp/QueryErmcpInnerHolderDetails:
  22994. get:
  22995. parameters:
  22996. - description: 资金账户ID
  22997. in: query
  22998. name: accountID
  22999. required: true
  23000. type: integer
  23001. - description: 商品ID
  23002. in: query
  23003. name: goodsID
  23004. type: integer
  23005. - description: 买卖方向,0:买 1:卖
  23006. in: query
  23007. name: buyOrSell
  23008. type: integer
  23009. produces:
  23010. - application/json
  23011. responses:
  23012. "200":
  23013. description: OK
  23014. schema:
  23015. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  23016. "500":
  23017. description: Internal Server Error
  23018. schema:
  23019. $ref: '#/definitions/app.Response'
  23020. security:
  23021. - ApiKeyAuth: []
  23022. summary: 获取企业风管期货内部持仓单信息
  23023. tags:
  23024. - 企业风险管理(app)
  23025. /Ermcp/QueryErmcpOrderDetails:
  23026. get:
  23027. parameters:
  23028. - description: 资金账户ID
  23029. in: query
  23030. name: accountID
  23031. required: true
  23032. type: integer
  23033. produces:
  23034. - application/json
  23035. responses:
  23036. "200":
  23037. description: OK
  23038. schema:
  23039. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  23040. "500":
  23041. description: Internal Server Error
  23042. schema:
  23043. $ref: '#/definitions/app.Response'
  23044. security:
  23045. - ApiKeyAuth: []
  23046. summary: 获取企业风管期货委托单信息
  23047. tags:
  23048. - 企业风险管理(app)
  23049. /Ermcp/QueryErmcpTradeDetails:
  23050. get:
  23051. parameters:
  23052. - description: 资金账户ID
  23053. in: query
  23054. name: accountID
  23055. required: true
  23056. type: integer
  23057. - description: 商品ID
  23058. in: query
  23059. name: goodsID
  23060. type: integer
  23061. - description: 买卖方向,0:买 1:卖
  23062. in: query
  23063. name: buyOrSell
  23064. type: integer
  23065. - description: 关联委托单号
  23066. in: query
  23067. name: orderID
  23068. type: integer
  23069. produces:
  23070. - application/json
  23071. responses:
  23072. "200":
  23073. description: OK
  23074. schema:
  23075. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  23076. "500":
  23077. description: Internal Server Error
  23078. schema:
  23079. $ref: '#/definitions/app.Response'
  23080. security:
  23081. - ApiKeyAuth: []
  23082. summary: 获取企业风管期货成交单信息
  23083. tags:
  23084. - 企业风险管理(app)
  23085. /Ermcp/QueryErmcpTradePosition:
  23086. get:
  23087. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23088. parameters:
  23089. - description: 资金账户ID
  23090. in: query
  23091. name: accountID
  23092. required: true
  23093. type: integer
  23094. - description: 所属市场ID
  23095. in: query
  23096. name: marketID
  23097. type: integer
  23098. produces:
  23099. - application/json
  23100. responses:
  23101. "200":
  23102. description: OK
  23103. schema:
  23104. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23105. "500":
  23106. description: Internal Server Error
  23107. schema:
  23108. $ref: '#/definitions/app.Response'
  23109. security:
  23110. - ApiKeyAuth: []
  23111. summary: 获取企业风管期货持仓头寸信息
  23112. tags:
  23113. - 企业风险管理(app)
  23114. /Ermcp/QueryExposureDetail:
  23115. get:
  23116. parameters:
  23117. - description: 所属机构ID
  23118. in: query
  23119. name: areaUserId
  23120. required: true
  23121. type: integer
  23122. - description: 套保商品
  23123. in: query
  23124. name: middleGoodsId
  23125. required: true
  23126. type: integer
  23127. produces:
  23128. - application/json
  23129. responses:
  23130. "200":
  23131. description: OK
  23132. schema:
  23133. items:
  23134. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23135. type: array
  23136. "500":
  23137. description: Internal Server Error
  23138. schema:
  23139. $ref: '#/definitions/app.Response'
  23140. security:
  23141. - ApiKeyAuth: []
  23142. summary: 查询敞口现货明细
  23143. tags:
  23144. - 企业风险管理(app)
  23145. /Ermcp/QueryExposureGoods:
  23146. get:
  23147. parameters:
  23148. - description: 套保商品id
  23149. in: query
  23150. name: middlegoodsid
  23151. required: true
  23152. type: integer
  23153. produces:
  23154. - application/json
  23155. responses:
  23156. "200":
  23157. description: OK
  23158. schema:
  23159. items:
  23160. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23161. type: array
  23162. "500":
  23163. description: Internal Server Error
  23164. schema:
  23165. $ref: '#/definitions/app.Response'
  23166. security:
  23167. - ApiKeyAuth: []
  23168. summary: 查询敞口主力合约
  23169. tags:
  23170. - 企业风险管理(app)
  23171. /Ermcp/QueryExposureHedgePosition:
  23172. get:
  23173. parameters:
  23174. - description: 用户id
  23175. in: query
  23176. name: userid
  23177. required: true
  23178. type: integer
  23179. produces:
  23180. - application/json
  23181. responses:
  23182. "200":
  23183. description: OK
  23184. schema:
  23185. items:
  23186. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23187. type: array
  23188. "500":
  23189. description: Internal Server Error
  23190. schema:
  23191. $ref: '#/definitions/app.Response'
  23192. security:
  23193. - ApiKeyAuth: []
  23194. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23195. tags:
  23196. - 企业风险管理(app)
  23197. /Ermcp/QueryExposureHedgePositionDetail:
  23198. get:
  23199. parameters:
  23200. - description: 所属机构ID
  23201. in: query
  23202. name: userid
  23203. required: true
  23204. type: integer
  23205. - description: 商品id
  23206. in: query
  23207. name: goodsId
  23208. required: true
  23209. type: integer
  23210. produces:
  23211. - application/json
  23212. responses:
  23213. "200":
  23214. description: OK
  23215. schema:
  23216. items:
  23217. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23218. type: array
  23219. "500":
  23220. description: Internal Server Error
  23221. schema:
  23222. $ref: '#/definitions/app.Response'
  23223. security:
  23224. - ApiKeyAuth: []
  23225. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23226. tags:
  23227. - 企业风险管理(app)
  23228. /Ermcp/QueryExposureSpot:
  23229. get:
  23230. parameters:
  23231. - description: 所属机构ID
  23232. in: query
  23233. name: areaUserId
  23234. required: true
  23235. type: integer
  23236. produces:
  23237. - application/json
  23238. responses:
  23239. "200":
  23240. description: OK
  23241. schema:
  23242. items:
  23243. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23244. type: array
  23245. "500":
  23246. description: Internal Server Error
  23247. schema:
  23248. $ref: '#/definitions/app.Response'
  23249. security:
  23250. - ApiKeyAuth: []
  23251. summary: 查询敞口现货头寸(敞口/现货头寸)
  23252. tags:
  23253. - 企业风险管理(app)
  23254. /Ermcp/QueryExposureSpotDetail:
  23255. get:
  23256. parameters:
  23257. - description: 所属机构ID
  23258. in: query
  23259. name: areaUserId
  23260. required: true
  23261. type: integer
  23262. - description: 现货品种ID
  23263. in: query
  23264. name: wrstandardId
  23265. required: true
  23266. type: integer
  23267. produces:
  23268. - application/json
  23269. responses:
  23270. "200":
  23271. description: OK
  23272. schema:
  23273. items:
  23274. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23275. type: array
  23276. "500":
  23277. description: Internal Server Error
  23278. schema:
  23279. $ref: '#/definitions/app.Response'
  23280. security:
  23281. - ApiKeyAuth: []
  23282. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23283. tags:
  23284. - 企业风险管理(app)
  23285. /Ermcp/QueryFuturesCompany:
  23286. get:
  23287. produces:
  23288. - application/json
  23289. responses:
  23290. "200":
  23291. description: OK
  23292. schema:
  23293. items:
  23294. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23295. type: array
  23296. "500":
  23297. description: Internal Server Error
  23298. schema:
  23299. $ref: '#/definitions/app.Response'
  23300. security:
  23301. - ApiKeyAuth: []
  23302. summary: 查询期货公司
  23303. tags:
  23304. - 企业风险管理(app)
  23305. /Ermcp/QueryGGConvertConfig:
  23306. get:
  23307. parameters:
  23308. - description: 品种id(不填则查所有)
  23309. in: query
  23310. name: goodsgroupid
  23311. type: integer
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. items:
  23319. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23320. type: array
  23321. "500":
  23322. description: Internal Server Error
  23323. schema:
  23324. $ref: '#/definitions/app.Response'
  23325. security:
  23326. - ApiKeyAuth: []
  23327. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23328. tags:
  23329. - 企业风险管理(app)
  23330. /Ermcp/QueryGoodsBrand:
  23331. get:
  23332. parameters:
  23333. - description: 用户ID
  23334. in: query
  23335. name: userid
  23336. required: true
  23337. type: integer
  23338. - description: 现货商品ID
  23339. in: query
  23340. name: wrstandardid
  23341. type: integer
  23342. produces:
  23343. - application/json
  23344. responses:
  23345. "200":
  23346. description: OK
  23347. schema:
  23348. items:
  23349. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23350. type: array
  23351. "500":
  23352. description: Internal Server Error
  23353. schema:
  23354. $ref: '#/definitions/app.Response'
  23355. security:
  23356. - ApiKeyAuth: []
  23357. summary: 查询商品品牌
  23358. tags:
  23359. - 企业风险管理(app)
  23360. /Ermcp/QueryGoodsModel:
  23361. get:
  23362. parameters:
  23363. - description: 用户ID
  23364. in: query
  23365. name: userid
  23366. required: true
  23367. type: integer
  23368. produces:
  23369. - application/json
  23370. responses:
  23371. "200":
  23372. description: OK
  23373. schema:
  23374. items:
  23375. $ref: '#/definitions/models.ErmcpGoodsModel'
  23376. type: array
  23377. "500":
  23378. description: Internal Server Error
  23379. schema:
  23380. $ref: '#/definitions/app.Response'
  23381. security:
  23382. - ApiKeyAuth: []
  23383. summary: 查询商品型号
  23384. tags:
  23385. - 企业风险管理(app)
  23386. /Ermcp/QueryHisExposure:
  23387. get:
  23388. parameters:
  23389. - description: 用户id
  23390. in: query
  23391. name: userid
  23392. required: true
  23393. type: integer
  23394. - description: 每个品种记录数
  23395. in: query
  23396. name: lastNum
  23397. required: true
  23398. type: integer
  23399. produces:
  23400. - application/json
  23401. responses:
  23402. "200":
  23403. description: OK
  23404. schema:
  23405. items:
  23406. $ref: '#/definitions/ermcp.HisExposureRsp'
  23407. type: array
  23408. "500":
  23409. description: Internal Server Error
  23410. schema:
  23411. $ref: '#/definitions/app.Response'
  23412. security:
  23413. - ApiKeyAuth: []
  23414. summary: 查询历史敞口(菜单:敞口/历史敞口)
  23415. tags:
  23416. - 企业风险管理(app)
  23417. /Ermcp/QueryMiddleGoods:
  23418. get:
  23419. parameters:
  23420. - description: 所属机构ID
  23421. in: query
  23422. name: userid
  23423. required: true
  23424. type: integer
  23425. - description: 状态 0-停用 1-正常
  23426. in: query
  23427. name: status
  23428. required: true
  23429. type: integer
  23430. produces:
  23431. - application/json
  23432. responses:
  23433. "200":
  23434. description: OK
  23435. schema:
  23436. items:
  23437. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23438. type: array
  23439. "500":
  23440. description: Internal Server Error
  23441. schema:
  23442. $ref: '#/definitions/app.Response'
  23443. security:
  23444. - ApiKeyAuth: []
  23445. summary: 查询套保品种(菜单:套保品种)
  23446. tags:
  23447. - 企业风险管理(app)
  23448. /Ermcp/QueryMiddleGoodsChangeLog:
  23449. get:
  23450. parameters:
  23451. - description: 所属机构ID
  23452. in: query
  23453. name: userid
  23454. required: true
  23455. type: integer
  23456. - description: 套保品种id
  23457. in: query
  23458. name: middlegoodsid
  23459. required: true
  23460. type: integer
  23461. produces:
  23462. - application/json
  23463. responses:
  23464. "200":
  23465. description: OK
  23466. schema:
  23467. items:
  23468. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23469. type: array
  23470. "500":
  23471. description: Internal Server Error
  23472. schema:
  23473. $ref: '#/definitions/app.Response'
  23474. security:
  23475. - ApiKeyAuth: []
  23476. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23477. tags:
  23478. - 企业风险管理(app)
  23479. /Ermcp/QueryMiddleGoodsDetail:
  23480. get:
  23481. parameters:
  23482. - description: 所属机构ID
  23483. in: query
  23484. name: userid
  23485. required: true
  23486. type: integer
  23487. - description: 套保品种id
  23488. in: query
  23489. name: middlegoodsid
  23490. type: integer
  23491. produces:
  23492. - application/json
  23493. responses:
  23494. "200":
  23495. description: OK
  23496. schema:
  23497. items:
  23498. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23499. type: array
  23500. "500":
  23501. description: Internal Server Error
  23502. schema:
  23503. $ref: '#/definitions/app.Response'
  23504. security:
  23505. - ApiKeyAuth: []
  23506. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23507. tags:
  23508. - 企业风险管理(app)
  23509. /Ermcp/QueryPendingAuditInfo:
  23510. get:
  23511. parameters:
  23512. - description: 用户ID
  23513. in: query
  23514. name: UserId
  23515. required: true
  23516. type: integer
  23517. produces:
  23518. - application/json
  23519. responses:
  23520. "200":
  23521. description: OK
  23522. schema:
  23523. items:
  23524. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23525. type: array
  23526. "500":
  23527. description: Internal Server Error
  23528. schema:
  23529. $ref: '#/definitions/app.Response'
  23530. security:
  23531. - ApiKeyAuth: []
  23532. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23533. tags:
  23534. - 企业风险管理(app)
  23535. /Ermcp/QueryRealtimeExposure:
  23536. get:
  23537. parameters:
  23538. - description: 所属机构ID
  23539. in: query
  23540. name: userid
  23541. required: true
  23542. type: integer
  23543. produces:
  23544. - application/json
  23545. responses:
  23546. "200":
  23547. description: OK
  23548. schema:
  23549. items:
  23550. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23551. type: array
  23552. "500":
  23553. description: Internal Server Error
  23554. schema:
  23555. $ref: '#/definitions/app.Response'
  23556. security:
  23557. - ApiKeyAuth: []
  23558. summary: 查询实时敞口
  23559. tags:
  23560. - 企业风险管理(app)
  23561. /Ermcp/QueryRealtimeExposurePosition:
  23562. get:
  23563. parameters:
  23564. - description: 用户id
  23565. in: query
  23566. name: userid
  23567. required: true
  23568. type: integer
  23569. - description: 套保商品ID
  23570. in: query
  23571. name: middleGoodsId
  23572. required: true
  23573. type: integer
  23574. produces:
  23575. - application/json
  23576. responses:
  23577. "200":
  23578. description: OK
  23579. schema:
  23580. items:
  23581. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23582. type: array
  23583. "500":
  23584. description: Internal Server Error
  23585. schema:
  23586. $ref: '#/definitions/app.Response'
  23587. security:
  23588. - ApiKeyAuth: []
  23589. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23590. tags:
  23591. - 企业风险管理(app)
  23592. /Ermcp/QueryRoleMenu:
  23593. get:
  23594. parameters:
  23595. - description: 登录ID
  23596. in: query
  23597. name: loginid
  23598. required: true
  23599. type: integer
  23600. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23601. in: query
  23602. name: menutype
  23603. type: integer
  23604. produces:
  23605. - application/json
  23606. responses:
  23607. "200":
  23608. description: OK
  23609. schema:
  23610. items:
  23611. $ref: '#/definitions/models.RoleMenu'
  23612. type: array
  23613. "500":
  23614. description: Internal Server Error
  23615. schema:
  23616. $ref: '#/definitions/app.Response'
  23617. security:
  23618. - ApiKeyAuth: []
  23619. summary: 查询角色菜单和权限
  23620. tags:
  23621. - 企业风险管理(app)
  23622. /Ermcp/QueryTradeConfigTMP:
  23623. get:
  23624. parameters:
  23625. - description: 所属机构id
  23626. in: query
  23627. name: areauserid
  23628. type: integer
  23629. produces:
  23630. - application/json
  23631. responses:
  23632. "200":
  23633. description: OK
  23634. schema:
  23635. items:
  23636. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23637. type: array
  23638. "500":
  23639. description: Internal Server Error
  23640. schema:
  23641. $ref: '#/definitions/app.Response'
  23642. security:
  23643. - ApiKeyAuth: []
  23644. summary: 查询交易模板配置
  23645. tags:
  23646. - 企业风险管理(app)
  23647. /Ermcp/QueryUserInfo:
  23648. get:
  23649. parameters:
  23650. - description: 所属机构用户ID
  23651. in: query
  23652. name: MemberUserID
  23653. required: true
  23654. type: integer
  23655. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23656. in: query
  23657. name: queryType
  23658. required: true
  23659. type: integer
  23660. produces:
  23661. - application/json
  23662. responses:
  23663. "200":
  23664. description: OK
  23665. schema:
  23666. items:
  23667. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23668. type: array
  23669. "500":
  23670. description: Internal Server Error
  23671. schema:
  23672. $ref: '#/definitions/app.Response'
  23673. security:
  23674. - ApiKeyAuth: []
  23675. summary: 查询客户资料
  23676. tags:
  23677. - 企业风险管理(app)
  23678. /Ermcp/QueryWarehouseInfo:
  23679. get:
  23680. parameters:
  23681. - description: 用户ID
  23682. in: query
  23683. name: userid
  23684. required: true
  23685. type: integer
  23686. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23687. in: query
  23688. name: status
  23689. type: string
  23690. produces:
  23691. - application/json
  23692. responses:
  23693. "200":
  23694. description: OK
  23695. schema:
  23696. items:
  23697. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23698. type: array
  23699. "500":
  23700. description: Internal Server Error
  23701. schema:
  23702. $ref: '#/definitions/app.Response'
  23703. security:
  23704. - ApiKeyAuth: []
  23705. summary: 查询仓库信息
  23706. tags:
  23707. - 企业风险管理(app)
  23708. /Ermcp3/QryAreaExpourseContractDetail:
  23709. get:
  23710. parameters:
  23711. - description: 用户ID
  23712. in: query
  23713. name: userid
  23714. required: true
  23715. type: integer
  23716. - description: 套保商品id
  23717. in: query
  23718. name: middlegoodsid
  23719. required: true
  23720. type: integer
  23721. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23722. in: query
  23723. name: cycletype
  23724. required: true
  23725. type: integer
  23726. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23727. 全(0)【原值】
  23728. in: query
  23729. name: cycletime
  23730. required: true
  23731. type: string
  23732. produces:
  23733. - application/json
  23734. responses:
  23735. "200":
  23736. description: OK
  23737. schema:
  23738. items:
  23739. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23740. type: array
  23741. "500":
  23742. description: Internal Server Error
  23743. schema:
  23744. $ref: '#/definitions/app.Response'
  23745. security:
  23746. - ApiKeyAuth: []
  23747. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23748. tags:
  23749. - 企业风险管理v3(app)
  23750. /Ermcp3/QryAreaExpourseFutuDetail:
  23751. get:
  23752. parameters:
  23753. - description: 用户ID
  23754. in: query
  23755. name: userid
  23756. required: true
  23757. type: integer
  23758. - description: 套保商品id
  23759. in: query
  23760. name: middlegoodsid
  23761. required: true
  23762. type: integer
  23763. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23764. in: query
  23765. name: cycletype
  23766. required: true
  23767. type: integer
  23768. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23769. 全(0)【原值】
  23770. in: query
  23771. name: cycletime
  23772. required: true
  23773. type: string
  23774. produces:
  23775. - application/json
  23776. responses:
  23777. "200":
  23778. description: OK
  23779. schema:
  23780. items:
  23781. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23782. type: array
  23783. "500":
  23784. description: Internal Server Error
  23785. schema:
  23786. $ref: '#/definitions/app.Response'
  23787. security:
  23788. - ApiKeyAuth: []
  23789. summary: 查询敞口期货明细(敞口报表/期货明细)
  23790. tags:
  23791. - 企业风险管理v3(app)
  23792. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23793. get:
  23794. parameters:
  23795. - description: 用户ID
  23796. in: query
  23797. name: userid
  23798. required: true
  23799. type: integer
  23800. - description: 套保商品id
  23801. in: query
  23802. name: middlegoodsid
  23803. required: true
  23804. type: integer
  23805. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23806. in: query
  23807. name: cycletype
  23808. required: true
  23809. type: integer
  23810. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23811. 全(0)【原值】
  23812. in: query
  23813. name: cycletime
  23814. required: true
  23815. type: string
  23816. produces:
  23817. - application/json
  23818. responses:
  23819. "200":
  23820. description: OK
  23821. schema:
  23822. items:
  23823. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23824. type: array
  23825. "500":
  23826. description: Internal Server Error
  23827. schema:
  23828. $ref: '#/definitions/app.Response'
  23829. security:
  23830. - ApiKeyAuth: []
  23831. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23832. tags:
  23833. - 企业风险管理v3(app)
  23834. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23835. get:
  23836. parameters:
  23837. - description: 用户ID
  23838. in: query
  23839. name: userid
  23840. required: true
  23841. type: integer
  23842. - description: 套保商品id
  23843. in: query
  23844. name: middlegoodsid
  23845. required: true
  23846. type: integer
  23847. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23848. in: query
  23849. name: cycletype
  23850. required: true
  23851. type: integer
  23852. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23853. 全(0)【原值】
  23854. in: query
  23855. name: cycletime
  23856. required: true
  23857. type: string
  23858. produces:
  23859. - application/json
  23860. responses:
  23861. "200":
  23862. description: OK
  23863. schema:
  23864. items:
  23865. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23866. type: array
  23867. "500":
  23868. description: Internal Server Error
  23869. schema:
  23870. $ref: '#/definitions/app.Response'
  23871. security:
  23872. - ApiKeyAuth: []
  23873. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23874. tags:
  23875. - 企业风险管理v3(app)
  23876. /Ermcp3/QryAreaExpourseReport:
  23877. get:
  23878. parameters:
  23879. - description: 用户ID
  23880. in: query
  23881. name: userid
  23882. required: true
  23883. type: integer
  23884. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23885. in: query
  23886. name: querytype
  23887. required: true
  23888. type: integer
  23889. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23890. in: query
  23891. name: cycletype
  23892. required: true
  23893. type: integer
  23894. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23895. 全(0)【原值】
  23896. in: query
  23897. name: cycletime
  23898. required: true
  23899. type: string
  23900. produces:
  23901. - application/json
  23902. responses:
  23903. "200":
  23904. description: OK
  23905. schema:
  23906. items:
  23907. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23908. type: array
  23909. "500":
  23910. description: Internal Server Error
  23911. schema:
  23912. $ref: '#/definitions/app.Response'
  23913. security:
  23914. - ApiKeyAuth: []
  23915. summary: 查询敞口报表
  23916. tags:
  23917. - 企业风险管理v3(app)
  23918. /Ermcp3/QryAreaSpotplReport:
  23919. get:
  23920. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23921. parameters:
  23922. - description: 用户ID
  23923. in: query
  23924. name: userid
  23925. required: true
  23926. type: integer
  23927. - description: 查询类型 1-报表 2-报表明细
  23928. in: query
  23929. name: querytype
  23930. required: true
  23931. type: integer
  23932. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23933. in: query
  23934. name: cycletype
  23935. required: true
  23936. type: integer
  23937. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23938. 全(0)【原值】
  23939. in: query
  23940. name: cycletime
  23941. required: true
  23942. type: string
  23943. - description: 现货品种id(明细必填)
  23944. in: query
  23945. name: deliverygoodsid
  23946. type: integer
  23947. - description: 币种id(明细必填)
  23948. in: query
  23949. name: currencyid
  23950. type: integer
  23951. - description: 日/周/月报表汇总维度 1:品种+品类
  23952. in: query
  23953. name: sumflag
  23954. type: integer
  23955. produces:
  23956. - application/json
  23957. responses:
  23958. "200":
  23959. description: OK
  23960. schema:
  23961. items:
  23962. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23963. type: array
  23964. "500":
  23965. description: Internal Server Error
  23966. schema:
  23967. $ref: '#/definitions/app.Response'
  23968. security:
  23969. - ApiKeyAuth: []
  23970. summary: 查询现货报表
  23971. tags:
  23972. - 企业风险管理v3(app)
  23973. /Ermcp3/QryAreaStockReport:
  23974. get:
  23975. parameters:
  23976. - description: 用户ID
  23977. in: query
  23978. name: userid
  23979. required: true
  23980. type: integer
  23981. - description: 查询类型 1-报表 2-报表明细
  23982. in: query
  23983. name: querytype
  23984. required: true
  23985. type: integer
  23986. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23987. in: query
  23988. name: cycletype
  23989. required: true
  23990. type: integer
  23991. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23992. 全(0)【原值】
  23993. in: query
  23994. name: cycletime
  23995. required: true
  23996. type: string
  23997. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23998. in: query
  23999. name: sumfields
  24000. type: string
  24001. - description: 品种ID
  24002. in: query
  24003. name: deliverygoodsid
  24004. type: integer
  24005. - description: 品类ID
  24006. in: query
  24007. name: wrstandardid
  24008. type: integer
  24009. - description: 品牌ID
  24010. in: query
  24011. name: spotgoodsbrandid
  24012. type: integer
  24013. - description: 仓库ID
  24014. in: query
  24015. name: warehouseinfoid
  24016. type: integer
  24017. produces:
  24018. - application/json
  24019. responses:
  24020. "200":
  24021. description: OK
  24022. schema:
  24023. items:
  24024. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  24025. type: array
  24026. "500":
  24027. description: Internal Server Error
  24028. schema:
  24029. $ref: '#/definitions/app.Response'
  24030. security:
  24031. - ApiKeyAuth: []
  24032. summary: 查询库存报表
  24033. tags:
  24034. - 企业风险管理v3(app)
  24035. /Ermcp3/QryAreaSumPL:
  24036. get:
  24037. parameters:
  24038. - description: 用户ID
  24039. in: query
  24040. name: userid
  24041. required: true
  24042. type: integer
  24043. - description: 查询类型 1-报表 2-报表明细
  24044. in: query
  24045. name: querytype
  24046. required: true
  24047. type: integer
  24048. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24049. in: query
  24050. name: cycletype
  24051. required: true
  24052. type: integer
  24053. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24054. 全(0)【原值】
  24055. in: query
  24056. name: cycletime
  24057. required: true
  24058. type: string
  24059. - description: 币种id(明细必填)
  24060. in: query
  24061. name: currencyid
  24062. type: integer
  24063. produces:
  24064. - application/json
  24065. responses:
  24066. "200":
  24067. description: OK
  24068. schema:
  24069. items:
  24070. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  24071. type: array
  24072. "500":
  24073. description: Internal Server Error
  24074. schema:
  24075. $ref: '#/definitions/app.Response'
  24076. security:
  24077. - ApiKeyAuth: []
  24078. summary: 查询汇总损益表
  24079. tags:
  24080. - 企业风险管理v3(app)
  24081. /Ermcp3/QryFinanceReport:
  24082. get:
  24083. parameters:
  24084. - description: 用户ID
  24085. in: query
  24086. name: userid
  24087. required: true
  24088. type: integer
  24089. - description: 查询类型 1-报表 2-报表明细
  24090. in: query
  24091. name: querytype
  24092. required: true
  24093. type: integer
  24094. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24095. in: query
  24096. name: cycletype
  24097. required: true
  24098. type: integer
  24099. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24100. 全(0)【原值】
  24101. in: query
  24102. name: cycletime
  24103. required: true
  24104. type: string
  24105. - description: 币种id(报表明细必填)
  24106. in: query
  24107. name: currencyid
  24108. type: integer
  24109. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24110. in: query
  24111. name: sumfields
  24112. type: string
  24113. produces:
  24114. - application/json
  24115. responses:
  24116. "200":
  24117. description: OK
  24118. schema:
  24119. items:
  24120. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24121. type: array
  24122. "500":
  24123. description: Internal Server Error
  24124. schema:
  24125. $ref: '#/definitions/app.Response'
  24126. security:
  24127. - ApiKeyAuth: []
  24128. summary: 查询财务报表
  24129. tags:
  24130. - 企业风险管理v3(app)
  24131. /Ermcp3/QrySCMiddleGoodsReport:
  24132. get:
  24133. parameters:
  24134. - description: 用户ID
  24135. in: query
  24136. name: userid
  24137. required: true
  24138. type: integer
  24139. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24140. in: query
  24141. name: cycletype
  24142. required: true
  24143. type: integer
  24144. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24145. 全(0)【原值】
  24146. in: query
  24147. name: cycletime
  24148. required: true
  24149. type: string
  24150. - description: 合同id
  24151. in: query
  24152. name: spotcontractid
  24153. type: integer
  24154. - description: 套保品种id
  24155. in: query
  24156. name: middlegoodsid
  24157. type: integer
  24158. - description: 现货品种id
  24159. in: query
  24160. name: deliverygoodsid
  24161. type: integer
  24162. - description: 现货商品id
  24163. in: query
  24164. name: wrstandardid
  24165. type: integer
  24166. - description: 合同编号(模糊匹配)
  24167. in: query
  24168. name: contractno
  24169. type: string
  24170. produces:
  24171. - application/json
  24172. responses:
  24173. "200":
  24174. description: OK
  24175. schema:
  24176. items:
  24177. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24178. type: array
  24179. "500":
  24180. description: Internal Server Error
  24181. schema:
  24182. $ref: '#/definitions/app.Response'
  24183. security:
  24184. - ApiKeyAuth: []
  24185. summary: 查询定价报表
  24186. tags:
  24187. - 企业风险管理v3(app)
  24188. /Ermcp3/QryTaFutureDataReport:
  24189. get:
  24190. parameters:
  24191. - description: 用户ID
  24192. in: query
  24193. name: userid
  24194. required: true
  24195. type: integer
  24196. - description: 查询类型 1-报表 2-报表明细
  24197. in: query
  24198. name: querytype
  24199. required: true
  24200. type: integer
  24201. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24202. in: query
  24203. name: cycletype
  24204. required: true
  24205. type: integer
  24206. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24207. 全(0)【原值】
  24208. in: query
  24209. name: cycletime
  24210. required: true
  24211. type: string
  24212. - description: 币种id(查明细必填)
  24213. in: query
  24214. name: currencyid
  24215. type: integer
  24216. - description: 品种id(查明细必填)
  24217. in: query
  24218. name: goodsgroupid
  24219. type: integer
  24220. - description: 商品id(查明细必填)
  24221. in: query
  24222. name: goodsid
  24223. type: integer
  24224. - description: 买卖方向(查明细必填)
  24225. in: query
  24226. name: buyorsell
  24227. type: integer
  24228. produces:
  24229. - application/json
  24230. responses:
  24231. "200":
  24232. description: OK
  24233. schema:
  24234. items:
  24235. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24236. type: array
  24237. "500":
  24238. description: Internal Server Error
  24239. schema:
  24240. $ref: '#/definitions/app.Response'
  24241. security:
  24242. - ApiKeyAuth: []
  24243. summary: 查询期货报表
  24244. tags:
  24245. - 企业风险管理v3(app)
  24246. /Ermcp3/QueryAreaStock:
  24247. get:
  24248. parameters:
  24249. - description: 用户ID
  24250. in: query
  24251. name: userid
  24252. required: true
  24253. type: integer
  24254. produces:
  24255. - application/json
  24256. responses:
  24257. "200":
  24258. description: OK
  24259. schema:
  24260. items:
  24261. $ref: '#/definitions/models.Ermcp3AreaStock'
  24262. type: array
  24263. "500":
  24264. description: Internal Server Error
  24265. schema:
  24266. $ref: '#/definitions/app.Response'
  24267. security:
  24268. - ApiKeyAuth: []
  24269. summary: 查询机构库存(库存管理/当前库存)
  24270. tags:
  24271. - 企业风险管理v3(app)
  24272. /Ermcp3/QueryAreaStockApply:
  24273. get:
  24274. parameters:
  24275. - description: 用户ID
  24276. in: query
  24277. name: userid
  24278. required: true
  24279. type: integer
  24280. - description: 用户类型 2-机构 7-企业成员
  24281. in: query
  24282. name: usertype
  24283. type: integer
  24284. - description: 现货商品ID
  24285. in: query
  24286. name: deliverygoodsid
  24287. type: integer
  24288. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24289. in: query
  24290. name: inouttype
  24291. type: string
  24292. - description: 合同ID
  24293. in: query
  24294. name: spotcontractid
  24295. type: integer
  24296. - description: 品类ID
  24297. in: query
  24298. name: wrstandardid
  24299. type: integer
  24300. - description: 品牌ID
  24301. in: query
  24302. name: spotgoodsbrandid
  24303. type: integer
  24304. - description: 仓库ID
  24305. in: query
  24306. name: warehouseinfoid
  24307. type: integer
  24308. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24309. in: query
  24310. name: applystatus
  24311. type: string
  24312. produces:
  24313. - application/json
  24314. responses:
  24315. "200":
  24316. description: OK
  24317. schema:
  24318. items:
  24319. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24320. type: array
  24321. "500":
  24322. description: Internal Server Error
  24323. schema:
  24324. $ref: '#/definitions/app.Response'
  24325. security:
  24326. - ApiKeyAuth: []
  24327. summary: 查询库存申请(出入库记录|库存审核)
  24328. tags:
  24329. - 企业风险管理v3(app)
  24330. /Ermcp3/QueryAreaStockApplySum:
  24331. get:
  24332. parameters:
  24333. - description: 合同ID
  24334. in: query
  24335. name: spotcontractid
  24336. required: true
  24337. type: integer
  24338. produces:
  24339. - application/json
  24340. responses:
  24341. "200":
  24342. description: OK
  24343. schema:
  24344. items:
  24345. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24346. type: array
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24354. tags:
  24355. - 企业风险管理v3(app)
  24356. /Ermcp3/QueryDGFactoryItem:
  24357. get:
  24358. parameters:
  24359. - description: 用户id
  24360. in: query
  24361. name: userid
  24362. type: integer
  24363. - description: 用户类型 2-机构 7-企业成员
  24364. in: query
  24365. name: usertype
  24366. type: integer
  24367. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24368. in: query
  24369. name: dgfactoryitemid
  24370. type: integer
  24371. - description: 现货品种ID
  24372. in: query
  24373. name: deliverygoodsid
  24374. type: integer
  24375. - description: 要素项类型
  24376. in: query
  24377. name: dgfactoryitemtypeid
  24378. type: integer
  24379. - description: 顺序
  24380. in: query
  24381. name: orderindex
  24382. type: integer
  24383. produces:
  24384. - application/json
  24385. responses:
  24386. "200":
  24387. description: OK
  24388. schema:
  24389. items:
  24390. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24391. type: array
  24392. "500":
  24393. description: Internal Server Error
  24394. schema:
  24395. $ref: '#/definitions/app.Response'
  24396. security:
  24397. - ApiKeyAuth: []
  24398. summary: 查询品种要素定义项
  24399. tags:
  24400. - 企业风险管理v3(app)
  24401. /Ermcp3/QueryDeliveryGoods:
  24402. get:
  24403. parameters:
  24404. - description: 用户id
  24405. in: query
  24406. name: userid
  24407. required: true
  24408. type: integer
  24409. - description: 用户类型 2-机构 7-企业成员
  24410. in: query
  24411. name: usertype
  24412. type: integer
  24413. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24414. in: query
  24415. name: excludecfg
  24416. type: integer
  24417. produces:
  24418. - application/json
  24419. responses:
  24420. "200":
  24421. description: OK
  24422. schema:
  24423. items:
  24424. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24425. type: array
  24426. "500":
  24427. description: Internal Server Error
  24428. schema:
  24429. $ref: '#/definitions/app.Response'
  24430. security:
  24431. - ApiKeyAuth: []
  24432. summary: 查询现货商品
  24433. tags:
  24434. - 企业风险管理v3(app)
  24435. /Ermcp3/QueryDeliveryGoodsDetail:
  24436. get:
  24437. parameters:
  24438. - description: 用户id
  24439. in: query
  24440. name: userid
  24441. required: true
  24442. type: integer
  24443. - description: 用户类型 2-机构 7-企业成员
  24444. in: query
  24445. name: usertype
  24446. type: integer
  24447. - description: 现货商品id
  24448. in: query
  24449. name: deliverygoodsid
  24450. type: integer
  24451. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24452. in: query
  24453. name: filtersubempty
  24454. type: integer
  24455. produces:
  24456. - application/json
  24457. responses:
  24458. "200":
  24459. description: OK
  24460. schema:
  24461. items:
  24462. $ref: '#/definitions/models.XHDeliveryGoods'
  24463. type: array
  24464. "500":
  24465. description: Internal Server Error
  24466. schema:
  24467. $ref: '#/definitions/app.Response'
  24468. security:
  24469. - ApiKeyAuth: []
  24470. summary: 查询现货商品详情
  24471. tags:
  24472. - 企业风险管理v3(app)
  24473. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24474. get:
  24475. parameters:
  24476. - description: 合同id
  24477. in: query
  24478. name: spotcontractid
  24479. required: true
  24480. type: string
  24481. produces:
  24482. - application/json
  24483. responses:
  24484. "200":
  24485. description: OK
  24486. schema:
  24487. items:
  24488. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24489. type: array
  24490. "500":
  24491. description: Internal Server Error
  24492. schema:
  24493. $ref: '#/definitions/app.Response'
  24494. security:
  24495. - ApiKeyAuth: []
  24496. summary: 查询现货合同期现配置信息
  24497. tags:
  24498. - 企业风险管理v3(app)
  24499. /Ermcp3/QueryExposureDetail:
  24500. get:
  24501. parameters:
  24502. - description: 用户id
  24503. in: query
  24504. name: userid
  24505. required: true
  24506. type: integer
  24507. - description: 用户类型 2-机构 7-企业成员
  24508. in: query
  24509. name: usertype
  24510. type: integer
  24511. - description: 套保商品
  24512. in: query
  24513. name: middlegoodsid
  24514. required: true
  24515. type: integer
  24516. produces:
  24517. - application/json
  24518. responses:
  24519. "200":
  24520. description: OK
  24521. schema:
  24522. items:
  24523. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24524. type: array
  24525. "500":
  24526. description: Internal Server Error
  24527. schema:
  24528. $ref: '#/definitions/app.Response'
  24529. security:
  24530. - ApiKeyAuth: []
  24531. summary: 查询敞口现货明细
  24532. tags:
  24533. - 企业风险管理v3(app)
  24534. /Ermcp3/QueryExposureSpot:
  24535. get:
  24536. parameters:
  24537. - description: 用户id
  24538. in: query
  24539. name: userid
  24540. required: true
  24541. type: integer
  24542. - description: 用户类型 2-机构 7-企业成员
  24543. in: query
  24544. name: usertype
  24545. type: integer
  24546. produces:
  24547. - application/json
  24548. responses:
  24549. "200":
  24550. description: OK
  24551. schema:
  24552. items:
  24553. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24554. type: array
  24555. "500":
  24556. description: Internal Server Error
  24557. schema:
  24558. $ref: '#/definitions/app.Response'
  24559. security:
  24560. - ApiKeyAuth: []
  24561. summary: 查询敞口现货头寸(敞口/现货头寸)
  24562. tags:
  24563. - 企业风险管理v3(app)
  24564. /Ermcp3/QueryExposureSpotDetail:
  24565. get:
  24566. parameters:
  24567. - description: 用户id
  24568. in: query
  24569. name: userid
  24570. required: true
  24571. type: integer
  24572. - description: 用户类型 2-机构 7-企业成员
  24573. in: query
  24574. name: usertype
  24575. type: integer
  24576. - description: 现货商品ID
  24577. in: query
  24578. name: wrstandardid
  24579. required: true
  24580. type: integer
  24581. produces:
  24582. - application/json
  24583. responses:
  24584. "200":
  24585. description: OK
  24586. schema:
  24587. items:
  24588. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24589. type: array
  24590. "500":
  24591. description: Internal Server Error
  24592. schema:
  24593. $ref: '#/definitions/app.Response'
  24594. security:
  24595. - ApiKeyAuth: []
  24596. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24597. tags:
  24598. - 企业风险管理v3(app)
  24599. /Ermcp3/QueryGoodsGroup:
  24600. get:
  24601. parameters:
  24602. - description: 用户id
  24603. in: query
  24604. name: userid
  24605. required: true
  24606. type: integer
  24607. - description: 用户类型 2-机构 7-企业成员
  24608. in: query
  24609. name: usertype
  24610. type: integer
  24611. - description: 排除套保品中已关联的商品组 1-排除
  24612. in: query
  24613. name: excludecfg
  24614. type: integer
  24615. produces:
  24616. - application/json
  24617. responses:
  24618. "200":
  24619. description: OK
  24620. schema:
  24621. items:
  24622. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24623. type: array
  24624. "500":
  24625. description: Internal Server Error
  24626. schema:
  24627. $ref: '#/definitions/app.Response'
  24628. security:
  24629. - ApiKeyAuth: []
  24630. summary: 查询期货商品组
  24631. tags:
  24632. - 企业风险管理v3(app)
  24633. /Ermcp3/QueryGoodsWrstandard:
  24634. get:
  24635. parameters:
  24636. - description: 用户id
  24637. in: query
  24638. name: userid
  24639. required: true
  24640. type: integer
  24641. - description: 用户类型 2-机构 7-企业成员
  24642. in: query
  24643. name: usertype
  24644. type: integer
  24645. - description: 现货商品id
  24646. in: query
  24647. name: deliverygoodsid
  24648. type: integer
  24649. produces:
  24650. - application/json
  24651. responses:
  24652. "200":
  24653. description: OK
  24654. schema:
  24655. items:
  24656. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24657. type: array
  24658. "500":
  24659. description: Internal Server Error
  24660. schema:
  24661. $ref: '#/definitions/app.Response'
  24662. security:
  24663. - ApiKeyAuth: []
  24664. summary: 查询商品品类
  24665. tags:
  24666. - 企业风险管理v3(app)
  24667. /Ermcp3/QueryGoodsbrand:
  24668. get:
  24669. parameters:
  24670. - description: 用户id
  24671. in: query
  24672. name: userid
  24673. required: true
  24674. type: integer
  24675. - description: 用户类型 2-机构 7-企业成员
  24676. in: query
  24677. name: usertype
  24678. type: integer
  24679. produces:
  24680. - application/json
  24681. responses:
  24682. "200":
  24683. description: OK
  24684. schema:
  24685. items:
  24686. $ref: '#/definitions/models.Ermcp3Brand'
  24687. type: array
  24688. "500":
  24689. description: Internal Server Error
  24690. schema:
  24691. $ref: '#/definitions/app.Response'
  24692. security:
  24693. - ApiKeyAuth: []
  24694. summary: 查询商品品牌
  24695. tags:
  24696. - 企业风险管理v3(app)
  24697. /Ermcp3/QueryHPMiddleGoods:
  24698. get:
  24699. parameters:
  24700. - description: 用户ID(填登录用户的userid)
  24701. in: query
  24702. name: userid
  24703. required: true
  24704. type: integer
  24705. - description: 买卖方向 0-买 1-卖
  24706. in: query
  24707. name: buyorsell
  24708. required: true
  24709. type: integer
  24710. - description: 商品组id
  24711. in: query
  24712. name: goodsgroupid
  24713. required: true
  24714. type: integer
  24715. - description: 套保计划编号(模糊匹配)
  24716. in: query
  24717. name: hedgeplanno
  24718. type: string
  24719. - description: 现货商品名称(模糊匹配)
  24720. in: query
  24721. name: wrstandardname
  24722. type: string
  24723. produces:
  24724. - application/json
  24725. responses:
  24726. "200":
  24727. description: OK
  24728. schema:
  24729. items:
  24730. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24731. type: array
  24732. "500":
  24733. description: Internal Server Error
  24734. schema:
  24735. $ref: '#/definitions/app.Response'
  24736. security:
  24737. - ApiKeyAuth: []
  24738. summary: 查询可关联套保计划
  24739. tags:
  24740. - 企业风险管理v3(app)
  24741. /Ermcp3/QueryHedgePlan:
  24742. get:
  24743. parameters:
  24744. - description: 用户ID
  24745. in: query
  24746. name: userid
  24747. required: true
  24748. type: integer
  24749. - description: 用户类型 2-机构 7-企业成员
  24750. in: query
  24751. name: usertype
  24752. type: integer
  24753. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24754. in: query
  24755. name: hedgeplanstatus
  24756. required: true
  24757. type: string
  24758. produces:
  24759. - application/json
  24760. responses:
  24761. "200":
  24762. description: OK
  24763. schema:
  24764. items:
  24765. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24766. type: array
  24767. "500":
  24768. description: Internal Server Error
  24769. schema:
  24770. $ref: '#/definitions/app.Response'
  24771. security:
  24772. - ApiKeyAuth: []
  24773. summary: 查询套保计划
  24774. tags:
  24775. - 企业风险管理v3(app)
  24776. /Ermcp3/QueryInnerTradeLink:
  24777. get:
  24778. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24779. parameters:
  24780. - description: 外部成交单号
  24781. in: query
  24782. name: outtradeid
  24783. required: true
  24784. type: integer
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. items:
  24792. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24793. type: array
  24794. "500":
  24795. description: Internal Server Error
  24796. schema:
  24797. $ref: '#/definitions/app.Response'
  24798. security:
  24799. - ApiKeyAuth: []
  24800. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24801. tags:
  24802. - 企业风险管理v3(app)
  24803. /Ermcp3/QueryMiddleGoodsDetail:
  24804. get:
  24805. parameters:
  24806. - description: 用户id
  24807. in: query
  24808. name: userid
  24809. required: true
  24810. type: integer
  24811. - description: 用户类型 2-机构 7-企业成员
  24812. in: query
  24813. name: usertype
  24814. type: integer
  24815. - description: 套保品种id
  24816. in: query
  24817. name: middlegoodsid
  24818. type: integer
  24819. produces:
  24820. - application/json
  24821. responses:
  24822. "200":
  24823. description: OK
  24824. schema:
  24825. items:
  24826. $ref: '#/definitions/models.TBMiddleGoods'
  24827. type: array
  24828. "500":
  24829. description: Internal Server Error
  24830. schema:
  24831. $ref: '#/definitions/app.Response'
  24832. security:
  24833. - ApiKeyAuth: []
  24834. summary: 查询套保品种详情(套保品种/商品详情)
  24835. tags:
  24836. - 企业风险管理v3(app)
  24837. /Ermcp3/QueryOutTradeLink:
  24838. get:
  24839. description: 页面 app 现货->期现关联->外部成交单关联
  24840. parameters:
  24841. - description: 用户ID(填登录用户的userid)
  24842. in: query
  24843. name: userid
  24844. required: true
  24845. type: integer
  24846. - description: 外部订单号(模糊匹配)
  24847. in: query
  24848. name: outtradeid
  24849. type: string
  24850. - description: 合约名称/代码(模糊匹配)
  24851. in: query
  24852. name: goodsname
  24853. type: string
  24854. - description: 关联状态 0-未关联 1-已关联
  24855. in: query
  24856. name: hasinnerorder
  24857. type: integer
  24858. produces:
  24859. - application/json
  24860. responses:
  24861. "200":
  24862. description: OK
  24863. schema:
  24864. items:
  24865. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24866. type: array
  24867. "500":
  24868. description: Internal Server Error
  24869. schema:
  24870. $ref: '#/definitions/app.Response'
  24871. security:
  24872. - ApiKeyAuth: []
  24873. summary: 查询外部成交单关联
  24874. tags:
  24875. - 企业风险管理v3(app)
  24876. /Ermcp3/QueryPaAreaAuditCfg:
  24877. get:
  24878. parameters:
  24879. - description: 用户id
  24880. in: query
  24881. name: userid
  24882. required: true
  24883. type: integer
  24884. produces:
  24885. - application/json
  24886. responses:
  24887. "200":
  24888. description: OK
  24889. schema:
  24890. items:
  24891. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24892. type: array
  24893. "500":
  24894. description: Internal Server Error
  24895. schema:
  24896. $ref: '#/definitions/app.Response'
  24897. security:
  24898. - ApiKeyAuth: []
  24899. summary: 查询审核设置
  24900. tags:
  24901. - 企业风险管理v3(app)
  24902. /Ermcp3/QueryPaAreaSubject:
  24903. get:
  24904. parameters:
  24905. - description: 用户id
  24906. in: query
  24907. name: userid
  24908. required: true
  24909. type: integer
  24910. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24911. in: query
  24912. name: subjectid
  24913. type: integer
  24914. - description: 主体类型 - 1:交易主体 2:业务部门
  24915. in: query
  24916. name: subjecttype
  24917. type: integer
  24918. - description: '主体状态 - 1:正常 2: 停用'
  24919. in: query
  24920. name: subjectstatus
  24921. type: integer
  24922. produces:
  24923. - application/json
  24924. responses:
  24925. "200":
  24926. description: OK
  24927. schema:
  24928. items:
  24929. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24930. type: array
  24931. "500":
  24932. description: Internal Server Error
  24933. schema:
  24934. $ref: '#/definitions/app.Response'
  24935. security:
  24936. - ApiKeyAuth: []
  24937. summary: 查询交易主体
  24938. tags:
  24939. - 企业风险管理v3(app)
  24940. /Ermcp3/QueryPaTradeLink:
  24941. get:
  24942. description: 页面 app 现货->期现关联->期现单据关联
  24943. parameters:
  24944. - description: 用户ID
  24945. in: query
  24946. name: userid
  24947. required: true
  24948. type: integer
  24949. produces:
  24950. - application/json
  24951. responses:
  24952. "200":
  24953. description: OK
  24954. schema:
  24955. items:
  24956. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24957. type: array
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. security:
  24963. - ApiKeyAuth: []
  24964. summary: 查询期现单据关联
  24965. tags:
  24966. - 企业风险管理v3(app)
  24967. /Ermcp3/QueryPaTradeLinkDetail:
  24968. get:
  24969. description: 页面 app 现货->期现关联->关联记录
  24970. parameters:
  24971. - description: 用户ID(填登录用户的userid)
  24972. in: query
  24973. name: userid
  24974. required: true
  24975. type: integer
  24976. - description: 关联状态 1:成功 2:失败 3:解绑
  24977. in: query
  24978. name: linkstatus
  24979. type: integer
  24980. - description: 期货订单号(模糊匹配)
  24981. in: query
  24982. name: tradeid
  24983. type: string
  24984. - description: 现货编号(模糊匹配)
  24985. in: query
  24986. name: contractno
  24987. type: string
  24988. - description: 期货账户(模糊匹配)
  24989. in: query
  24990. name: taname
  24991. type: string
  24992. produces:
  24993. - application/json
  24994. responses:
  24995. "200":
  24996. description: OK
  24997. schema:
  24998. items:
  24999. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  25000. type: array
  25001. "500":
  25002. description: Internal Server Error
  25003. schema:
  25004. $ref: '#/definitions/app.Response'
  25005. security:
  25006. - ApiKeyAuth: []
  25007. summary: 查询期现关联记录
  25008. tags:
  25009. - 企业风险管理v3(app)
  25010. /Ermcp3/QueryParamChangeApp:
  25011. get:
  25012. description: |-
  25013. 原型页面:
  25014. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  25015. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  25016. parameters:
  25017. - description: 用户ID
  25018. in: query
  25019. name: userid
  25020. required: true
  25021. type: integer
  25022. - description: 现货品种id
  25023. in: query
  25024. name: deliverygoodsid
  25025. type: integer
  25026. - description: 现货商品id
  25027. in: query
  25028. name: wrstandardid
  25029. type: integer
  25030. - description: 套保商品id
  25031. in: query
  25032. name: middlegoodsid
  25033. type: integer
  25034. - description: 操作类型 1:新增 2:修改
  25035. in: query
  25036. name: operatetype
  25037. type: integer
  25038. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  25039. in: query
  25040. name: paramchangetype
  25041. type: integer
  25042. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25043. in: query
  25044. name: ftstatus
  25045. type: string
  25046. produces:
  25047. - application/json
  25048. responses:
  25049. "200":
  25050. description: OK
  25051. schema:
  25052. items:
  25053. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  25054. type: array
  25055. "500":
  25056. description: Internal Server Error
  25057. schema:
  25058. $ref: '#/definitions/app.Response'
  25059. security:
  25060. - ApiKeyAuth: []
  25061. summary: 查询现货商品参数变更申请(流水)
  25062. tags:
  25063. - 企业风险管理v3(app)
  25064. /Ermcp3/QueryRootUserAccount:
  25065. get:
  25066. parameters:
  25067. - description: 用户ID
  25068. in: query
  25069. name: userid
  25070. required: true
  25071. type: integer
  25072. produces:
  25073. - application/json
  25074. responses:
  25075. "200":
  25076. description: OK
  25077. schema:
  25078. items:
  25079. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  25080. type: array
  25081. "500":
  25082. description: Internal Server Error
  25083. schema:
  25084. $ref: '#/definitions/app.Response'
  25085. security:
  25086. - ApiKeyAuth: []
  25087. summary: 查询顶级用户信息
  25088. tags:
  25089. - 企业风险管理v3(app)
  25090. /Ermcp3/QuerySCMiddleGoods:
  25091. get:
  25092. description: |-
  25093. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25094. 现货编号 即 合同编号
  25095. parameters:
  25096. - description: 用户ID(填登录用户的userid)
  25097. in: query
  25098. name: userid
  25099. required: true
  25100. type: integer
  25101. - description: 买卖方向 0-买 1-卖
  25102. in: query
  25103. name: buyorsell
  25104. required: true
  25105. type: integer
  25106. - description: 商品组id
  25107. in: query
  25108. name: goodsgroupid
  25109. required: true
  25110. type: integer
  25111. - description: 业务类型 1:套保 2:套利
  25112. in: query
  25113. name: biztype
  25114. type: integer
  25115. - description: 现货编号(模糊匹配)
  25116. in: query
  25117. name: contractno
  25118. type: string
  25119. - description: 对手方(模糊匹配)
  25120. in: query
  25121. name: customername
  25122. type: string
  25123. - description: 现货商品名称(模糊匹配)
  25124. in: query
  25125. name: wrstandardname
  25126. type: string
  25127. produces:
  25128. - application/json
  25129. responses:
  25130. "200":
  25131. description: OK
  25132. schema:
  25133. items:
  25134. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25135. type: array
  25136. "500":
  25137. description: Internal Server Error
  25138. schema:
  25139. $ref: '#/definitions/app.Response'
  25140. security:
  25141. - ApiKeyAuth: []
  25142. summary: 查询现货订单
  25143. tags:
  25144. - 企业风险管理v3(app)
  25145. /Ermcp3/QuerySpotContract:
  25146. get:
  25147. parameters:
  25148. - description: 用户id(当指定contractid, userid可不填)
  25149. in: query
  25150. name: userid
  25151. required: true
  25152. type: integer
  25153. - description: 用户类型 2-机构 7-企业成员
  25154. in: query
  25155. name: usertype
  25156. type: integer
  25157. - description: 合同类型 1-采购, -1-销售
  25158. in: query
  25159. name: contracttype
  25160. type: integer
  25161. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25162. in: query
  25163. name: querytype
  25164. type: string
  25165. - description: 合同ID(SpotContractId)
  25166. in: query
  25167. name: contractid
  25168. type: string
  25169. - description: 合同编号(模糊匹配)
  25170. in: query
  25171. name: contractno
  25172. type: string
  25173. - description: 商品名称(模糊匹配)
  25174. in: query
  25175. name: wrstandardname
  25176. type: string
  25177. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25178. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25179. in: query
  25180. name: status
  25181. type: string
  25182. - description: 是否只查今日的合同 1-查今日合同
  25183. in: query
  25184. name: istoday
  25185. type: integer
  25186. produces:
  25187. - application/json
  25188. responses:
  25189. "200":
  25190. description: OK
  25191. schema:
  25192. items:
  25193. $ref: '#/definitions/models.Ermcp3Contract'
  25194. type: array
  25195. "500":
  25196. description: Internal Server Error
  25197. schema:
  25198. $ref: '#/definitions/app.Response'
  25199. security:
  25200. - ApiKeyAuth: []
  25201. summary: 查询现货合同
  25202. tags:
  25203. - 企业风险管理v3(app)
  25204. /Ermcp3/QuerySpotContractBS:
  25205. get:
  25206. parameters:
  25207. - description: 用户id
  25208. in: query
  25209. name: userid
  25210. required: true
  25211. type: integer
  25212. - description: 用户类型 2-机构 7-企业成员
  25213. in: query
  25214. name: usertype
  25215. type: integer
  25216. - description: 合同类型 1-采购, -1-销售
  25217. in: query
  25218. name: contracttype
  25219. required: true
  25220. type: integer
  25221. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25222. in: query
  25223. name: querytype
  25224. type: integer
  25225. - description: 合同ID(SpotContractId)
  25226. in: query
  25227. name: contractid
  25228. type: string
  25229. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25230. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25231. in: query
  25232. name: status
  25233. type: string
  25234. - description: 是否只查今日的合同 1-查今日合同
  25235. in: query
  25236. name: istoday
  25237. type: integer
  25238. produces:
  25239. - application/json
  25240. responses:
  25241. "200":
  25242. description: OK
  25243. schema:
  25244. items:
  25245. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25246. type: array
  25247. "500":
  25248. description: Internal Server Error
  25249. schema:
  25250. $ref: '#/definitions/app.Response'
  25251. security:
  25252. - ApiKeyAuth: []
  25253. summary: 查询合同(采购/销售)
  25254. tags:
  25255. - 企业风险管理v3(app)
  25256. /Ermcp3/QuerySpotGoodsPrice:
  25257. get:
  25258. parameters:
  25259. - description: 用户ID
  25260. in: query
  25261. name: userid
  25262. required: true
  25263. type: integer
  25264. produces:
  25265. - application/json
  25266. responses:
  25267. "200":
  25268. description: OK
  25269. schema:
  25270. items:
  25271. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25272. type: array
  25273. "500":
  25274. description: Internal Server Error
  25275. schema:
  25276. $ref: '#/definitions/app.Response'
  25277. security:
  25278. - ApiKeyAuth: []
  25279. summary: 查询现货市价(现货市价)
  25280. tags:
  25281. - 企业风险管理v3(app)
  25282. /Ermcp3/QuerySpotGoodsPriceLog:
  25283. get:
  25284. parameters:
  25285. - description: 用户ID
  25286. in: query
  25287. name: userid
  25288. required: true
  25289. type: integer
  25290. - description: 现货商品ID
  25291. in: query
  25292. name: deliverygoodsid
  25293. required: true
  25294. type: integer
  25295. - description: 品牌ID
  25296. in: query
  25297. name: brandid
  25298. type: integer
  25299. - description: 品类ID
  25300. in: query
  25301. name: wrstandardid
  25302. type: integer
  25303. produces:
  25304. - application/json
  25305. responses:
  25306. "200":
  25307. description: OK
  25308. schema:
  25309. items:
  25310. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25311. type: array
  25312. "500":
  25313. description: Internal Server Error
  25314. schema:
  25315. $ref: '#/definitions/app.Response'
  25316. security:
  25317. - ApiKeyAuth: []
  25318. summary: 查询现货市价详情(现货市价/详情)
  25319. tags:
  25320. - 企业风险管理v3(app)
  25321. /Ermcp3/QuerySubTaaccount:
  25322. get:
  25323. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25324. parameters:
  25325. - description: 母账号id
  25326. in: query
  25327. name: parentaccountid
  25328. type: integer
  25329. - description: 母账号代码
  25330. in: query
  25331. name: parentaccountcode
  25332. type: string
  25333. produces:
  25334. - application/json
  25335. responses:
  25336. "200":
  25337. description: OK
  25338. schema:
  25339. items:
  25340. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25341. type: array
  25342. "500":
  25343. description: Internal Server Error
  25344. schema:
  25345. $ref: '#/definitions/app.Response'
  25346. security:
  25347. - ApiKeyAuth: []
  25348. summary: 查询期货子账户
  25349. tags:
  25350. - 企业风险管理v3(app)
  25351. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25352. get:
  25353. parameters:
  25354. - description: 套期项目ID
  25355. in: query
  25356. name: hedgeditemid
  25357. required: true
  25358. type: integer
  25359. produces:
  25360. - application/json
  25361. responses:
  25362. "200":
  25363. description: OK
  25364. schema:
  25365. items:
  25366. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25367. type: array
  25368. "500":
  25369. description: Internal Server Error
  25370. schema:
  25371. $ref: '#/definitions/app.Response'
  25372. security:
  25373. - ApiKeyAuth: []
  25374. summary: 现货成交明细查询
  25375. tags:
  25376. - 企业风险管理v8
  25377. /Ermcp8/QueryERMCP2HedgedItemspot:
  25378. get:
  25379. parameters:
  25380. - description: 套期项目ID
  25381. in: query
  25382. name: hedgeditemid
  25383. required: true
  25384. type: integer
  25385. produces:
  25386. - application/json
  25387. responses:
  25388. "200":
  25389. description: OK
  25390. schema:
  25391. items:
  25392. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25393. type: array
  25394. "500":
  25395. description: Internal Server Error
  25396. schema:
  25397. $ref: '#/definitions/app.Response'
  25398. security:
  25399. - ApiKeyAuth: []
  25400. summary: 套期计划明细查询
  25401. tags:
  25402. - 企业风险管理v8
  25403. /Ermcp8/QueryERMCPJRLinkPos:
  25404. get:
  25405. parameters:
  25406. - description: 套期项目ID
  25407. in: query
  25408. name: hedgeditemid
  25409. required: true
  25410. type: integer
  25411. produces:
  25412. - application/json
  25413. responses:
  25414. "200":
  25415. description: OK
  25416. schema:
  25417. items:
  25418. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25419. type: array
  25420. "500":
  25421. description: Internal Server Error
  25422. schema:
  25423. $ref: '#/definitions/app.Response'
  25424. security:
  25425. - ApiKeyAuth: []
  25426. summary: 期货持仓明细查询
  25427. tags:
  25428. - 企业风险管理v8
  25429. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25430. get:
  25431. parameters:
  25432. - description: 套期项目ID
  25433. in: query
  25434. name: hedgeditemid
  25435. required: true
  25436. type: integer
  25437. produces:
  25438. - application/json
  25439. responses:
  25440. "200":
  25441. description: OK
  25442. schema:
  25443. items:
  25444. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25445. type: array
  25446. "500":
  25447. description: Internal Server Error
  25448. schema:
  25449. $ref: '#/definitions/app.Response'
  25450. security:
  25451. - ApiKeyAuth: []
  25452. summary: 期货成交单明细查询
  25453. tags:
  25454. - 企业风险管理v8
  25455. /Ermcp8/QueryErmcp2AreaExposure:
  25456. get:
  25457. parameters:
  25458. - description: 用户ID
  25459. in: query
  25460. name: userid
  25461. required: true
  25462. type: string
  25463. produces:
  25464. - application/json
  25465. responses:
  25466. "200":
  25467. description: OK
  25468. schema:
  25469. items:
  25470. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25471. type: array
  25472. "500":
  25473. description: Internal Server Error
  25474. schema:
  25475. $ref: '#/definitions/app.Response'
  25476. security:
  25477. - ApiKeyAuth: []
  25478. summary: 企业敞口查询
  25479. tags:
  25480. - 企业风险管理v8
  25481. /Ermcp8/QueryErmcp2HedgedItem:
  25482. get:
  25483. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25484. parameters:
  25485. - description: 用户ID
  25486. in: query
  25487. name: userid
  25488. required: true
  25489. type: string
  25490. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25491. in: query
  25492. name: hedgedtype
  25493. type: integer
  25494. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25495. in: query
  25496. name: hedgeditemstatus
  25497. type: integer
  25498. produces:
  25499. - application/json
  25500. responses:
  25501. "200":
  25502. description: OK
  25503. schema:
  25504. items:
  25505. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25506. type: array
  25507. "500":
  25508. description: Internal Server Error
  25509. schema:
  25510. $ref: '#/definitions/app.Response'
  25511. security:
  25512. - ApiKeyAuth: []
  25513. summary: 查询被套期项目信息
  25514. tags:
  25515. - 企业风险管理v8
  25516. /Ermcp8/QueryErmcp2HedgedItemLink:
  25517. get:
  25518. parameters:
  25519. - description: 现货合同ID
  25520. in: query
  25521. name: spotcontractid
  25522. required: true
  25523. type: integer
  25524. produces:
  25525. - application/json
  25526. responses:
  25527. "200":
  25528. description: OK
  25529. schema:
  25530. items:
  25531. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  25532. type: array
  25533. "500":
  25534. description: Internal Server Error
  25535. schema:
  25536. $ref: '#/definitions/app.Response'
  25537. security:
  25538. - ApiKeyAuth: []
  25539. summary: 现货合同关联被套期项目查询
  25540. tags:
  25541. - 企业风险管理v8
  25542. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25543. get:
  25544. parameters:
  25545. - description: 用户ID
  25546. in: query
  25547. name: userid
  25548. required: true
  25549. type: integer
  25550. - description: 套保品种ID
  25551. in: query
  25552. name: middlegoodsid
  25553. required: true
  25554. type: integer
  25555. produces:
  25556. - application/json
  25557. responses:
  25558. "200":
  25559. description: OK
  25560. schema:
  25561. items:
  25562. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25563. type: array
  25564. "500":
  25565. description: Internal Server Error
  25566. schema:
  25567. $ref: '#/definitions/app.Response'
  25568. security:
  25569. - ApiKeyAuth: []
  25570. summary: 敞口明细 - 计划变动明细
  25571. tags:
  25572. - 企业风险管理v8
  25573. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25574. get:
  25575. parameters:
  25576. - description: 用户ID
  25577. in: query
  25578. name: userid
  25579. required: true
  25580. type: integer
  25581. - description: 套保品种ID
  25582. in: query
  25583. name: middlegoodsid
  25584. required: true
  25585. type: integer
  25586. produces:
  25587. - application/json
  25588. responses:
  25589. "200":
  25590. description: OK
  25591. schema:
  25592. items:
  25593. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25594. type: array
  25595. "500":
  25596. description: Internal Server Error
  25597. schema:
  25598. $ref: '#/definitions/app.Response'
  25599. security:
  25600. - ApiKeyAuth: []
  25601. summary: 敞口明细 - 现货变动明细查询
  25602. tags:
  25603. - 企业风险管理v8
  25604. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25605. get:
  25606. parameters:
  25607. - description: 用户ID
  25608. in: query
  25609. name: userid
  25610. required: true
  25611. type: integer
  25612. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25613. in: query
  25614. name: spottype
  25615. required: true
  25616. type: integer
  25617. - description: 现货商品ID
  25618. in: query
  25619. name: wrstandardid
  25620. type: integer
  25621. produces:
  25622. - application/json
  25623. responses:
  25624. "200":
  25625. description: OK
  25626. schema:
  25627. items:
  25628. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25629. type: array
  25630. "500":
  25631. description: Internal Server Error
  25632. schema:
  25633. $ref: '#/definitions/app.Response'
  25634. security:
  25635. - ApiKeyAuth: []
  25636. summary: 可关联项目查询
  25637. tags:
  25638. - 企业风险管理v8
  25639. /Ermcp8/QueryErmcp8HedgeditemReport:
  25640. get:
  25641. parameters:
  25642. - description: 用户ID
  25643. in: query
  25644. name: userid
  25645. required: true
  25646. type: integer
  25647. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25648. in: query
  25649. name: cycletype
  25650. type: integer
  25651. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25652. 全(0)【原值】
  25653. in: query
  25654. name: cycletime
  25655. required: true
  25656. type: string
  25657. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25658. in: query
  25659. name: hedgedtype
  25660. type: integer
  25661. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25662. in: query
  25663. name: hedgeditemstatus
  25664. type: integer
  25665. - description: 项目编号,模糊查询
  25666. in: query
  25667. name: hedgeditemnum
  25668. type: string
  25669. - description: 现货商品ID
  25670. in: query
  25671. name: wrstandardid
  25672. type: integer
  25673. produces:
  25674. - application/json
  25675. responses:
  25676. "200":
  25677. description: OK
  25678. schema:
  25679. items:
  25680. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25681. type: array
  25682. "500":
  25683. description: Internal Server Error
  25684. schema:
  25685. $ref: '#/definitions/app.Response'
  25686. security:
  25687. - ApiKeyAuth: []
  25688. summary: 套期项目报表查询
  25689. tags:
  25690. - 企业风险管理v8
  25691. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25692. get:
  25693. parameters:
  25694. - description: 用户ID
  25695. in: query
  25696. name: userid
  25697. required: true
  25698. type: string
  25699. produces:
  25700. - application/json
  25701. responses:
  25702. "200":
  25703. description: OK
  25704. schema:
  25705. items:
  25706. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25707. type: array
  25708. "500":
  25709. description: Internal Server Error
  25710. schema:
  25711. $ref: '#/definitions/app.Response'
  25712. security:
  25713. - ApiKeyAuth: []
  25714. summary: 查询执行中项目查询信息
  25715. tags:
  25716. - 企业风险管理v8
  25717. /Ermcp8/QueryInternalEnableTradeDetail:
  25718. get:
  25719. parameters:
  25720. - description: 企业ID
  25721. in: query
  25722. name: areauserid
  25723. required: true
  25724. type: integer
  25725. - description: 期货合约ID
  25726. in: query
  25727. name: goodsid
  25728. required: true
  25729. type: integer
  25730. - description: 交易用户ID
  25731. in: query
  25732. name: tradeuserid
  25733. required: true
  25734. type: integer
  25735. produces:
  25736. - application/json
  25737. responses:
  25738. "200":
  25739. description: OK
  25740. schema:
  25741. items:
  25742. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25743. type: array
  25744. "500":
  25745. description: Internal Server Error
  25746. schema:
  25747. $ref: '#/definitions/app.Response'
  25748. security:
  25749. - ApiKeyAuth: []
  25750. summary: 内部成交单可关联项目查询
  25751. tags:
  25752. - 企业风险管理v8
  25753. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25754. get:
  25755. parameters:
  25756. - description: 用户编号
  25757. in: query
  25758. name: userid
  25759. required: true
  25760. type: integer
  25761. - description: 起始日期(格式yyyymmdd)
  25762. in: query
  25763. name: begindate
  25764. type: string
  25765. - description: 终止日期(格式yyyymmdd)
  25766. in: query
  25767. name: enddate
  25768. type: string
  25769. - description: 合约代码
  25770. in: query
  25771. name: goodscode
  25772. type: string
  25773. - description: 合约名称
  25774. in: query
  25775. name: goodsname
  25776. type: string
  25777. - description: 成交单号
  25778. in: query
  25779. name: tradeid
  25780. type: integer
  25781. - description: 方向 - 0:买 1:卖
  25782. in: query
  25783. name: buyorsell
  25784. type: integer
  25785. - description: 套期主体
  25786. in: query
  25787. name: accountname
  25788. type: string
  25789. produces:
  25790. - application/json
  25791. responses:
  25792. "200":
  25793. description: OK
  25794. schema:
  25795. items:
  25796. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25797. type: array
  25798. "500":
  25799. description: Internal Server Error
  25800. schema:
  25801. $ref: '#/definitions/app.Response'
  25802. security:
  25803. - ApiKeyAuth: []
  25804. summary: 内部未关联成交单查询
  25805. tags:
  25806. - 企业风险管理v8
  25807. /Ermcp8/QueryMarketCalendar:
  25808. get:
  25809. parameters:
  25810. - description: 市场ID
  25811. in: query
  25812. name: marketid
  25813. type: integer
  25814. produces:
  25815. - application/json
  25816. responses:
  25817. "200":
  25818. description: OK
  25819. schema:
  25820. items:
  25821. $ref: '#/definitions/models.Marketcalendar'
  25822. type: array
  25823. "500":
  25824. description: Internal Server Error
  25825. schema:
  25826. $ref: '#/definitions/app.Response'
  25827. security:
  25828. - ApiKeyAuth: []
  25829. summary: 市场节假日查询
  25830. tags:
  25831. - 企业风险管理v8
  25832. /Ermcp8/QueryPatradeLinkDetail:
  25833. get:
  25834. parameters:
  25835. - description: 用户ID
  25836. in: query
  25837. name: userid
  25838. required: true
  25839. type: integer
  25840. - description: 套保品种ID
  25841. in: query
  25842. name: middlegoodsid
  25843. required: true
  25844. type: integer
  25845. produces:
  25846. - application/json
  25847. responses:
  25848. "200":
  25849. description: OK
  25850. schema:
  25851. items:
  25852. $ref: '#/definitions/models.Patradelinkdetail'
  25853. type: array
  25854. "500":
  25855. description: Internal Server Error
  25856. schema:
  25857. $ref: '#/definitions/app.Response'
  25858. security:
  25859. - ApiKeyAuth: []
  25860. summary: 敞口明细 - 期货变动明细
  25861. tags:
  25862. - 企业风险管理v8
  25863. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25864. get:
  25865. parameters:
  25866. - description: 企业ID
  25867. in: query
  25868. name: areauserid
  25869. required: true
  25870. type: integer
  25871. - description: 计划类型 - 1:采购 -1:销售
  25872. in: query
  25873. name: contracttype
  25874. type: integer
  25875. - description: 计划编号,模糊查询
  25876. in: query
  25877. name: hedgeplanno
  25878. type: string
  25879. - description: 现货商品,模糊查询
  25880. in: query
  25881. name: wrstandardname
  25882. type: string
  25883. produces:
  25884. - application/json
  25885. responses:
  25886. "200":
  25887. description: OK
  25888. schema:
  25889. items:
  25890. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25891. type: array
  25892. "500":
  25893. description: Internal Server Error
  25894. schema:
  25895. $ref: '#/definitions/app.Response'
  25896. security:
  25897. - ApiKeyAuth: []
  25898. summary: 未关联购销计划
  25899. tags:
  25900. - 企业风险管理v8
  25901. /Ermcp8/QueryUnLinkSpotContract:
  25902. get:
  25903. parameters:
  25904. - description: 用户ID
  25905. in: query
  25906. name: userid
  25907. required: true
  25908. type: integer
  25909. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25910. in: query
  25911. name: pricetype
  25912. type: integer
  25913. - description: 合同编号, 模拟查询
  25914. in: query
  25915. name: contractno
  25916. type: string
  25917. - description: 对手方, 模拟查询
  25918. in: query
  25919. name: customername
  25920. type: string
  25921. - description: 项合同类型 - 1:采购 -1:销售
  25922. in: query
  25923. name: contracttype
  25924. type: integer
  25925. produces:
  25926. - application/json
  25927. responses:
  25928. "200":
  25929. description: OK
  25930. schema:
  25931. items:
  25932. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25933. type: array
  25934. "500":
  25935. description: Internal Server Error
  25936. schema:
  25937. $ref: '#/definitions/app.Response'
  25938. security:
  25939. - ApiKeyAuth: []
  25940. summary: 未关联合同查询
  25941. tags:
  25942. - 企业风险管理v8
  25943. /Erms2/QueryArbitrageStrategy:
  25944. get:
  25945. parameters:
  25946. - description: 账户ID
  25947. in: query
  25948. name: userid
  25949. required: true
  25950. type: integer
  25951. - description: 商品组ID(品种ID)
  25952. in: query
  25953. name: goodsgroupid
  25954. type: string
  25955. produces:
  25956. - application/json
  25957. responses:
  25958. "200":
  25959. description: OK
  25960. schema:
  25961. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25962. "500":
  25963. description: Internal Server Error
  25964. schema:
  25965. $ref: '#/definitions/app.Response'
  25966. security:
  25967. - ApiKeyAuth: []
  25968. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25969. tags:
  25970. - 风险管理
  25971. /Erms2/QueryInnerTradeDetail:
  25972. get:
  25973. parameters:
  25974. - description: 资金账户
  25975. in: query
  25976. name: accountid
  25977. required: true
  25978. type: integer
  25979. produces:
  25980. - application/json
  25981. responses:
  25982. "200":
  25983. description: OK
  25984. schema:
  25985. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25986. "500":
  25987. description: Internal Server Error
  25988. schema:
  25989. $ref: '#/definitions/app.Response'
  25990. security:
  25991. - ApiKeyAuth: []
  25992. summary: 查询内部成交单信息
  25993. tags:
  25994. - 风险管理
  25995. /Erms2/QuerySpotContract:
  25996. get:
  25997. parameters:
  25998. - description: 策略申请ID
  25999. in: query
  26000. name: asapplyid
  26001. required: true
  26002. type: integer
  26003. - description: 现货合同ID
  26004. in: query
  26005. name: spotcontractid
  26006. type: integer
  26007. produces:
  26008. - application/json
  26009. responses:
  26010. "200":
  26011. description: OK
  26012. schema:
  26013. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  26014. "500":
  26015. description: Internal Server Error
  26016. schema:
  26017. $ref: '#/definitions/app.Response'
  26018. security:
  26019. - ApiKeyAuth: []
  26020. summary: 查询现货合同表信息(指定策略ID、未结束的)
  26021. tags:
  26022. - 风险管理
  26023. /Erms3/AddErms2ASApply:
  26024. post:
  26025. parameters:
  26026. - description: 申请参数
  26027. in: body
  26028. name: jsonBody
  26029. required: true
  26030. schema:
  26031. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  26032. produces:
  26033. - application/json
  26034. responses:
  26035. "200":
  26036. description: OK
  26037. schema:
  26038. $ref: '#/definitions/app.Response'
  26039. "500":
  26040. description: Internal Server Error
  26041. schema:
  26042. $ref: '#/definitions/app.Response'
  26043. security:
  26044. - ApiKeyAuth: []
  26045. summary: 新增期现套利业务申请
  26046. tags:
  26047. - 风险管理v3
  26048. /Erms3/AddErms2SpotTradeApply:
  26049. post:
  26050. parameters:
  26051. - description: 申请参数
  26052. in: body
  26053. name: jsonBody
  26054. required: true
  26055. schema:
  26056. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. $ref: '#/definitions/app.Response'
  26064. "500":
  26065. description: Internal Server Error
  26066. schema:
  26067. $ref: '#/definitions/app.Response'
  26068. security:
  26069. - ApiKeyAuth: []
  26070. summary: 新增现货贸易业务申请
  26071. tags:
  26072. - 风险管理v3
  26073. /Erms3/AddSpotContractApply:
  26074. post:
  26075. parameters:
  26076. - description: 申请参数
  26077. in: body
  26078. name: jsonBody
  26079. required: true
  26080. schema:
  26081. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  26082. produces:
  26083. - application/json
  26084. responses:
  26085. "200":
  26086. description: OK
  26087. schema:
  26088. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  26089. "500":
  26090. description: Internal Server Error
  26091. schema:
  26092. $ref: '#/definitions/app.Response'
  26093. security:
  26094. - ApiKeyAuth: []
  26095. summary: 新增现货合同申请
  26096. tags:
  26097. - 风险管理v3
  26098. /Erms3/AddUserInfoApply:
  26099. post:
  26100. parameters:
  26101. - description: 用户信息
  26102. in: body
  26103. name: jsonBody
  26104. required: true
  26105. schema:
  26106. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  26107. produces:
  26108. - application/json
  26109. responses:
  26110. "200":
  26111. description: OK
  26112. schema:
  26113. $ref: '#/definitions/app.Response'
  26114. "500":
  26115. description: Internal Server Error
  26116. schema:
  26117. $ref: '#/definitions/app.Response'
  26118. security:
  26119. - ApiKeyAuth: []
  26120. summary: 新增客户申请
  26121. tags:
  26122. - 风险管理v3
  26123. /Erms3/DeleteUserInfoApply:
  26124. get:
  26125. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  26126. parameters:
  26127. - description: 用户ID
  26128. in: query
  26129. name: userID
  26130. required: true
  26131. type: integer
  26132. produces:
  26133. - application/json
  26134. responses:
  26135. "200":
  26136. description: OK
  26137. schema:
  26138. $ref: '#/definitions/app.Response'
  26139. "500":
  26140. description: Internal Server Error
  26141. schema:
  26142. $ref: '#/definitions/app.Response'
  26143. security:
  26144. - ApiKeyAuth: []
  26145. summary: 删除客户申请
  26146. tags:
  26147. - 风险管理v3
  26148. /Erms3/ModifyUserInfoApply:
  26149. post:
  26150. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26151. int, "userstate": 2 }'
  26152. parameters:
  26153. - description: 用户信息
  26154. in: body
  26155. name: jsonBody
  26156. required: true
  26157. schema:
  26158. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26159. produces:
  26160. - application/json
  26161. responses:
  26162. "200":
  26163. description: OK
  26164. schema:
  26165. $ref: '#/definitions/app.Response'
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 修改客户申请
  26173. tags:
  26174. - 风险管理v3
  26175. /Erms3/QueryBusinessInfo:
  26176. get:
  26177. parameters:
  26178. - description: 资金账号ID列表,用逗号分隔
  26179. in: query
  26180. name: accountids
  26181. required: true
  26182. type: string
  26183. - description: 状态,0为未结束 1为已结束
  26184. in: query
  26185. name: status
  26186. required: true
  26187. type: integer
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. items:
  26195. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26196. type: array
  26197. "500":
  26198. description: Internal Server Error
  26199. schema:
  26200. $ref: '#/definitions/app.Response'
  26201. security:
  26202. - ApiKeyAuth: []
  26203. summary: 查询业务表单数据
  26204. tags:
  26205. - 风险管理v3
  26206. /Erms3/QueryPendingAuditContract:
  26207. get:
  26208. parameters:
  26209. - description: 资金账号ID列表,逗号隔开
  26210. in: query
  26211. name: accountids
  26212. required: true
  26213. type: string
  26214. - description: 合同类型 1-采购 -1-销售
  26215. in: query
  26216. name: contracttype
  26217. required: true
  26218. type: integer
  26219. - description: 合同模式 1-普通 2-回购
  26220. in: query
  26221. name: contractmode
  26222. required: true
  26223. type: integer
  26224. produces:
  26225. - application/json
  26226. responses:
  26227. "200":
  26228. description: OK
  26229. schema:
  26230. items:
  26231. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26232. type: array
  26233. "500":
  26234. description: Internal Server Error
  26235. schema:
  26236. $ref: '#/definitions/app.Response'
  26237. security:
  26238. - ApiKeyAuth: []
  26239. summary: 查询待审核合同
  26240. tags:
  26241. - 风险管理v3
  26242. /Erms3/QueryPendingBusiness:
  26243. get:
  26244. parameters:
  26245. - description: 资金账号ID列表,逗号隔开
  26246. in: query
  26247. name: accountids
  26248. required: true
  26249. type: string
  26250. produces:
  26251. - application/json
  26252. responses:
  26253. "200":
  26254. description: OK
  26255. schema:
  26256. items:
  26257. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26258. type: array
  26259. "500":
  26260. description: Internal Server Error
  26261. schema:
  26262. $ref: '#/definitions/app.Response'
  26263. security:
  26264. - ApiKeyAuth: []
  26265. summary: 查询待审核基差贸易业务
  26266. tags:
  26267. - 风险管理v3
  26268. /Erms3/QuerySpotContractAppleForm:
  26269. get:
  26270. parameters:
  26271. - description: 登录账号
  26272. in: query
  26273. name: loginID
  26274. required: true
  26275. type: integer
  26276. produces:
  26277. - application/json
  26278. responses:
  26279. "200":
  26280. description: OK
  26281. schema:
  26282. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26283. "500":
  26284. description: Internal Server Error
  26285. schema:
  26286. $ref: '#/definitions/app.Response'
  26287. security:
  26288. - ApiKeyAuth: []
  26289. summary: 查询合同申请表单数据
  26290. tags:
  26291. - 风险管理v3
  26292. /Erms3/QuerySpotContractDetail:
  26293. get:
  26294. parameters:
  26295. - description: 资金账号ID列表,用逗号分隔
  26296. in: query
  26297. name: accountids
  26298. required: true
  26299. type: string
  26300. - description: 合同类型,1为采购合同 -1为销售合同
  26301. in: query
  26302. name: contracttype
  26303. required: true
  26304. type: integer
  26305. - description: 合同模式,1为普通合同 2为回购销售合同
  26306. in: query
  26307. name: contractmode
  26308. required: true
  26309. type: integer
  26310. - description: 状态,0为履约中 1为已完成
  26311. in: query
  26312. name: status
  26313. required: true
  26314. type: integer
  26315. produces:
  26316. - application/json
  26317. responses:
  26318. "200":
  26319. description: OK
  26320. schema:
  26321. items:
  26322. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26323. type: array
  26324. "500":
  26325. description: Internal Server Error
  26326. schema:
  26327. $ref: '#/definitions/app.Response'
  26328. security:
  26329. - ApiKeyAuth: []
  26330. summary: 查询合同详细信息
  26331. tags:
  26332. - 风险管理v3
  26333. /Erms3/QueryUserInfoApplies:
  26334. get:
  26335. parameters:
  26336. - description: 页码
  26337. in: query
  26338. name: page
  26339. type: integer
  26340. - description: 每页条数
  26341. in: query
  26342. name: pagesize
  26343. type: integer
  26344. - description: 客户名称,支持模糊查询
  26345. in: query
  26346. name: userName
  26347. type: string
  26348. produces:
  26349. - application/json
  26350. responses:
  26351. "200":
  26352. description: OK
  26353. schema:
  26354. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26355. "500":
  26356. description: Internal Server Error
  26357. schema:
  26358. $ref: '#/definitions/app.Response'
  26359. security:
  26360. - ApiKeyAuth: []
  26361. summary: 客户申请信息查询
  26362. tags:
  26363. - 风险管理v3
  26364. /Erms3/QueryUserInfos:
  26365. get:
  26366. parameters:
  26367. - description: 页码
  26368. in: query
  26369. name: page
  26370. type: integer
  26371. - description: 每页条数
  26372. in: query
  26373. name: pagesize
  26374. type: integer
  26375. - description: 客户名称,支持模糊查询
  26376. in: query
  26377. name: userName
  26378. type: string
  26379. produces:
  26380. - application/json
  26381. responses:
  26382. "200":
  26383. description: OK
  26384. schema:
  26385. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26386. "500":
  26387. description: Internal Server Error
  26388. schema:
  26389. $ref: '#/definitions/app.Response'
  26390. security:
  26391. - ApiKeyAuth: []
  26392. summary: 客户信息查询
  26393. tags:
  26394. - 风险管理v3
  26395. /HSBY/GetHsbyMyCount:
  26396. get:
  26397. description: 说明: 不包括已完成的数量。
  26398. parameters:
  26399. - description: 资金账户列表,格式:1,2,3
  26400. in: query
  26401. name: accountIDs
  26402. required: true
  26403. type: string
  26404. produces:
  26405. - application/json
  26406. responses:
  26407. "200":
  26408. description: OK
  26409. schema:
  26410. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26411. "500":
  26412. description: Internal Server Error
  26413. schema:
  26414. $ref: '#/definitions/app.Response'
  26415. security:
  26416. - ApiKeyAuth: []
  26417. summary: 获取我的订单与包裹数量
  26418. tags:
  26419. - 定制【海商报业】
  26420. /HSBY/QueryClientFixedADConfigs:
  26421. get:
  26422. produces:
  26423. - application/json
  26424. responses:
  26425. "200":
  26426. description: OK
  26427. schema:
  26428. $ref: '#/definitions/models.Clientfixedadconfig'
  26429. "500":
  26430. description: Internal Server Error
  26431. schema:
  26432. $ref: '#/definitions/app.Response'
  26433. security:
  26434. - ApiKeyAuth: []
  26435. summary: 获取终端固定广告配置
  26436. tags:
  26437. - 定制【海商报业】
  26438. /HSBY/QueryHsbyBuyMyTradeDetail:
  26439. get:
  26440. parameters:
  26441. - description: 页码
  26442. in: query
  26443. name: page
  26444. type: integer
  26445. - description: 每页条数
  26446. in: query
  26447. name: pagesize
  26448. type: integer
  26449. - description: 资金账户列表,格式:1,2,3
  26450. in: query
  26451. name: accountIDs
  26452. required: true
  26453. type: string
  26454. produces:
  26455. - application/json
  26456. responses:
  26457. "200":
  26458. description: OK
  26459. schema:
  26460. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26461. "500":
  26462. description: Internal Server Error
  26463. schema:
  26464. $ref: '#/definitions/app.Response'
  26465. security:
  26466. - ApiKeyAuth: []
  26467. summary: 查询"我的订单 - 已完成"单据信息
  26468. tags:
  26469. - 定制【海商报业】
  26470. /HSBY/QueryHsbyGoodsOrderDetails:
  26471. get:
  26472. description: 说明:查询结果已按委托价格和委托时间排序
  26473. parameters:
  26474. - description: 商品ID
  26475. in: query
  26476. name: goodsID
  26477. required: true
  26478. type: integer
  26479. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26480. in: query
  26481. name: accountIDs
  26482. type: string
  26483. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26484. in: query
  26485. name: buyOrSell
  26486. type: integer
  26487. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26488. in: query
  26489. name: price
  26490. type: number
  26491. - description: 档位,不传则默认为3档
  26492. in: query
  26493. name: speed
  26494. type: integer
  26495. produces:
  26496. - application/json
  26497. responses:
  26498. "200":
  26499. description: OK
  26500. schema:
  26501. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26502. "500":
  26503. description: Internal Server Error
  26504. schema:
  26505. $ref: '#/definitions/app.Response'
  26506. security:
  26507. - ApiKeyAuth: []
  26508. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26509. tags:
  26510. - 定制【海商报业】
  26511. /HSBY/QueryHsbyListingGoodsDetail:
  26512. get:
  26513. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26514. parameters:
  26515. - description: 商品ID
  26516. in: query
  26517. name: goodsID
  26518. required: true
  26519. type: integer
  26520. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26521. in: query
  26522. name: accountID
  26523. type: integer
  26524. produces:
  26525. - application/json
  26526. responses:
  26527. "200":
  26528. description: OK
  26529. schema:
  26530. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26531. "500":
  26532. description: Internal Server Error
  26533. schema:
  26534. $ref: '#/definitions/app.Response'
  26535. security:
  26536. - ApiKeyAuth: []
  26537. summary: 查询二级市场(挂牌点选)商品信息详情
  26538. tags:
  26539. - 定制【海商报业】
  26540. /HSBY/QueryHsbyMarketGoodsDetail:
  26541. get:
  26542. parameters:
  26543. - description: 委托单号
  26544. in: query
  26545. name: orderID
  26546. required: true
  26547. type: integer
  26548. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26549. in: query
  26550. name: accountID
  26551. type: integer
  26552. produces:
  26553. - application/json
  26554. responses:
  26555. "200":
  26556. description: OK
  26557. schema:
  26558. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26559. "500":
  26560. description: Internal Server Error
  26561. schema:
  26562. $ref: '#/definitions/app.Response'
  26563. security:
  26564. - ApiKeyAuth: []
  26565. summary: 查询三级市场(商城)商品信息详情
  26566. tags:
  26567. - 定制【海商报业】
  26568. /HSBY/QueryHsbyMarketGoodses:
  26569. get:
  26570. parameters:
  26571. - description: 页码
  26572. in: query
  26573. name: page
  26574. type: integer
  26575. - description: 每页条数
  26576. in: query
  26577. name: pagesize
  26578. type: integer
  26579. - description: 市场ID列表,格式:1,2,3
  26580. in: query
  26581. name: marketIDs
  26582. required: true
  26583. type: string
  26584. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26585. in: query
  26586. name: accountID
  26587. required: true
  26588. type: integer
  26589. - description: 类别ID
  26590. in: query
  26591. name: categoryID
  26592. type: integer
  26593. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26594. in: query
  26595. name: goodsIDs
  26596. type: string
  26597. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26598. in: query
  26599. name: couponTypeID
  26600. type: integer
  26601. produces:
  26602. - application/json
  26603. responses:
  26604. "200":
  26605. description: OK
  26606. schema:
  26607. $ref: '#/definitions/models.HsbyMarketGoods'
  26608. "500":
  26609. description: Internal Server Error
  26610. schema:
  26611. $ref: '#/definitions/app.Response'
  26612. security:
  26613. - ApiKeyAuth: []
  26614. summary: 查询特卖商品列表(三级商城)
  26615. tags:
  26616. - 定制【海商报业】
  26617. /HSBY/QueryHsbyMarkets:
  26618. get:
  26619. produces:
  26620. - application/json
  26621. responses:
  26622. "200":
  26623. description: OK
  26624. schema:
  26625. $ref: '#/definitions/models.HsbyMarketInfo'
  26626. "500":
  26627. description: Internal Server Error
  26628. schema:
  26629. $ref: '#/definitions/app.Response'
  26630. security:
  26631. - ApiKeyAuth: []
  26632. summary: 查询海商报业相关市场信息
  26633. tags:
  26634. - 定制【海商报业】
  26635. /HSBY/QueryHsbyMyBuyOrderDetails:
  26636. get:
  26637. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26638. parameters:
  26639. - description: 资金账户列表,格式:1,2,3
  26640. in: query
  26641. name: accountIDs
  26642. required: true
  26643. type: string
  26644. produces:
  26645. - application/json
  26646. responses:
  26647. "200":
  26648. description: OK
  26649. schema:
  26650. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26651. "500":
  26652. description: Internal Server Error
  26653. schema:
  26654. $ref: '#/definitions/app.Response'
  26655. security:
  26656. - ApiKeyAuth: []
  26657. summary: 查询“我的订单”信息
  26658. tags:
  26659. - 定制【海商报业】
  26660. /HSBY/QueryHsbyMyGoods:
  26661. get:
  26662. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26663. parameters:
  26664. - description: 资金账户列表,格式:1,2,3
  26665. in: query
  26666. name: accountIDs
  26667. required: true
  26668. type: string
  26669. produces:
  26670. - application/json
  26671. responses:
  26672. "200":
  26673. description: OK
  26674. schema:
  26675. $ref: '#/definitions/models.HsbyMyGoods'
  26676. "500":
  26677. description: Internal Server Error
  26678. schema:
  26679. $ref: '#/definitions/app.Response'
  26680. security:
  26681. - ApiKeyAuth: []
  26682. summary: 查询“我的商品”信息
  26683. tags:
  26684. - 定制【海商报业】
  26685. /HSBY/QueryHsbyMyPackages:
  26686. get:
  26687. parameters:
  26688. - description: 资金账户列表,格式:1,2,3
  26689. in: query
  26690. name: accountIDs
  26691. required: true
  26692. type: string
  26693. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26694. in: query
  26695. name: takeOrderStatus
  26696. type: integer
  26697. produces:
  26698. - application/json
  26699. responses:
  26700. "200":
  26701. description: OK
  26702. schema:
  26703. $ref: '#/definitions/models.HsbyMyPackage'
  26704. "500":
  26705. description: Internal Server Error
  26706. schema:
  26707. $ref: '#/definitions/app.Response'
  26708. security:
  26709. - ApiKeyAuth: []
  26710. summary: 查询我的包裹信息
  26711. tags:
  26712. - 定制【海商报业】
  26713. /HSBY/QueryHsbyPreGoodsDetail:
  26714. get:
  26715. parameters:
  26716. - description: 商品ID
  26717. in: query
  26718. name: goodsID
  26719. required: true
  26720. type: integer
  26721. - description: 资金账户,主要用于获取预售商品购买上限
  26722. in: query
  26723. name: accountID
  26724. type: integer
  26725. produces:
  26726. - application/json
  26727. responses:
  26728. "200":
  26729. description: OK
  26730. schema:
  26731. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26732. "500":
  26733. description: Internal Server Error
  26734. schema:
  26735. $ref: '#/definitions/app.Response'
  26736. security:
  26737. - ApiKeyAuth: []
  26738. summary: 查询一级市场(预售)商品信息详情
  26739. tags:
  26740. - 定制【海商报业】
  26741. /HSBY/QueryHsbyPreGoodses:
  26742. get:
  26743. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26744. parameters:
  26745. - description: 页码
  26746. in: query
  26747. name: page
  26748. type: integer
  26749. - description: 每页条数
  26750. in: query
  26751. name: pagesize
  26752. type: integer
  26753. - description: 市场ID列表,格式:1,2,3
  26754. in: query
  26755. name: marketIDs
  26756. required: true
  26757. type: string
  26758. - description: 目的地(省)ID
  26759. in: query
  26760. name: descProvinceID
  26761. type: integer
  26762. - description: 目的地(市)ID
  26763. in: query
  26764. name: descCityID
  26765. type: integer
  26766. produces:
  26767. - application/json
  26768. responses:
  26769. "200":
  26770. description: OK
  26771. schema:
  26772. $ref: '#/definitions/models.HsbyPreGoods'
  26773. "500":
  26774. description: Internal Server Error
  26775. schema:
  26776. $ref: '#/definitions/app.Response'
  26777. security:
  26778. - ApiKeyAuth: []
  26779. summary: 查询新品上市商品列表(一级市场预售)
  26780. tags:
  26781. - 定制【海商报业】
  26782. /HSBY/QueryHsbySellMyDetails:
  26783. get:
  26784. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26785. parameters:
  26786. - description: 页码
  26787. in: query
  26788. name: page
  26789. type: integer
  26790. - description: 每页条数
  26791. in: query
  26792. name: pagesize
  26793. type: integer
  26794. - description: 资金账户列表,格式:1,2,3
  26795. in: query
  26796. name: accountIDs
  26797. required: true
  26798. type: string
  26799. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26800. in: query
  26801. name: orderType
  26802. type: integer
  26803. produces:
  26804. - application/json
  26805. responses:
  26806. "200":
  26807. description: OK
  26808. schema:
  26809. $ref: '#/definitions/models.HsbySellMyDetail'
  26810. "500":
  26811. description: Internal Server Error
  26812. schema:
  26813. $ref: '#/definitions/app.Response'
  26814. security:
  26815. - ApiKeyAuth: []
  26816. summary: 查询"我的闲置"单据信息
  26817. tags:
  26818. - 定制【海商报业】
  26819. /HSBY/QueryHsbyTopGoodses:
  26820. get:
  26821. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26822. parameters:
  26823. - description: 页码
  26824. in: query
  26825. name: page
  26826. type: integer
  26827. - description: 每页条数
  26828. in: query
  26829. name: pagesize
  26830. type: integer
  26831. - description: 市场ID列表,格式:1,2,3
  26832. in: query
  26833. name: marketIDs
  26834. required: true
  26835. type: string
  26836. - description: 目的地(省)ID
  26837. in: query
  26838. name: descProvinceID
  26839. type: integer
  26840. - description: 目的地(市)ID
  26841. in: query
  26842. name: descCityID
  26843. type: integer
  26844. produces:
  26845. - application/json
  26846. responses:
  26847. "200":
  26848. description: OK
  26849. schema:
  26850. $ref: '#/definitions/models.HsbyTopGoods'
  26851. "500":
  26852. description: Internal Server Error
  26853. schema:
  26854. $ref: '#/definitions/app.Response'
  26855. security:
  26856. - ApiKeyAuth: []
  26857. summary: 查询热卖商品列表(二级市场挂牌点选)
  26858. tags:
  26859. - 定制【海商报业】
  26860. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26861. get:
  26862. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26863. parameters:
  26864. - description: 商品ID
  26865. in: query
  26866. name: goodsID
  26867. required: true
  26868. type: integer
  26869. produces:
  26870. - application/json
  26871. responses:
  26872. "200":
  26873. description: OK
  26874. schema:
  26875. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26876. "500":
  26877. description: Internal Server Error
  26878. schema:
  26879. $ref: '#/definitions/app.Response'
  26880. security:
  26881. - ApiKeyAuth: []
  26882. summary: 查询游客三级市场(商城)商品信息详情
  26883. tags:
  26884. - 定制【海商报业】
  26885. /HSBY/QueryHsbyVisitorMarketGoodses:
  26886. get:
  26887. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26888. parameters:
  26889. - description: 页码
  26890. in: query
  26891. name: page
  26892. type: integer
  26893. - description: 每页条数
  26894. in: query
  26895. name: pagesize
  26896. type: integer
  26897. - description: 市场ID列表,格式:1,2,3
  26898. in: query
  26899. name: marketIDs
  26900. required: true
  26901. type: string
  26902. - description: 类别ID
  26903. in: query
  26904. name: categoryID
  26905. type: integer
  26906. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26907. in: query
  26908. name: goodsIDs
  26909. type: string
  26910. produces:
  26911. - application/json
  26912. responses:
  26913. "200":
  26914. description: OK
  26915. schema:
  26916. $ref: '#/definitions/models.HsbyMarketGoods'
  26917. "500":
  26918. description: Internal Server Error
  26919. schema:
  26920. $ref: '#/definitions/app.Response'
  26921. security:
  26922. - ApiKeyAuth: []
  26923. summary: 查询游客特卖商品列表(三级商城)
  26924. tags:
  26925. - 定制【海商报业】
  26926. /HSBY/QueryMyCollectionOrders:
  26927. get:
  26928. parameters:
  26929. - description: 页码
  26930. in: query
  26931. name: page
  26932. type: integer
  26933. - description: 每页条数
  26934. in: query
  26935. name: pagesize
  26936. type: integer
  26937. - description: 资金账户,格式:1,2,3
  26938. in: query
  26939. name: accountIDs
  26940. required: true
  26941. type: string
  26942. produces:
  26943. - application/json
  26944. responses:
  26945. "200":
  26946. description: OK
  26947. schema:
  26948. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26949. "500":
  26950. description: Internal Server Error
  26951. schema:
  26952. $ref: '#/definitions/app.Response'
  26953. security:
  26954. - ApiKeyAuth: []
  26955. summary: 我的闲置中收款信息查询
  26956. tags:
  26957. - 定制【海商报业】
  26958. /HSBY/QueryMyCouponHolds:
  26959. get:
  26960. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26961. parameters:
  26962. - description: 资金账户列表,格式:1,2,3
  26963. in: query
  26964. name: accountIDs
  26965. required: true
  26966. type: string
  26967. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26968. in: query
  26969. name: holdStatus
  26970. type: string
  26971. produces:
  26972. - application/json
  26973. responses:
  26974. "200":
  26975. description: OK
  26976. schema:
  26977. $ref: '#/definitions/models.MyCouponHold'
  26978. "500":
  26979. description: Internal Server Error
  26980. schema:
  26981. $ref: '#/definitions/app.Response'
  26982. security:
  26983. - ApiKeyAuth: []
  26984. summary: 我的优惠卷持仓查询
  26985. tags:
  26986. - 定制【海商报业】
  26987. /HSBY/QueryMyCoupons:
  26988. get:
  26989. parameters:
  26990. - description: 资金账户列表,格式:1,2,3
  26991. in: query
  26992. name: accountIDs
  26993. required: true
  26994. type: string
  26995. - description: 商品ID, 一般与sellUserID配套传入
  26996. in: query
  26997. name: goodsID
  26998. type: integer
  26999. - description: 卖方UserID
  27000. in: query
  27001. name: sellUserID
  27002. type: integer
  27003. produces:
  27004. - application/json
  27005. responses:
  27006. "200":
  27007. description: OK
  27008. schema:
  27009. $ref: '#/definitions/models.MyCoupon'
  27010. "500":
  27011. description: Internal Server Error
  27012. schema:
  27013. $ref: '#/definitions/app.Response'
  27014. security:
  27015. - ApiKeyAuth: []
  27016. summary: 我的优惠卷查询
  27017. tags:
  27018. - 定制【海商报业】
  27019. /HSBY/QueryMyPayOrders:
  27020. get:
  27021. parameters:
  27022. - description: 页码
  27023. in: query
  27024. name: page
  27025. type: integer
  27026. - description: 每页条数
  27027. in: query
  27028. name: pagesize
  27029. type: integer
  27030. - description: 资金账户列表,格式:1,2,3
  27031. in: query
  27032. name: accountIDs
  27033. required: true
  27034. type: string
  27035. - description: 买方委托单号
  27036. in: query
  27037. name: buyOrderID
  27038. type: integer
  27039. - description: 卖方委托单号
  27040. in: query
  27041. name: sellOrderID
  27042. type: integer
  27043. produces:
  27044. - application/json
  27045. responses:
  27046. "200":
  27047. description: OK
  27048. schema:
  27049. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  27050. "500":
  27051. description: Internal Server Error
  27052. schema:
  27053. $ref: '#/definitions/app.Response'
  27054. security:
  27055. - ApiKeyAuth: []
  27056. summary: 获取我的订单中待付款信息
  27057. tags:
  27058. - 定制【海商报业】
  27059. /HSBY/QueryMyUsedCoupon:
  27060. get:
  27061. parameters:
  27062. - description: 资金账户列表,格式:1,2,3
  27063. in: query
  27064. name: accountIDs
  27065. required: true
  27066. type: string
  27067. produces:
  27068. - application/json
  27069. responses:
  27070. "200":
  27071. description: OK
  27072. schema:
  27073. $ref: '#/definitions/models.MyUsedCoupon'
  27074. "500":
  27075. description: Internal Server Error
  27076. schema:
  27077. $ref: '#/definitions/app.Response'
  27078. security:
  27079. - ApiKeyAuth: []
  27080. summary: 已使用优惠卷查询
  27081. tags:
  27082. - 定制【海商报业】
  27083. /HSBY/QueryProvincesAndCities:
  27084. get:
  27085. description: 查询结果只包括二级市场商品已关连的省市信息。
  27086. parameters:
  27087. - description: 省ID
  27088. in: query
  27089. name: provinceID
  27090. type: integer
  27091. produces:
  27092. - application/json
  27093. responses:
  27094. "200":
  27095. description: OK
  27096. schema:
  27097. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  27098. "500":
  27099. description: Internal Server Error
  27100. schema:
  27101. $ref: '#/definitions/app.Response'
  27102. security:
  27103. - ApiKeyAuth: []
  27104. summary: 查询省市信息(不包括区)
  27105. tags:
  27106. - 定制【海商报业】
  27107. /HSBY/SetHsbyMyPackagesStatus:
  27108. post:
  27109. parameters:
  27110. - description: 提货单号
  27111. in: query
  27112. name: takeOrderID
  27113. required: true
  27114. type: string
  27115. - description: 资金账号
  27116. in: query
  27117. name: accountID
  27118. required: true
  27119. type: integer
  27120. produces:
  27121. - application/json
  27122. responses:
  27123. "200":
  27124. description: OK
  27125. schema:
  27126. $ref: '#/definitions/app.Response'
  27127. "500":
  27128. description: Internal Server Error
  27129. schema:
  27130. $ref: '#/definitions/app.Response'
  27131. security:
  27132. - ApiKeyAuth: []
  27133. summary: 设置我的包裹已收货状态
  27134. tags:
  27135. - 定制【海商报业】
  27136. /Market/GetAllExExchanges:
  27137. get:
  27138. produces:
  27139. - application/json
  27140. responses:
  27141. "200":
  27142. description: OK
  27143. schema:
  27144. $ref: '#/definitions/models.Goods'
  27145. "500":
  27146. description: Internal Server Error
  27147. schema:
  27148. $ref: '#/definitions/app.Response'
  27149. security:
  27150. - ApiKeyAuth: []
  27151. summary: 获取所有外部交易所信息
  27152. tags:
  27153. - 通用市场
  27154. /Market/QueryGoodsesByLoginID:
  27155. get:
  27156. parameters:
  27157. - description: 登录账号
  27158. in: query
  27159. name: loginID
  27160. required: true
  27161. type: integer
  27162. - description: 市场ID列表,格式:1,2,3
  27163. in: query
  27164. name: marketIDs
  27165. type: string
  27166. produces:
  27167. - application/json
  27168. responses:
  27169. "200":
  27170. description: OK
  27171. schema:
  27172. $ref: '#/definitions/models.Goods'
  27173. "500":
  27174. description: Internal Server Error
  27175. schema:
  27176. $ref: '#/definitions/app.Response'
  27177. security:
  27178. - ApiKeyAuth: []
  27179. summary: 获取登录账号有权限的商品信息
  27180. tags:
  27181. - 通用市场
  27182. /Market/QueryMarketRun:
  27183. get:
  27184. parameters:
  27185. - description: 市场ID,不传返回所有
  27186. in: query
  27187. name: marketID
  27188. type: integer
  27189. produces:
  27190. - application/json
  27191. responses:
  27192. "200":
  27193. description: OK
  27194. schema:
  27195. $ref: '#/definitions/models.Marketrun'
  27196. "500":
  27197. description: Internal Server Error
  27198. schema:
  27199. $ref: '#/definitions/app.Response'
  27200. security:
  27201. - ApiKeyAuth: []
  27202. summary: 查询市场运行信息
  27203. tags:
  27204. - 通用市场
  27205. /Market/QueryMarketsByLoginID:
  27206. get:
  27207. parameters:
  27208. - description: 登录账号
  27209. in: query
  27210. name: loginID
  27211. required: true
  27212. type: integer
  27213. produces:
  27214. - application/json
  27215. responses:
  27216. "200":
  27217. description: OK
  27218. schema:
  27219. $ref: '#/definitions/models.Market'
  27220. "500":
  27221. description: Internal Server Error
  27222. schema:
  27223. $ref: '#/definitions/app.Response'
  27224. security:
  27225. - ApiKeyAuth: []
  27226. summary: 获取登录账号有权限的市场信息
  27227. tags:
  27228. - 通用市场
  27229. /Order/QueryHisTradeDetail:
  27230. get:
  27231. parameters:
  27232. - description: 资金账户 - 格式:1,2,3
  27233. in: query
  27234. name: accountID
  27235. required: true
  27236. type: string
  27237. - description: 成交单号
  27238. in: query
  27239. name: tradeID
  27240. type: integer
  27241. - description: 委托单号
  27242. in: query
  27243. name: orderID
  27244. type: integer
  27245. - description: 商品ID
  27246. in: query
  27247. name: goodsID
  27248. type: integer
  27249. - description: 交易模式 - 格式:1,2,3
  27250. in: query
  27251. name: tradeMode
  27252. type: string
  27253. - description: 委托单据类型
  27254. in: query
  27255. name: buildType
  27256. type: integer
  27257. - description: 成交类别 - 格式:1,2,3
  27258. in: query
  27259. name: tradeType
  27260. type: string
  27261. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27262. in: query
  27263. name: startDate
  27264. type: string
  27265. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27266. in: query
  27267. name: endDate
  27268. type: string
  27269. produces:
  27270. - application/json
  27271. responses:
  27272. "200":
  27273. description: OK
  27274. schema:
  27275. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27276. "500":
  27277. description: Internal Server Error
  27278. schema:
  27279. $ref: '#/definitions/app.Response'
  27280. security:
  27281. - ApiKeyAuth: []
  27282. summary: 历史成交单查询(合约市场)
  27283. tags:
  27284. - 通用单据
  27285. /Order/QueryHisTradeOrderDetail:
  27286. get:
  27287. parameters:
  27288. - description: 资金账户 - 格式:1,2,3
  27289. in: query
  27290. name: accountID
  27291. required: true
  27292. type: string
  27293. - description: 交易模式 - 格式:1,2,3
  27294. in: query
  27295. name: tradeMode
  27296. type: string
  27297. - description: 委托状态 - 格式:1,2,3
  27298. in: query
  27299. name: orderStatus
  27300. type: string
  27301. - description: 委托单号
  27302. in: query
  27303. name: orderID
  27304. type: integer
  27305. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27306. in: query
  27307. name: startDate
  27308. type: string
  27309. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27310. in: query
  27311. name: endDate
  27312. type: string
  27313. produces:
  27314. - application/json
  27315. responses:
  27316. "200":
  27317. description: OK
  27318. schema:
  27319. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27320. "500":
  27321. description: Internal Server Error
  27322. schema:
  27323. $ref: '#/definitions/app.Response'
  27324. security:
  27325. - ApiKeyAuth: []
  27326. summary: 历史委托单查询请求(合约市场)
  27327. tags:
  27328. - 通用单据
  27329. /Order/QueryTradeDetail:
  27330. get:
  27331. parameters:
  27332. - description: 资金账户 - 格式:1,2,3
  27333. in: query
  27334. name: accountID
  27335. required: true
  27336. type: string
  27337. - description: 成交单号
  27338. in: query
  27339. name: tradeID
  27340. type: integer
  27341. - description: 委托单号
  27342. in: query
  27343. name: orderID
  27344. type: integer
  27345. - description: 交易模式 - 格式:1,2,3
  27346. in: query
  27347. name: tradeMode
  27348. type: string
  27349. - description: 委托单据类型
  27350. in: query
  27351. name: buildType
  27352. type: integer
  27353. - description: 成交类别 - 格式:1,2,3
  27354. in: query
  27355. name: tradeType
  27356. type: string
  27357. - description: 商品ID
  27358. in: query
  27359. name: goodsID
  27360. type: integer
  27361. produces:
  27362. - application/json
  27363. responses:
  27364. "200":
  27365. description: OK
  27366. schema:
  27367. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27368. "500":
  27369. description: Internal Server Error
  27370. schema:
  27371. $ref: '#/definitions/app.Response'
  27372. security:
  27373. - ApiKeyAuth: []
  27374. summary: 成交单查询(合约市场)
  27375. tags:
  27376. - 通用单据
  27377. /Order/QueryTradeHolderDetail:
  27378. get:
  27379. parameters:
  27380. - description: 用户id
  27381. in: query
  27382. name: userid
  27383. type: integer
  27384. - description: 资金账号, 格式 1,2,3
  27385. in: query
  27386. name: accids
  27387. type: string
  27388. - description: 交易模式, 格式 1,2,3
  27389. in: query
  27390. name: trademodes
  27391. type: string
  27392. - description: 市场id, 格式 1,2,3
  27393. in: query
  27394. name: marketids
  27395. type: string
  27396. - description: 商品id
  27397. in: query
  27398. name: goodsid
  27399. type: integer
  27400. - description: 买卖方向 0-买 1-卖
  27401. in: query
  27402. name: buyorsell
  27403. type: integer
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. items:
  27411. $ref: '#/definitions/models.TradeHolderDetail'
  27412. type: array
  27413. "500":
  27414. description: Internal Server Error
  27415. schema:
  27416. $ref: '#/definitions/app.Response'
  27417. security:
  27418. - ApiKeyAuth: []
  27419. summary: 查询持仓明细
  27420. tags:
  27421. - 通用单据
  27422. /Order/QueryTradeOrderDetail:
  27423. get:
  27424. parameters:
  27425. - description: 资金账户 - 格式:1,2,3
  27426. in: query
  27427. name: accountID
  27428. required: true
  27429. type: string
  27430. - description: 交易模式 - 格式:1,2,3
  27431. in: query
  27432. name: tradeMode
  27433. type: string
  27434. - description: 委托状态 - 格式:1,2,3
  27435. in: query
  27436. name: orderStatus
  27437. type: string
  27438. - description: 委托单号
  27439. in: query
  27440. name: orderID
  27441. type: integer
  27442. produces:
  27443. - application/json
  27444. responses:
  27445. "200":
  27446. description: OK
  27447. schema:
  27448. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27449. "500":
  27450. description: Internal Server Error
  27451. schema:
  27452. $ref: '#/definitions/app.Response'
  27453. security:
  27454. - ApiKeyAuth: []
  27455. summary: 委托单查询请求(合约市场)
  27456. tags:
  27457. - 通用单据
  27458. /Order/QueryTradePosition:
  27459. get:
  27460. parameters:
  27461. - description: 资金账户 - 格式:1,2,3
  27462. in: query
  27463. name: accountID
  27464. required: true
  27465. type: string
  27466. - description: 交易模式 - 格式:1,2,3
  27467. in: query
  27468. name: tradeMode
  27469. type: string
  27470. produces:
  27471. - application/json
  27472. responses:
  27473. "200":
  27474. description: OK
  27475. schema:
  27476. $ref: '#/definitions/order.QueryTradePositionRsp'
  27477. "500":
  27478. description: Internal Server Error
  27479. schema:
  27480. $ref: '#/definitions/app.Response'
  27481. security:
  27482. - ApiKeyAuth: []
  27483. summary: 持仓汇总查询(合约市场)
  27484. tags:
  27485. - 通用单据
  27486. /Qhj/QueryAccountInOutApply:
  27487. get:
  27488. parameters:
  27489. - description: 用户ID
  27490. in: query
  27491. name: userid
  27492. required: true
  27493. type: integer
  27494. - description: 申请起始日期(格式yyyymmdd)
  27495. in: query
  27496. name: begindate
  27497. type: string
  27498. - description: 申请截止日期(格式yyyymmdd)
  27499. in: query
  27500. name: enddate
  27501. type: string
  27502. - description: 模糊搜索名称
  27503. in: query
  27504. name: likename
  27505. type: string
  27506. produces:
  27507. - application/json
  27508. responses:
  27509. "200":
  27510. description: OK
  27511. schema:
  27512. items:
  27513. $ref: '#/definitions/models.QhjAccountOutInApply'
  27514. type: array
  27515. "500":
  27516. description: Internal Server Error
  27517. schema:
  27518. $ref: '#/definitions/app.Response'
  27519. security:
  27520. - ApiKeyAuth: []
  27521. summary: 查询充值提现
  27522. tags:
  27523. - 大连千海金
  27524. /Qhj/QueryAreaFinanceConfig:
  27525. get:
  27526. parameters:
  27527. - description: 机构用户ID 其他做市关系,都设置为 1
  27528. in: query
  27529. name: userid
  27530. type: integer
  27531. produces:
  27532. - application/json
  27533. responses:
  27534. "200":
  27535. description: OK
  27536. schema:
  27537. items:
  27538. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27539. type: array
  27540. "500":
  27541. description: Internal Server Error
  27542. schema:
  27543. $ref: '#/definitions/app.Response'
  27544. security:
  27545. - ApiKeyAuth: []
  27546. summary: 查询企业配置表
  27547. tags:
  27548. - 大连千海金
  27549. /Qhj/QueryBankAccountSign:
  27550. get:
  27551. parameters:
  27552. - description: 用户ID
  27553. in: query
  27554. name: userid
  27555. required: true
  27556. type: integer
  27557. produces:
  27558. - application/json
  27559. responses:
  27560. "200":
  27561. description: OK
  27562. schema:
  27563. items:
  27564. $ref: '#/definitions/models.QhjBankAccountSign'
  27565. type: array
  27566. "500":
  27567. description: Internal Server Error
  27568. schema:
  27569. $ref: '#/definitions/app.Response'
  27570. security:
  27571. - ApiKeyAuth: []
  27572. summary: 查询签约银行信息(提现账户管理)
  27573. tags:
  27574. - 大连千海金
  27575. /Qhj/QueryBankInfo:
  27576. get:
  27577. produces:
  27578. - application/json
  27579. responses:
  27580. "200":
  27581. description: OK
  27582. schema:
  27583. items:
  27584. $ref: '#/definitions/models.QhjBankInfo'
  27585. type: array
  27586. "500":
  27587. description: Internal Server Error
  27588. schema:
  27589. $ref: '#/definitions/app.Response'
  27590. security:
  27591. - ApiKeyAuth: []
  27592. summary: 查询开户行
  27593. tags:
  27594. - 大连千海金
  27595. /Qhj/QueryBrokerApply:
  27596. get:
  27597. parameters:
  27598. - description: 所属机构ID
  27599. in: query
  27600. name: userid
  27601. type: integer
  27602. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27603. in: query
  27604. name: filterstatus
  27605. type: string
  27606. produces:
  27607. - application/json
  27608. responses:
  27609. "200":
  27610. description: OK
  27611. schema:
  27612. items:
  27613. $ref: '#/definitions/models.QhjBrokerApply'
  27614. type: array
  27615. "500":
  27616. description: Internal Server Error
  27617. schema:
  27618. $ref: '#/definitions/app.Response'
  27619. security:
  27620. - ApiKeyAuth: []
  27621. summary: 查询经纪人申请
  27622. tags:
  27623. - 大连千海金
  27624. /Qhj/QueryBrokerApplyEx:
  27625. get:
  27626. parameters:
  27627. - description: 所属机构ID
  27628. in: query
  27629. name: userid
  27630. type: integer
  27631. produces:
  27632. - application/json
  27633. responses:
  27634. "200":
  27635. description: OK
  27636. schema:
  27637. items:
  27638. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27639. type: array
  27640. "500":
  27641. description: Internal Server Error
  27642. schema:
  27643. $ref: '#/definitions/app.Response'
  27644. security:
  27645. - ApiKeyAuth: []
  27646. summary: 查询经纪人信息和申请记录
  27647. tags:
  27648. - 大连千海金
  27649. /Qhj/QueryBrokerRewardLog:
  27650. get:
  27651. parameters:
  27652. - description: 用户ID
  27653. in: query
  27654. name: userid
  27655. required: true
  27656. type: integer
  27657. - description: 开始交易日(yyyymmdd)
  27658. in: query
  27659. name: begindate
  27660. type: string
  27661. - description: 结束交易日(yyyymmdd)
  27662. in: query
  27663. name: enddate
  27664. type: string
  27665. produces:
  27666. - application/json
  27667. responses:
  27668. "200":
  27669. description: OK
  27670. schema:
  27671. items:
  27672. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27673. type: array
  27674. "500":
  27675. description: Internal Server Error
  27676. schema:
  27677. $ref: '#/definitions/app.Response'
  27678. security:
  27679. - ApiKeyAuth: []
  27680. summary: 查询奖励流水(我的奖励)
  27681. tags:
  27682. - 大连千海金
  27683. /Qhj/QueryContract:
  27684. get:
  27685. parameters:
  27686. - description: 用户ID
  27687. in: query
  27688. name: userid
  27689. type: integer
  27690. - description: scf合同id
  27691. in: query
  27692. name: scfcontractid
  27693. type: integer
  27694. produces:
  27695. - application/json
  27696. responses:
  27697. "200":
  27698. description: OK
  27699. schema:
  27700. items:
  27701. $ref: '#/definitions/models.QhjContract'
  27702. type: array
  27703. "500":
  27704. description: Internal Server Error
  27705. schema:
  27706. $ref: '#/definitions/app.Response'
  27707. security:
  27708. - ApiKeyAuth: []
  27709. summary: 查询融资明细(合同)
  27710. tags:
  27711. - 大连千海金
  27712. /Qhj/QueryContractLog:
  27713. get:
  27714. parameters:
  27715. - description: scf合同id
  27716. in: query
  27717. name: scfcontractid
  27718. required: true
  27719. type: integer
  27720. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27721. in: query
  27722. name: amounttype
  27723. type: string
  27724. produces:
  27725. - application/json
  27726. responses:
  27727. "200":
  27728. description: OK
  27729. schema:
  27730. items:
  27731. $ref: '#/definitions/models.QhjContractLog'
  27732. type: array
  27733. "500":
  27734. description: Internal Server Error
  27735. schema:
  27736. $ref: '#/definitions/app.Response'
  27737. security:
  27738. - ApiKeyAuth: []
  27739. summary: 查询融资明细流水(融资明细详情页中的流水)
  27740. tags:
  27741. - 大连千海金
  27742. /Qhj/QueryCusBankSignBank:
  27743. get:
  27744. produces:
  27745. - application/json
  27746. responses:
  27747. "200":
  27748. description: OK
  27749. schema:
  27750. items:
  27751. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27752. type: array
  27753. "500":
  27754. description: Internal Server Error
  27755. schema:
  27756. $ref: '#/definitions/app.Response'
  27757. security:
  27758. - ApiKeyAuth: []
  27759. summary: 查询托管银行
  27760. tags:
  27761. - 大连千海金
  27762. /Qhj/QueryCustomerInfo:
  27763. get:
  27764. parameters:
  27765. - description: 用户ID
  27766. in: query
  27767. name: userid
  27768. required: true
  27769. type: integer
  27770. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27771. in: query
  27772. name: querytype
  27773. required: true
  27774. type: integer
  27775. - description: 客户类型 1-个人 2-企业
  27776. in: query
  27777. name: userinfotype
  27778. type: integer
  27779. - description: 客户名称(模糊匹配)
  27780. in: query
  27781. name: customername
  27782. type: string
  27783. - description: 昵称(模糊匹配)
  27784. in: query
  27785. name: nickname
  27786. type: string
  27787. - description: 是否包含子级 1-包含
  27788. in: query
  27789. name: includesub
  27790. type: integer
  27791. produces:
  27792. - application/json
  27793. responses:
  27794. "200":
  27795. description: OK
  27796. schema:
  27797. items:
  27798. $ref: '#/definitions/models.QhjCustomer'
  27799. type: array
  27800. "500":
  27801. description: Internal Server Error
  27802. schema:
  27803. $ref: '#/definitions/app.Response'
  27804. security:
  27805. - ApiKeyAuth: []
  27806. summary: 查询客户资料
  27807. tags:
  27808. - 大连千海金
  27809. /Qhj/QueryGoodsEx:
  27810. get:
  27811. parameters:
  27812. - description: 商品id
  27813. in: query
  27814. name: goodsid
  27815. type: integer
  27816. produces:
  27817. - application/json
  27818. responses:
  27819. "200":
  27820. description: OK
  27821. schema:
  27822. items:
  27823. $ref: '#/definitions/models.Qhjgoodsex'
  27824. type: array
  27825. "500":
  27826. description: Internal Server Error
  27827. schema:
  27828. $ref: '#/definitions/app.Response'
  27829. security:
  27830. - ApiKeyAuth: []
  27831. summary: 交易商品扩展表
  27832. tags:
  27833. - 大连千海金
  27834. /Qhj/QueryMyTeam:
  27835. get:
  27836. parameters:
  27837. - description: 用户ID
  27838. in: query
  27839. name: userid
  27840. required: true
  27841. type: integer
  27842. produces:
  27843. - application/json
  27844. responses:
  27845. "200":
  27846. description: OK
  27847. schema:
  27848. items:
  27849. $ref: '#/definitions/models.QhjMyTeamEx'
  27850. type: array
  27851. "500":
  27852. description: Internal Server Error
  27853. schema:
  27854. $ref: '#/definitions/app.Response'
  27855. security:
  27856. - ApiKeyAuth: []
  27857. summary: 查询我的团队
  27858. tags:
  27859. - 大连千海金
  27860. /Qhj/QueryMyTeamOrder:
  27861. get:
  27862. parameters:
  27863. - description: 页码
  27864. in: query
  27865. name: page
  27866. type: integer
  27867. - description: 每页条数
  27868. in: query
  27869. name: pagesize
  27870. type: integer
  27871. - description: 用户ID
  27872. in: query
  27873. name: userid
  27874. required: true
  27875. type: integer
  27876. - description: 交易模式
  27877. in: query
  27878. name: trademode
  27879. type: integer
  27880. - description: 名称(模糊搜索账户)
  27881. in: query
  27882. name: filtername
  27883. type: string
  27884. produces:
  27885. - application/json
  27886. responses:
  27887. "200":
  27888. description: OK
  27889. schema:
  27890. items:
  27891. $ref: '#/definitions/models.QhjTeamOrder'
  27892. type: array
  27893. "500":
  27894. description: Internal Server Error
  27895. schema:
  27896. $ref: '#/definitions/app.Response'
  27897. security:
  27898. - ApiKeyAuth: []
  27899. summary: 查询团队订单(我的团队/团队订单)
  27900. tags:
  27901. - 大连千海金
  27902. /Qhj/QueryParentAreaList:
  27903. get:
  27904. parameters:
  27905. - description: 用户ID
  27906. in: query
  27907. name: userid
  27908. required: true
  27909. type: integer
  27910. produces:
  27911. - application/json
  27912. responses:
  27913. "200":
  27914. description: OK
  27915. schema:
  27916. items:
  27917. $ref: '#/definitions/models.QhjParentAreaList'
  27918. type: array
  27919. "500":
  27920. description: Internal Server Error
  27921. schema:
  27922. $ref: '#/definitions/app.Response'
  27923. security:
  27924. - ApiKeyAuth: []
  27925. summary: 查询所属机构列表
  27926. tags:
  27927. - 大连千海金
  27928. /Qhj/QueryPayOrder:
  27929. get:
  27930. parameters:
  27931. - description: 资金账号id
  27932. in: query
  27933. name: accountid
  27934. required: true
  27935. type: integer
  27936. - description: 成交单号
  27937. in: query
  27938. name: tradeid
  27939. type: integer
  27940. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27941. in: query
  27942. name: payflag
  27943. type: string
  27944. produces:
  27945. - application/json
  27946. responses:
  27947. "200":
  27948. description: OK
  27949. schema:
  27950. items:
  27951. $ref: '#/definitions/models.QhjPayOrder'
  27952. type: array
  27953. "500":
  27954. description: Internal Server Error
  27955. schema:
  27956. $ref: '#/definitions/app.Response'
  27957. security:
  27958. - ApiKeyAuth: []
  27959. summary: 查询待付款单据
  27960. tags:
  27961. - 大连千海金
  27962. /Qhj/QueryPickArea:
  27963. get:
  27964. parameters:
  27965. - description: 用户ID
  27966. in: query
  27967. name: userid
  27968. type: integer
  27969. produces:
  27970. - application/json
  27971. responses:
  27972. "200":
  27973. description: OK
  27974. schema:
  27975. items:
  27976. $ref: '#/definitions/models.QhjPickArea'
  27977. type: array
  27978. "500":
  27979. description: Internal Server Error
  27980. schema:
  27981. $ref: '#/definitions/app.Response'
  27982. security:
  27983. - ApiKeyAuth: []
  27984. summary: 查询提货门店
  27985. tags:
  27986. - 大连千海金
  27987. /Qhj/QueryPickGoods:
  27988. get:
  27989. parameters:
  27990. - description: 交易商品id
  27991. in: query
  27992. name: goodsid
  27993. required: true
  27994. type: integer
  27995. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27996. in: query
  27997. name: status
  27998. type: string
  27999. produces:
  28000. - application/json
  28001. responses:
  28002. "200":
  28003. description: OK
  28004. schema:
  28005. items:
  28006. $ref: '#/definitions/models.QhjPickGoods'
  28007. type: array
  28008. "500":
  28009. description: Internal Server Error
  28010. schema:
  28011. $ref: '#/definitions/app.Response'
  28012. security:
  28013. - ApiKeyAuth: []
  28014. summary: 查询提货商品
  28015. tags:
  28016. - 大连千海金
  28017. /Qhj/QueryRSTriggerLog:
  28018. get:
  28019. parameters:
  28020. - description: 用户ID
  28021. in: query
  28022. name: userid
  28023. type: integer
  28024. - description: 定投策略id
  28025. in: query
  28026. name: regularlystrategyid
  28027. type: integer
  28028. - description: 商品id
  28029. in: query
  28030. name: goodsid
  28031. type: integer
  28032. - description: 开始交易日(yyyymmdd)
  28033. in: query
  28034. name: begindate
  28035. type: string
  28036. - description: 结束交易日(yyyymmdd)
  28037. in: query
  28038. name: enddate
  28039. type: string
  28040. - description: 名称(模糊搜索账户)
  28041. in: query
  28042. name: filtername
  28043. type: string
  28044. produces:
  28045. - application/json
  28046. responses:
  28047. "200":
  28048. description: OK
  28049. schema:
  28050. items:
  28051. $ref: '#/definitions/models.QhjRSTriggerLog'
  28052. type: array
  28053. "500":
  28054. description: Internal Server Error
  28055. schema:
  28056. $ref: '#/definitions/app.Response'
  28057. security:
  28058. - ApiKeyAuth: []
  28059. summary: 查询定投记录(定投管理/详情/定投记录)
  28060. tags:
  28061. - 大连千海金
  28062. /Qhj/QueryRStrategy:
  28063. get:
  28064. parameters:
  28065. - description: 用户ID
  28066. in: query
  28067. name: userid
  28068. type: integer
  28069. - description: 商品id
  28070. in: query
  28071. name: goodsid
  28072. type: integer
  28073. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  28074. in: query
  28075. name: status
  28076. type: string
  28077. - description: 名称(模糊搜索账户)
  28078. in: query
  28079. name: filtername
  28080. type: string
  28081. produces:
  28082. - application/json
  28083. responses:
  28084. "200":
  28085. description: OK
  28086. schema:
  28087. items:
  28088. $ref: '#/definitions/models.QhjRStrategy'
  28089. type: array
  28090. "500":
  28091. description: Internal Server Error
  28092. schema:
  28093. $ref: '#/definitions/app.Response'
  28094. security:
  28095. - ApiKeyAuth: []
  28096. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  28097. tags:
  28098. - 大连千海金
  28099. /Qhj/QueryReckonPriceLog:
  28100. get:
  28101. parameters:
  28102. - description: 商品ID
  28103. in: query
  28104. name: goodsid
  28105. type: integer
  28106. - description: 交易日 格式(yyyymmdd)
  28107. in: query
  28108. name: tradedate
  28109. type: string
  28110. produces:
  28111. - application/json
  28112. responses:
  28113. "200":
  28114. description: OK
  28115. schema:
  28116. items:
  28117. $ref: '#/definitions/models.QhjReckonPriceLog'
  28118. type: array
  28119. "500":
  28120. description: Internal Server Error
  28121. schema:
  28122. $ref: '#/definitions/app.Response'
  28123. security:
  28124. - ApiKeyAuth: []
  28125. summary: 查询定投价(结算价)
  28126. tags:
  28127. - 大连千海金
  28128. /Qhj/QueryScoreLog:
  28129. get:
  28130. parameters:
  28131. - description: 用户ID
  28132. in: query
  28133. name: userid
  28134. required: true
  28135. type: integer
  28136. - description: 开始交易日(yyyymmdd)
  28137. in: query
  28138. name: begindate
  28139. type: string
  28140. - description: 结束交易日(yyyymmdd)
  28141. in: query
  28142. name: enddate
  28143. type: string
  28144. - description: 最近多少条
  28145. in: query
  28146. name: lastnum
  28147. type: integer
  28148. produces:
  28149. - application/json
  28150. responses:
  28151. "200":
  28152. description: OK
  28153. schema:
  28154. items:
  28155. $ref: '#/definitions/models.QhjScoreLog'
  28156. type: array
  28157. "500":
  28158. description: Internal Server Error
  28159. schema:
  28160. $ref: '#/definitions/app.Response'
  28161. security:
  28162. - ApiKeyAuth: []
  28163. summary: 查询积分流水(我的积分)
  28164. tags:
  28165. - 大连千海金
  28166. /Qhj/QuerySiteColumnDetail:
  28167. get:
  28168. parameters:
  28169. - description: 用户ID
  28170. in: query
  28171. name: userid
  28172. required: true
  28173. type: integer
  28174. produces:
  28175. - application/json
  28176. responses:
  28177. "200":
  28178. description: OK
  28179. schema:
  28180. items:
  28181. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28182. type: array
  28183. "500":
  28184. description: Internal Server Error
  28185. schema:
  28186. $ref: '#/definitions/app.Response'
  28187. security:
  28188. - ApiKeyAuth: []
  28189. summary: 查询资讯
  28190. tags:
  28191. - 大连千海金
  28192. /Qhj/QueryTradeGoodsPickup:
  28193. get:
  28194. parameters:
  28195. - description: 用户ID
  28196. in: query
  28197. name: userid
  28198. required: true
  28199. type: integer
  28200. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28201. 7:已拒绝 8:已撤销
  28202. in: query
  28203. name: takeorderstatus
  28204. type: integer
  28205. produces:
  28206. - application/json
  28207. responses:
  28208. "200":
  28209. description: OK
  28210. schema:
  28211. items:
  28212. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28213. type: array
  28214. "500":
  28215. description: Internal Server Error
  28216. schema:
  28217. $ref: '#/definitions/app.Response'
  28218. security:
  28219. - ApiKeyAuth: []
  28220. summary: 查询提货
  28221. tags:
  28222. - 大连千海金
  28223. /Qhj/QueryUserCollectConfig:
  28224. get:
  28225. parameters:
  28226. - description: 用户ID
  28227. in: query
  28228. name: userid
  28229. required: true
  28230. type: integer
  28231. produces:
  28232. - application/json
  28233. responses:
  28234. "200":
  28235. description: OK
  28236. schema:
  28237. items:
  28238. $ref: '#/definitions/models.UserCollectConfig'
  28239. type: array
  28240. "500":
  28241. description: Internal Server Error
  28242. schema:
  28243. $ref: '#/definitions/app.Response'
  28244. security:
  28245. - ApiKeyAuth: []
  28246. summary: 查询提现账户设置
  28247. tags:
  28248. - 大连千海金
  28249. /Qhj/QueryUserReceiveInfo:
  28250. get:
  28251. parameters:
  28252. - description: 用户ID
  28253. in: query
  28254. name: userid
  28255. required: true
  28256. type: integer
  28257. produces:
  28258. - application/json
  28259. responses:
  28260. "200":
  28261. description: OK
  28262. schema:
  28263. items:
  28264. $ref: '#/definitions/models.UserReceiveInfo'
  28265. type: array
  28266. "500":
  28267. description: Internal Server Error
  28268. schema:
  28269. $ref: '#/definitions/app.Response'
  28270. security:
  28271. - ApiKeyAuth: []
  28272. summary: 查询收货地址信息
  28273. tags:
  28274. - 大连千海金
  28275. /QhjMgr/QueryAccountInOutApply:
  28276. get:
  28277. parameters:
  28278. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28279. in: query
  28280. name: querytype
  28281. required: true
  28282. type: integer
  28283. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28284. in: query
  28285. name: applystatus
  28286. type: integer
  28287. - description: 申请起始日期(格式yyyymmdd)
  28288. in: query
  28289. name: begindate
  28290. type: string
  28291. - description: 申请截止日期(格式yyyymmdd)
  28292. in: query
  28293. name: enddate
  28294. type: string
  28295. - description: 模糊搜索名称
  28296. in: query
  28297. name: likename
  28298. type: string
  28299. produces:
  28300. - application/json
  28301. responses:
  28302. "200":
  28303. description: OK
  28304. schema:
  28305. items:
  28306. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28307. type: array
  28308. "500":
  28309. description: Internal Server Error
  28310. schema:
  28311. $ref: '#/definitions/app.Response'
  28312. security:
  28313. - ApiKeyAuth: []
  28314. summary: 查询充值提现
  28315. tags:
  28316. - 大连千海金(PCWeb)
  28317. /QhjMgr/QueryBrokerApply:
  28318. get:
  28319. parameters:
  28320. - description: 所属机构ID
  28321. in: query
  28322. name: userid
  28323. type: integer
  28324. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28325. in: query
  28326. name: filterstatus
  28327. type: string
  28328. - description: 名称(模糊匹配)
  28329. in: query
  28330. name: filtername
  28331. type: string
  28332. - description: 是否包含子级 1-包含
  28333. in: query
  28334. name: includesub
  28335. type: integer
  28336. produces:
  28337. - application/json
  28338. responses:
  28339. "200":
  28340. description: OK
  28341. schema:
  28342. items:
  28343. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28344. type: array
  28345. "500":
  28346. description: Internal Server Error
  28347. schema:
  28348. $ref: '#/definitions/app.Response'
  28349. security:
  28350. - ApiKeyAuth: []
  28351. summary: 查询经纪人申请
  28352. tags:
  28353. - 大连千海金(PCWeb)
  28354. /QhjMgr/QueryBrokerRewardReport:
  28355. get:
  28356. parameters:
  28357. - description: 所属机构ID
  28358. in: query
  28359. name: userid
  28360. required: true
  28361. type: integer
  28362. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28363. in: query
  28364. name: cycletype
  28365. required: true
  28366. type: integer
  28367. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28368. in: query
  28369. name: cycletime
  28370. required: true
  28371. type: string
  28372. - description: 名称(模糊匹配)
  28373. in: query
  28374. name: filtername
  28375. type: string
  28376. - description: 是否包含子级 1-包含
  28377. in: query
  28378. name: includesub
  28379. type: integer
  28380. produces:
  28381. - application/json
  28382. responses:
  28383. "200":
  28384. description: OK
  28385. schema:
  28386. items:
  28387. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28388. type: array
  28389. "500":
  28390. description: Internal Server Error
  28391. schema:
  28392. $ref: '#/definitions/app.Response'
  28393. security:
  28394. - ApiKeyAuth: []
  28395. summary: 查询经纪人奖励报表(废弃)
  28396. tags:
  28397. - 大连千海金(PCWeb)
  28398. /QhjMgr/QueryContract:
  28399. get:
  28400. parameters:
  28401. - description: 用户ID
  28402. in: query
  28403. name: userid
  28404. type: integer
  28405. - description: 商品id
  28406. in: query
  28407. name: goodsid
  28408. type: integer
  28409. - description: 名称(模糊搜索账户)
  28410. in: query
  28411. name: filtername
  28412. type: string
  28413. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28414. in: query
  28415. name: risklevel
  28416. type: string
  28417. - description: 开始交易日(yyyymmdd)
  28418. in: query
  28419. name: begindate
  28420. type: string
  28421. - description: 结束交易日(yyyymmdd)
  28422. in: query
  28423. name: enddate
  28424. type: string
  28425. produces:
  28426. - application/json
  28427. responses:
  28428. "200":
  28429. description: OK
  28430. schema:
  28431. items:
  28432. $ref: '#/definitions/models.QhjMgrContract'
  28433. type: array
  28434. "500":
  28435. description: Internal Server Error
  28436. schema:
  28437. $ref: '#/definitions/app.Response'
  28438. security:
  28439. - ApiKeyAuth: []
  28440. summary: 查询融资信息(合同)
  28441. tags:
  28442. - 大连千海金(PCWeb)
  28443. /QhjMgr/QueryCustomerInfo:
  28444. get:
  28445. parameters:
  28446. - description: 用户ID
  28447. in: query
  28448. name: userid
  28449. required: true
  28450. type: integer
  28451. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28452. in: query
  28453. name: querytype
  28454. required: true
  28455. type: integer
  28456. - description: 客户类型 1-个人 2-企业
  28457. in: query
  28458. name: userinfotype
  28459. type: integer
  28460. - description: 客户名称(模糊匹配)
  28461. in: query
  28462. name: customername
  28463. type: string
  28464. - description: 昵称(模糊匹配)
  28465. in: query
  28466. name: nickname
  28467. type: string
  28468. - description: 所属客户经理(模糊匹配)
  28469. in: query
  28470. name: brokername
  28471. type: string
  28472. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28473. 如0503 -5月3日)
  28474. in: query
  28475. name: birthday
  28476. type: string
  28477. - description: 是否包含子级 1-包含
  28478. in: query
  28479. name: includesub
  28480. type: integer
  28481. produces:
  28482. - application/json
  28483. responses:
  28484. "200":
  28485. description: OK
  28486. schema:
  28487. items:
  28488. $ref: '#/definitions/models.QhjMgrCustomer'
  28489. type: array
  28490. "500":
  28491. description: Internal Server Error
  28492. schema:
  28493. $ref: '#/definitions/app.Response'
  28494. security:
  28495. - ApiKeyAuth: []
  28496. summary: 查询客户资料
  28497. tags:
  28498. - 大连千海金(PCWeb)
  28499. /QhjMgr/QueryPickGoods:
  28500. get:
  28501. parameters:
  28502. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28503. in: query
  28504. name: status
  28505. type: string
  28506. produces:
  28507. - application/json
  28508. responses:
  28509. "200":
  28510. description: OK
  28511. schema:
  28512. items:
  28513. $ref: '#/definitions/models.QhjMgrPickGoods'
  28514. type: array
  28515. "500":
  28516. description: Internal Server Error
  28517. schema:
  28518. $ref: '#/definitions/app.Response'
  28519. security:
  28520. - ApiKeyAuth: []
  28521. summary: 查询提货商品
  28522. tags:
  28523. - 大连千海金(PCWeb)
  28524. /QhjMgr/QuerySubArea:
  28525. get:
  28526. parameters:
  28527. - description: 用户ID
  28528. in: query
  28529. name: userid
  28530. required: true
  28531. type: integer
  28532. produces:
  28533. - application/json
  28534. responses:
  28535. "200":
  28536. description: OK
  28537. schema:
  28538. items:
  28539. $ref: '#/definitions/models.QhjMgrSubArea'
  28540. type: array
  28541. "500":
  28542. description: Internal Server Error
  28543. schema:
  28544. $ref: '#/definitions/app.Response'
  28545. security:
  28546. - ApiKeyAuth: []
  28547. summary: 查询子机构列表
  28548. tags:
  28549. - 大连千海金(PCWeb)
  28550. /QhjMgr/QueryTradeDetail:
  28551. get:
  28552. parameters:
  28553. - description: 用户ID
  28554. in: query
  28555. name: userid
  28556. required: true
  28557. type: integer
  28558. - description: 用户类型 1-个人 2-企业
  28559. in: query
  28560. name: userinfotype
  28561. type: integer
  28562. - description: 交易模式
  28563. in: query
  28564. name: trademode
  28565. type: integer
  28566. - description: 商品id
  28567. in: query
  28568. name: goodsid
  28569. type: integer
  28570. - description: 名称(模糊搜索账户)
  28571. in: query
  28572. name: filtername
  28573. type: string
  28574. - description: 开始交易日(yyyymmdd)
  28575. in: query
  28576. name: begindate
  28577. type: string
  28578. - description: 结束交易日(yyyymmdd)
  28579. in: query
  28580. name: enddate
  28581. type: string
  28582. - description: 是否包含子级 1-包含
  28583. in: query
  28584. name: includesub
  28585. type: integer
  28586. produces:
  28587. - application/json
  28588. responses:
  28589. "200":
  28590. description: OK
  28591. schema:
  28592. items:
  28593. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28594. type: array
  28595. "500":
  28596. description: Internal Server Error
  28597. schema:
  28598. $ref: '#/definitions/app.Response'
  28599. security:
  28600. - ApiKeyAuth: []
  28601. summary: 查询成交明细
  28602. tags:
  28603. - 大连千海金(PCWeb)
  28604. /QhjMgr/QueryTradeOrderDetail:
  28605. get:
  28606. parameters:
  28607. - description: 用户ID
  28608. in: query
  28609. name: userid
  28610. required: true
  28611. type: integer
  28612. - description: 用户类型 1-个人 2-企业
  28613. in: query
  28614. name: userinfotype
  28615. type: integer
  28616. - description: 交易模式
  28617. in: query
  28618. name: trademode
  28619. type: integer
  28620. - description: 商品id
  28621. in: query
  28622. name: goodsid
  28623. type: integer
  28624. - description: 名称(模糊搜索账户)
  28625. in: query
  28626. name: filtername
  28627. type: string
  28628. - description: 开始交易日(yyyymmdd)
  28629. in: query
  28630. name: begindate
  28631. type: string
  28632. - description: 结束交易日(yyyymmdd)
  28633. in: query
  28634. name: enddate
  28635. type: string
  28636. - description: 是否包含子级 1-包含
  28637. in: query
  28638. name: includesub
  28639. type: integer
  28640. produces:
  28641. - application/json
  28642. responses:
  28643. "200":
  28644. description: OK
  28645. schema:
  28646. items:
  28647. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28648. type: array
  28649. "500":
  28650. description: Internal Server Error
  28651. schema:
  28652. $ref: '#/definitions/app.Response'
  28653. security:
  28654. - ApiKeyAuth: []
  28655. summary: 查询委托明细
  28656. tags:
  28657. - 大连千海金(PCWeb)
  28658. /QhjMgr/QueryTradePayOrder:
  28659. get:
  28660. parameters:
  28661. - description: 用户ID
  28662. in: query
  28663. name: userid
  28664. required: true
  28665. type: integer
  28666. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28667. in: query
  28668. name: payflag
  28669. type: string
  28670. - description: 用户类型 1-个人 2-企业
  28671. in: query
  28672. name: userinfotype
  28673. type: integer
  28674. - description: 交易模式
  28675. in: query
  28676. name: trademode
  28677. type: integer
  28678. - description: 商品id
  28679. in: query
  28680. name: goodsid
  28681. type: integer
  28682. - description: 名称(模糊搜索账户)
  28683. in: query
  28684. name: filtername
  28685. type: string
  28686. - description: 开始交易日(yyyymmdd)
  28687. in: query
  28688. name: begindate
  28689. type: string
  28690. - description: 结束交易日(yyyymmdd)
  28691. in: query
  28692. name: enddate
  28693. type: string
  28694. - description: 是否包含子级 1-包含
  28695. in: query
  28696. name: includesub
  28697. type: integer
  28698. produces:
  28699. - application/json
  28700. responses:
  28701. "200":
  28702. description: OK
  28703. schema:
  28704. items:
  28705. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28706. type: array
  28707. "500":
  28708. description: Internal Server Error
  28709. schema:
  28710. $ref: '#/definitions/app.Response'
  28711. security:
  28712. - ApiKeyAuth: []
  28713. summary: 查询待付款单
  28714. tags:
  28715. - 大连千海金(PCWeb)
  28716. /QhjMgr/QueryTradePosition:
  28717. get:
  28718. parameters:
  28719. - description: 用户ID
  28720. in: query
  28721. name: userid
  28722. required: true
  28723. type: integer
  28724. - description: 用户类型 1-个人 2-企业
  28725. in: query
  28726. name: userinfotype
  28727. type: integer
  28728. - description: 交易模式
  28729. in: query
  28730. name: trademode
  28731. type: integer
  28732. - description: 商品id
  28733. in: query
  28734. name: goodsid
  28735. type: integer
  28736. - description: 名称(模糊搜索账户)
  28737. in: query
  28738. name: filtername
  28739. type: string
  28740. - description: 是否包含子级 1-包含
  28741. in: query
  28742. name: includesub
  28743. type: integer
  28744. produces:
  28745. - application/json
  28746. responses:
  28747. "200":
  28748. description: OK
  28749. schema:
  28750. items:
  28751. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28752. type: array
  28753. "500":
  28754. description: Internal Server Error
  28755. schema:
  28756. $ref: '#/definitions/app.Response'
  28757. security:
  28758. - ApiKeyAuth: []
  28759. summary: 查询持仓汇总
  28760. tags:
  28761. - 大连千海金(PCWeb)
  28762. /QhjSys/QueryAgreementChangeLog:
  28763. get:
  28764. parameters:
  28765. - description: 协议ID
  28766. in: query
  28767. name: agreementid
  28768. type: integer
  28769. - description: 协议版本号
  28770. in: query
  28771. name: agreementversion
  28772. type: integer
  28773. - description: 协议类型 - 1:注册 2:登录 3:交易
  28774. in: query
  28775. name: agreementtype
  28776. type: integer
  28777. - description: 协议编号(模糊匹配)
  28778. in: query
  28779. name: agreementno
  28780. type: string
  28781. - description: 协议名称(模糊匹配)
  28782. in: query
  28783. name: agreementname
  28784. type: string
  28785. produces:
  28786. - application/json
  28787. responses:
  28788. "200":
  28789. description: OK
  28790. schema:
  28791. items:
  28792. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28793. type: array
  28794. "500":
  28795. description: Internal Server Error
  28796. schema:
  28797. $ref: '#/definitions/app.Response'
  28798. security:
  28799. - ApiKeyAuth: []
  28800. summary: 查询协议配置变更流水
  28801. tags:
  28802. - 大连千海金(协议和签约信息)
  28803. /QhjSys/QueryAgreementConfig:
  28804. get:
  28805. parameters:
  28806. - description: 协议ID
  28807. in: query
  28808. name: agreementid
  28809. type: integer
  28810. - description: 协议版本号
  28811. in: query
  28812. name: agreementversion
  28813. type: integer
  28814. - description: 协议类型 - 1:注册 2:登录 3:交易
  28815. in: query
  28816. name: agreementtype
  28817. type: integer
  28818. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28819. in: query
  28820. name: isvalid
  28821. type: integer
  28822. - description: 协议编号(模糊匹配)
  28823. in: query
  28824. name: agreementno
  28825. type: string
  28826. - description: 协议名称(模糊匹配)
  28827. in: query
  28828. name: agreementname
  28829. type: string
  28830. produces:
  28831. - application/json
  28832. responses:
  28833. "200":
  28834. description: OK
  28835. schema:
  28836. items:
  28837. $ref: '#/definitions/models.QhjAgreementConfig'
  28838. type: array
  28839. "500":
  28840. description: Internal Server Error
  28841. schema:
  28842. $ref: '#/definitions/app.Response'
  28843. security:
  28844. - ApiKeyAuth: []
  28845. summary: 查询协议配置
  28846. tags:
  28847. - 大连千海金(协议和签约信息)
  28848. /QhjSys/QueryCustomerSignStatus:
  28849. get:
  28850. parameters:
  28851. - description: 客户ID
  28852. in: query
  28853. name: userid
  28854. type: integer
  28855. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28856. in: query
  28857. name: nodetype
  28858. type: integer
  28859. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28860. in: query
  28861. name: goodsid
  28862. type: integer
  28863. - description: 创建交易日(yyyyMMdd)
  28864. in: query
  28865. name: tradedate
  28866. type: string
  28867. - description: 用户名称(模糊匹配)
  28868. in: query
  28869. name: username
  28870. type: string
  28871. produces:
  28872. - application/json
  28873. responses:
  28874. "200":
  28875. description: OK
  28876. schema:
  28877. items:
  28878. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28879. type: array
  28880. "500":
  28881. description: Internal Server Error
  28882. schema:
  28883. $ref: '#/definitions/app.Response'
  28884. security:
  28885. - ApiKeyAuth: []
  28886. summary: 查询客户协议签约状态
  28887. tags:
  28888. - 大连千海金(协议和签约信息)
  28889. /QhjSys/QueryNodeAgreementConfig:
  28890. get:
  28891. parameters:
  28892. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28893. in: query
  28894. name: configid
  28895. type: integer
  28896. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28897. in: query
  28898. name: nodetype
  28899. type: integer
  28900. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28901. in: query
  28902. name: goodsid
  28903. type: integer
  28904. - description: 协议ID
  28905. in: query
  28906. name: agreementid
  28907. type: integer
  28908. - description: 协议类型 - 1:注册 2:登录 3:交易
  28909. in: query
  28910. name: agreementtype
  28911. type: integer
  28912. - description: 协议版本号
  28913. in: query
  28914. name: agreementversion
  28915. type: integer
  28916. - description: 协议编号(模糊匹配)
  28917. in: query
  28918. name: agreementno
  28919. type: string
  28920. - description: 协议名称(模糊匹配)
  28921. in: query
  28922. name: agreementname
  28923. type: string
  28924. produces:
  28925. - application/json
  28926. responses:
  28927. "200":
  28928. description: OK
  28929. schema:
  28930. items:
  28931. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28932. type: array
  28933. "500":
  28934. description: Internal Server Error
  28935. schema:
  28936. $ref: '#/definitions/app.Response'
  28937. security:
  28938. - ApiKeyAuth: []
  28939. summary: 查询协议节点配置
  28940. tags:
  28941. - 大连千海金(协议和签约信息)
  28942. /QhjSys/QueryQhjCustomerSignLog:
  28943. get:
  28944. parameters:
  28945. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28946. in: query
  28947. name: logid
  28948. type: integer
  28949. - description: 客户ID
  28950. in: query
  28951. name: userid
  28952. type: integer
  28953. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28954. in: query
  28955. name: nodetype
  28956. type: integer
  28957. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28958. in: query
  28959. name: goodsid
  28960. type: integer
  28961. - description: 协议ID
  28962. in: query
  28963. name: agreementid
  28964. type: integer
  28965. - description: 用户名称(模糊匹配)
  28966. in: query
  28967. name: username
  28968. type: string
  28969. - description: 协议编号(模糊匹配)
  28970. in: query
  28971. name: agreementno
  28972. type: string
  28973. - description: 协议名称(模糊匹配)
  28974. in: query
  28975. name: agreementname
  28976. type: string
  28977. produces:
  28978. - application/json
  28979. responses:
  28980. "200":
  28981. description: OK
  28982. schema:
  28983. items:
  28984. $ref: '#/definitions/models.QhjCustomerSignLog'
  28985. type: array
  28986. "500":
  28987. description: Internal Server Error
  28988. schema:
  28989. $ref: '#/definitions/app.Response'
  28990. security:
  28991. - ApiKeyAuth: []
  28992. summary: 查询客户协议签约流水
  28993. tags:
  28994. - 大连千海金(协议和签约信息)
  28995. /QhjSys/QueryUserNodeCfgAndStatus:
  28996. get:
  28997. parameters:
  28998. - description: 客户ID
  28999. in: query
  29000. name: userid
  29001. type: integer
  29002. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  29003. in: query
  29004. name: configid
  29005. type: integer
  29006. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  29007. in: query
  29008. name: nodetype
  29009. type: string
  29010. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  29011. in: query
  29012. name: goodsid
  29013. type: integer
  29014. - description: 协议ID
  29015. in: query
  29016. name: agreementid
  29017. type: integer
  29018. - description: 协议类型 - 1:注册 2:登录 3:交易
  29019. in: query
  29020. name: agreementtype
  29021. type: integer
  29022. - description: 协议版本号
  29023. in: query
  29024. name: agreementversion
  29025. type: integer
  29026. - description: 协议编号(模糊匹配)
  29027. in: query
  29028. name: agreementno
  29029. type: string
  29030. - description: 协议名称(模糊匹配)
  29031. in: query
  29032. name: agreementname
  29033. type: string
  29034. produces:
  29035. - application/json
  29036. responses:
  29037. "200":
  29038. description: OK
  29039. schema:
  29040. items:
  29041. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  29042. type: array
  29043. "500":
  29044. description: Internal Server Error
  29045. schema:
  29046. $ref: '#/definitions/app.Response'
  29047. security:
  29048. - ApiKeyAuth: []
  29049. summary: 查询用户协议节点配置和状态
  29050. tags:
  29051. - 大连千海金(协议和签约信息)
  29052. /Quote/QueryHistoryDatas:
  29053. get:
  29054. parameters:
  29055. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  29056. 日线 12:周线 13:月线 14:年线'
  29057. in: query
  29058. name: cycleType
  29059. required: true
  29060. type: integer
  29061. - description: 商品代码
  29062. in: query
  29063. name: goodsCode
  29064. required: true
  29065. type: string
  29066. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29067. in: query
  29068. name: startTime
  29069. type: string
  29070. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29071. in: query
  29072. name: endTime
  29073. type: string
  29074. - description: 条数
  29075. in: query
  29076. name: count
  29077. type: integer
  29078. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29079. in: query
  29080. name: isAsc
  29081. type: boolean
  29082. produces:
  29083. - application/json
  29084. responses:
  29085. "200":
  29086. description: OK
  29087. schema:
  29088. $ref: '#/definitions/quote.HistoryData'
  29089. "500":
  29090. description: Internal Server Error
  29091. schema:
  29092. $ref: '#/definitions/app.Response'
  29093. security:
  29094. - ApiKeyAuth: []
  29095. summary: 查询行情历史数据
  29096. tags:
  29097. - 行情服务
  29098. /Quote/QueryHistoryTikDatas:
  29099. get:
  29100. parameters:
  29101. - description: 商品代码
  29102. in: query
  29103. name: goodsCode
  29104. required: true
  29105. type: string
  29106. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  29107. in: query
  29108. name: startTime
  29109. type: string
  29110. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  29111. in: query
  29112. name: endTime
  29113. type: string
  29114. - description: 条数
  29115. in: query
  29116. name: count
  29117. type: integer
  29118. - description: 是否按时间顺序排序(默认为时间倒序排序)
  29119. in: query
  29120. name: isAsc
  29121. type: boolean
  29122. produces:
  29123. - application/json
  29124. responses:
  29125. "200":
  29126. description: OK
  29127. schema:
  29128. $ref: '#/definitions/quote.HistoryTikData'
  29129. "500":
  29130. description: Internal Server Error
  29131. schema:
  29132. $ref: '#/definitions/app.Response'
  29133. security:
  29134. - ApiKeyAuth: []
  29135. summary: 查询行情Tik数据
  29136. tags:
  29137. - 行情服务
  29138. /Quote/QueryQuoteDay:
  29139. get:
  29140. parameters:
  29141. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  29142. in: query
  29143. name: goodsCodes
  29144. type: string
  29145. produces:
  29146. - application/json
  29147. responses:
  29148. "200":
  29149. description: OK
  29150. schema:
  29151. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29152. "500":
  29153. description: Internal Server Error
  29154. schema:
  29155. $ref: '#/definitions/app.Response'
  29156. security:
  29157. - ApiKeyAuth: []
  29158. summary: 获取商品盘面信息
  29159. tags:
  29160. - 行情服务
  29161. /Quote/QueryTSData:
  29162. get:
  29163. parameters:
  29164. - description: 商品代码
  29165. in: query
  29166. name: goodsCode
  29167. required: true
  29168. type: string
  29169. produces:
  29170. - application/json
  29171. responses:
  29172. "200":
  29173. description: OK
  29174. schema:
  29175. $ref: '#/definitions/quote.QueryTSDataRsp'
  29176. "500":
  29177. description: Internal Server Error
  29178. schema:
  29179. $ref: '#/definitions/app.Response'
  29180. security:
  29181. - ApiKeyAuth: []
  29182. summary: 分时图数据查询
  29183. tags:
  29184. - 行情服务
  29185. /SZDZ/QueryConvertConfig:
  29186. get:
  29187. parameters:
  29188. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29189. 6:交易转花生米(不设置)
  29190. in: query
  29191. name: convertType
  29192. type: integer
  29193. - description: 外部商品代码[JD\PD]
  29194. in: query
  29195. name: outerGoodsCode
  29196. type: string
  29197. - description: 内部商品ID列表[交易],格式:1,2,3
  29198. in: query
  29199. name: innerGoodsIDs
  29200. type: string
  29201. produces:
  29202. - application/json
  29203. responses:
  29204. "200":
  29205. description: OK
  29206. schema:
  29207. $ref: '#/definitions/models.Szdz3convertconfig'
  29208. "500":
  29209. description: Internal Server Error
  29210. schema:
  29211. $ref: '#/definitions/app.Response'
  29212. security:
  29213. - ApiKeyAuth: []
  29214. summary: 查询交易系统转换设置
  29215. tags:
  29216. - 定制【尚志大宗】
  29217. /SZDZ/QueryConvertLog:
  29218. get:
  29219. parameters:
  29220. - description: 资金账户 - 格式:1,2,3
  29221. in: query
  29222. name: accountID
  29223. required: true
  29224. type: string
  29225. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29226. in: query
  29227. name: startDate
  29228. type: string
  29229. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29230. in: query
  29231. name: endDate
  29232. type: string
  29233. produces:
  29234. - application/json
  29235. responses:
  29236. "200":
  29237. description: OK
  29238. schema:
  29239. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29240. "500":
  29241. description: Internal Server Error
  29242. schema:
  29243. $ref: '#/definitions/app.Response'
  29244. security:
  29245. - ApiKeyAuth: []
  29246. summary: 交易系统转换流水查询
  29247. tags:
  29248. - 定制【尚志大宗】
  29249. /SZDZ/QueryGoodsPickup:
  29250. get:
  29251. parameters:
  29252. - description: 资金账户 - 格式:1,2,3
  29253. in: query
  29254. name: accountID
  29255. required: true
  29256. type: string
  29257. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29258. in: query
  29259. name: takeOrderStatus
  29260. type: integer
  29261. produces:
  29262. - application/json
  29263. responses:
  29264. "200":
  29265. description: OK
  29266. schema:
  29267. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29268. "500":
  29269. description: Internal Server Error
  29270. schema:
  29271. $ref: '#/definitions/app.Response'
  29272. security:
  29273. - ApiKeyAuth: []
  29274. summary: 商品提货单查询
  29275. tags:
  29276. - 定制【尚志大宗】
  29277. /SZDZ/QueryRecieptOrder:
  29278. get:
  29279. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29280. parameters:
  29281. - description: 页码
  29282. in: query
  29283. name: page
  29284. type: integer
  29285. - description: 每页条数
  29286. in: query
  29287. name: pagesize
  29288. type: integer
  29289. - description: 商品ID
  29290. in: query
  29291. name: goodsID
  29292. required: true
  29293. type: integer
  29294. - description: 所属账户名称
  29295. in: query
  29296. name: accountName
  29297. type: string
  29298. - description: 市场ID
  29299. in: query
  29300. name: marketID
  29301. type: integer
  29302. - description: 方向 - 0:买 1:卖
  29303. in: query
  29304. name: buyorsell
  29305. required: true
  29306. type: integer
  29307. produces:
  29308. - application/json
  29309. responses:
  29310. "200":
  29311. description: OK
  29312. schema:
  29313. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29314. "500":
  29315. description: Internal Server Error
  29316. schema:
  29317. $ref: '#/definitions/app.Response'
  29318. security:
  29319. - ApiKeyAuth: []
  29320. summary: 点选挂牌委托单据查询(摘牌大厅)
  29321. tags:
  29322. - 定制【尚志大宗】
  29323. /SZDZ/QuerySZDZTradePosition:
  29324. get:
  29325. parameters:
  29326. - description: 资金账户
  29327. in: query
  29328. name: accountID
  29329. required: true
  29330. type: integer
  29331. produces:
  29332. - application/json
  29333. responses:
  29334. "200":
  29335. description: OK
  29336. schema:
  29337. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29338. "500":
  29339. description: Internal Server Error
  29340. schema:
  29341. $ref: '#/definitions/app.Response'
  29342. security:
  29343. - ApiKeyAuth: []
  29344. summary: 持仓汇总查询(尚志大宗)
  29345. tags:
  29346. - 定制【尚志大宗】
  29347. /SZDZ/SearchWhite:
  29348. get:
  29349. parameters:
  29350. - description: 用户ID
  29351. in: query
  29352. name: userID
  29353. required: true
  29354. type: integer
  29355. produces:
  29356. - application/json
  29357. responses:
  29358. "200":
  29359. description: OK
  29360. schema:
  29361. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29362. "500":
  29363. description: Internal Server Error
  29364. schema:
  29365. $ref: '#/definitions/app.Response'
  29366. security:
  29367. - ApiKeyAuth: []
  29368. summary: 搜索白名单
  29369. tags:
  29370. - 定制【尚志大宗】
  29371. /Search/SearchGoodses:
  29372. get:
  29373. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29374. parameters:
  29375. - description: 检索内容
  29376. in: query
  29377. name: content
  29378. required: true
  29379. type: string
  29380. - description: 交易模式,格式:1,2,3
  29381. in: query
  29382. name: tradeModes
  29383. type: string
  29384. produces:
  29385. - application/json
  29386. responses:
  29387. "200":
  29388. description: OK
  29389. schema:
  29390. $ref: '#/definitions/models.SearchGoods'
  29391. "500":
  29392. description: Internal Server Error
  29393. schema:
  29394. $ref: '#/definitions/app.Response'
  29395. summary: 检索商品信息
  29396. tags:
  29397. - 检索服务
  29398. /TaAccount/GetTaAccounts:
  29399. get:
  29400. parameters:
  29401. - description: 登录账户
  29402. in: query
  29403. name: loginID
  29404. required: true
  29405. type: integer
  29406. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29407. in: query
  29408. name: taAccountType
  29409. type: integer
  29410. produces:
  29411. - application/json
  29412. responses:
  29413. "200":
  29414. description: OK
  29415. schema:
  29416. $ref: '#/definitions/models.Taaccount'
  29417. "500":
  29418. description: Internal Server Error
  29419. schema:
  29420. $ref: '#/definitions/app.Response'
  29421. security:
  29422. - ApiKeyAuth: []
  29423. summary: 获取资金账户信息
  29424. tags:
  29425. - 资金账户
  29426. /TaAccount/QueryAmountLog:
  29427. get:
  29428. parameters:
  29429. - description: 页码
  29430. in: query
  29431. name: page
  29432. type: integer
  29433. - description: 每页条数
  29434. in: query
  29435. name: pagesize
  29436. type: integer
  29437. - description: 资金账户 - 格式:1,2,3
  29438. in: query
  29439. name: accountID
  29440. required: true
  29441. type: string
  29442. - description: 资金操作类型 - 格式:1,2,3
  29443. in: query
  29444. name: OperateType
  29445. type: string
  29446. produces:
  29447. - application/json
  29448. responses:
  29449. "200":
  29450. description: OK
  29451. schema:
  29452. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29453. "500":
  29454. description: Internal Server Error
  29455. schema:
  29456. $ref: '#/definitions/app.Response'
  29457. security:
  29458. - ApiKeyAuth: []
  29459. summary: 资金流水查询(当前)
  29460. tags:
  29461. - 资金账户
  29462. /TaAccount/QueryHisAmountLog:
  29463. get:
  29464. parameters:
  29465. - description: 页码
  29466. in: query
  29467. name: page
  29468. type: integer
  29469. - description: 每页条数
  29470. in: query
  29471. name: pagesize
  29472. type: integer
  29473. - description: 资金账户 - 格式:1,2,3
  29474. in: query
  29475. name: accountID
  29476. required: true
  29477. type: string
  29478. - description: 资金操作类型 - 格式:1,2,3
  29479. in: query
  29480. name: OperateType
  29481. type: string
  29482. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29483. in: query
  29484. name: startDate
  29485. type: string
  29486. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29487. in: query
  29488. name: endDate
  29489. type: string
  29490. produces:
  29491. - application/json
  29492. responses:
  29493. "200":
  29494. description: OK
  29495. schema:
  29496. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29497. "500":
  29498. description: Internal Server Error
  29499. schema:
  29500. $ref: '#/definitions/app.Response'
  29501. security:
  29502. - ApiKeyAuth: []
  29503. summary: 资金流水查询(历史)
  29504. tags:
  29505. - 资金账户
  29506. /TaAccount/QueryRelatedTaAccount:
  29507. get:
  29508. parameters:
  29509. - description: 关联UserID
  29510. in: query
  29511. name: relateduserid
  29512. required: true
  29513. type: integer
  29514. produces:
  29515. - application/json
  29516. responses:
  29517. "200":
  29518. description: OK
  29519. schema:
  29520. items:
  29521. $ref: '#/definitions/models.RelatedTaAccount'
  29522. type: array
  29523. "500":
  29524. description: Internal Server Error
  29525. schema:
  29526. $ref: '#/definitions/app.Response'
  29527. security:
  29528. - ApiKeyAuth: []
  29529. summary: 查询关联资金账户信息
  29530. tags:
  29531. - 资金账户
  29532. /Tjmd/QueryQuoteGoodsList:
  29533. get:
  29534. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29535. parameters:
  29536. - description: 用户类型
  29537. in: query
  29538. name: usertype
  29539. required: true
  29540. type: integer
  29541. - description: 市场id, 格式 1,2,3
  29542. in: query
  29543. name: marketids
  29544. type: string
  29545. - description: 商品组id
  29546. in: query
  29547. name: goodsgroupid
  29548. type: integer
  29549. - description: 商品id
  29550. in: query
  29551. name: goodsid
  29552. type: integer
  29553. produces:
  29554. - application/json
  29555. responses:
  29556. "200":
  29557. description: OK
  29558. schema:
  29559. items:
  29560. $ref: '#/definitions/models.TjmdQuoteGoods'
  29561. type: array
  29562. "500":
  29563. description: Internal Server Error
  29564. schema:
  29565. $ref: '#/definitions/app.Response'
  29566. security:
  29567. - ApiKeyAuth: []
  29568. summary: 查询掉期报价列表
  29569. tags:
  29570. - 天津麦顿
  29571. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29572. get:
  29573. parameters:
  29574. - description: 成交单号
  29575. in: query
  29576. name: tradeid
  29577. required: true
  29578. type: string
  29579. produces:
  29580. - application/json
  29581. responses:
  29582. "200":
  29583. description: OK
  29584. schema:
  29585. items:
  29586. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29587. type: array
  29588. "500":
  29589. description: Internal Server Error
  29590. schema:
  29591. $ref: '#/definitions/app.Response'
  29592. security:
  29593. - ApiKeyAuth: []
  29594. summary: 掉期商品订单详情(交易确认书)
  29595. tags:
  29596. - 天津麦顿
  29597. /Tjmd/QueryTjmdMarketSection:
  29598. get:
  29599. produces:
  29600. - application/json
  29601. responses:
  29602. "200":
  29603. description: OK
  29604. schema:
  29605. items:
  29606. $ref: '#/definitions/models.TjmdMarketSection'
  29607. type: array
  29608. "500":
  29609. description: Internal Server Error
  29610. schema:
  29611. $ref: '#/definitions/app.Response'
  29612. security:
  29613. - ApiKeyAuth: []
  29614. summary: 查询市场板块
  29615. tags:
  29616. - 天津麦顿
  29617. /Tjmd/QueryTjmdTodayAccountMargin:
  29618. get:
  29619. parameters:
  29620. - description: 市场id
  29621. in: query
  29622. name: marketid
  29623. type: string
  29624. - description: 商品id
  29625. in: query
  29626. name: goodsid
  29627. type: string
  29628. - description: 资金账号
  29629. in: query
  29630. name: accountid
  29631. type: string
  29632. produces:
  29633. - application/json
  29634. responses:
  29635. "200":
  29636. description: OK
  29637. schema:
  29638. items:
  29639. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29640. type: array
  29641. "500":
  29642. description: Internal Server Error
  29643. schema:
  29644. $ref: '#/definitions/app.Response'
  29645. security:
  29646. - ApiKeyAuth: []
  29647. summary: 查询今日账户保证金配置
  29648. tags:
  29649. - 天津麦顿
  29650. /Tjmd/QueryTjmdTradeOrderDetail:
  29651. get:
  29652. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29653. parameters:
  29654. - description: 页码
  29655. in: query
  29656. name: page
  29657. type: integer
  29658. - description: 每页条数
  29659. in: query
  29660. name: pagesize
  29661. type: integer
  29662. - description: 用户id
  29663. in: query
  29664. name: userid
  29665. required: true
  29666. type: integer
  29667. - description: 用户类型
  29668. in: query
  29669. name: usertype
  29670. required: true
  29671. type: integer
  29672. - description: 市场id, 格式 1,2,3
  29673. in: query
  29674. name: marketids
  29675. type: string
  29676. - description: 商品id
  29677. in: query
  29678. name: goodsid
  29679. required: true
  29680. type: integer
  29681. - description: 买卖方向 0-买 1-卖
  29682. in: query
  29683. name: buyorsell
  29684. required: true
  29685. type: integer
  29686. produces:
  29687. - application/json
  29688. responses:
  29689. "200":
  29690. description: OK
  29691. schema:
  29692. items:
  29693. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29694. type: array
  29695. "500":
  29696. description: Internal Server Error
  29697. schema:
  29698. $ref: '#/definitions/app.Response'
  29699. security:
  29700. - ApiKeyAuth: []
  29701. summary: 查询掉期买卖大厅
  29702. tags:
  29703. - 天津麦顿
  29704. /Tjmd/QueryTjmdTransferApply:
  29705. get:
  29706. parameters:
  29707. - description: 类型 1-我的申请 2-对方申请
  29708. in: query
  29709. name: applytype
  29710. required: true
  29711. type: integer
  29712. - description: 市场id, 格式 1,2,3
  29713. in: query
  29714. name: marketids
  29715. type: string
  29716. - description: 资金账号, 格式 25000000001,25000000003
  29717. in: query
  29718. name: accountids
  29719. type: string
  29720. - description: 开始交易日(yyyymmdd)
  29721. in: query
  29722. name: begindate
  29723. type: string
  29724. - description: 结束交易日(yyyymmdd)
  29725. in: query
  29726. name: enddate
  29727. type: string
  29728. produces:
  29729. - application/json
  29730. responses:
  29731. "200":
  29732. description: OK
  29733. schema:
  29734. items:
  29735. $ref: '#/definitions/models.TjmdTransferApply'
  29736. type: array
  29737. "500":
  29738. description: Internal Server Error
  29739. schema:
  29740. $ref: '#/definitions/app.Response'
  29741. security:
  29742. - ApiKeyAuth: []
  29743. summary: 查询掉期协议单
  29744. tags:
  29745. - 天津麦顿
  29746. /Trade/QueryRecieptOrder:
  29747. get:
  29748. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29749. parameters:
  29750. - description: 页码
  29751. in: query
  29752. name: page
  29753. type: integer
  29754. - description: 每页条数
  29755. in: query
  29756. name: pagesize
  29757. type: integer
  29758. - description: 商品ID
  29759. in: query
  29760. name: goodsID
  29761. required: true
  29762. type: integer
  29763. - description: 所属账户名称
  29764. in: query
  29765. name: accountName
  29766. type: string
  29767. - description: 市场ID
  29768. in: query
  29769. name: marketID
  29770. type: integer
  29771. - description: 方向 - 0:买 1:卖
  29772. in: query
  29773. name: buyorsell
  29774. required: true
  29775. type: integer
  29776. produces:
  29777. - application/json
  29778. responses:
  29779. "200":
  29780. description: OK
  29781. schema:
  29782. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29783. "500":
  29784. description: Internal Server Error
  29785. schema:
  29786. $ref: '#/definitions/app.Response'
  29787. security:
  29788. - ApiKeyAuth: []
  29789. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29790. tags:
  29791. - 通用交易
  29792. /User/AddMessageBoard:
  29793. post:
  29794. parameters:
  29795. - description: 用户ID
  29796. in: query
  29797. name: userID
  29798. required: true
  29799. type: integer
  29800. - description: 留言信息
  29801. in: query
  29802. name: message
  29803. required: true
  29804. type: string
  29805. - description: 联系电话
  29806. in: query
  29807. name: contactNum
  29808. required: true
  29809. type: string
  29810. produces:
  29811. - application/json
  29812. responses:
  29813. "200":
  29814. description: OK
  29815. schema:
  29816. $ref: '#/definitions/app.Response'
  29817. "500":
  29818. description: Internal Server Error
  29819. schema:
  29820. $ref: '#/definitions/app.Response'
  29821. security:
  29822. - ApiKeyAuth: []
  29823. summary: 添加用户留言板信息
  29824. tags:
  29825. - 用户信息
  29826. /User/AddUserFavoriteGoods:
  29827. post:
  29828. parameters:
  29829. - description: 用户ID
  29830. in: query
  29831. name: userID
  29832. required: true
  29833. type: integer
  29834. - description: 商品ID
  29835. in: query
  29836. name: goodsID
  29837. required: true
  29838. type: integer
  29839. produces:
  29840. - application/json
  29841. responses:
  29842. "200":
  29843. description: OK
  29844. schema:
  29845. $ref: '#/definitions/app.Response'
  29846. "500":
  29847. description: Internal Server Error
  29848. schema:
  29849. $ref: '#/definitions/app.Response'
  29850. security:
  29851. - ApiKeyAuth: []
  29852. summary: 添加用户商品收藏信息
  29853. tags:
  29854. - 用户信息
  29855. /User/GetLoginID:
  29856. get:
  29857. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29858. parameters:
  29859. - description: 登录代码
  29860. in: query
  29861. name: username
  29862. required: true
  29863. type: string
  29864. produces:
  29865. - application/json
  29866. responses:
  29867. "200":
  29868. description: OK
  29869. schema:
  29870. $ref: '#/definitions/app.Response'
  29871. "500":
  29872. description: Internal Server Error
  29873. schema:
  29874. $ref: '#/definitions/app.Response'
  29875. summary: 获取登录ID
  29876. tags:
  29877. - 用户信息
  29878. /User/GetUserAccount:
  29879. get:
  29880. parameters:
  29881. - description: 用户ID
  29882. in: query
  29883. name: userID
  29884. required: true
  29885. type: integer
  29886. produces:
  29887. - application/json
  29888. responses:
  29889. "200":
  29890. description: OK
  29891. schema:
  29892. $ref: '#/definitions/models.Useraccount'
  29893. "500":
  29894. description: Internal Server Error
  29895. schema:
  29896. $ref: '#/definitions/app.Response'
  29897. security:
  29898. - ApiKeyAuth: []
  29899. summary: 获取用户账号信息
  29900. tags:
  29901. - 用户信息
  29902. /User/GetUserAuthStatus:
  29903. get:
  29904. parameters:
  29905. - description: 用户ID
  29906. in: query
  29907. name: userID
  29908. required: true
  29909. type: integer
  29910. produces:
  29911. - application/json
  29912. responses:
  29913. "200":
  29914. description: OK
  29915. schema:
  29916. $ref: '#/definitions/app.Response'
  29917. "500":
  29918. description: Internal Server Error
  29919. schema:
  29920. $ref: '#/definitions/app.Response'
  29921. security:
  29922. - ApiKeyAuth: []
  29923. summary: 获取用户实名认证状态
  29924. tags:
  29925. - 用户信息
  29926. /User/LoginQuery:
  29927. get:
  29928. parameters:
  29929. - description: 登录账号
  29930. in: query
  29931. name: loginID
  29932. required: true
  29933. type: integer
  29934. produces:
  29935. - application/json
  29936. responses:
  29937. "200":
  29938. description: OK
  29939. schema:
  29940. $ref: '#/definitions/user.LoginQueryRsp'
  29941. "500":
  29942. description: Internal Server Error
  29943. schema:
  29944. $ref: '#/definitions/app.Response'
  29945. security:
  29946. - ApiKeyAuth: []
  29947. summary: 账户登录后信息查询
  29948. tags:
  29949. - 用户信息
  29950. /User/QueryMessageBoard:
  29951. get:
  29952. parameters:
  29953. - description: 用户ID
  29954. in: query
  29955. name: userID
  29956. required: true
  29957. type: integer
  29958. produces:
  29959. - application/json
  29960. responses:
  29961. "200":
  29962. description: OK
  29963. schema:
  29964. $ref: '#/definitions/models.Messageboard'
  29965. "500":
  29966. description: Internal Server Error
  29967. schema:
  29968. $ref: '#/definitions/app.Response'
  29969. security:
  29970. - ApiKeyAuth: []
  29971. summary: 获取用户留言板信息
  29972. tags:
  29973. - 用户信息
  29974. /User/QueryUserFavoriteGoodses:
  29975. get:
  29976. parameters:
  29977. - description: 用户ID
  29978. in: query
  29979. name: userID
  29980. required: true
  29981. type: integer
  29982. produces:
  29983. - application/json
  29984. responses:
  29985. "200":
  29986. description: OK
  29987. schema:
  29988. $ref: '#/definitions/models.Userfavoritegoods'
  29989. "500":
  29990. description: Internal Server Error
  29991. schema:
  29992. $ref: '#/definitions/app.Response'
  29993. security:
  29994. - ApiKeyAuth: []
  29995. summary: 获取用户商品收藏信息
  29996. tags:
  29997. - 用户信息
  29998. /User/QueryUserInfo:
  29999. get:
  30000. parameters:
  30001. - description: 用户ID
  30002. in: query
  30003. name: userID
  30004. required: true
  30005. type: integer
  30006. - description: 是否解密
  30007. in: query
  30008. name: isDecrypt
  30009. type: boolean
  30010. produces:
  30011. - application/json
  30012. responses:
  30013. "200":
  30014. description: OK
  30015. schema:
  30016. $ref: '#/definitions/models.Userinfo'
  30017. "500":
  30018. description: Internal Server Error
  30019. schema:
  30020. $ref: '#/definitions/app.Response'
  30021. security:
  30022. - ApiKeyAuth: []
  30023. summary: 获取用户信息
  30024. tags:
  30025. - 用户信息
  30026. /User/QueryUserReferNum:
  30027. get:
  30028. parameters:
  30029. - description: 用户ID
  30030. in: query
  30031. name: userID
  30032. required: true
  30033. type: integer
  30034. produces:
  30035. - application/json
  30036. responses:
  30037. "200":
  30038. description: OK
  30039. schema:
  30040. $ref: '#/definitions/app.Response'
  30041. "500":
  30042. description: Internal Server Error
  30043. schema:
  30044. $ref: '#/definitions/app.Response'
  30045. summary: 获取用户邀请码
  30046. tags:
  30047. - 用户信息
  30048. /User/RemoveUserFavoriteGoods:
  30049. post:
  30050. parameters:
  30051. - description: 用户ID
  30052. in: query
  30053. name: userID
  30054. required: true
  30055. type: integer
  30056. - description: 商品ID
  30057. in: query
  30058. name: goodsID
  30059. required: true
  30060. type: integer
  30061. produces:
  30062. - application/json
  30063. responses:
  30064. "200":
  30065. description: OK
  30066. schema:
  30067. $ref: '#/definitions/app.Response'
  30068. "500":
  30069. description: Internal Server Error
  30070. schema:
  30071. $ref: '#/definitions/app.Response'
  30072. security:
  30073. - ApiKeyAuth: []
  30074. summary: 移除用户商品收藏信息
  30075. tags:
  30076. - 用户信息
  30077. /User/UpdateUserAccountStatus:
  30078. post:
  30079. parameters:
  30080. - description: 用户ID
  30081. in: query
  30082. name: userID
  30083. required: true
  30084. type: integer
  30085. - description: 账户状态 - 4:正常 6:注销(停用)
  30086. in: query
  30087. name: accountStatus
  30088. required: true
  30089. type: integer
  30090. produces:
  30091. - application/json
  30092. responses:
  30093. "200":
  30094. description: OK
  30095. schema:
  30096. $ref: '#/definitions/app.Response'
  30097. "500":
  30098. description: Internal Server Error
  30099. schema:
  30100. $ref: '#/definitions/app.Response'
  30101. security:
  30102. - ApiKeyAuth: []
  30103. summary: 更新用户状态
  30104. tags:
  30105. - 用户信息
  30106. /WRTrade/GetAllDeliveryGoods:
  30107. get:
  30108. produces:
  30109. - application/json
  30110. responses:
  30111. "200":
  30112. description: OK
  30113. schema:
  30114. $ref: '#/definitions/app.Response'
  30115. "500":
  30116. description: Internal Server Error
  30117. schema:
  30118. $ref: '#/definitions/app.Response'
  30119. security:
  30120. - ApiKeyAuth: []
  30121. summary: 获取带仓单分类的种类信息
  30122. tags:
  30123. - 仓单贸易
  30124. - 仓单贸易
  30125. /WrTrade2/InsertXhcpSellBackApply:
  30126. post:
  30127. parameters:
  30128. - description: 回收申请
  30129. in: body
  30130. name: jsonBody
  30131. required: true
  30132. schema:
  30133. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  30134. produces:
  30135. - application/json
  30136. responses:
  30137. "200":
  30138. description: OK
  30139. schema:
  30140. $ref: '#/definitions/app.Response'
  30141. "500":
  30142. description: Internal Server Error
  30143. schema:
  30144. $ref: '#/definitions/app.Response'
  30145. security:
  30146. - ApiKeyAuth: []
  30147. summary: 新增回收申请(新会陈皮)
  30148. tags:
  30149. - 仓单贸易v2
  30150. /WrTrade2/QueryDeliveryGoodsSection:
  30151. get:
  30152. produces:
  30153. - application/json
  30154. responses:
  30155. "200":
  30156. description: OK
  30157. schema:
  30158. items:
  30159. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30160. type: array
  30161. "500":
  30162. description: Internal Server Error
  30163. schema:
  30164. $ref: '#/definitions/app.Response'
  30165. security:
  30166. - ApiKeyAuth: []
  30167. summary: 查询板块(分类)
  30168. tags:
  30169. - 仓单贸易v2
  30170. /WrTrade2/QueryFaProductDetail:
  30171. get:
  30172. description: 页面 买卖大厅 -> 选择融资方案
  30173. parameters:
  30174. - description: 仓单要素id
  30175. in: query
  30176. name: wrfactortypeid
  30177. required: true
  30178. type: integer
  30179. produces:
  30180. - application/json
  30181. responses:
  30182. "200":
  30183. description: OK
  30184. schema:
  30185. items:
  30186. $ref: '#/definitions/models.WrFAProductDetail'
  30187. type: array
  30188. "500":
  30189. description: Internal Server Error
  30190. schema:
  30191. $ref: '#/definitions/app.Response'
  30192. security:
  30193. - ApiKeyAuth: []
  30194. summary: 查询融资产品列表
  30195. tags:
  30196. - 仓单贸易v2
  30197. /WrTrade2/QueryFilterItem:
  30198. get:
  30199. parameters:
  30200. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30201. in: query
  30202. name: itype
  30203. required: true
  30204. type: string
  30205. produces:
  30206. - application/json
  30207. responses:
  30208. "200":
  30209. description: OK
  30210. schema:
  30211. items:
  30212. $ref: '#/definitions/models.WrFilterItem'
  30213. type: array
  30214. "500":
  30215. description: Internal Server Error
  30216. schema:
  30217. $ref: '#/definitions/app.Response'
  30218. security:
  30219. - ApiKeyAuth: []
  30220. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30221. tags:
  30222. - 仓单贸易v2
  30223. /WrTrade2/QueryFtDeliveryGoods:
  30224. get:
  30225. produces:
  30226. - application/json
  30227. responses:
  30228. "200":
  30229. description: OK
  30230. schema:
  30231. items:
  30232. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30233. type: array
  30234. "500":
  30235. description: Internal Server Error
  30236. schema:
  30237. $ref: '#/definitions/app.Response'
  30238. security:
  30239. - ApiKeyAuth: []
  30240. summary: 查询品种品类筛选框列表
  30241. tags:
  30242. - 仓单贸易v2
  30243. /WrTrade2/QueryHoldLB:
  30244. get:
  30245. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30246. parameters:
  30247. - description: 资金账号
  30248. in: query
  30249. name: accountid
  30250. required: true
  30251. type: integer
  30252. - description: 仓库id
  30253. in: query
  30254. name: warehouseid
  30255. type: integer
  30256. - description: 品种id
  30257. in: query
  30258. name: deliverygoodsid
  30259. type: integer
  30260. - description: 品类id
  30261. in: query
  30262. name: wrstandardid
  30263. type: integer
  30264. - description: 仓单要素id
  30265. in: query
  30266. name: wrfactortypeid
  30267. type: integer
  30268. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30269. in: query
  30270. name: dgitemname
  30271. type: string
  30272. produces:
  30273. - application/json
  30274. responses:
  30275. "200":
  30276. description: OK
  30277. schema:
  30278. items:
  30279. $ref: '#/definitions/models.WrHoldLB'
  30280. type: array
  30281. "500":
  30282. description: Internal Server Error
  30283. schema:
  30284. $ref: '#/definitions/app.Response'
  30285. security:
  30286. - ApiKeyAuth: []
  30287. summary: 查询仓单持有记录
  30288. tags:
  30289. - 仓单贸易v2
  30290. /WrTrade2/QueryOrderQuote:
  30291. get:
  30292. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30293. 唯一确定1条记录
  30294. parameters:
  30295. - description: 页码
  30296. in: query
  30297. name: page
  30298. type: integer
  30299. - description: 每页条数
  30300. in: query
  30301. name: pagesize
  30302. type: integer
  30303. - description: 仓单贸易市场id
  30304. in: query
  30305. name: marketid
  30306. type: integer
  30307. - description: 价格方式 - 1:固定价 2-浮动价
  30308. in: query
  30309. name: wrpricetype
  30310. required: true
  30311. type: integer
  30312. - description: 0:仓单预售 1:仓单贸易
  30313. in: query
  30314. name: haswr
  30315. type: integer
  30316. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30317. in: query
  30318. name: dgitemname
  30319. type: string
  30320. - description: 仓库id(筛选条件)
  30321. in: query
  30322. name: warehouseid
  30323. type: integer
  30324. - description: 品种id
  30325. in: query
  30326. name: deliverygoodsid
  30327. type: integer
  30328. - description: 品类id
  30329. in: query
  30330. name: wrstandardid
  30331. type: integer
  30332. - description: 品牌id(dgfactoryitemid)
  30333. in: query
  30334. name: brandid
  30335. type: integer
  30336. - description: 年份id(dgfactoryitemid)
  30337. in: query
  30338. name: yearsid
  30339. type: integer
  30340. - description: 仓单要素id
  30341. in: query
  30342. name: wrfactortypeid
  30343. type: integer
  30344. - description: 交收月(yyyy-mm) 仓单预售填写
  30345. in: query
  30346. name: deliverymonth
  30347. type: string
  30348. produces:
  30349. - application/json
  30350. responses:
  30351. "200":
  30352. description: OK
  30353. schema:
  30354. items:
  30355. $ref: '#/definitions/models.WrOrderQuote'
  30356. type: array
  30357. "500":
  30358. description: Internal Server Error
  30359. schema:
  30360. $ref: '#/definitions/app.Response'
  30361. security:
  30362. - ApiKeyAuth: []
  30363. summary: 查询大厅行情列表
  30364. tags:
  30365. - 仓单贸易v2
  30366. /WrTrade2/QueryOrderQuoteDetail:
  30367. get:
  30368. parameters:
  30369. - description: 页码
  30370. in: query
  30371. name: page
  30372. type: integer
  30373. - description: 每页条数
  30374. in: query
  30375. name: pagesize
  30376. type: integer
  30377. - description: 仓单贸易市场id
  30378. in: query
  30379. name: marketid
  30380. type: integer
  30381. - description: 价格方式 - 1:固定价 2-浮动价
  30382. in: query
  30383. name: wrpricetype
  30384. required: true
  30385. type: integer
  30386. - description: 0:仓单预售 1:仓单贸易
  30387. in: query
  30388. name: haswr
  30389. type: integer
  30390. - description: 仓单要素id
  30391. in: query
  30392. name: wrfactortypeid
  30393. required: true
  30394. type: integer
  30395. - description: 期货商品id(浮动价方式时填)
  30396. in: query
  30397. name: goodsid
  30398. type: integer
  30399. - description: 买卖方向 0-买 1-卖
  30400. in: query
  30401. name: buyorsell
  30402. required: true
  30403. type: integer
  30404. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30405. in: query
  30406. name: deliverymonth
  30407. type: string
  30408. produces:
  30409. - application/json
  30410. responses:
  30411. "200":
  30412. description: OK
  30413. schema:
  30414. items:
  30415. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30416. type: array
  30417. "500":
  30418. description: Internal Server Error
  30419. schema:
  30420. $ref: '#/definitions/app.Response'
  30421. security:
  30422. - ApiKeyAuth: []
  30423. summary: 查询买卖大厅
  30424. tags:
  30425. - 仓单贸易v2
  30426. /WrTrade2/QueryOrderQuoteMyq:
  30427. get:
  30428. parameters:
  30429. - description: 页码
  30430. in: query
  30431. name: page
  30432. type: integer
  30433. - description: 每页条数
  30434. in: query
  30435. name: pagesize
  30436. type: integer
  30437. - description: 用户id
  30438. in: query
  30439. name: userid
  30440. required: true
  30441. type: integer
  30442. - description: 仓单贸易市场id
  30443. in: query
  30444. name: marketid
  30445. type: integer
  30446. - description: 0:仓单预售 1:仓单贸易
  30447. in: query
  30448. name: haswr
  30449. type: integer
  30450. - description: 买卖方向 0-买 1-卖
  30451. in: query
  30452. name: buyorsell
  30453. required: true
  30454. type: integer
  30455. - description: 品种id
  30456. in: query
  30457. name: deliverygoodsid
  30458. type: integer
  30459. - description: 品类id
  30460. in: query
  30461. name: wrstandardid
  30462. type: integer
  30463. - description: 交收月(yyyy-mm) 仓单预售填写
  30464. in: query
  30465. name: deliverymonth
  30466. type: string
  30467. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30468. in: query
  30469. name: dgitemname
  30470. type: string
  30471. produces:
  30472. - application/json
  30473. responses:
  30474. "200":
  30475. description: OK
  30476. schema:
  30477. items:
  30478. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30479. type: array
  30480. "500":
  30481. description: Internal Server Error
  30482. schema:
  30483. $ref: '#/definitions/app.Response'
  30484. security:
  30485. - ApiKeyAuth: []
  30486. summary: 查询贸易圈挂牌大厅
  30487. tags:
  30488. - 仓单贸易v2
  30489. /WrTrade2/QueryPerformancePlan:
  30490. get:
  30491. parameters:
  30492. - description: 用户id
  30493. in: query
  30494. name: userid
  30495. required: true
  30496. type: integer
  30497. - description: 买卖方向 0-买 1-卖
  30498. in: query
  30499. name: buyorsell
  30500. required: true
  30501. type: integer
  30502. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30503. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30504. in: query
  30505. name: status
  30506. type: string
  30507. - description: 开始交易日(yyyymmdd)
  30508. in: query
  30509. name: begindate
  30510. type: string
  30511. - description: 结束交易日(yyyymmdd)
  30512. in: query
  30513. name: enddate
  30514. type: string
  30515. produces:
  30516. - application/json
  30517. responses:
  30518. "200":
  30519. description: OK
  30520. schema:
  30521. items:
  30522. $ref: '#/definitions/models.WrPerformancePlan'
  30523. type: array
  30524. "500":
  30525. description: Internal Server Error
  30526. schema:
  30527. $ref: '#/definitions/app.Response'
  30528. security:
  30529. - ApiKeyAuth: []
  30530. summary: 查询履约信息
  30531. tags:
  30532. - 仓单贸易v2
  30533. /WrTrade2/QueryPermancePlanTmp:
  30534. get:
  30535. description: |-
  30536. 返回指定用户的模板和公共模板(用户id为空)
  30537. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30538. parameters:
  30539. - description: 用户id
  30540. in: query
  30541. name: userid
  30542. type: integer
  30543. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30544. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30545. in: query
  30546. name: tmptype
  30547. type: string
  30548. - description: 是否包含公共模板(用户id为空的) 1-包含
  30549. in: query
  30550. name: includepub
  30551. type: integer
  30552. - description: 市场id(天津麦顿指定此参数,其它不用)
  30553. in: query
  30554. name: marketid
  30555. type: integer
  30556. produces:
  30557. - application/json
  30558. responses:
  30559. "200":
  30560. description: OK
  30561. schema:
  30562. items:
  30563. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30564. type: array
  30565. "500":
  30566. description: Internal Server Error
  30567. schema:
  30568. $ref: '#/definitions/app.Response'
  30569. security:
  30570. - ApiKeyAuth: []
  30571. summary: 查询履约模板
  30572. tags:
  30573. - 仓单贸易v2
  30574. /WrTrade2/QuerySiteColumnDetail:
  30575. get:
  30576. parameters:
  30577. - description: 页码
  30578. in: query
  30579. name: page
  30580. type: integer
  30581. - description: 每页条数
  30582. in: query
  30583. name: pagesize
  30584. type: integer
  30585. - description: 所属栏目id
  30586. in: query
  30587. name: columnid
  30588. type: integer
  30589. produces:
  30590. - application/json
  30591. responses:
  30592. "200":
  30593. description: OK
  30594. schema:
  30595. items:
  30596. $ref: '#/definitions/models.WrSiteColumnDetail'
  30597. type: array
  30598. "500":
  30599. description: Internal Server Error
  30600. schema:
  30601. $ref: '#/definitions/app.Response'
  30602. security:
  30603. - ApiKeyAuth: []
  30604. summary: 查询资讯
  30605. tags:
  30606. - 仓单贸易v2
  30607. /WrTrade2/QuerySpotGroupTradeSum:
  30608. get:
  30609. produces:
  30610. - application/json
  30611. responses:
  30612. "200":
  30613. description: OK
  30614. schema:
  30615. items:
  30616. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30617. type: array
  30618. "500":
  30619. description: Internal Server Error
  30620. schema:
  30621. $ref: '#/definitions/app.Response'
  30622. security:
  30623. - ApiKeyAuth: []
  30624. summary: 查询指数
  30625. tags:
  30626. - 仓单贸易v2
  30627. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30628. get:
  30629. description: 查询的结果将会按日期 从小到大 排序
  30630. parameters:
  30631. - description: 现货商品id
  30632. in: query
  30633. name: deliverygoodsid
  30634. required: true
  30635. type: integer
  30636. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30637. in: query
  30638. name: lastnum
  30639. type: integer
  30640. produces:
  30641. - application/json
  30642. responses:
  30643. "200":
  30644. description: OK
  30645. schema:
  30646. items:
  30647. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30648. type: array
  30649. "500":
  30650. description: Internal Server Error
  30651. schema:
  30652. $ref: '#/definitions/app.Response'
  30653. security:
  30654. - ApiKeyAuth: []
  30655. summary: 查询指数详细(价格走势图)
  30656. tags:
  30657. - 仓单贸易v2
  30658. /WrTrade2/QueryWrAverageTradePrice:
  30659. get:
  30660. parameters:
  30661. - description: 页码
  30662. in: query
  30663. name: page
  30664. type: integer
  30665. - description: 每页条数
  30666. in: query
  30667. name: pagesize
  30668. type: integer
  30669. - description: 0:仓单预售 1:仓单贸易
  30670. in: query
  30671. name: haswr
  30672. required: true
  30673. type: integer
  30674. - description: 仓单要素id
  30675. in: query
  30676. name: wrfactortypeid
  30677. required: true
  30678. type: integer
  30679. produces:
  30680. - application/json
  30681. responses:
  30682. "200":
  30683. description: OK
  30684. schema:
  30685. items:
  30686. $ref: '#/definitions/models.WrAverageTradePrice'
  30687. type: array
  30688. "500":
  30689. description: Internal Server Error
  30690. schema:
  30691. $ref: '#/definitions/app.Response'
  30692. security:
  30693. - ApiKeyAuth: []
  30694. summary: 查询成交价(历史走势)
  30695. tags:
  30696. - 仓单贸易v2
  30697. /WrTrade2/QueryWrBrandAndYears:
  30698. get:
  30699. produces:
  30700. - application/json
  30701. responses:
  30702. "200":
  30703. description: OK
  30704. schema:
  30705. items:
  30706. $ref: '#/definitions/models.WrBrandAndYears'
  30707. type: array
  30708. "500":
  30709. description: Internal Server Error
  30710. schema:
  30711. $ref: '#/definitions/app.Response'
  30712. security:
  30713. - ApiKeyAuth: []
  30714. summary: 查询品牌和年份
  30715. tags:
  30716. - 仓单贸易v2
  30717. /WrTrade2/QueryWrBsGoodsInfo:
  30718. get:
  30719. description: 合约交易/买卖大厅/详情
  30720. parameters:
  30721. - description: 商品id
  30722. in: query
  30723. name: goodsid
  30724. required: true
  30725. type: integer
  30726. produces:
  30727. - application/json
  30728. responses:
  30729. "200":
  30730. description: OK
  30731. schema:
  30732. items:
  30733. $ref: '#/definitions/models.WrBsGoodsInfo'
  30734. type: array
  30735. "500":
  30736. description: Internal Server Error
  30737. schema:
  30738. $ref: '#/definitions/app.Response'
  30739. security:
  30740. - ApiKeyAuth: []
  30741. summary: 查询合约交易买卖大厅详情
  30742. tags:
  30743. - 仓单贸易v2
  30744. /WrTrade2/QueryWrBuybackDetail:
  30745. get:
  30746. parameters:
  30747. - description: 融资合同id
  30748. in: query
  30749. name: scfcontractid
  30750. type: integer
  30751. produces:
  30752. - application/json
  30753. responses:
  30754. "200":
  30755. description: OK
  30756. schema:
  30757. items:
  30758. $ref: '#/definitions/models.WrBuybackDetail'
  30759. type: array
  30760. "500":
  30761. description: Internal Server Error
  30762. schema:
  30763. $ref: '#/definitions/app.Response'
  30764. security:
  30765. - ApiKeyAuth: []
  30766. summary: 查询仓单回购明细
  30767. tags:
  30768. - 仓单贸易v2
  30769. /WrTrade2/QueryWrClientAdSpaceConfig:
  30770. get:
  30771. produces:
  30772. - application/json
  30773. responses:
  30774. "200":
  30775. description: OK
  30776. schema:
  30777. items:
  30778. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30779. type: array
  30780. "500":
  30781. description: Internal Server Error
  30782. schema:
  30783. $ref: '#/definitions/app.Response'
  30784. security:
  30785. - ApiKeyAuth: []
  30786. summary: 查询固定广告配置
  30787. tags:
  30788. - 仓单贸易v2
  30789. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30790. get:
  30791. parameters:
  30792. - description: 资金账号
  30793. in: query
  30794. name: accountid
  30795. required: true
  30796. type: integer
  30797. - description: 商品id
  30798. in: query
  30799. name: goodsid
  30800. required: true
  30801. type: integer
  30802. produces:
  30803. - application/json
  30804. responses:
  30805. "200":
  30806. description: OK
  30807. schema:
  30808. items:
  30809. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30810. type: array
  30811. "500":
  30812. description: Internal Server Error
  30813. schema:
  30814. $ref: '#/definitions/app.Response'
  30815. security:
  30816. - ApiKeyAuth: []
  30817. summary: 查询合约交收可点选仓单
  30818. tags:
  30819. - 仓单贸易v2
  30820. /WrTrade2/QueryWrDeliveryDetail:
  30821. get:
  30822. parameters:
  30823. - description: 用户id
  30824. in: query
  30825. name: userid
  30826. required: true
  30827. type: integer
  30828. - description: 资金账号id
  30829. in: query
  30830. name: accountid
  30831. type: integer
  30832. - description: 开始交易日(yyyymmdd)
  30833. in: query
  30834. name: begindate
  30835. type: string
  30836. - description: 结束交易日(yyyymmdd)
  30837. in: query
  30838. name: enddate
  30839. type: string
  30840. produces:
  30841. - application/json
  30842. responses:
  30843. "200":
  30844. description: OK
  30845. schema:
  30846. items:
  30847. $ref: '#/definitions/models.WrDeliveryDetail'
  30848. type: array
  30849. "500":
  30850. description: Internal Server Error
  30851. schema:
  30852. $ref: '#/definitions/app.Response'
  30853. security:
  30854. - ApiKeyAuth: []
  30855. summary: 查询交收
  30856. tags:
  30857. - 仓单贸易v2
  30858. /WrTrade2/QueryWrDraftUserInfo:
  30859. get:
  30860. parameters:
  30861. - description: 用户ID
  30862. in: query
  30863. name: userid
  30864. required: true
  30865. type: integer
  30866. - description: 用户状态 1:正常 2:注销
  30867. in: query
  30868. name: userstatus
  30869. type: integer
  30870. produces:
  30871. - application/json
  30872. responses:
  30873. "200":
  30874. description: OK
  30875. schema:
  30876. items:
  30877. $ref: '#/definitions/models.WrDraftUserInfo'
  30878. type: array
  30879. "500":
  30880. description: Internal Server Error
  30881. schema:
  30882. $ref: '#/definitions/app.Response'
  30883. security:
  30884. - ApiKeyAuth: []
  30885. summary: 查询实名认证信息
  30886. tags:
  30887. - 仓单贸易v2
  30888. /WrTrade2/QueryWrFactorTypeInfo:
  30889. get:
  30890. parameters:
  30891. - description: 仓单要素id
  30892. in: query
  30893. name: wrfactortypeid
  30894. required: true
  30895. type: integer
  30896. produces:
  30897. - application/json
  30898. responses:
  30899. "200":
  30900. description: OK
  30901. schema:
  30902. items:
  30903. $ref: '#/definitions/models.WrFactorTypeInfo'
  30904. type: array
  30905. "500":
  30906. description: Internal Server Error
  30907. schema:
  30908. $ref: '#/definitions/app.Response'
  30909. security:
  30910. - ApiKeyAuth: []
  30911. summary: 查询仓单要素详细信息
  30912. tags:
  30913. - 仓单贸易v2
  30914. /WrTrade2/QueryWrFactorTypeInfoEx:
  30915. get:
  30916. parameters:
  30917. - description: 仓单要素id
  30918. in: query
  30919. name: wrfactortypeid
  30920. required: true
  30921. type: integer
  30922. produces:
  30923. - application/json
  30924. responses:
  30925. "200":
  30926. description: OK
  30927. schema:
  30928. items:
  30929. $ref: '#/definitions/models.WrTypeItem'
  30930. type: array
  30931. "500":
  30932. description: Internal Server Error
  30933. schema:
  30934. $ref: '#/definitions/app.Response'
  30935. security:
  30936. - ApiKeyAuth: []
  30937. summary: 查询仓单要素详细信息列表项
  30938. tags:
  30939. - 仓单贸易v2
  30940. /WrTrade2/QueryWrFinanceBuyApply:
  30941. get:
  30942. description: 页面 融资信息+ / 申请单
  30943. parameters:
  30944. - description: 用户id
  30945. in: query
  30946. name: userid
  30947. required: true
  30948. type: integer
  30949. produces:
  30950. - application/json
  30951. responses:
  30952. "200":
  30953. description: OK
  30954. schema:
  30955. items:
  30956. $ref: '#/definitions/models.WrFinanceBuyApply'
  30957. type: array
  30958. "500":
  30959. description: Internal Server Error
  30960. schema:
  30961. $ref: '#/definitions/app.Response'
  30962. security:
  30963. - ApiKeyAuth: []
  30964. summary: 查询融资购买申请
  30965. tags:
  30966. - 仓单贸易v2
  30967. /WrTrade2/QueryWrFriendApply:
  30968. get:
  30969. parameters:
  30970. - description: 用户id
  30971. in: query
  30972. name: userid
  30973. required: true
  30974. type: integer
  30975. produces:
  30976. - application/json
  30977. responses:
  30978. "200":
  30979. description: OK
  30980. schema:
  30981. items:
  30982. $ref: '#/definitions/models.WrFriendApply'
  30983. type: array
  30984. "500":
  30985. description: Internal Server Error
  30986. schema:
  30987. $ref: '#/definitions/app.Response'
  30988. security:
  30989. - ApiKeyAuth: []
  30990. summary: 查询好友申请记录
  30991. tags:
  30992. - 仓单贸易v2
  30993. /WrTrade2/QueryWrGoodsInfo:
  30994. get:
  30995. parameters:
  30996. - description: 仓单贸易市场id
  30997. in: query
  30998. name: marketid
  30999. type: integer
  31000. - description: 0:仓单预售 1:仓单贸易
  31001. in: query
  31002. name: haswr
  31003. required: true
  31004. type: integer
  31005. - description: 仓单要素id
  31006. in: query
  31007. name: wrfactortypeid
  31008. required: true
  31009. type: integer
  31010. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  31011. in: query
  31012. name: tmplateid
  31013. type: integer
  31014. produces:
  31015. - application/json
  31016. responses:
  31017. "200":
  31018. description: OK
  31019. schema:
  31020. items:
  31021. $ref: '#/definitions/models.WrGoodsInfo'
  31022. type: array
  31023. "500":
  31024. description: Internal Server Error
  31025. schema:
  31026. $ref: '#/definitions/app.Response'
  31027. security:
  31028. - ApiKeyAuth: []
  31029. summary: 查询仓单商品信息
  31030. tags:
  31031. - 仓单贸易v2
  31032. /WrTrade2/QueryWrMarketTradeConfig:
  31033. get:
  31034. parameters:
  31035. - description: 市场id
  31036. in: query
  31037. name: marketid
  31038. type: integer
  31039. produces:
  31040. - application/json
  31041. responses:
  31042. "200":
  31043. description: OK
  31044. schema:
  31045. items:
  31046. $ref: '#/definitions/models.WrMarketTradeConfig'
  31047. type: array
  31048. "500":
  31049. description: Internal Server Error
  31050. schema:
  31051. $ref: '#/definitions/app.Response'
  31052. security:
  31053. - ApiKeyAuth: []
  31054. summary: 查询市场交易参数配置
  31055. tags:
  31056. - 仓单贸易v2
  31057. /WrTrade2/QueryWrOrderDetail:
  31058. get:
  31059. description: 页面 现货仓单 | 预售仓单 -> 委托单
  31060. parameters:
  31061. - description: 页码
  31062. in: query
  31063. name: page
  31064. type: integer
  31065. - description: 每页条数
  31066. in: query
  31067. name: pagesize
  31068. type: integer
  31069. - description: 用户id
  31070. in: query
  31071. name: userid
  31072. required: true
  31073. type: integer
  31074. - description: 仓单贸易市场id
  31075. in: query
  31076. name: marketid
  31077. type: integer
  31078. - description: 0:仓单预售 1:仓单贸易
  31079. in: query
  31080. name: haswr
  31081. required: true
  31082. type: integer
  31083. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  31084. in: query
  31085. name: bcancel
  31086. type: integer
  31087. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  31088. in: query
  31089. name: wrtradetype
  31090. type: integer
  31091. - description: 开始交易日(yyyymmdd)
  31092. in: query
  31093. name: begindate
  31094. type: string
  31095. - description: 结束交易日(yyyymmdd)
  31096. in: query
  31097. name: enddate
  31098. type: string
  31099. produces:
  31100. - application/json
  31101. responses:
  31102. "200":
  31103. description: OK
  31104. schema:
  31105. items:
  31106. $ref: '#/definitions/models.WrOrderDetail'
  31107. type: array
  31108. "500":
  31109. description: Internal Server Error
  31110. schema:
  31111. $ref: '#/definitions/app.Response'
  31112. security:
  31113. - ApiKeyAuth: []
  31114. summary: 查询仓单委托单
  31115. tags:
  31116. - 仓单贸易v2
  31117. /WrTrade2/QueryWrOutInApply:
  31118. get:
  31119. parameters:
  31120. - description: 用户id
  31121. in: query
  31122. name: userid
  31123. required: true
  31124. type: integer
  31125. - description: 开始交易日(yyyymmdd)
  31126. in: query
  31127. name: begindate
  31128. type: string
  31129. - description: 结束交易日(yyyymmdd)
  31130. in: query
  31131. name: enddate
  31132. type: string
  31133. produces:
  31134. - application/json
  31135. responses:
  31136. "200":
  31137. description: OK
  31138. schema:
  31139. items:
  31140. $ref: '#/definitions/models.WrOutInApply'
  31141. type: array
  31142. "500":
  31143. description: Internal Server Error
  31144. schema:
  31145. $ref: '#/definitions/app.Response'
  31146. security:
  31147. - ApiKeyAuth: []
  31148. summary: 查询提货申请
  31149. tags:
  31150. - 仓单贸易v2
  31151. /WrTrade2/QueryWrPerformancePlanStep:
  31152. get:
  31153. parameters:
  31154. - description: 履约计划id(performanceplanid)
  31155. in: query
  31156. name: planid
  31157. required: true
  31158. type: integer
  31159. - description: 当前步骤id
  31160. in: query
  31161. name: curstepid
  31162. type: integer
  31163. produces:
  31164. - application/json
  31165. responses:
  31166. "200":
  31167. description: OK
  31168. schema:
  31169. items:
  31170. $ref: '#/definitions/models.WrPerformancePlanStep'
  31171. type: array
  31172. "500":
  31173. description: Internal Server Error
  31174. schema:
  31175. $ref: '#/definitions/app.Response'
  31176. security:
  31177. - ApiKeyAuth: []
  31178. summary: 查询履约信息详情
  31179. tags:
  31180. - 仓单贸易v2
  31181. /WrTrade2/QueryWrPerformanceStepType:
  31182. get:
  31183. produces:
  31184. - application/json
  31185. responses:
  31186. "200":
  31187. description: OK
  31188. schema:
  31189. items:
  31190. $ref: '#/definitions/models.WrPerformanceStepType'
  31191. type: array
  31192. "500":
  31193. description: Internal Server Error
  31194. schema:
  31195. $ref: '#/definitions/app.Response'
  31196. security:
  31197. - ApiKeyAuth: []
  31198. summary: 查询履约步骤枚举
  31199. tags:
  31200. - 仓单贸易v2
  31201. /WrTrade2/QueryWrPosition:
  31202. get:
  31203. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31204. parameters:
  31205. - description: 用户id
  31206. in: query
  31207. name: userid
  31208. required: true
  31209. type: integer
  31210. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31211. in: query
  31212. name: querytype
  31213. required: true
  31214. type: integer
  31215. - description: 0:仓单预售 1:仓单贸易
  31216. in: query
  31217. name: haswr
  31218. required: true
  31219. type: integer
  31220. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31221. in: query
  31222. name: dgitemname
  31223. type: string
  31224. - description: 仓库id(筛选条件)
  31225. in: query
  31226. name: warehouseid
  31227. type: integer
  31228. - description: 品种id
  31229. in: query
  31230. name: deliverygoodsid
  31231. type: integer
  31232. - description: 品类id
  31233. in: query
  31234. name: wrstandardid
  31235. type: integer
  31236. produces:
  31237. - application/json
  31238. responses:
  31239. "200":
  31240. description: OK
  31241. schema:
  31242. items:
  31243. $ref: '#/definitions/models.WrPosition'
  31244. type: array
  31245. "500":
  31246. description: Internal Server Error
  31247. schema:
  31248. $ref: '#/definitions/app.Response'
  31249. security:
  31250. - ApiKeyAuth: []
  31251. summary: 查询现货(预售)仓单持仓
  31252. tags:
  31253. - 仓单贸易v2
  31254. /WrTrade2/QueryWrPreSaleInfo:
  31255. get:
  31256. parameters:
  31257. - description: 市场id
  31258. in: query
  31259. name: marketid
  31260. type: integer
  31261. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31262. in: query
  31263. name: presalestatus
  31264. type: string
  31265. - description: 摇号标识 - 0:未摇号 1:已摇号
  31266. in: query
  31267. name: lotteryflag
  31268. type: integer
  31269. - description: 最近多少条记录(按创建时间倒序)
  31270. in: query
  31271. name: lastnum
  31272. type: integer
  31273. produces:
  31274. - application/json
  31275. responses:
  31276. "200":
  31277. description: OK
  31278. schema:
  31279. items:
  31280. $ref: '#/definitions/models.WrPreSaleInfo'
  31281. type: array
  31282. "500":
  31283. description: Internal Server Error
  31284. schema:
  31285. $ref: '#/definitions/app.Response'
  31286. security:
  31287. - ApiKeyAuth: []
  31288. summary: 查询新品发布
  31289. tags:
  31290. - 仓单贸易v2
  31291. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31292. get:
  31293. parameters:
  31294. - description: 市场id
  31295. in: query
  31296. name: marketid
  31297. required: true
  31298. type: integer
  31299. - description: 现货商品id
  31300. in: query
  31301. name: wrstandardid
  31302. required: true
  31303. type: integer
  31304. - description: 开始交易日(yyyymmdd)
  31305. in: query
  31306. name: begindate
  31307. type: string
  31308. - description: 结束交易日(yyyymmdd)
  31309. in: query
  31310. name: enddate
  31311. type: string
  31312. - description: 最近多少条记录(按交易日倒序)
  31313. in: query
  31314. name: lastnum
  31315. type: integer
  31316. - description: 是否今日
  31317. in: query
  31318. name: istoday
  31319. type: boolean
  31320. produces:
  31321. - application/json
  31322. responses:
  31323. "200":
  31324. description: OK
  31325. schema:
  31326. items:
  31327. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31328. type: array
  31329. "500":
  31330. description: Internal Server Error
  31331. schema:
  31332. $ref: '#/definitions/app.Response'
  31333. security:
  31334. - ApiKeyAuth: []
  31335. summary: 查询价格走势
  31336. tags:
  31337. - 仓单贸易v2
  31338. /WrTrade2/QueryWrScfContract:
  31339. get:
  31340. parameters:
  31341. - description: 用户id
  31342. in: query
  31343. name: userid
  31344. required: true
  31345. type: integer
  31346. - description: 融资合同id
  31347. in: query
  31348. name: scfcontractid
  31349. type: integer
  31350. produces:
  31351. - application/json
  31352. responses:
  31353. "200":
  31354. description: OK
  31355. schema:
  31356. items:
  31357. $ref: '#/definitions/models.WrScfContract'
  31358. type: array
  31359. "500":
  31360. description: Internal Server Error
  31361. schema:
  31362. $ref: '#/definitions/app.Response'
  31363. security:
  31364. - ApiKeyAuth: []
  31365. summary: 查询仓单贸易融资合同
  31366. tags:
  31367. - 仓单贸易v2
  31368. /WrTrade2/QueryWrScfContractInterest:
  31369. get:
  31370. parameters:
  31371. - description: 融资合同id
  31372. in: query
  31373. name: scfcontractid
  31374. type: integer
  31375. produces:
  31376. - application/json
  31377. responses:
  31378. "200":
  31379. description: OK
  31380. schema:
  31381. items:
  31382. $ref: '#/definitions/models.WrScfContractInterest'
  31383. type: array
  31384. "500":
  31385. description: Internal Server Error
  31386. schema:
  31387. $ref: '#/definitions/app.Response'
  31388. security:
  31389. - ApiKeyAuth: []
  31390. summary: 查询融资合同费用明细
  31391. tags:
  31392. - 仓单贸易v2
  31393. /WrTrade2/QueryWrSearchUser:
  31394. get:
  31395. parameters:
  31396. - description: 用户名称(模糊匹配)
  31397. in: query
  31398. name: username
  31399. required: true
  31400. type: string
  31401. produces:
  31402. - application/json
  31403. responses:
  31404. "200":
  31405. description: OK
  31406. schema:
  31407. items:
  31408. $ref: '#/definitions/models.WrSearchUser'
  31409. type: array
  31410. "500":
  31411. description: Internal Server Error
  31412. schema:
  31413. $ref: '#/definitions/app.Response'
  31414. security:
  31415. - ApiKeyAuth: []
  31416. summary: 查询用户
  31417. tags:
  31418. - 仓单贸易v2
  31419. /WrTrade2/QueryWrSpecialMatchOrder:
  31420. get:
  31421. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31422. parameters:
  31423. - description: 页码
  31424. in: query
  31425. name: page
  31426. type: integer
  31427. - description: 每页条数
  31428. in: query
  31429. name: pagesize
  31430. type: integer
  31431. - description: 用户id
  31432. in: query
  31433. name: userid
  31434. required: true
  31435. type: integer
  31436. - description: 仓单贸易市场id
  31437. in: query
  31438. name: marketid
  31439. type: integer
  31440. - description: 0:仓单预售 1:仓单贸易
  31441. in: query
  31442. name: haswr
  31443. required: true
  31444. type: integer
  31445. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31446. in: query
  31447. name: isspecified
  31448. type: integer
  31449. produces:
  31450. - application/json
  31451. responses:
  31452. "200":
  31453. description: OK
  31454. schema:
  31455. items:
  31456. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31457. type: array
  31458. "500":
  31459. description: Internal Server Error
  31460. schema:
  31461. $ref: '#/definitions/app.Response'
  31462. security:
  31463. - ApiKeyAuth: []
  31464. summary: 查询指定成交
  31465. tags:
  31466. - 仓单贸易v2
  31467. /WrTrade2/QueryWrStandardFactoryItem:
  31468. get:
  31469. parameters:
  31470. - description: 品类id
  31471. in: query
  31472. name: wrstandardid
  31473. required: true
  31474. type: integer
  31475. produces:
  31476. - application/json
  31477. responses:
  31478. "200":
  31479. description: OK
  31480. schema:
  31481. items:
  31482. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31483. type: array
  31484. "500":
  31485. description: Internal Server Error
  31486. schema:
  31487. $ref: '#/definitions/app.Response'
  31488. security:
  31489. - ApiKeyAuth: []
  31490. summary: 查询品类要素定义项
  31491. tags:
  31492. - 仓单贸易v2
  31493. /WrTrade2/QueryWrTradeBargainApply:
  31494. get:
  31495. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31496. 议价->对方议价 填写matchuserid=登录用户id
  31497. parameters:
  31498. - description: 议价人id(摘牌方)
  31499. in: query
  31500. name: userid
  31501. type: integer
  31502. - description: 挂牌方id(查对方议价时,填写此项)
  31503. in: query
  31504. name: matchuserid
  31505. type: integer
  31506. - description: 关联委托单id
  31507. in: query
  31508. name: wrtradeorderid
  31509. type: integer
  31510. - description: 0:仓单预售 1:仓单贸易
  31511. in: query
  31512. name: haswr
  31513. required: true
  31514. type: integer
  31515. - description: 开始交易日(yyyymmdd)
  31516. in: query
  31517. name: begindate
  31518. type: string
  31519. - description: 结束交易日(yyyymmdd)
  31520. in: query
  31521. name: enddate
  31522. type: string
  31523. produces:
  31524. - application/json
  31525. responses:
  31526. "200":
  31527. description: OK
  31528. schema:
  31529. items:
  31530. $ref: '#/definitions/models.WRTradeBargainApply'
  31531. type: array
  31532. "500":
  31533. description: Internal Server Error
  31534. schema:
  31535. $ref: '#/definitions/app.Response'
  31536. security:
  31537. - ApiKeyAuth: []
  31538. summary: 查询议价单
  31539. tags:
  31540. - 仓单贸易v2
  31541. /WrTrade2/QueryWrTradeDetail:
  31542. get:
  31543. parameters:
  31544. - description: 页码
  31545. in: query
  31546. name: page
  31547. type: integer
  31548. - description: 每页条数
  31549. in: query
  31550. name: pagesize
  31551. type: integer
  31552. - description: 用户id
  31553. in: query
  31554. name: userid
  31555. required: true
  31556. type: integer
  31557. - description: 仓单贸易市场id
  31558. in: query
  31559. name: marketid
  31560. type: integer
  31561. - description: 0:仓单预售 1:仓单贸易
  31562. in: query
  31563. name: haswr
  31564. required: true
  31565. type: integer
  31566. - description: 开始交易日(yyyymmdd)
  31567. in: query
  31568. name: begindate
  31569. type: string
  31570. - description: 结束交易日(yyyymmdd)
  31571. in: query
  31572. name: enddate
  31573. type: string
  31574. produces:
  31575. - application/json
  31576. responses:
  31577. "200":
  31578. description: OK
  31579. schema:
  31580. items:
  31581. $ref: '#/definitions/models.WrTradeDetail'
  31582. type: array
  31583. "500":
  31584. description: Internal Server Error
  31585. schema:
  31586. $ref: '#/definitions/app.Response'
  31587. security:
  31588. - ApiKeyAuth: []
  31589. summary: 查询仓单成交明细
  31590. tags:
  31591. - 仓单贸易v2
  31592. /WrTrade2/QueryWrTradeOrderDetail:
  31593. get:
  31594. parameters:
  31595. - description: 页码
  31596. in: query
  31597. name: page
  31598. type: integer
  31599. - description: 每页条数
  31600. in: query
  31601. name: pagesize
  31602. type: integer
  31603. - description: 商品id
  31604. in: query
  31605. name: goodsid
  31606. required: true
  31607. type: integer
  31608. - description: 买卖方向 0-买 1-卖
  31609. in: query
  31610. name: buyorsell
  31611. required: true
  31612. type: integer
  31613. produces:
  31614. - application/json
  31615. responses:
  31616. "200":
  31617. description: OK
  31618. schema:
  31619. items:
  31620. $ref: '#/definitions/models.WrTradeOrderDetail'
  31621. type: array
  31622. "500":
  31623. description: Internal Server Error
  31624. schema:
  31625. $ref: '#/definitions/app.Response'
  31626. security:
  31627. - ApiKeyAuth: []
  31628. summary: 查询合约交易买卖大厅
  31629. tags:
  31630. - 仓单贸易v2
  31631. /WrTrade2/QueryWrTradeQuote:
  31632. get:
  31633. parameters:
  31634. - description: 现货商品id
  31635. in: query
  31636. name: wrstandardid
  31637. required: true
  31638. type: integer
  31639. - description: 开始日期(yyyymmdd)
  31640. in: query
  31641. name: begindate
  31642. required: true
  31643. type: string
  31644. - description: 结束日期(yyyymmdd)
  31645. in: query
  31646. name: enddate
  31647. required: true
  31648. type: string
  31649. - description: 市场id
  31650. in: query
  31651. name: marketid
  31652. type: integer
  31653. produces:
  31654. - application/json
  31655. responses:
  31656. "200":
  31657. description: OK
  31658. schema:
  31659. items:
  31660. $ref: '#/definitions/models.Wrtradetradequote'
  31661. type: array
  31662. "500":
  31663. description: Internal Server Error
  31664. schema:
  31665. $ref: '#/definitions/app.Response'
  31666. security:
  31667. - ApiKeyAuth: []
  31668. summary: 查询仓单贸易成交行情
  31669. tags:
  31670. - 仓单贸易v2
  31671. /WrTrade2/QueryWrUserFriend:
  31672. get:
  31673. parameters:
  31674. - description: 用户id
  31675. in: query
  31676. name: userid
  31677. required: true
  31678. type: integer
  31679. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31680. in: query
  31681. name: newuserid
  31682. type: integer
  31683. produces:
  31684. - application/json
  31685. responses:
  31686. "200":
  31687. description: OK
  31688. schema:
  31689. items:
  31690. $ref: '#/definitions/models.WrUserFriend'
  31691. type: array
  31692. "500":
  31693. description: Internal Server Error
  31694. schema:
  31695. $ref: '#/definitions/app.Response'
  31696. security:
  31697. - ApiKeyAuth: []
  31698. summary: 查询我的朋友
  31699. tags:
  31700. - 仓单贸易v2
  31701. /WrTrade2/QueryWrUserReceiptInfo:
  31702. get:
  31703. parameters:
  31704. - description: 用户id
  31705. in: query
  31706. name: userid
  31707. type: integer
  31708. - description: 发票类型 - 1:个人 2:企业
  31709. in: query
  31710. name: receipttype
  31711. type: integer
  31712. produces:
  31713. - application/json
  31714. responses:
  31715. "200":
  31716. description: OK
  31717. schema:
  31718. items:
  31719. $ref: '#/definitions/models.WrUserReceiptInfo'
  31720. type: array
  31721. "500":
  31722. description: Internal Server Error
  31723. schema:
  31724. $ref: '#/definitions/app.Response'
  31725. security:
  31726. - ApiKeyAuth: []
  31727. summary: 查询发票信息
  31728. tags:
  31729. - 仓单贸易v2
  31730. /WrTrade2/QueryXhcpSellBackApply:
  31731. get:
  31732. parameters:
  31733. - description: 用户ID
  31734. in: query
  31735. name: userid
  31736. required: true
  31737. type: integer
  31738. produces:
  31739. - application/json
  31740. responses:
  31741. "200":
  31742. description: OK
  31743. schema:
  31744. items:
  31745. $ref: '#/definitions/models.Xhcpsellbackapply'
  31746. type: array
  31747. "500":
  31748. description: Internal Server Error
  31749. schema:
  31750. $ref: '#/definitions/app.Response'
  31751. security:
  31752. - ApiKeyAuth: []
  31753. summary: 查询我的回收申请(新会陈皮)
  31754. tags:
  31755. - 仓单贸易v2
  31756. /ZJ/GetBankTip:
  31757. get:
  31758. produces:
  31759. - application/json
  31760. responses:
  31761. "200":
  31762. description: OK
  31763. schema:
  31764. type: string
  31765. "500":
  31766. description: Internal Server Error
  31767. schema:
  31768. $ref: '#/definitions/app.Response'
  31769. summary: 获取中江网银端出入金提示信息
  31770. tags:
  31771. - 中江
  31772. /ZJ/GetCusBankChannels:
  31773. get:
  31774. produces:
  31775. - application/json
  31776. responses:
  31777. "200":
  31778. description: OK
  31779. schema:
  31780. items:
  31781. type: string
  31782. type: array
  31783. "500":
  31784. description: Internal Server Error
  31785. schema:
  31786. $ref: '#/definitions/app.Response'
  31787. summary: 获取中江出入金渠道显示列表
  31788. tags:
  31789. - 中江
  31790. securityDefinitions:
  31791. ApiKeyAuth:
  31792. in: header
  31793. name: Authorization
  31794. type: apiKey
  31795. swagger: "2.0"