swagger.yaml 881 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648
  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.Ermcp2hedgeditemsDetail:
  4257. properties:
  4258. accountname:
  4259. description: 套期主体
  4260. type: string
  4261. areauserid:
  4262. description: 企业ID
  4263. type: integer
  4264. createtime:
  4265. description: '[日期时间]创建时间'
  4266. type: string
  4267. customeruserid:
  4268. description: 对手方 【3:采购合同 4:销售合同】
  4269. type: integer
  4270. deliverygoodsid:
  4271. description: 现货品种ID
  4272. type: integer
  4273. enumdicname:
  4274. description: 单位
  4275. type: string
  4276. hedgeditemid:
  4277. description: 被套期项目ID
  4278. type: string
  4279. hedgeditemspotid:
  4280. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4281. type: string
  4282. hedgedtype:
  4283. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4284. type: integer
  4285. hedgeplanno:
  4286. description: 计划编号
  4287. type: string
  4288. middlegoodschange:
  4289. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4290. type: number
  4291. oriavgprice:
  4292. description: 期初市场价[当初市场价]
  4293. type: number
  4294. relatedamount:
  4295. description: 市价总额 = 关联数量 * 期初市场价
  4296. type: number
  4297. relatedhedgeplanid:
  4298. description: 关联计划ID 【1:采购计划 2:销售计划】
  4299. type: integer
  4300. relatedqty:
  4301. description: '[期间变化量]关联数量'
  4302. type: number
  4303. relatedspotcontractid:
  4304. description: 关联合同ID 【3:采购合同 4:销售合同】
  4305. type: integer
  4306. relatedtype:
  4307. description: 关联类型 - 1:套期关联 2:执行关联
  4308. type: integer
  4309. spotgoodsbrandid:
  4310. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4311. type: integer
  4312. spotpricedamount:
  4313. description: 定价总额
  4314. type: number
  4315. spotpricedavgprice:
  4316. description: 现货均价 = 定价总额 / 关联数量
  4317. type: number
  4318. spottype:
  4319. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4320. type: integer
  4321. tradeuserid:
  4322. description: 交易用户ID
  4323. type: integer
  4324. unexeqty:
  4325. description: 未执行现货量 = 套期现货量 - 执行现货量
  4326. type: number
  4327. wrstandardid:
  4328. description: 现货商品ID
  4329. type: integer
  4330. wrstandardname:
  4331. description: 现货商品
  4332. type: string
  4333. type: object
  4334. models.Ermcp2hedgeditemspot:
  4335. properties:
  4336. areauserid:
  4337. description: 企业ID
  4338. type: integer
  4339. createtime:
  4340. description: 创建时间
  4341. type: string
  4342. customeruserid:
  4343. description: 对手方 【3:采购合同 4:销售合同】
  4344. type: integer
  4345. deliverygoodsid:
  4346. description: 现货品种ID
  4347. type: integer
  4348. enumdicname:
  4349. description: 单位
  4350. type: string
  4351. hedgeditemid:
  4352. description: 被套期项目ID
  4353. type: string
  4354. hedgeditemspotid:
  4355. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4356. type: string
  4357. hedgedtype:
  4358. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4359. type: integer
  4360. hedgeplanno:
  4361. description: 计划编号
  4362. type: string
  4363. oriavgprice:
  4364. description: 期初市场价[当初市场价]
  4365. type: number
  4366. relatedamount:
  4367. description: 市价总额 = 关联数量 * 期初市场价
  4368. type: number
  4369. relatedhedgeplanid:
  4370. description: 关联计划ID 【1:采购计划 2:销售计划】
  4371. type: integer
  4372. relatedqty:
  4373. description: 关联数量[数量]
  4374. type: number
  4375. relatedspotcontractid:
  4376. description: 关联合同ID 【3:采购合同 4:销售合同】
  4377. type: integer
  4378. relatedtype:
  4379. description: 关联类型 - 1:套期关联 2:执行关联
  4380. type: integer
  4381. spotgoodsbrandid:
  4382. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4383. type: integer
  4384. spotpricedamount:
  4385. description: 定价总额
  4386. type: number
  4387. spotpricedavgprice:
  4388. description: 现货均价 = 定价总额 / 关联数量
  4389. type: number
  4390. spottype:
  4391. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4392. type: integer
  4393. tradeuserid:
  4394. description: 交易用户ID
  4395. type: integer
  4396. wrstandardid:
  4397. description: 现货商品ID
  4398. type: integer
  4399. wrstandardname:
  4400. description: 现货商品
  4401. type: string
  4402. required:
  4403. - hedgeditemid
  4404. type: object
  4405. models.Ermcp2hedgeditemspotDetail:
  4406. properties:
  4407. accountname:
  4408. description: 对手方
  4409. type: string
  4410. areauserid:
  4411. description: 企业ID
  4412. type: integer
  4413. brandname:
  4414. description: 品牌
  4415. type: string
  4416. contractno:
  4417. description: 合同编号
  4418. type: string
  4419. createtime:
  4420. description: 创建时间
  4421. type: string
  4422. customeruserid:
  4423. description: 对手方 【3:采购合同 4:销售合同】
  4424. type: integer
  4425. deliverygoodsid:
  4426. description: 现货品种ID
  4427. type: integer
  4428. enumdicname:
  4429. description: 单位
  4430. type: string
  4431. hedgeditemid:
  4432. description: 被套期项目ID
  4433. type: string
  4434. hedgeditemspotid:
  4435. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4436. type: string
  4437. hedgedtype:
  4438. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4439. type: integer
  4440. oriavgprice:
  4441. description: 期初市场价[当初市场价]
  4442. type: number
  4443. relatedamount:
  4444. description: 市价总额 = 关联数量 * 期初市场价
  4445. type: number
  4446. relatedhedgeplanid:
  4447. description: 关联计划ID 【1:采购计划 2:销售计划】
  4448. type: integer
  4449. relatedqty:
  4450. description: 关联数量[数量]
  4451. type: number
  4452. relatedspotcontractid:
  4453. description: 关联合同ID 【3:采购合同 4:销售合同】
  4454. type: integer
  4455. relatedtype:
  4456. description: 关联类型 - 1:套期关联 2:执行关联
  4457. type: integer
  4458. spotgoodsbrandid:
  4459. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4460. type: integer
  4461. spotpricedamount:
  4462. description: 定价总额[金额]
  4463. type: number
  4464. spotpricedavgprice:
  4465. description: 现货均价 = 定价总额 / 关联数量
  4466. type: number
  4467. spottype:
  4468. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4469. type: integer
  4470. tradeuserid:
  4471. description: 交易用户ID
  4472. type: integer
  4473. wrstandardid:
  4474. description: 现货商品ID
  4475. type: integer
  4476. wrstandardname:
  4477. description: 现货商品
  4478. type: string
  4479. required:
  4480. - hedgeditemid
  4481. type: object
  4482. models.Ermcp2himiddlegoods:
  4483. properties:
  4484. futurehedgeqty:
  4485. description: 期货持仓套期量
  4486. type: number
  4487. hedgeditemid:
  4488. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4489. type: integer
  4490. hiexpsoure:
  4491. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4492. type: number
  4493. middlegoodscode:
  4494. description: 套保商品代码
  4495. type: string
  4496. middlegoodsid:
  4497. description: 套保品种ID
  4498. type: integer
  4499. middlegoodsname:
  4500. description: 套保商品名称
  4501. type: string
  4502. unexehedgeqty:
  4503. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4504. type: number
  4505. required:
  4506. - hedgeditemid
  4507. - middlegoodsid
  4508. type: object
  4509. models.Ermcp2stockspotchangelog:
  4510. properties:
  4511. accountname:
  4512. description: 套期主体
  4513. type: string
  4514. aftervalue:
  4515. description: 现货量
  4516. type: number
  4517. beforevalue:
  4518. description: 变更前现货量
  4519. type: number
  4520. contractno:
  4521. description: '[编号]现货合同编号'
  4522. type: string
  4523. contracttype:
  4524. description: 现货合同类型 - 1:采购 -1:销售
  4525. type: integer
  4526. createtime:
  4527. description: 创建时间
  4528. type: string
  4529. customerusername:
  4530. description: 对手方
  4531. type: string
  4532. deliverygoodsid:
  4533. description: 现货品种ID
  4534. type: integer
  4535. exetype:
  4536. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4537. type: integer
  4538. logid:
  4539. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4540. type: string
  4541. logvalue:
  4542. description: '[期间变化量]现货量变更值'
  4543. type: number
  4544. middlegoodschange:
  4545. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4546. type: number
  4547. operatelogtype:
  4548. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4549. 27:生产出库
  4550. type: integer
  4551. relatedid:
  4552. description: 现货合同ID
  4553. type: integer
  4554. spotgoodsbrandid:
  4555. description: 现货品牌ID
  4556. type: integer
  4557. tradedate:
  4558. description: 交易日(yyyyMMdd)
  4559. type: string
  4560. userid:
  4561. description: 机构ID
  4562. type: integer
  4563. warehouseinfoid:
  4564. description: 仓库ID
  4565. type: integer
  4566. wrfactortypeid:
  4567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4568. type: integer
  4569. wrstandardid:
  4570. description: 现货商品ID
  4571. type: integer
  4572. wrstandardname:
  4573. description: 商品名称
  4574. type: string
  4575. type: object
  4576. models.Ermcp3AreaSpot:
  4577. properties:
  4578. areauserid:
  4579. description: 所属机构
  4580. type: integer
  4581. convertratio:
  4582. description: 套保系数
  4583. type: number
  4584. decreaseqty:
  4585. description: 减少数量=-(销售已定价数量+采购计划数量)
  4586. type: number
  4587. enumdicname:
  4588. description: 单位名称
  4589. type: string
  4590. increaseqty:
  4591. description: 增加数量=销售计划数量+采购已定价数量
  4592. type: number
  4593. oritoalspotqty:
  4594. description: 昨日数量
  4595. type: number
  4596. totalspotqty:
  4597. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4598. type: number
  4599. unitid:
  4600. description: 现货商品单位id
  4601. type: integer
  4602. updatetime:
  4603. description: 更新时间
  4604. type: string
  4605. wrstandardcode:
  4606. description: 现货商品代码
  4607. type: string
  4608. wrstandardid:
  4609. description: 现货商品ID(SEQ_WRSTANDARD)
  4610. type: integer
  4611. wrstandardname:
  4612. description: 现货商品名称
  4613. type: string
  4614. type: object
  4615. models.Ermcp3AreaSpotDetail:
  4616. properties:
  4617. contracttype:
  4618. description: 合同类型 1-采购 -1-销售
  4619. type: integer
  4620. createtime:
  4621. description: 创建时间
  4622. type: string
  4623. enumdicname:
  4624. description: 现货商品单位名称
  4625. type: string
  4626. logtype:
  4627. description: 记录类型 1-套保 2-现货合同
  4628. type: integer
  4629. qty:
  4630. description: 数量
  4631. type: number
  4632. recordname:
  4633. description: 类型名称
  4634. type: string
  4635. relatedid:
  4636. description: 套保计划ID/现货合同ID
  4637. type: string
  4638. relatedno:
  4639. description: 编号
  4640. type: string
  4641. strtime:
  4642. description: 时间
  4643. type: string
  4644. wrstandardcode:
  4645. description: 现货商品代码
  4646. type: string
  4647. wrstandardid:
  4648. description: 现货商品ID(SEQ_WRSTANDARD)
  4649. type: integer
  4650. wrstandardname:
  4651. description: 现货商品名称
  4652. type: string
  4653. type: object
  4654. models.Ermcp3AreaSpotPLReport:
  4655. properties:
  4656. accountid:
  4657. description: 期货账户ID (作废, 默认为0)
  4658. type: integer
  4659. accountname:
  4660. description: 机构名称
  4661. type: string
  4662. actualpl:
  4663. description: 现货损益
  4664. type: number
  4665. areauserid:
  4666. description: 所属机构\交易用户ID
  4667. type: integer
  4668. begindate:
  4669. description: 开始交易日
  4670. type: string
  4671. biztype:
  4672. description: 业务类型 - 1:套保 2:套利
  4673. type: integer
  4674. brandname:
  4675. description: 品牌名称
  4676. type: string
  4677. curamount:
  4678. description: 期末额
  4679. type: number
  4680. curaverageprice:
  4681. description: 期末均价
  4682. type: number
  4683. curbuyamount:
  4684. description: 期末采购总额
  4685. type: number
  4686. curbuyqty:
  4687. description: 期末采购总量
  4688. type: number
  4689. curmarketvalue:
  4690. description: 参考市值(期末市值)
  4691. type: number
  4692. curqty:
  4693. description: 期末量
  4694. type: number
  4695. currencyid:
  4696. description: 结算币种ID【原值】
  4697. type: integer
  4698. currencyname:
  4699. description: 币种名称
  4700. type: string
  4701. cursellamount:
  4702. description: 期末销售总额
  4703. type: number
  4704. cursellqty:
  4705. description: 期末销售总量
  4706. type: number
  4707. curspotprice:
  4708. description: 参考市价(最新价)
  4709. type: number
  4710. cycletime:
  4711. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4712. type: string
  4713. cycletype:
  4714. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4715. type: integer
  4716. deliverygoodscode:
  4717. description: 现货品种代码
  4718. type: string
  4719. deliverygoodsid:
  4720. description: 现货品种ID
  4721. type: integer
  4722. deliverygoodsname:
  4723. description: 现货品种名称
  4724. type: string
  4725. enddate:
  4726. description: 结束交易日
  4727. type: string
  4728. enumdicname:
  4729. description: 现货品种单位名称(作废)
  4730. type: string
  4731. floatpl:
  4732. description: 浮动损益
  4733. type: number
  4734. goodsunitid:
  4735. description: 现货品种单位id(作废)
  4736. type: integer
  4737. oriamount:
  4738. description: 期初额
  4739. type: number
  4740. oriaverageprice:
  4741. description: 期初均价
  4742. type: number
  4743. oribuyamount:
  4744. description: 期初采购总额
  4745. type: number
  4746. oribuyqty:
  4747. description: 期初采购总量
  4748. type: number
  4749. oriqty:
  4750. description: 期初量
  4751. type: number
  4752. orisellamount:
  4753. description: 期初销售总额
  4754. type: number
  4755. orisellqty:
  4756. description: 期初销售总量
  4757. type: number
  4758. reckondate:
  4759. description: 日照时期(yyyyMMdd)
  4760. type: string
  4761. spotgoodsbrandid:
  4762. description: 现货品牌ID
  4763. type: integer
  4764. todaybuyamount:
  4765. description: 今日采购额(今采购额)
  4766. type: number
  4767. todaybuyaverageprice:
  4768. description: 今日采购均价
  4769. type: number
  4770. todaybuyqty:
  4771. description: 今日采购量(今采购量)
  4772. type: number
  4773. todayinqty:
  4774. description: 今日入库量(今入库量)
  4775. type: number
  4776. todayoutqty:
  4777. description: 今日出库量(今出库量)
  4778. type: number
  4779. todaysellamount:
  4780. description: 今日销售额(今销售额)
  4781. type: number
  4782. todaysellaverageprice:
  4783. description: 今日销售均价
  4784. type: number
  4785. todaysellqty:
  4786. description: 今日销售量(今销售量)
  4787. type: number
  4788. unitid:
  4789. description: 品类单位id
  4790. type: integer
  4791. unitidname:
  4792. description: 品类单位名称
  4793. type: string
  4794. updatetime:
  4795. description: 更新时间
  4796. type: string
  4797. wrfactortypeid:
  4798. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4799. type: integer
  4800. wrstandardcode:
  4801. description: 现货商品(品类)代码
  4802. type: string
  4803. wrstandardid:
  4804. description: 现货品类ID
  4805. type: integer
  4806. wrstandardname:
  4807. description: 现货商品(品类)名称
  4808. type: string
  4809. type: object
  4810. models.Ermcp3AreaStock:
  4811. properties:
  4812. brandname:
  4813. description: 品牌名称
  4814. type: string
  4815. curstock:
  4816. description: 期末库存量(今日量)
  4817. type: number
  4818. deliverygoodscode:
  4819. description: 现货品种代码
  4820. type: string
  4821. deliverygoodsid:
  4822. description: 现货品种id
  4823. type: integer
  4824. deliverygoodsname:
  4825. description: 现货品种名称
  4826. type: string
  4827. enumdicname:
  4828. description: 单位名称
  4829. type: string
  4830. goodsunitid:
  4831. description: 现货商品单位id
  4832. type: integer
  4833. oristock:
  4834. description: 期初库存量(昨日量)
  4835. type: number
  4836. spotgoodsbrandid:
  4837. description: 现货品牌ID
  4838. type: integer
  4839. todaybuyinqty:
  4840. description: 今日采购入库量
  4841. type: number
  4842. todayproduceinqty:
  4843. description: 今日生产入库量
  4844. type: number
  4845. todayproduceoutqty:
  4846. description: 今日生产出库量
  4847. type: number
  4848. todayselloutqty:
  4849. description: 今日销售出库量
  4850. type: number
  4851. unitid:
  4852. description: 单位id
  4853. type: integer
  4854. updatetime:
  4855. description: 更新时间
  4856. type: string
  4857. userid:
  4858. description: 机构ID
  4859. type: integer
  4860. username:
  4861. description: 机构名称
  4862. type: string
  4863. warehousecode:
  4864. description: 仓库代码
  4865. type: string
  4866. warehouseinfoid:
  4867. description: 仓库ID
  4868. type: string
  4869. warehousename:
  4870. description: 仓库名称
  4871. type: string
  4872. warehousetype:
  4873. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4874. type: integer
  4875. wrstandardcode:
  4876. description: 品类代码
  4877. type: string
  4878. wrstandardid:
  4879. description: 品类ID
  4880. type: string
  4881. wrstandardname:
  4882. description: 品类名称
  4883. type: string
  4884. required:
  4885. - userid
  4886. type: object
  4887. models.Ermcp3AreaStockApply:
  4888. properties:
  4889. applyid:
  4890. description: 申请人
  4891. type: integer
  4892. applyname:
  4893. description: 申请人名称
  4894. type: string
  4895. applyremark:
  4896. description: 申请备注
  4897. type: string
  4898. applysrc:
  4899. description: 申请来源 - 1:管理端 2:终端
  4900. type: integer
  4901. applystatus:
  4902. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4903. type: integer
  4904. applytime:
  4905. description: 申请时间
  4906. type: string
  4907. auditid:
  4908. description: 审核人
  4909. type: integer
  4910. auditname:
  4911. description: 审核人名称
  4912. type: string
  4913. auditremark:
  4914. description: 审核备注
  4915. type: string
  4916. auditsrc:
  4917. description: 审核来源 - 1:管理端 2:终端
  4918. type: integer
  4919. audittime:
  4920. description: 审核时间
  4921. type: string
  4922. audittradedate:
  4923. description: 审核交易日(yyyyMMdd)
  4924. type: string
  4925. brandname:
  4926. description: 品牌名称
  4927. type: string
  4928. buynickname:
  4929. description: 采购方昵称
  4930. type: string
  4931. buyuserid:
  4932. description: 采购方userid
  4933. type: integer
  4934. buyusername:
  4935. description: 采购方名称
  4936. type: string
  4937. contractno:
  4938. description: 合同编号
  4939. type: string
  4940. contractqty:
  4941. description: 合同量
  4942. type: number
  4943. contracttype:
  4944. description: 现货合同类型 - 1:采购 -1:销售
  4945. type: integer
  4946. deliverygoodscode:
  4947. description: 现货品种代码
  4948. type: string
  4949. deliverygoodsid:
  4950. description: 现货品种id
  4951. type: integer
  4952. deliverygoodsname:
  4953. description: 现货品种名称
  4954. type: string
  4955. detailjson:
  4956. description: 明细数据
  4957. type: string
  4958. enumdicname:
  4959. description: 现货商品单位名称
  4960. type: string
  4961. inoutapplyid:
  4962. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4963. type: string
  4964. inouttype:
  4965. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4966. type: integer
  4967. pricetype:
  4968. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4969. type: integer
  4970. qty:
  4971. description: 数量
  4972. type: number
  4973. sellnickname:
  4974. description: 销售方昵称
  4975. type: string
  4976. selluserid:
  4977. description: 销售方userid
  4978. type: integer
  4979. sellusername:
  4980. description: 销售方名称
  4981. type: string
  4982. spotcontractid:
  4983. description: 关联现货合同ID
  4984. type: string
  4985. spotgoodsbrandid:
  4986. description: 现货品牌ID
  4987. type: integer
  4988. unitid:
  4989. description: 单位id
  4990. type: integer
  4991. userid:
  4992. description: 机构ID
  4993. type: integer
  4994. warehousecode:
  4995. description: 仓库代码
  4996. type: string
  4997. warehouseinfoid:
  4998. description: 现货仓库ID
  4999. type: string
  5000. warehousename:
  5001. description: 仓库名称
  5002. type: string
  5003. warehousetype:
  5004. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5005. type: integer
  5006. wrstandardcode:
  5007. description: 品类代码
  5008. type: string
  5009. wrstandardid:
  5010. description: 品类ID
  5011. type: integer
  5012. wrstandardname:
  5013. description: 品类名称
  5014. type: string
  5015. type: object
  5016. models.Ermcp3AreaStockApplySum:
  5017. properties:
  5018. brandname:
  5019. description: 品牌名称
  5020. type: string
  5021. inouttype:
  5022. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5023. type: integer
  5024. spotcontractid:
  5025. description: 关联现货合同ID
  5026. type: string
  5027. spotgoodsbrandid:
  5028. description: 品牌id
  5029. type: integer
  5030. totalqty:
  5031. description: 总数量
  5032. type: number
  5033. wrstandardid:
  5034. description: 品类id
  5035. type: integer
  5036. wrstandardname:
  5037. description: 品类名称
  5038. type: string
  5039. type: object
  5040. models.Ermcp3AreaStockReportEx:
  5041. properties:
  5042. begindate:
  5043. description: 开始交易日
  5044. type: string
  5045. brandname:
  5046. description: 品牌名称
  5047. type: string
  5048. curstock:
  5049. description: 期末库存量
  5050. type: number
  5051. cycletime:
  5052. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5053. type: string
  5054. cycletype:
  5055. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5056. type: integer
  5057. deliverygoodscode:
  5058. description: 现货品种代码
  5059. type: string
  5060. deliverygoodsid:
  5061. description: 现货品种id
  5062. type: integer
  5063. deliverygoodsname:
  5064. description: 现货品种名称
  5065. type: string
  5066. diffqty:
  5067. description: 库存变化量 = 期末 - 期初
  5068. type: number
  5069. enddate:
  5070. description: 结束交易日
  5071. type: string
  5072. enumdicname:
  5073. description: 单位名称
  5074. type: string
  5075. goodsunitid:
  5076. description: 现货单位id
  5077. type: integer
  5078. oristock:
  5079. description: 期初库存量
  5080. type: number
  5081. reckondate:
  5082. description: 日照时期(yyyyMMdd)
  5083. type: string
  5084. spotgoodsbrandid:
  5085. description: 现货品牌ID
  5086. type: integer
  5087. todaybuyinqty:
  5088. description: 今采购入库量
  5089. type: number
  5090. todayproduceinqty:
  5091. description: 今内部入库量
  5092. type: number
  5093. todayproduceoutqty:
  5094. description: 今内部出库量
  5095. type: number
  5096. todayselloutqty:
  5097. description: 今销售出库量
  5098. type: number
  5099. unbuyinqty:
  5100. description: 采购未入库量(数据库未找到相关字段?)
  5101. type: number
  5102. unitid:
  5103. description: 品类单位id
  5104. type: integer
  5105. unselloutqty:
  5106. description: 销售未出库量(数据库未找到相关字段?)
  5107. type: number
  5108. updatetime:
  5109. description: 更新时间
  5110. type: string
  5111. userid:
  5112. description: 机构ID
  5113. type: integer
  5114. username:
  5115. description: 机构名称
  5116. type: string
  5117. warehousecode:
  5118. description: 仓库代码
  5119. type: string
  5120. warehouseinfoid:
  5121. description: 仓库ID
  5122. type: string
  5123. warehousename:
  5124. description: 仓库名称
  5125. type: string
  5126. warehousetype:
  5127. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5128. type: integer
  5129. wrstandardcode:
  5130. description: 品类代码
  5131. type: string
  5132. wrstandardid:
  5133. description: 品类ID
  5134. type: integer
  5135. wrstandardname:
  5136. description: 品类名称
  5137. type: string
  5138. type: object
  5139. models.Ermcp3ArealSumPL:
  5140. properties:
  5141. accountname:
  5142. description: 机构名称
  5143. type: string
  5144. areauserid:
  5145. description: 所属机构\交易用户ID
  5146. type: integer
  5147. begindate:
  5148. description: 开始交易日
  5149. type: string
  5150. currencyid:
  5151. description: 结算币种ID
  5152. type: integer
  5153. currencyname:
  5154. description: 币种名称
  5155. type: string
  5156. cycletime:
  5157. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5158. type: string
  5159. cycletype:
  5160. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5161. type: integer
  5162. enddate:
  5163. description: 结束交易日
  5164. type: string
  5165. enumdicname:
  5166. description: 单位名称(套保品种)
  5167. type: string
  5168. futureactualpl:
  5169. description: 期货损益
  5170. type: number
  5171. futurefloatpl:
  5172. description: 期货浮动损益
  5173. type: number
  5174. futurespotratio:
  5175. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5176. type: number
  5177. goodsunitid:
  5178. description: 套保品种单位id
  5179. type: integer
  5180. hedgeexposurepl:
  5181. description: 套保敞口损益
  5182. type: number
  5183. middlegoodscode:
  5184. description: 套保品种代码
  5185. type: string
  5186. middlegoodsid:
  5187. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5188. type: integer
  5189. middlegoodsname:
  5190. description: 套保品种名称
  5191. type: string
  5192. reckondate:
  5193. description: 日照时期(yyyyMMdd)
  5194. type: string
  5195. spotactualpl:
  5196. description: 现货损益
  5197. type: number
  5198. spotfloatpl:
  5199. description: 现货浮动损益
  5200. type: number
  5201. sumactualpl:
  5202. description: 实际损益 = (ActualPL + FutureActualPL)
  5203. type: number
  5204. sumpl:
  5205. description: 总敞口损益 | 汇总损益
  5206. type: number
  5207. totalfutureqty:
  5208. description: 期货头寸总量
  5209. type: number
  5210. totalneedhedgeqty:
  5211. description: 应套保总量
  5212. type: number
  5213. totalspotqty:
  5214. description: 现货头寸总量
  5215. type: number
  5216. updatetime:
  5217. description: 更新时间
  5218. type: string
  5219. type: object
  5220. models.Ermcp3Brand:
  5221. properties:
  5222. areauserid:
  5223. description: 用户id
  5224. type: integer
  5225. brandid:
  5226. description: 品牌id
  5227. type: integer
  5228. brandname:
  5229. description: 品牌名称
  5230. type: string
  5231. deliverygoodsid:
  5232. description: 品种ID
  5233. type: integer
  5234. isvalid:
  5235. description: 是否有效
  5236. type: integer
  5237. type: object
  5238. models.Ermcp3Contract:
  5239. properties:
  5240. accountid:
  5241. description: 期货账户id
  5242. type: string
  5243. amount:
  5244. description: 金额 [1:一口价、3:暂定价]
  5245. type: number
  5246. attachment:
  5247. description: 附件
  5248. type: string
  5249. auditremark:
  5250. description: 审核意见
  5251. type: string
  5252. audittime:
  5253. description: 审核时间
  5254. type: string
  5255. biztype:
  5256. description: 业务类型 1-套保 2-套利
  5257. type: integer
  5258. brandname:
  5259. description: 品牌名称
  5260. type: string
  5261. buynickname:
  5262. description: 销售方昵称
  5263. type: string
  5264. buyuserid:
  5265. description: 采购方ID
  5266. type: integer
  5267. buyusername:
  5268. description: 采购方名称
  5269. type: string
  5270. contracctstatus:
  5271. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5272. type: integer
  5273. contractmargin:
  5274. description: 合同保证金
  5275. type: number
  5276. contractno:
  5277. description: 现货合同编号
  5278. type: string
  5279. contracttype:
  5280. description: 现货合同类型 - 1:采购 -1:销售
  5281. type: integer
  5282. convertfactor:
  5283. description: 标仓系数(品类)
  5284. type: number
  5285. createtime:
  5286. description: 创建时间
  5287. type: string
  5288. currencyid:
  5289. description: 币种id
  5290. type: integer
  5291. currencyname:
  5292. description: 币种名称
  5293. type: string
  5294. deliveryenddate:
  5295. description: 交收期(结束)
  5296. type: string
  5297. deliverygoodscode:
  5298. description: 现货品种代码
  5299. type: string
  5300. deliverygoodsid:
  5301. description: 现货品种ID
  5302. type: integer
  5303. deliverygoodsname:
  5304. description: 现货品种名称
  5305. type: string
  5306. deliverystartdate:
  5307. description: 交收期(开始)
  5308. type: string
  5309. enddate:
  5310. description: 点价结束日期 [2:点价 3:暂定价]
  5311. type: string
  5312. enumdicname:
  5313. description: 单位名称
  5314. type: string
  5315. goodscode:
  5316. description: 点价合约代码
  5317. type: string
  5318. goodsid:
  5319. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5320. type: integer
  5321. goodsname:
  5322. description: 点价商品名称
  5323. type: string
  5324. margin:
  5325. description: 当前保证金
  5326. type: number
  5327. meruserid:
  5328. description: 跟单员id
  5329. type: integer
  5330. meruserlogincode:
  5331. description: 跟单员登录代码
  5332. type: string
  5333. merusername:
  5334. description: 跟单员名称
  5335. type: string
  5336. pointdesc:
  5337. description: 点价备注
  5338. type: string
  5339. price:
  5340. description: 价格\暂定价 [1:一口价、3:暂定价]
  5341. type: number
  5342. pricemove:
  5343. description: 升贴水 [2:点价 3:暂定价]
  5344. type: number
  5345. pricetype:
  5346. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5347. type: integer
  5348. producttype:
  5349. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5350. type: integer
  5351. qty:
  5352. description: 数量
  5353. type: number
  5354. remark:
  5355. description: 备注
  5356. type: string
  5357. saleuserid:
  5358. description: 业务员id
  5359. type: integer
  5360. saleuserlogincode:
  5361. description: 业务员登录代码
  5362. type: string
  5363. saleusername:
  5364. description: 业务员名称
  5365. type: string
  5366. sellnickname:
  5367. description: 采购方昵称
  5368. type: string
  5369. selluserid:
  5370. description: 销售方ID
  5371. type: integer
  5372. sellusername:
  5373. description: 销售方名称
  5374. type: string
  5375. spotcontractid:
  5376. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5377. type: string
  5378. spotgoodsbrandid:
  5379. description: 现货品牌ID(DGFactoryItem表的ID)
  5380. type: integer
  5381. spotgoodsdesc:
  5382. description: 商品型号
  5383. type: string
  5384. startdate:
  5385. description: 点价开始日期 [2:点价 3:暂定价]
  5386. type: string
  5387. subjectid:
  5388. description: 交易主体ID
  5389. type: integer
  5390. subjectname:
  5391. description: 交易主体名称
  5392. type: string
  5393. tradeuserid:
  5394. description: 交易员id
  5395. type: integer
  5396. tradeuserlogincode:
  5397. description: 交易员登录代码
  5398. type: string
  5399. tradeusername:
  5400. description: 交易员名称
  5401. type: string
  5402. unitid:
  5403. description: 单位id(取品类上的单位id)
  5404. type: integer
  5405. updatetime:
  5406. description: 更新时间
  5407. type: string
  5408. userid:
  5409. description: 所属机构ID
  5410. type: integer
  5411. vatrate:
  5412. description: 增值税率
  5413. type: number
  5414. wrstandardcode:
  5415. description: 品类代码
  5416. type: string
  5417. wrstandardid:
  5418. description: 品类ID
  5419. type: integer
  5420. wrstandardname:
  5421. description: 品类名称
  5422. type: string
  5423. type: object
  5424. models.Ermcp3ContractMiddleGoodsCfg:
  5425. properties:
  5426. agreeunit:
  5427. description: 合约乘数
  5428. type: number
  5429. convertratio:
  5430. description: 期货品种系数
  5431. type: number
  5432. covertqty:
  5433. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5434. type: integer
  5435. middlegoodsid:
  5436. description: 套保品种ID
  5437. type: integer
  5438. middlegoodspricedqty3:
  5439. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5440. example: "0"
  5441. type: string
  5442. pendingpricedqty:
  5443. description: 待点价量
  5444. example: "0"
  5445. type: string
  5446. relatedmiddlegoodsqty:
  5447. description: 已关联量(套保品种-期货)
  5448. example: "0"
  5449. type: string
  5450. spotcontractid:
  5451. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5452. type: string
  5453. type: object
  5454. models.Ermcp3ExposureContractDetail:
  5455. properties:
  5456. biztype:
  5457. description: 业务类型 1-套保 2-套利
  5458. type: integer
  5459. brandname:
  5460. description: 品牌名称
  5461. type: string
  5462. buyuserid:
  5463. description: 采购方id
  5464. type: integer
  5465. buyusername:
  5466. description: 采购方名称
  5467. type: string
  5468. contractno:
  5469. description: 合同编号
  5470. type: string
  5471. contracttype:
  5472. description: 现货合同类型 - 1:采购 -1:销售
  5473. type: integer
  5474. convertfactor:
  5475. description: 标仓系数
  5476. type: number
  5477. convertratio:
  5478. description: 折算系数(套保品种)
  5479. type: number
  5480. curqty:
  5481. description: 今定价量
  5482. type: number
  5483. deliverygoodscode:
  5484. description: 现货品种代码
  5485. type: string
  5486. deliverygoodsid:
  5487. description: 现货品种id
  5488. type: integer
  5489. deliverygoodsname:
  5490. description: 现货品种名称
  5491. type: string
  5492. diffhedgeqty:
  5493. description: 套保变动量
  5494. type: number
  5495. diffneedhedgeqty:
  5496. description: 应套保变动量
  5497. type: number
  5498. diffqty:
  5499. description: 套保品种今变动量
  5500. type: number
  5501. enumdicname:
  5502. description: 单位名称
  5503. type: string
  5504. mgunitname:
  5505. description: 套保品种单位名称
  5506. type: string
  5507. middlegoodscode:
  5508. description: 套保品种代码
  5509. type: string
  5510. middlegoodsid:
  5511. description: 套保品种id
  5512. type: integer
  5513. middlegoodsname:
  5514. description: 套保品种名称
  5515. type: string
  5516. needarbitrageratio:
  5517. description: 应套利比例
  5518. type: number
  5519. needhedgeratio:
  5520. description: 应套保比例
  5521. type: number
  5522. pricedqty:
  5523. description: 已定价量
  5524. type: number
  5525. qty:
  5526. description: 合同量
  5527. type: number
  5528. reckondate:
  5529. description: 交易日(reckondate)
  5530. type: string
  5531. selluserid:
  5532. description: 销售方id
  5533. type: integer
  5534. sellusername:
  5535. description: 销售方名称
  5536. type: string
  5537. spotcontractid:
  5538. description: 合同id
  5539. type: string
  5540. todaypricedqty:
  5541. description: 今定价量
  5542. type: number
  5543. tradedate:
  5544. description: 交易日
  5545. type: string
  5546. unitid:
  5547. description: 品类单位id
  5548. type: integer
  5549. userid:
  5550. description: 机构id
  5551. type: integer
  5552. username:
  5553. description: 交易用户
  5554. type: string
  5555. wrstandardcode:
  5556. description: 现货商品代码
  5557. type: string
  5558. wrstandardid:
  5559. description: 现货商品id
  5560. type: integer
  5561. wrstandardname:
  5562. description: 现货商品名称
  5563. type: string
  5564. type: object
  5565. models.Ermcp3ExposureDetail:
  5566. properties:
  5567. areauserid:
  5568. description: 机构ID
  5569. type: integer
  5570. changeQty:
  5571. description: 套保变动量
  5572. type: number
  5573. contracttype:
  5574. description: 现货合同类型 - 1:采购 -1:销售
  5575. type: integer
  5576. convertfactor:
  5577. description: 标仓系数
  5578. type: number
  5579. convertratio:
  5580. description: 折算系数
  5581. type: number
  5582. createtime:
  5583. description: 时间
  5584. type: string
  5585. enumdicname:
  5586. description: 现货商品单位名称
  5587. type: string
  5588. logtype:
  5589. description: 类型 - 1:套保计划 2:现货合同
  5590. type: integer
  5591. mgunitid:
  5592. description: 套保品种单位id
  5593. type: integer
  5594. mgunitidname:
  5595. description: 套保品种单位名称
  5596. type: string
  5597. middlegoodsId:
  5598. description: 套保商品id
  5599. type: integer
  5600. middlegoodscode:
  5601. description: 套保商品代码
  5602. type: string
  5603. middlegoodsname:
  5604. description: 套保商品名称
  5605. type: string
  5606. qty:
  5607. description: 数量
  5608. type: number
  5609. relateNo:
  5610. description: 现货合同/套保计划编号
  5611. type: string
  5612. unitid:
  5613. description: 现货商品单位id
  5614. type: integer
  5615. wrstandardcode:
  5616. description: 现货商品代码
  5617. type: string
  5618. wrstandardid:
  5619. description: 现货商品ID(SEQ_WRSTANDARD)
  5620. type: integer
  5621. wrstandardname:
  5622. description: 现货商品名称
  5623. type: string
  5624. type: object
  5625. models.Ermcp3ExposureFutuDetail:
  5626. properties:
  5627. accountid:
  5628. description: 交易账户id
  5629. type: integer
  5630. accountname:
  5631. description: 交易账户
  5632. type: string
  5633. begindate:
  5634. description: 开始交易日
  5635. type: string
  5636. buyorsell:
  5637. description: 方向 0-买 1-卖
  5638. type: integer
  5639. diffmgqty:
  5640. description: 套保品种今变化量
  5641. type: number
  5642. diffneedqty:
  5643. description: 应套保总量变化量
  5644. type: number
  5645. difftradeqty:
  5646. description: 交易品种今变化量
  5647. type: number
  5648. enddate:
  5649. description: 结束交易日
  5650. type: string
  5651. enumdicname:
  5652. description: 单位名称
  5653. type: string
  5654. goodscode:
  5655. description: 商品代码
  5656. type: string
  5657. goodsid:
  5658. description: 商品id
  5659. type: integer
  5660. goodsname:
  5661. description: 商品名称
  5662. type: string
  5663. holdqty:
  5664. description: 期末持仓量
  5665. type: number
  5666. middlegoodscode:
  5667. description: 套保商品代码
  5668. type: string
  5669. middlegoodsid:
  5670. description: 套保商品id
  5671. type: integer
  5672. middlegoodsname:
  5673. description: 套保商品名称
  5674. type: string
  5675. oriholdqty:
  5676. description: 期初持仓量
  5677. type: number
  5678. reckondate:
  5679. description: 交易日(RECKONDATE)
  5680. type: string
  5681. todaycloseqty:
  5682. description: 今平仓量
  5683. type: number
  5684. todayopenqty:
  5685. description: 今开仓量
  5686. type: number
  5687. tradedate:
  5688. description: 交易日(RECKONDATE)
  5689. type: string
  5690. username:
  5691. description: 用户名称(交易用户)
  5692. type: string
  5693. type: object
  5694. models.Ermcp3ExposureHedgeplanDetail:
  5695. properties:
  5696. biztype:
  5697. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5698. type: integer
  5699. changqty:
  5700. description: 应套保总量变化量
  5701. type: number
  5702. contracttype:
  5703. description: 计划类型 - 1:采购 -1:销售
  5704. type: integer
  5705. convertratio:
  5706. description: 折算系数(套保品种)
  5707. type: number
  5708. deliverygoodscode:
  5709. description: 现货商品代码
  5710. type: string
  5711. deliverygoodsid:
  5712. description: 现货商品id
  5713. type: integer
  5714. deliverygoodsname:
  5715. description: 现货商吕名称
  5716. type: string
  5717. dgunitid:
  5718. description: 现货商品单位id
  5719. type: integer
  5720. dgunitidname:
  5721. description: 单位名称(现货商品)
  5722. type: string
  5723. diffqty:
  5724. description: 套保品种今变动量
  5725. type: number
  5726. enumdicname:
  5727. description: 单位名称(品类)
  5728. type: string
  5729. hedgeplanid:
  5730. description: 套保计划id
  5731. type: string
  5732. hedgeplanno:
  5733. description: 套保计划名称
  5734. type: string
  5735. hedgeplanstatus:
  5736. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5737. type: integer
  5738. mgunitidname:
  5739. description: 单位名称(套保商品)
  5740. type: string
  5741. middlegoodscode:
  5742. description: 套保品种代码
  5743. type: string
  5744. middlegoodsid:
  5745. description: 套保品种id
  5746. type: integer
  5747. middlegoodsname:
  5748. description: 套保品种名称
  5749. type: string
  5750. needarbitrageratio:
  5751. description: 应套利比例
  5752. type: number
  5753. needhedgeratio:
  5754. description: 应套保比例
  5755. type: number
  5756. pricedqty:
  5757. description: 已定价量
  5758. type: number
  5759. qty:
  5760. description: 合同量
  5761. type: number
  5762. reckondate:
  5763. description: 交易日(reckondate)
  5764. type: string
  5765. tradedate:
  5766. description: 交易日(登记日)
  5767. type: string
  5768. unitid:
  5769. description: 品类单位id
  5770. type: integer
  5771. userid:
  5772. description: 机构id
  5773. type: integer
  5774. wrstandardcode:
  5775. description: 品类代码
  5776. type: string
  5777. wrstandardid:
  5778. description: 品类id
  5779. type: integer
  5780. wrstandardname:
  5781. description: 品类名称
  5782. type: string
  5783. type: object
  5784. models.Ermcp3ExposureParamChLog:
  5785. properties:
  5786. accountid:
  5787. description: 期货账户ID (作废, 默认为0)
  5788. type: integer
  5789. aftervalue:
  5790. description: 应套保\套利量变更后(调整后应套保总量)
  5791. type: number
  5792. areauserid:
  5793. description: 所属机构\交易用户ID
  5794. type: integer
  5795. beforevalue:
  5796. description: 应套保\套利量变更前(调整前应套保总量)
  5797. type: number
  5798. begindate:
  5799. description: 开始交易日
  5800. type: string
  5801. changelogtype:
  5802. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5803. type: integer
  5804. curvalue:
  5805. description: 当前套保\套利量(套保总量|套利总量)
  5806. type: number
  5807. diffvalue:
  5808. description: 应套保总量变化量
  5809. type: number
  5810. enddate:
  5811. description: 结束交易日
  5812. type: string
  5813. logdatetime:
  5814. description: 流水日期
  5815. type: string
  5816. logid:
  5817. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5818. type: string
  5819. middlegoodscode:
  5820. description: 套保品种代码
  5821. type: string
  5822. middlegoodsid:
  5823. description: 套保品种
  5824. type: integer
  5825. middlegoodsname:
  5826. description: 套保品种名称
  5827. type: string
  5828. paramaftervalue:
  5829. description: 参数变更后(调整后参数值)
  5830. type: number
  5831. parambeforevalue:
  5832. description: 参数变更前(调整前参数值)
  5833. type: number
  5834. reckondate:
  5835. description: 交易日(reckondate)
  5836. type: string
  5837. tradedate:
  5838. description: 交易日(yyyyMMdd)
  5839. type: string
  5840. type: object
  5841. models.Ermcp3ExpourseReport:
  5842. properties:
  5843. accountid:
  5844. description: 期货账户ID (作废, 默认为0)
  5845. type: integer
  5846. accountname:
  5847. description: 机构名称
  5848. type: string
  5849. arbitrageqty:
  5850. description: 套利量
  5851. type: number
  5852. areauserid:
  5853. description: 所属机构\交易用户ID
  5854. type: integer
  5855. begindate:
  5856. description: 开始交易日
  5857. type: string
  5858. buyfutureqty:
  5859. description: 买入期货数量
  5860. type: number
  5861. buyplanqty:
  5862. description: 采购计划数量
  5863. type: number
  5864. buypricedqty:
  5865. description: 采购合同已定价数量
  5866. type: number
  5867. cycletime:
  5868. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5869. type: string
  5870. cycletype:
  5871. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5872. type: integer
  5873. diffexposure:
  5874. description: 变动量(套保敞口)
  5875. type: number
  5876. difffutuqty:
  5877. description: 变动量(期货)
  5878. type: number
  5879. diffhedgeqty:
  5880. description: 变动量(现货应套保总量)
  5881. type: number
  5882. diffmgqtya:
  5883. description: 套保变动量
  5884. type: number
  5885. diffmgqtyb:
  5886. description: 套利变动量
  5887. type: number
  5888. diffneedqty:
  5889. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5890. type: number
  5891. diffqty:
  5892. description: 变动量(总敞口)
  5893. type: number
  5894. diffspotqty:
  5895. description: 变动量(现货) | 除税变动量
  5896. type: number
  5897. enddate:
  5898. description: 结束交易日
  5899. type: string
  5900. enumdicname:
  5901. description: 单位名称
  5902. type: string
  5903. hedgeqty:
  5904. description: 套保量
  5905. type: number
  5906. mgneedhedgeratio:
  5907. description: 套保比例(套保品的)
  5908. type: number
  5909. middlegoodsid:
  5910. description: 套保品种ID
  5911. type: integer
  5912. middlegoodsname:
  5913. description: 套保商品名称
  5914. type: string
  5915. middlgoodscode:
  5916. description: 套保商品代码
  5917. type: string
  5918. needarbitrageqty:
  5919. description: 应套利量
  5920. type: number
  5921. needarbitrageratio:
  5922. description: 套利比例(套保品的)
  5923. type: number
  5924. needhedgeexposoure:
  5925. description: 应套保敞口(套保敞口)
  5926. type: number
  5927. needhedgeqty:
  5928. description: 应套保量
  5929. type: number
  5930. needhedgeratio:
  5931. description: 应套保敞口比例
  5932. type: number
  5933. needqty:
  5934. description: 应套总量 = 应套保量 + 应套利量
  5935. type: number
  5936. oriarbitrageqty:
  5937. description: 期初套利量
  5938. type: number
  5939. oribuyfutureqty:
  5940. description: 期初买入期货数量
  5941. type: number
  5942. oribuyplanqty:
  5943. description: 期初采购计划数量
  5944. type: number
  5945. oribuypricedqty:
  5946. description: 期初采购合同已定价数量
  5947. type: number
  5948. orihedgeqty:
  5949. description: 期初套保量
  5950. type: number
  5951. orineedarbitrageqty:
  5952. description: 期初应套利量
  5953. type: number
  5954. orineedhedgeexposoure:
  5955. description: 期初应套保敞口
  5956. type: number
  5957. orineedhedgeqty:
  5958. description: 期初应套保量
  5959. type: number
  5960. orisellfutureqty:
  5961. description: 期初卖出期货数量
  5962. type: number
  5963. orisellplanqty:
  5964. description: 期初销售计划数量
  5965. type: number
  5966. orisellpricedqty:
  5967. description: 期初销售合同已定价数量
  5968. type: number
  5969. oritotalexposure:
  5970. description: 期初实时总敞口
  5971. type: number
  5972. oritotalfutureqty:
  5973. description: 期初期货头寸总量
  5974. type: number
  5975. oritotalneedhedgeqty:
  5976. description: 期初应套保总量
  5977. type: number
  5978. oritotalspotqty:
  5979. description: 期初现货头寸总量
  5980. type: number
  5981. reckondate:
  5982. description: 日照时期(yyyyMMdd)
  5983. type: string
  5984. sellfutureqty:
  5985. description: 卖出期货数量
  5986. type: number
  5987. sellplanqty:
  5988. description: 销售计划数量
  5989. type: number
  5990. sellpricedqty:
  5991. description: 销售合同已定价数量
  5992. type: number
  5993. totalexposure:
  5994. description: 实时总敞口(总敞口)
  5995. type: number
  5996. totalfutureqty:
  5997. description: 期货头寸总量(期货总量)
  5998. type: number
  5999. totalhedgeratio:
  6000. description: 敞口比例
  6001. type: number
  6002. totalneedhedgeqty:
  6003. description: 应套保总量(现货应套保总量)
  6004. type: number
  6005. totalspotqty:
  6006. description: 现货头寸总量 | 除税总量
  6007. type: number
  6008. unitid:
  6009. description: 单位id
  6010. type: integer
  6011. updatetime:
  6012. description: 更新时间
  6013. type: string
  6014. type: object
  6015. models.Ermcp3FinanceReport:
  6016. properties:
  6017. accountname:
  6018. description: 机构名称
  6019. type: string
  6020. areauserid:
  6021. description: 所属机构\交易用户ID
  6022. type: integer
  6023. begindate:
  6024. description: 开始交易日
  6025. type: string
  6026. biztype:
  6027. description: 业务类型 - 1:套保 2:套利
  6028. type: integer
  6029. brandname:
  6030. description: 品牌名称
  6031. type: string
  6032. buypreinvoicedamount:
  6033. description: 采购预收票额(预收票额)
  6034. type: number
  6035. buyprepaidamount:
  6036. description: 采购预付款额(预付货款额)
  6037. type: number
  6038. buytodayinvoiceamount:
  6039. description: 采购今收票额(今收票额)
  6040. type: number
  6041. buytodayrefundamount:
  6042. description: 采购今收退款额(今收退款额)
  6043. type: number
  6044. buytodaysettleamount:
  6045. description: 采购今付款额(今付货款额)
  6046. type: number
  6047. buyuninvoicedamount:
  6048. description: 采购应收票额(应收票额)
  6049. type: number
  6050. buyunpaidamount:
  6051. description: 采购应付款额(应付货款额)
  6052. type: number
  6053. currencyid:
  6054. description: 结算币种ID
  6055. type: integer
  6056. currencyname:
  6057. description: 币种名称
  6058. type: string
  6059. cycletime:
  6060. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6061. type: string
  6062. cycletype:
  6063. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6064. type: integer
  6065. deliverygoodscode:
  6066. description: 现货品种代码
  6067. type: string
  6068. deliverygoodsid:
  6069. description: 现货品种ID
  6070. type: integer
  6071. deliverygoodsname:
  6072. description: 现货品种名称
  6073. type: string
  6074. enddate:
  6075. description: 结束交易日
  6076. type: string
  6077. reckondate:
  6078. description: 日照时期(yyyyMMdd)
  6079. type: string
  6080. sellpreinvoicedamount:
  6081. description: 销售预开票额(预开票额)
  6082. type: number
  6083. sellprepaidamount:
  6084. description: 销售预收款额(预收货款额)
  6085. type: number
  6086. selltodayinvoiceamount:
  6087. description: 销售今开票额(今开票额)
  6088. type: number
  6089. selltodayrefundamount:
  6090. description: 销售今付退款额(今付退款额)
  6091. type: number
  6092. selltodaysettleamount:
  6093. description: 销售今收款额(今收货款额)
  6094. type: number
  6095. selluninvoicedamount:
  6096. description: 销售应开票额(应开票额)
  6097. type: number
  6098. sellunpaidamount:
  6099. description: 销售应收款额(应收货款额)
  6100. type: number
  6101. spotgoodsbrandid:
  6102. description: 现货品牌ID
  6103. type: integer
  6104. todaypaysum:
  6105. description: 今付款合计
  6106. type: number
  6107. todayreceivesum:
  6108. description: 今收款合计
  6109. type: number
  6110. updatetime:
  6111. description: 更新时间
  6112. type: string
  6113. wrfactortypeid:
  6114. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6115. type: integer
  6116. wrstandardcode:
  6117. description: 品类代码
  6118. type: string
  6119. wrstandardid:
  6120. description: 现货商品ID
  6121. type: integer
  6122. wrstandardname:
  6123. description: 品类名称
  6124. type: string
  6125. type: object
  6126. models.Ermcp3GoodsGroup:
  6127. properties:
  6128. agreeunit:
  6129. description: 合约单位
  6130. type: number
  6131. areauserid:
  6132. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6133. type: integer
  6134. canshort:
  6135. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6136. type: integer
  6137. closepricemode:
  6138. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6139. type: integer
  6140. createtime:
  6141. description: 创建时间
  6142. type: string
  6143. creatorid:
  6144. description: 创建人
  6145. type: integer
  6146. currencyid:
  6147. description: 报价货币ID
  6148. type: integer
  6149. decimalplace:
  6150. description: 报价小数位
  6151. type: integer
  6152. enumdicname:
  6153. description: 单位名称
  6154. type: string
  6155. exchangefullname:
  6156. description: 交易所全称
  6157. type: string
  6158. excludecfg:
  6159. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6160. type: integer
  6161. exexchangecode:
  6162. description: 交易所代码
  6163. type: string
  6164. exexchangeid:
  6165. description: 外部交易所ID[通道交易]
  6166. type: integer
  6167. exexchangename:
  6168. description: 交易所名称
  6169. type: string
  6170. goodsgroupid:
  6171. description: 商品组ID(自增ID)
  6172. type: integer
  6173. goodsgroupname:
  6174. description: 商品组名称
  6175. type: string
  6176. goodsgroupstatus:
  6177. description: 商品组状态 - 1:正常 2:注销
  6178. type: integer
  6179. goodunitid:
  6180. description: 报价单位ID
  6181. type: integer
  6182. groupcategroyid:
  6183. description: 品种分类ID
  6184. type: integer
  6185. innerdealmode:
  6186. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6187. type: integer
  6188. marketid:
  6189. description: 所属市场ID
  6190. type: integer
  6191. modifierid:
  6192. description: 修改人
  6193. type: integer
  6194. modifytime:
  6195. description: 修改时间
  6196. type: string
  6197. outerdealmode:
  6198. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6199. type: integer
  6200. outergroupcode:
  6201. description: 外部商品组代码[通道交易]
  6202. type: string
  6203. quoteminunit:
  6204. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6205. type: integer
  6206. quotesourcegroupid:
  6207. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6208. type: integer
  6209. syncgoodsqty:
  6210. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6211. type: integer
  6212. required:
  6213. - areauserid
  6214. type: object
  6215. models.Ermcp3HPMiddleGoods:
  6216. properties:
  6217. biztype:
  6218. description: 业务类型 1:套保 2:套利
  6219. type: integer
  6220. contracttype:
  6221. description: 合同类型 1:采购 -1:销售
  6222. type: integer
  6223. convertratio:
  6224. description: 折算系数
  6225. type: number
  6226. customername:
  6227. description: 对手手名称
  6228. type: string
  6229. customeruserid:
  6230. description: 对手id
  6231. type: integer
  6232. enumdicname:
  6233. description: 现货单位名称
  6234. type: string
  6235. hedgeplanid:
  6236. description: 计划id
  6237. type: string
  6238. hedgeplanno:
  6239. description: 计划编号
  6240. type: string
  6241. middlegoodsid:
  6242. description: 套保品种ID
  6243. type: integer
  6244. middlegoodsplanqty3:
  6245. description: 应套保计划量
  6246. type: number
  6247. needhedgeratio:
  6248. description: 套保比例
  6249. type: number
  6250. pricedqty:
  6251. description: 已定价量
  6252. type: number
  6253. relatedmiddlegoodsqty:
  6254. description: 已关联量(套保品种)(期货)
  6255. type: number
  6256. unitid:
  6257. description: 现货单位id
  6258. type: integer
  6259. userid:
  6260. description: 用户id
  6261. type: integer
  6262. vatrate:
  6263. description: 增值税率
  6264. type: number
  6265. wrstandardcode:
  6266. description: 现货商品代码
  6267. type: string
  6268. wrstandardid:
  6269. description: 现货商品id
  6270. type: integer
  6271. wrstandardname:
  6272. description: 现货商品名称
  6273. type: string
  6274. type: object
  6275. models.Ermcp3HedgePlan:
  6276. properties:
  6277. accountid:
  6278. description: 资金账号
  6279. type: integer
  6280. areauserid:
  6281. description: 用户ID
  6282. type: integer
  6283. auditid:
  6284. description: 审核id
  6285. type: integer
  6286. auditname:
  6287. description: 审核人名称
  6288. type: string
  6289. auditremark:
  6290. description: 审核备注
  6291. type: string
  6292. auditsrc:
  6293. description: 审核来源 1-管理端 2-终端
  6294. type: integer
  6295. audittime:
  6296. description: 审核时间
  6297. type: string
  6298. contracttype:
  6299. description: 计划类型 - 1:采购 -1:销售
  6300. type: integer
  6301. convertfactor:
  6302. description: 标仓系数
  6303. type: number
  6304. createtime:
  6305. description: 创建时间
  6306. type: string
  6307. currencyid:
  6308. description: 币种id
  6309. type: integer
  6310. currencyname:
  6311. description: 币种名称
  6312. type: string
  6313. deliverygoodscode:
  6314. description: 现货品种代码
  6315. type: string
  6316. deliverygoodsid:
  6317. description: 现货品种ID
  6318. type: integer
  6319. deliverygoodsname:
  6320. description: 现货品种名称
  6321. type: string
  6322. enumdicname:
  6323. description: 单位名称(现货商品)
  6324. type: string
  6325. hedgeplanid:
  6326. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6327. type: string
  6328. hedgeplanno:
  6329. description: 套保计划编号(名称)
  6330. type: string
  6331. hedgeplanstatus:
  6332. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6333. type: integer
  6334. planqty:
  6335. description: 计划数量
  6336. type: number
  6337. plantime:
  6338. description: 计划时间
  6339. type: string
  6340. producttype:
  6341. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6342. type: integer
  6343. remark:
  6344. description: 备注
  6345. type: string
  6346. spotgoodsdesc:
  6347. description: 商品型号
  6348. type: string
  6349. taaccountname:
  6350. description: 资金账号名称
  6351. type: string
  6352. tradeuserid:
  6353. description: 交易用户id
  6354. type: integer
  6355. tradeusername:
  6356. description: 交易用户名称
  6357. type: string
  6358. unitid:
  6359. description: 单位id(现货商品)
  6360. type: integer
  6361. updatetime:
  6362. description: 更新时间
  6363. type: string
  6364. vatrate:
  6365. description: 增值税率
  6366. type: number
  6367. wrstandardcode:
  6368. description: 品类代码
  6369. type: string
  6370. wrstandardid:
  6371. description: 品类id
  6372. type: integer
  6373. wrstandardname:
  6374. description: 品类名称
  6375. type: string
  6376. wrunitid:
  6377. description: 品类单位id
  6378. type: integer
  6379. wrunitidame:
  6380. description: 品类单位名称
  6381. type: string
  6382. type: object
  6383. models.Ermcp3InnerTradeLink:
  6384. properties:
  6385. accountid:
  6386. description: 期货账号代码 | 资金账号ID
  6387. type: integer
  6388. buyorsell:
  6389. description: 方向 - 0:买 1:卖
  6390. type: integer
  6391. channelbuildtype:
  6392. description: 委托单据类型 0:无 1:建仓 2:平仓
  6393. type: integer
  6394. currencyid:
  6395. description: 币种id
  6396. type: integer
  6397. currencyname:
  6398. description: 结算币种 名称
  6399. type: string
  6400. goodscode:
  6401. description: 商品代码
  6402. type: string
  6403. goodsid:
  6404. description: 商品ID
  6405. type: integer
  6406. goodsname:
  6407. description: 商品名称
  6408. type: string
  6409. outtradeid:
  6410. description: 外部成交单号
  6411. type: string
  6412. taname:
  6413. description: 期货账户名称
  6414. type: string
  6415. tradeid:
  6416. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6417. type: string
  6418. tradeprice:
  6419. description: 成交价格
  6420. type: number
  6421. tradeqty:
  6422. description: 期货成交数量
  6423. type: integer
  6424. tradetime:
  6425. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6426. type: string
  6427. username:
  6428. description: 用户名称
  6429. type: string
  6430. type: object
  6431. models.Ermcp3OutTradeLink:
  6432. properties:
  6433. buyorsell:
  6434. description: 买卖方向 - 0:买 1:卖
  6435. type: integer
  6436. channelbuildtype:
  6437. description: 开平标志- 0:无 1:建仓 2:平仓
  6438. type: integer
  6439. currencyname:
  6440. description: 币种名称
  6441. type: string
  6442. exexchangecode:
  6443. description: 交易所代码
  6444. type: string
  6445. exexchangename:
  6446. description: 交易所名称
  6447. type: string
  6448. goodscode:
  6449. description: 合约代码
  6450. type: string
  6451. goodsid:
  6452. description: 合约id
  6453. type: integer
  6454. goodsname:
  6455. description: 合约名称
  6456. type: string
  6457. hasinnerorder:
  6458. description: 是否有内部单关联 - 0:无 1:有
  6459. type: integer
  6460. hedgeaccountcode:
  6461. description: 外部账号 | 对冲账号
  6462. type: string
  6463. outtradeid:
  6464. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6465. type: string
  6466. tradeprice:
  6467. description: 成交价格
  6468. type: number
  6469. tradeqty:
  6470. description: 成交数量
  6471. type: integer
  6472. tradetime:
  6473. description: 成交时间
  6474. type: string
  6475. type: object
  6476. models.Ermcp3PaAreaAuditCfg:
  6477. properties:
  6478. areauserid:
  6479. description: 用户ID
  6480. type: integer
  6481. buyinauditflag:
  6482. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6483. type: integer
  6484. costratioauditflag:
  6485. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6486. type: integer
  6487. customerauditflag:
  6488. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6489. type: integer
  6490. deliveryauditflag:
  6491. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6492. type: integer
  6493. invoiceauditflag:
  6494. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6495. type: integer
  6496. mgneedhedgeratioauditflag:
  6497. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6498. type: integer
  6499. moneyauditflag:
  6500. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6501. type: integer
  6502. operatorid:
  6503. description: 操作人
  6504. type: integer
  6505. operatorsrc:
  6506. description: 操作来源 - 1:管理端 2:终端
  6507. type: integer
  6508. pointpriceauditflag:
  6509. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6510. type: integer
  6511. produceinauditflag:
  6512. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6513. type: integer
  6514. produceoutauditflag:
  6515. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6516. type: integer
  6517. selloutauditflag:
  6518. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6519. type: integer
  6520. sgconvertratioauditflag:
  6521. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6522. type: integer
  6523. sgvtaratioauditflag:
  6524. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6525. type: integer
  6526. spotcontractauditflag:
  6527. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6528. type: integer
  6529. updatetime:
  6530. description: 更新时间
  6531. type: string
  6532. type: object
  6533. models.Ermcp3PaAreaSubject:
  6534. properties:
  6535. areauserid:
  6536. description: 所属机构
  6537. type: integer
  6538. canmodify:
  6539. description: 是否可修改 - 0:否 1:是
  6540. type: integer
  6541. createtime:
  6542. description: 创建时间
  6543. type: string
  6544. creatorid:
  6545. description: 创建人ID
  6546. type: string
  6547. creatorsrc:
  6548. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6549. type: integer
  6550. modifierid:
  6551. description: 修改人
  6552. type: string
  6553. modifiersrc:
  6554. description: 修改人来源 - 1:管理端 2:终端
  6555. type: integer
  6556. modifytime:
  6557. description: 修改时间
  6558. type: string
  6559. parentsubjectid:
  6560. description: 上级主体ID
  6561. type: string
  6562. remark:
  6563. description: 备注
  6564. type: string
  6565. subjectid:
  6566. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6567. type: integer
  6568. subjectname:
  6569. description: 主体名称
  6570. type: string
  6571. subjectstatus:
  6572. description: '主体状态 - 1:正常 2: 停用'
  6573. type: integer
  6574. subjecttype:
  6575. description: 主体类型 - 1:交易主体 2:业务部门
  6576. type: integer
  6577. type: object
  6578. models.Ermcp3PaTradeLink:
  6579. properties:
  6580. accountid:
  6581. description: 期货账户代码 | 账号ID
  6582. type: integer
  6583. agreeunit:
  6584. description: 合约乘数
  6585. type: number
  6586. buyorsell:
  6587. description: 方向 - 0:买 1:卖
  6588. type: integer
  6589. channelbuildtype:
  6590. description: 委托单据类型 0:无 1:建仓 2:平仓
  6591. type: integer
  6592. charge:
  6593. description: 手续费
  6594. type: number
  6595. closepl:
  6596. description: 平仓盈亏
  6597. type: number
  6598. closetype:
  6599. description: 平仓方式 - 0:无 1:平今 2:平昨
  6600. type: integer
  6601. convertratio:
  6602. description: 折算系数
  6603. type: number
  6604. enumdicname:
  6605. description: 单位名称
  6606. type: string
  6607. executeprice:
  6608. description: 执行价 [期权]
  6609. type: integer
  6610. goodscode:
  6611. description: 合约代码
  6612. type: string
  6613. goodsgroupid:
  6614. description: 对冲品种ID[期货合约商品组ID]
  6615. type: integer
  6616. goodsid:
  6617. description: 商品ID
  6618. type: integer
  6619. goodsname:
  6620. description: 合约名称
  6621. type: string
  6622. goodunitid:
  6623. description: 单位id
  6624. type: integer
  6625. hedgeflag:
  6626. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6627. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6628. type: integer
  6629. marketid:
  6630. description: 市场ID
  6631. type: integer
  6632. middlegoodsid:
  6633. description: 套保品种ID
  6634. type: integer
  6635. middlegoodsqty:
  6636. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6637. type: number
  6638. optioncode:
  6639. description: 期权代码 [期权]
  6640. type: string
  6641. ordertype:
  6642. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6643. type: integer
  6644. ordertypename:
  6645. description: 订单类型
  6646. type: string
  6647. parentaccountid:
  6648. description: 所属母账户
  6649. type: integer
  6650. premium:
  6651. description: 权利金 [期权]
  6652. type: number
  6653. relatedlot:
  6654. description: 已关联数量(已关联数量手) | db:关联手数
  6655. type: number
  6656. relatedouttradeid:
  6657. description: 关联外部成交单ID
  6658. type: string
  6659. relatedqty:
  6660. description: 关联数量
  6661. type: number
  6662. spotcontractid:
  6663. description: 现货合同ID [4:套期保值\10\11]
  6664. type: string
  6665. taname:
  6666. description: 期货账户名称
  6667. type: string
  6668. tradeamount:
  6669. description: 成交金额(账户)
  6670. type: number
  6671. tradedate:
  6672. description: 交易日(yyyyMMdd)
  6673. type: string
  6674. tradeid:
  6675. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6676. type: string
  6677. tradelot:
  6678. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6679. type: integer
  6680. tradeprice:
  6681. description: 成交价格
  6682. type: number
  6683. tradetime:
  6684. description: 时间 | db:成交时间
  6685. type: string
  6686. tradetype:
  6687. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6688. type: integer
  6689. userid:
  6690. description: 所属机构 - 所属母账户的UserID
  6691. type: string
  6692. username:
  6693. description: 用户名称
  6694. type: string
  6695. type: object
  6696. models.Ermcp3ParamChangeApp:
  6697. properties:
  6698. aftervalue:
  6699. description: 变更后
  6700. type: number
  6701. applicationid:
  6702. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6703. type: string
  6704. applyid:
  6705. description: 申请人
  6706. type: string
  6707. applyname:
  6708. description: 申请人名称(代码)
  6709. type: string
  6710. applyremark:
  6711. description: 申请备注
  6712. type: string
  6713. applysrc:
  6714. description: 申请来源 - 1:管理端 2:终端
  6715. type: integer
  6716. applystatus:
  6717. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6718. type: integer
  6719. applytime:
  6720. description: 申请时间
  6721. type: string
  6722. areauserid:
  6723. description: 所属机构用户ID
  6724. type: integer
  6725. auditid:
  6726. description: 审核人
  6727. type: string
  6728. auditname:
  6729. description: 审核人名称(代码)
  6730. type: string
  6731. auditremark:
  6732. description: 审核备注
  6733. type: string
  6734. auditsrc:
  6735. description: 审核来源 - 1:管理端 2:终端
  6736. type: integer
  6737. audittime:
  6738. description: 审核时间
  6739. type: string
  6740. audittradedate:
  6741. description: 审核交易日(yyyyMMdd)
  6742. type: string
  6743. beforevalue:
  6744. description: 变更前
  6745. type: number
  6746. deliverygoodscode:
  6747. description: 品种代码
  6748. type: string
  6749. deliverygoodsid:
  6750. description: 品种id
  6751. type: integer
  6752. deliverygoodsname:
  6753. description: 品种名称
  6754. type: string
  6755. middlegoodscode:
  6756. description: 套保品种代码
  6757. type: string
  6758. middlegoodsid:
  6759. description: 套保品种ID [ParamChangeType = 2,3,4]
  6760. type: integer
  6761. middlegoodsname:
  6762. description: 套保品种名称
  6763. type: string
  6764. operatetype:
  6765. description: 操作类型 - 1:新增 2:修改
  6766. type: integer
  6767. paramchangetype:
  6768. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6769. type: integer
  6770. wrstandardcode:
  6771. description: 现货商品代码
  6772. type: string
  6773. wrstandardid:
  6774. description: 现货商品ID [ParamChangeType = 1,2,3]
  6775. type: integer
  6776. wrstandardname:
  6777. description: 现货商品名称
  6778. type: string
  6779. type: object
  6780. models.Ermcp3RootUserAccount:
  6781. properties:
  6782. accountname:
  6783. description: 账户名称(机构名称)
  6784. type: string
  6785. accountstatus:
  6786. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6787. type: integer
  6788. applysrc:
  6789. description: 申请来源 - 1:管理端 2:终端
  6790. type: integer
  6791. auditremark:
  6792. description: 审核备注
  6793. type: string
  6794. auditsrc:
  6795. description: 审核来源 - 1:管理端 2:终端
  6796. type: integer
  6797. audittime:
  6798. description: 审核时间
  6799. type: string
  6800. audituserid:
  6801. description: 审核人
  6802. type: integer
  6803. broker:
  6804. description: 所属经纪人ID
  6805. type: integer
  6806. canceltime:
  6807. description: 销户时间
  6808. type: string
  6809. canceluserid:
  6810. description: 销户人
  6811. type: integer
  6812. canrecommend:
  6813. description: 是否可推荐 - 0:不可 1;可
  6814. type: integer
  6815. createtime:
  6816. description: 创建时间
  6817. type: string
  6818. creatorid:
  6819. description: 创建人
  6820. type: integer
  6821. hasauth:
  6822. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6823. type: integer
  6824. isanonymous:
  6825. description: 是否匿名下单 - 0:否 1:是
  6826. type: integer
  6827. maxinvestornum:
  6828. description: 最大用户数(经纪会员下投资者个数)
  6829. type: integer
  6830. memberuserid:
  6831. description: 所属会员ID
  6832. type: integer
  6833. modifierid:
  6834. description: 修改人
  6835. type: integer
  6836. modifyremark:
  6837. description: 变更备注
  6838. type: string
  6839. modifystatus:
  6840. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6841. type: integer
  6842. modifytime:
  6843. description: 修改时间
  6844. type: string
  6845. nickname:
  6846. description: 昵称
  6847. type: string
  6848. parenttopuser:
  6849. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6850. type: string
  6851. parentuserid:
  6852. description: 所属机构ID
  6853. type: integer
  6854. reckonaccountid:
  6855. description: 默认结算资金账号ID(机构分润使用) 作废
  6856. type: integer
  6857. refercount:
  6858. description: 推荐总人数
  6859. type: integer
  6860. refereeuserid:
  6861. description: 推荐人ID
  6862. type: integer
  6863. refernum:
  6864. description: 推荐码
  6865. type: string
  6866. rootuserid:
  6867. description: 根用户ID
  6868. type: integer
  6869. subaccountlevel:
  6870. description: 子账户层数
  6871. type: integer
  6872. subarealevelpath:
  6873. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6874. type: string
  6875. userid:
  6876. description: 用户ID
  6877. type: integer
  6878. usertype:
  6879. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6880. type: integer
  6881. type: object
  6882. models.Ermcp3SCMiddleGoods:
  6883. properties:
  6884. biztype:
  6885. description: 业务类型 1:套保 2:套利
  6886. type: integer
  6887. contractno:
  6888. description: 合同编号
  6889. type: string
  6890. contracttype:
  6891. description: 合同类型 1:采购 -1:销售
  6892. type: integer
  6893. convertratio:
  6894. description: 折算系数
  6895. type: number
  6896. customername:
  6897. description: 对手手名称
  6898. type: string
  6899. customeruserid:
  6900. description: 对手id
  6901. type: integer
  6902. deliverygoodscode:
  6903. description: 现货品种代码
  6904. type: string
  6905. deliverygoodsid:
  6906. description: 现货品种ID
  6907. type: integer
  6908. deliverygoodsname:
  6909. description: 现货品种名称
  6910. type: string
  6911. enumdicname:
  6912. description: 现货单位名称
  6913. type: string
  6914. middlegoodsid:
  6915. description: 套保品种ID
  6916. type: integer
  6917. middlegoodspricedqty3:
  6918. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6919. type: number
  6920. needhedgeratio:
  6921. description: 套保比例
  6922. type: number
  6923. pricedqty:
  6924. description: 已定价量
  6925. type: number
  6926. relatedmiddlegoodsqty:
  6927. description: 已关联量(套保品种)(期货)
  6928. type: number
  6929. spotcontractid:
  6930. description: 合同编号
  6931. type: string
  6932. unitid:
  6933. description: 现货单位id
  6934. type: integer
  6935. userid:
  6936. description: 用户id
  6937. type: integer
  6938. vatrate:
  6939. description: 增值税率
  6940. type: number
  6941. wrstandardcode:
  6942. description: 现货商品代码
  6943. type: string
  6944. wrstandardid:
  6945. description: 现货商品id
  6946. type: integer
  6947. wrstandardname:
  6948. description: 现货商品名称
  6949. type: string
  6950. type: object
  6951. models.Ermcp3SCMiddleGoodsReport:
  6952. properties:
  6953. begindate:
  6954. description: 开始交易日
  6955. type: string
  6956. contractno:
  6957. description: 合同编号
  6958. type: string
  6959. contracttype:
  6960. description: 合同类型 1:采购 -1:销售
  6961. type: integer
  6962. convertratio:
  6963. description: 折算系数
  6964. type: number
  6965. cycletime:
  6966. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6967. type: string
  6968. cycletype:
  6969. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6970. type: integer
  6971. deliverygoodscode:
  6972. description: 品种代码
  6973. type: string
  6974. deliverygoodsid:
  6975. description: 现货品种ID
  6976. type: integer
  6977. deliverygoodsname:
  6978. description: 品种名称
  6979. type: string
  6980. diffprice:
  6981. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6982. type: number
  6983. diffqty:
  6984. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6985. type: number
  6986. enddate:
  6987. description: 结束交易日
  6988. type: string
  6989. hedgeplanqty:
  6990. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6991. type: number
  6992. matchname:
  6993. description: 交易对手方(个人:用户名称 企业:简称)
  6994. type: string
  6995. matchnickname:
  6996. description: 交易对手方昵称
  6997. type: string
  6998. middlegoodscode:
  6999. description: 套保品种代码
  7000. type: string
  7001. middlegoodsid:
  7002. description: 套保品种ID
  7003. type: integer
  7004. middlegoodsname:
  7005. description: 套保品种名称
  7006. type: string
  7007. middlegoodspricedqty:
  7008. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7009. type: number
  7010. middlegoodspricedqty2:
  7011. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7012. type: number
  7013. middlegoodspricedqty3:
  7014. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7015. type: number
  7016. needhedgeratio:
  7017. description: 套保系数
  7018. type: number
  7019. pricedamount:
  7020. description: 已定价额(现货)
  7021. type: number
  7022. pricedamount2:
  7023. description: 已定价额(现货-基价额)
  7024. type: number
  7025. pricedqty:
  7026. description: 已定价量(现货)
  7027. type: number
  7028. reckondate:
  7029. description: 日照时期(yyyyMMdd)
  7030. type: string
  7031. relatedmiddlegoodsamount:
  7032. description: 已关联额(期货)
  7033. type: number
  7034. relatedmiddlegoodsqty:
  7035. description: 已关联量(套保品种)(期货)
  7036. type: number
  7037. spotcontractid:
  7038. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7039. type: string
  7040. todayavgfutuprice:
  7041. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7042. type: number
  7043. todayavgprice:
  7044. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7045. type: number
  7046. todayavgprice2:
  7047. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7048. type: number
  7049. todaypricedamount:
  7050. description: 今日定价额(现货)
  7051. type: number
  7052. todaypricedamount2:
  7053. description: 今日定价额(现货-基价额)
  7054. type: number
  7055. todaypricedqty:
  7056. description: 今日定价量(现货)
  7057. type: number
  7058. todayrelatedfutureqty:
  7059. description: 今日关联量(期货)
  7060. type: number
  7061. todayrelatedmiddlegoodsamount:
  7062. description: 今日关联额(期货)
  7063. type: number
  7064. todayrelatedmiddlegoodsqty:
  7065. description: 今日关联量(套保品-期货)
  7066. type: number
  7067. updatetime:
  7068. description: 更新时间
  7069. type: string
  7070. userid:
  7071. description: 合同所属用户id
  7072. type: integer
  7073. vatrate:
  7074. description: 增值税率
  7075. type: number
  7076. wrstandardcode:
  7077. description: 商品(品类) 代码
  7078. type: string
  7079. wrstandardid:
  7080. description: 现货商品ID
  7081. type: integer
  7082. wrstandardname:
  7083. description: 商品(品类) 名称
  7084. type: string
  7085. type: object
  7086. models.Ermcp3SellBuyContract:
  7087. properties:
  7088. accountid:
  7089. description: 期货账户id
  7090. type: string
  7091. accountname:
  7092. description: 账户名称
  7093. type: string
  7094. attachment:
  7095. description: 附件
  7096. type: string
  7097. audittime:
  7098. description: 审核时间
  7099. type: string
  7100. bizsubjectid:
  7101. description: 归属业务部门ID - SubjectID
  7102. type: integer
  7103. biztype:
  7104. description: 业务类型 1-套保 2-套利
  7105. type: integer
  7106. brandname:
  7107. description: 品牌名称
  7108. type: string
  7109. contracctstatus:
  7110. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7111. type: integer
  7112. contractmargin:
  7113. description: 合同保证金
  7114. type: number
  7115. contractno:
  7116. description: 合同编号
  7117. type: string
  7118. contracttype:
  7119. description: 合同类型 1-采购, -1-销售
  7120. type: integer
  7121. convertfactor:
  7122. description: 标仓系数(品类)
  7123. type: number
  7124. createtime:
  7125. description: 创建时间
  7126. type: string
  7127. currencyid:
  7128. description: 币种id
  7129. type: integer
  7130. currencyname:
  7131. description: 币种名称
  7132. type: string
  7133. daikaiamount:
  7134. description: 应收(开)票额 | 未收票额
  7135. type: number
  7136. deliveryenddate:
  7137. description: 交割结束日
  7138. type: string
  7139. deliverygoodscode:
  7140. description: 现货品种代码
  7141. type: string
  7142. deliverygoodsid:
  7143. description: 现货商品ID
  7144. type: integer
  7145. deliverygoodsname:
  7146. description: 现货品种名称
  7147. type: string
  7148. deliverystartdate:
  7149. description: 交割开始日
  7150. type: string
  7151. enddate:
  7152. description: 点价结束日
  7153. type: string
  7154. enumdicname:
  7155. description: 单位名称
  7156. type: string
  7157. goodscode:
  7158. description: 点价商品代码
  7159. type: string
  7160. goodsgroupid:
  7161. description: 点价商品组id
  7162. type: integer
  7163. goodsid:
  7164. description: 点价商品ID
  7165. type: integer
  7166. goodsname:
  7167. description: 点价商品名称
  7168. type: string
  7169. invoiceamount:
  7170. description: 已开票额
  7171. type: number
  7172. loanamount:
  7173. description: 贷款总额=已定价额+调整金额
  7174. type: number
  7175. margin:
  7176. description: 保证金
  7177. type: number
  7178. meruserid:
  7179. description: 跟单员id
  7180. type: integer
  7181. meruserlogincode:
  7182. description: 跟单员登录代码
  7183. type: string
  7184. merusername:
  7185. description: 跟单员名称
  7186. type: string
  7187. nickname:
  7188. description: 账户昵称
  7189. type: string
  7190. orireckonrealqty:
  7191. description: 应交收量
  7192. type: number
  7193. payamount:
  7194. description: 已收付额(收款或付款)
  7195. type: number
  7196. preinvoiceamount:
  7197. description: 预收(开)票额
  7198. type: number
  7199. prepayamount:
  7200. description: 预收付额
  7201. type: number
  7202. price:
  7203. description: 价格
  7204. type: number
  7205. pricedamount:
  7206. description: 已定价额
  7207. type: number
  7208. pricedavg:
  7209. description: 已点均价
  7210. type: number
  7211. pricedqty:
  7212. description: 已定价量
  7213. type: number
  7214. pricemove:
  7215. description: 升贴水
  7216. type: number
  7217. pricetype:
  7218. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7219. type: integer
  7220. producttype:
  7221. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7222. type: integer
  7223. qty:
  7224. description: 合同量
  7225. type: number
  7226. reckonadjustamount:
  7227. description: 调整金额
  7228. type: number
  7229. reckonedamount:
  7230. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7231. type: number
  7232. reckonotheramount:
  7233. description: 其它费用
  7234. type: number
  7235. reckonrealqty:
  7236. description: 已交收量
  7237. type: number
  7238. remark:
  7239. description: 备注
  7240. type: string
  7241. saleuserid:
  7242. description: 业务员id
  7243. type: integer
  7244. saleuserlogincode:
  7245. description: 业务员登录代码
  7246. type: string
  7247. saleusername:
  7248. description: 业务员名称
  7249. type: string
  7250. spotcontractid:
  7251. description: 合同ID
  7252. type: string
  7253. spotgoodsbrandid:
  7254. description: 现货品牌ID(DGFactoryItem表的ID)
  7255. type: integer
  7256. spotgoodsdesc:
  7257. description: 商品型号(商品规格)
  7258. type: string
  7259. startdate:
  7260. description: 点价开始日
  7261. type: string
  7262. subjectid:
  7263. description: 交易主体ID
  7264. type: integer
  7265. subjectname:
  7266. description: 交易主体名称
  7267. type: string
  7268. totalamount:
  7269. description: 合计总额
  7270. type: number
  7271. tradeuserid:
  7272. description: 交易员id
  7273. type: integer
  7274. tradeuserlogincode:
  7275. description: 交易员登录代码
  7276. type: string
  7277. tradeusername:
  7278. description: 交易员名称
  7279. type: string
  7280. unpayamount:
  7281. description: 应收付款额(应支付或应收款) | 未付款额
  7282. type: number
  7283. unpricedqty:
  7284. description: 未定价量
  7285. type: number
  7286. unsureqty:
  7287. description: 未确定量 | 未交收量
  7288. type: number
  7289. userid:
  7290. description: 机构ID
  7291. type: integer
  7292. vatrate:
  7293. description: 增值税率
  7294. type: number
  7295. wrstandardcode:
  7296. description: 品类代码
  7297. type: string
  7298. wrstandardid:
  7299. description: 品类ID
  7300. type: integer
  7301. wrstandardname:
  7302. description: 品类名称
  7303. type: string
  7304. type: object
  7305. models.Ermcp3SpotGoodsPrice:
  7306. properties:
  7307. areauserid:
  7308. description: 所属机构id
  7309. type: integer
  7310. brandname:
  7311. description: 品牌名称
  7312. type: string
  7313. currencyid:
  7314. description: 报价货币ID
  7315. type: integer
  7316. currencyname:
  7317. description: 币种名称
  7318. type: string
  7319. deliverygoodscode:
  7320. description: 现货商品代码
  7321. type: string
  7322. deliverygoodsid:
  7323. description: 现货商品id
  7324. type: integer
  7325. deliverygoodsname:
  7326. description: 现货商品名称
  7327. type: string
  7328. enumdicname:
  7329. description: 现货商品单位名称
  7330. type: string
  7331. gbenumdicname:
  7332. description: 品类单位名称
  7333. type: string
  7334. gmunitid:
  7335. description: 品类单位id
  7336. type: integer
  7337. isvalid:
  7338. description: 是否有效 - 0:无效 1:有效
  7339. type: integer
  7340. operateid:
  7341. description: 最后操作人
  7342. type: integer
  7343. operatesrc:
  7344. description: 最后操作来源 - 1:管理端 2:终端
  7345. type: integer
  7346. operatetime:
  7347. description: 最后操作时间
  7348. type: string
  7349. operatorname:
  7350. description: 操作人名称
  7351. type: string
  7352. spotgoodsbrandid:
  7353. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7354. type: integer
  7355. spotgoodsprice:
  7356. description: 现货价格
  7357. type: number
  7358. tradedate:
  7359. description: 交易日(yyyyMMdd)
  7360. type: string
  7361. unitid:
  7362. description: 现货商品单位id
  7363. type: integer
  7364. wrstandardcode:
  7365. description: 品类代码
  7366. type: string
  7367. wrstandardid:
  7368. description: 现货品类ID(通用则为0)
  7369. type: integer
  7370. wrstandardname:
  7371. description: 品类名称
  7372. type: string
  7373. type: object
  7374. models.Ermcp3SpotGoodsPriceLog:
  7375. properties:
  7376. areauserid:
  7377. description: 所属机构id
  7378. type: integer
  7379. brandname:
  7380. description: 品牌名称
  7381. type: string
  7382. currencyid:
  7383. description: 报价货币ID
  7384. type: integer
  7385. deliverygoodscode:
  7386. description: 现货商品代码
  7387. type: string
  7388. deliverygoodsid:
  7389. description: 现货商品id
  7390. type: integer
  7391. deliverygoodsname:
  7392. description: 现货商品名称
  7393. type: string
  7394. enumdicname:
  7395. description: 现货商品单位名称
  7396. type: string
  7397. gbenumdicname:
  7398. description: 品类单位名称
  7399. type: string
  7400. gmunitid:
  7401. description: 品类单位id
  7402. type: integer
  7403. logid:
  7404. description: 日志id
  7405. type: integer
  7406. operateid:
  7407. description: 最后操作人
  7408. type: integer
  7409. operatesrc:
  7410. description: 最后操作来源 - 1:管理端 2:终端
  7411. type: integer
  7412. operatetime:
  7413. description: 最后操作时间
  7414. type: string
  7415. operatorname:
  7416. description: 操作人名称
  7417. type: string
  7418. spotgoodsbrandid:
  7419. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7420. type: integer
  7421. spotgoodsprice:
  7422. description: 现货价格
  7423. type: number
  7424. tradedate:
  7425. description: 交易日(yyyyMMdd)
  7426. type: string
  7427. unitid:
  7428. description: 现货商品单位id
  7429. type: integer
  7430. wrstandardcode:
  7431. description: 品类代码
  7432. type: string
  7433. wrstandardid:
  7434. description: 现货品类ID(通用则为0)
  7435. type: integer
  7436. wrstandardname:
  7437. description: 品类名称
  7438. type: string
  7439. type: object
  7440. models.Ermcp3SubTaaccount:
  7441. properties:
  7442. accountid:
  7443. description: 资金账户ID
  7444. type: integer
  7445. parentaccountcode:
  7446. description: 所属根账号代码(母账号代码)
  7447. type: string
  7448. parentaccountid:
  7449. description: 所属根账号(母账号)
  7450. type: integer
  7451. taname:
  7452. description: 资金账号名称
  7453. type: string
  7454. tradestatus:
  7455. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7456. type: integer
  7457. username:
  7458. description: 交易用户
  7459. type: string
  7460. type: object
  7461. models.Ermcp3TaFutuReDataReport:
  7462. properties:
  7463. accountid:
  7464. description: 交易账户
  7465. type: integer
  7466. accountname:
  7467. description: 交易账号名称
  7468. type: string
  7469. agreeunit:
  7470. description: 商品合约单位
  7471. type: number
  7472. begindate:
  7473. description: 开始交易日
  7474. type: string
  7475. buyorsell:
  7476. description: 持仓方向
  7477. type: integer
  7478. charge:
  7479. description: 手续费
  7480. type: number
  7481. closeavgprice:
  7482. description: 平仓均价
  7483. type: number
  7484. closepl:
  7485. description: 平仓损益
  7486. type: number
  7487. currencyid:
  7488. description: 结算币种ID
  7489. type: integer
  7490. currencyname:
  7491. description: 币种名称
  7492. type: string
  7493. cycletime:
  7494. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7495. type: string
  7496. cycletype:
  7497. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7498. type: integer
  7499. enddate:
  7500. description: 结束交易日
  7501. type: string
  7502. enumdicname:
  7503. description: 单位名称
  7504. type: string
  7505. floatpl:
  7506. description: 浮动损益
  7507. type: number
  7508. goodscode:
  7509. description: 交易合约代码
  7510. type: string
  7511. goodsgroupid:
  7512. description: 交易品种
  7513. type: integer
  7514. goodsgroupname:
  7515. description: 交易品种名称
  7516. type: string
  7517. goodsgroupspotqty:
  7518. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7519. type: number
  7520. goodsid:
  7521. description: 交易合约
  7522. type: integer
  7523. goodsname:
  7524. description: 交易合约名称
  7525. type: string
  7526. goodunitid:
  7527. description: 交易合约单位id
  7528. type: integer
  7529. holdamount:
  7530. description: 期末持仓额
  7531. type: number
  7532. holdqty:
  7533. description: 期末持仓量
  7534. type: number
  7535. lastholdamount:
  7536. description: 当前持仓额
  7537. type: number
  7538. lastprice:
  7539. description: 最新价
  7540. type: number
  7541. middlegoodsid:
  7542. description: 套保品种id
  7543. type: integer
  7544. middlegoodsname:
  7545. description: 套保商品名称
  7546. type: string
  7547. middlegoodsqty:
  7548. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7549. type: number
  7550. middlgoodscode:
  7551. description: 套保商品代码
  7552. type: string
  7553. openamount:
  7554. description: 期末开仓额
  7555. type: number
  7556. openavgprice:
  7557. description: 开仓均价
  7558. type: number
  7559. oriholdamount:
  7560. description: 期初持仓额
  7561. type: number
  7562. oriholdqty:
  7563. description: 期初持仓量
  7564. type: number
  7565. oriopenamount:
  7566. description: 期初开仓额
  7567. type: number
  7568. outergroupcode:
  7569. description: 交易品种代码
  7570. type: string
  7571. qtydecimalplace:
  7572. description: 成交量小数位
  7573. type: integer
  7574. reckondate:
  7575. description: 日照时期(yyyyMMdd)
  7576. type: string
  7577. reckonholdamount:
  7578. description: 结算持仓额
  7579. type: number
  7580. reckonpl:
  7581. description: 结算损益
  7582. type: number
  7583. reckonpl2:
  7584. description: 结算逐笔盈亏
  7585. type: number
  7586. reckonprice:
  7587. description: 结算价
  7588. type: number
  7589. relateduserid:
  7590. description: 账户关联用户ID
  7591. type: integer
  7592. todaycloseamount:
  7593. description: 今平仓额
  7594. type: number
  7595. todaycloseqty:
  7596. description: 今平仓量
  7597. type: number
  7598. todaygoodsgroupspotqty:
  7599. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7600. type: number
  7601. todaymiddlegoodsqty:
  7602. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7603. type: number
  7604. todayopenamount:
  7605. description: 今开仓额
  7606. type: number
  7607. todayopenqty:
  7608. description: 今开仓量
  7609. type: number
  7610. userid:
  7611. description: 账户所属用户ID
  7612. type: integer
  7613. type: object
  7614. models.Ermcp3TradeLinkDetail:
  7615. properties:
  7616. accountid:
  7617. description: 资金账号
  7618. type: integer
  7619. agreeunit:
  7620. description: 合约乘数
  7621. type: number
  7622. areauserid:
  7623. description: 所属机构
  7624. type: string
  7625. bizsubjectid:
  7626. description: 归属业务部门ID - SubjectID
  7627. type: string
  7628. buyorsell:
  7629. description: 方向 - 0:买 1:卖
  7630. type: integer
  7631. channelbuildtype:
  7632. description: 委托单据类型 0:无 1:建仓 2:平仓
  7633. type: integer
  7634. contractno:
  7635. description: 现货编号 (合同编号)
  7636. type: string
  7637. convertratio:
  7638. description: 折算系数
  7639. type: number
  7640. createtime:
  7641. description: 关联时间 | 创建时间
  7642. type: string
  7643. creatorid:
  7644. description: 创建人ID
  7645. type: string
  7646. creatorsrc:
  7647. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7648. type: integer
  7649. enumdicname:
  7650. description: 单位名称
  7651. type: string
  7652. goodscode:
  7653. description: 合约代码
  7654. type: string
  7655. goodsgroupid:
  7656. description: 对冲品种ID[期货合约商品组ID]
  7657. type: integer
  7658. goodsid:
  7659. description: 商品ID
  7660. type: integer
  7661. goodsname:
  7662. description: 合约名称
  7663. type: string
  7664. hedgeflag:
  7665. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7666. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7667. type: integer
  7668. linkdetailid:
  7669. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7670. type: string
  7671. linkstatus:
  7672. description: 关联状态 - 1:成功 2:失败 3:解绑
  7673. type: integer
  7674. middlegoodscode:
  7675. description: 套保品种代码
  7676. type: string
  7677. middlegoodsid:
  7678. description: 套保品种ID
  7679. type: integer
  7680. middlegoodsname:
  7681. description: 套保品种名称
  7682. type: string
  7683. relatedlot:
  7684. description: 关联手数
  7685. type: number
  7686. relatedmode:
  7687. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7688. type: integer
  7689. relatedqty:
  7690. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7691. type: number
  7692. retcode:
  7693. description: 返回码
  7694. type: integer
  7695. saleuserid:
  7696. description: 业务员ID
  7697. type: string
  7698. spotcontractid:
  7699. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7700. type: string
  7701. taname:
  7702. description: 期货账户
  7703. type: string
  7704. tradedate:
  7705. description: 关联交易日(yyyyMMdd)
  7706. type: string
  7707. tradeid:
  7708. description: 期货订单号 | 内部成交单ID
  7709. type: string
  7710. tradelot:
  7711. description: 成交数量 | 成交手数
  7712. type: integer
  7713. tradeprice:
  7714. description: 成交价格
  7715. type: number
  7716. tradetime:
  7717. description: 期货成交时间
  7718. type: string
  7719. tradetradedate:
  7720. description: 成交交易日(yyyyMMdd)
  7721. type: string
  7722. username:
  7723. description: 用户名称
  7724. type: string
  7725. type: object
  7726. models.Ermcp3Wrstandard:
  7727. properties:
  7728. areauserid:
  7729. description: 所属机构
  7730. type: integer
  7731. cantrade:
  7732. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7733. type: integer
  7734. convertfactor:
  7735. description: 标仓系数
  7736. type: number
  7737. createtime:
  7738. description: 创建时间
  7739. type: string
  7740. creatorid:
  7741. description: 创建人
  7742. type: integer
  7743. deliverygoodsid:
  7744. description: 现货品种ID
  7745. type: integer
  7746. enumdicname:
  7747. description: 品类单位名称
  7748. type: string
  7749. isvalid:
  7750. description: 是否有效 0-无效(停用) 1-有效(正常)
  7751. type: integer
  7752. minivalue:
  7753. description: 最小变动值
  7754. type: integer
  7755. minivaluedp:
  7756. description: 最小变动值小数位
  7757. type: integer
  7758. realminivalue:
  7759. description: 实际最小变动值
  7760. type: integer
  7761. realminivaluedp:
  7762. description: 实际最小变动值小数位
  7763. type: integer
  7764. remark:
  7765. description: 备注
  7766. type: string
  7767. unitid:
  7768. description: 品类单位ID
  7769. type: integer
  7770. updatetime:
  7771. description: 更新时间
  7772. type: string
  7773. wrstandardcode:
  7774. description: 品类代码
  7775. type: string
  7776. wrstandardid:
  7777. description: 品类ID(SEQ_WRSTANDARD)
  7778. type: integer
  7779. wrstandardname:
  7780. description: 品类名称
  7781. type: string
  7782. type: object
  7783. models.Ermcp8EnableHedgeditem:
  7784. properties:
  7785. accountname:
  7786. description: 套期主体
  7787. type: string
  7788. hedgeditemid:
  7789. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7790. type: string
  7791. hedgeditemname:
  7792. description: 项目名称
  7793. type: string
  7794. hedgeditemnum:
  7795. description: 项目编号
  7796. type: string
  7797. hedgedtype:
  7798. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7799. type: integer
  7800. planenddate:
  7801. description: 计划结束日期
  7802. type: string
  7803. planstartdate:
  7804. description: 计划开始日期
  7805. type: string
  7806. type: object
  7807. models.Ermcp8HedgeditemReport:
  7808. properties:
  7809. accountname:
  7810. description: 套期主体
  7811. type: string
  7812. areauserid:
  7813. description: 企业ID
  7814. type: integer
  7815. curprice:
  7816. description: '[当日现货市场价]当前市场价'
  7817. type: number
  7818. enumdicname:
  7819. description: 单位
  7820. type: string
  7821. exeamount:
  7822. description: '[执行现货金额]执行市价总额'
  7823. type: number
  7824. exeavgprice:
  7825. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7826. type: number
  7827. exeqty:
  7828. description: '[执行数量]执行现货量'
  7829. type: number
  7830. futurehedgepl:
  7831. description: 期货实际损益
  7832. type: number
  7833. futurehedgeplchange:
  7834. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7835. type: number
  7836. futurepl:
  7837. description: 期货套期损益
  7838. type: number
  7839. futureplchange:
  7840. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7841. type: number
  7842. hedgeamount:
  7843. description: '[套期现货金额]套期市价总额'
  7844. type: number
  7845. hedgeditemnum:
  7846. description: 项目编号,模糊查询
  7847. type: string
  7848. hedgeditemstatus:
  7849. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7850. type: integer
  7851. hedgedtype:
  7852. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7853. type: integer
  7854. hedgeqty:
  7855. description: '[套期数量]套期现货量'
  7856. type: number
  7857. oriavgprice:
  7858. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7859. type: number
  7860. orifuturehedgepl:
  7861. description: 期初期货实际损益
  7862. type: number
  7863. orifuturepl:
  7864. description: 期初期货套期损益
  7865. type: number
  7866. orispothedgepl:
  7867. description: 期初现货实际损益
  7868. type: number
  7869. orispotpl:
  7870. description: 期初现货套期损益
  7871. type: number
  7872. planenddate:
  7873. description: 计划结束日期
  7874. type: string
  7875. planstartdate:
  7876. description: 计划开始日期
  7877. type: string
  7878. spothedgepl:
  7879. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7880. type: number
  7881. spothedgeplchange:
  7882. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7883. type: number
  7884. spotpl:
  7885. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7886. type: number
  7887. spotplchange:
  7888. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7889. type: number
  7890. tradeuserid:
  7891. description: 交易用户ID
  7892. type: integer
  7893. unexeqty:
  7894. description: 未执行现货量 = 套期现货量 - 执行现货量
  7895. type: number
  7896. wrstandardcode:
  7897. description: 现货品类代码
  7898. type: string
  7899. wrstandardid:
  7900. description: 现货商品ID
  7901. type: integer
  7902. wrstandardname:
  7903. description: '[现货商品]现货品类名称'
  7904. type: string
  7905. type: object
  7906. models.Ermcp8RunningHedgeditem:
  7907. properties:
  7908. accountname:
  7909. description: 套期主体
  7910. type: string
  7911. applyid:
  7912. description: 申请人
  7913. type: integer
  7914. applysrc:
  7915. description: 申请来源 - 1:管理端 2:终端
  7916. type: integer
  7917. areauserid:
  7918. description: 企业ID
  7919. type: integer
  7920. auditid:
  7921. description: 审核人
  7922. type: integer
  7923. auditremark:
  7924. description: 审核备注
  7925. type: string
  7926. auditsrc:
  7927. description: 审核来源 - 1:管理端 2:终端
  7928. type: integer
  7929. audittime:
  7930. description: 审核时间
  7931. type: string
  7932. audittradedate:
  7933. description: 审核交易日(yyyyMMdd)
  7934. type: string
  7935. createtime:
  7936. description: 申请时间
  7937. type: string
  7938. curprice:
  7939. description: 当前市场价
  7940. type: number
  7941. curstock:
  7942. description: 期末库存量 = 采购总量 - 销售总量
  7943. type: number
  7944. deliverygoodsid:
  7945. description: 现货品种ID
  7946. type: integer
  7947. enddate:
  7948. description: 完成日期
  7949. type: string
  7950. endtradedate:
  7951. description: 完成交易日
  7952. type: string
  7953. enumdicname:
  7954. description: 单位
  7955. type: string
  7956. exeamount:
  7957. description: 执行市价总额
  7958. type: number
  7959. exeavgprice:
  7960. description: 执行市场均价= 执行市价总额 / 执行现货量
  7961. type: number
  7962. execontractamount:
  7963. description: 执行定价总额
  7964. type: number
  7965. exeqty:
  7966. description: 执行现货量
  7967. type: number
  7968. exerestamount:
  7969. description: 执行剩余市价总额【现货贸易】
  7970. type: number
  7971. futurefloatpl:
  7972. description: 期货浮动损益
  7973. type: number
  7974. futurehedgepl:
  7975. description: 期货实际损益
  7976. type: number
  7977. futurehedgeplchange:
  7978. description: 期货实际损益变动
  7979. type: number
  7980. futurepl:
  7981. description: 期货套期损益
  7982. type: number
  7983. futureplchange:
  7984. description: 期货套期损益变动
  7985. type: number
  7986. hedgeamount:
  7987. description: 套期市价总额
  7988. type: number
  7989. hedgecontractamount:
  7990. description: 套期定价总额 【定价采购合同】【现货贸易】
  7991. type: number
  7992. hedgeditemid:
  7993. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7994. type: string
  7995. hedgeditemname:
  7996. description: 项目名称
  7997. type: string
  7998. hedgeditemnum:
  7999. description: 项目编号
  8000. type: string
  8001. hedgeditemstatus:
  8002. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8003. type: integer
  8004. hedgedtype:
  8005. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8006. type: integer
  8007. hedgeqty:
  8008. description: 套期现货量
  8009. type: number
  8010. hedgerate:
  8011. description: 套保比率
  8012. type: number
  8013. hedgerestamount:
  8014. description: 套期剩余市价总额【现货贸易】
  8015. type: number
  8016. hedgesumpl:
  8017. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8018. type: number
  8019. middlegoodslist:
  8020. description: 套期商品列表
  8021. items:
  8022. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8023. type: array
  8024. oriavgprice:
  8025. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8026. type: number
  8027. orifuturehedgepl:
  8028. description: 期初期货实际损益
  8029. type: number
  8030. orifuturepl:
  8031. description: 期初期货套期损益
  8032. type: number
  8033. orispothedgepl:
  8034. description: 期初现货实际损益
  8035. type: number
  8036. orispotpl:
  8037. description: 期初现货套期损益
  8038. type: number
  8039. planenddate:
  8040. description: 计划结束日期
  8041. type: string
  8042. planstartdate:
  8043. description: 计划开始日期
  8044. type: string
  8045. remark:
  8046. description: 备注
  8047. type: string
  8048. spotbookamount:
  8049. description: 现货账面总额
  8050. type: number
  8051. spotfloatpl:
  8052. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8053. type: number
  8054. spothedgepl:
  8055. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8056. type: number
  8057. spothedgeplchange:
  8058. description: 现货实际损益变动
  8059. type: number
  8060. spotpl:
  8061. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8062. type: number
  8063. spotplchange:
  8064. description: 现货套期损益变动
  8065. type: number
  8066. spottradepl:
  8067. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8068. type: number
  8069. sumobspl:
  8070. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8071. type: number
  8072. tradeuserid:
  8073. description: 交易用户ID
  8074. type: integer
  8075. unexeqty:
  8076. description: 未执行现货量 = 套期现货量 - 执行现货量
  8077. type: number
  8078. updatetime:
  8079. description: 更新时间
  8080. type: string
  8081. vatpl:
  8082. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8083. type: number
  8084. vatrate:
  8085. description: 增值税
  8086. type: number
  8087. wrstandardid:
  8088. description: 现货商品ID
  8089. type: integer
  8090. wrstandardname:
  8091. description: 商品名称
  8092. type: string
  8093. type: object
  8094. models.ErmcpBizGroupEx:
  8095. properties:
  8096. acclist:
  8097. description: 账号列表
  8098. items:
  8099. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8100. type: array
  8101. bizgroupid:
  8102. description: 业务分组id
  8103. type: integer
  8104. biztype:
  8105. description: 业务类型 1-套保 2-套利
  8106. type: integer
  8107. wrlist:
  8108. description: 现货商品表
  8109. items:
  8110. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8111. type: array
  8112. type: object
  8113. models.ErmcpBizGroupSpotGoods:
  8114. properties:
  8115. areauserid:
  8116. description: 所属机构id
  8117. type: integer
  8118. bizgroupid:
  8119. description: 分组id
  8120. type: integer
  8121. biztype:
  8122. description: 业务类型 1-套保 2-套利
  8123. type: integer
  8124. deliverygoodscode:
  8125. description: 现货商品代码
  8126. type: string
  8127. deliverygoodsid:
  8128. description: 现货商品id
  8129. type: integer
  8130. deliverygoodsname:
  8131. description: 现货商品名称
  8132. type: string
  8133. unitid:
  8134. description: 现货商品单位id
  8135. type: integer
  8136. type: object
  8137. models.ErmcpBizGroupTaAccount:
  8138. properties:
  8139. accountid:
  8140. description: 账号id
  8141. type: integer
  8142. accountname:
  8143. description: 账号名称
  8144. type: string
  8145. areauserid:
  8146. description: 所属机构id
  8147. type: integer
  8148. bizgroupid:
  8149. description: 业务分组id
  8150. type: integer
  8151. ismain:
  8152. description: 是否主账号 1-是 0-否
  8153. type: integer
  8154. type: object
  8155. models.ErmcpDGFactoryItem:
  8156. properties:
  8157. areauserid:
  8158. description: 用户id
  8159. type: integer
  8160. deliverygoodsid:
  8161. description: 现货品种ID
  8162. type: integer
  8163. dgfactoryitemid:
  8164. description: 选择项ID(SEQ_DGFACTORYITEM)
  8165. type: integer
  8166. dgfactoryitemtypeid:
  8167. description: 要素项类型
  8168. type: integer
  8169. dgfactoryitemvalue:
  8170. description: 要素项值(类型为仓库时填写仓库名称)
  8171. type: string
  8172. isvalid:
  8173. description: 是否有效 - 0:无效 1:有效
  8174. type: integer
  8175. orderindex:
  8176. description: 顺序
  8177. type: integer
  8178. warehouseid:
  8179. description: 仓库ID(类型为仓库时填写)
  8180. type: integer
  8181. type: object
  8182. models.ErmcpDeliveryGoods:
  8183. properties:
  8184. agreeunit:
  8185. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8186. type: integer
  8187. areauserid:
  8188. description: 所属机构
  8189. type: integer
  8190. auditflag:
  8191. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8192. type: integer
  8193. categoryid:
  8194. description: 类别ID(SEQ_WRCATEGORY)
  8195. type: integer
  8196. deliverygoodscode:
  8197. description: 现货品种代码
  8198. type: string
  8199. deliverygoodsid:
  8200. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8201. type: integer
  8202. deliverygoodsname:
  8203. description: 现货品种名称
  8204. type: string
  8205. deliverygoodstype:
  8206. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8207. type: integer
  8208. dgstatus:
  8209. description: 品种状态 - 作废 - 0:未激活 1:正常
  8210. type: integer
  8211. enumdicname:
  8212. description: 现货品种单位名称
  8213. type: string
  8214. goodsunitid:
  8215. description: 现货品种单位ID
  8216. type: integer
  8217. isvalid:
  8218. description: 是否有效 - 0:无效 1:有效
  8219. type: integer
  8220. qtydecimalplace:
  8221. description: 成交量小数位
  8222. type: integer
  8223. remark:
  8224. description: 备注
  8225. type: string
  8226. standardqty:
  8227. description: 标准数量(库位数量) [标准品特有]
  8228. type: integer
  8229. standardqtyrange:
  8230. description: 标准数量偏差范围 [标准品特有]
  8231. type: integer
  8232. type: object
  8233. models.ErmcpFuturesCompany:
  8234. properties:
  8235. brokerid:
  8236. description: 经纪公司代码
  8237. type: string
  8238. channeladdress:
  8239. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8240. type: string
  8241. channelid:
  8242. description: 对冲渠道ID
  8243. type: string
  8244. createtime:
  8245. description: 创建时间
  8246. type: string
  8247. creatorid:
  8248. description: 创建人
  8249. type: string
  8250. fcid:
  8251. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8252. type: integer
  8253. fcname:
  8254. description: 期货公司名称
  8255. type: string
  8256. isvalid:
  8257. description: 是否有效 - 0:无效 1:有效
  8258. type: integer
  8259. mhpaddress:
  8260. description: MHP服务地址(IP:Port)
  8261. type: string
  8262. riskrulegroupid:
  8263. description: 风控规则组ID
  8264. type: string
  8265. tradefeetmpid:
  8266. description: 手续费模板ID[TradeConfigTmpType为2]
  8267. type: string
  8268. trademargintmpid:
  8269. description: 保证金模板ID [TradeConfigTmpType为1]
  8270. type: string
  8271. traderatetmpid:
  8272. description: 汇率模板ID[TradeConfigTmpType为3]
  8273. type: string
  8274. updatetime:
  8275. description: 更新时间
  8276. type: string
  8277. updatorid:
  8278. description: 更新人
  8279. type: string
  8280. type: object
  8281. models.ErmcpGGConvertCfg:
  8282. properties:
  8283. convertratio:
  8284. description: 折算系数
  8285. type: number
  8286. destgoodsgroupid:
  8287. description: 目标品种ID
  8288. type: integer
  8289. dstcode:
  8290. description: 目录品种代码
  8291. type: string
  8292. dstexchangecode:
  8293. description: 目标期货交易所
  8294. type: string
  8295. dstname:
  8296. description: 目标品种名称
  8297. type: string
  8298. dstunitid:
  8299. description: 目标品种单位ID
  8300. type: integer
  8301. dstunitidname:
  8302. description: 目标品种单位名称
  8303. type: string
  8304. modifytime:
  8305. description: 修改时间
  8306. type: string
  8307. srccode:
  8308. description: 源品种代码
  8309. type: string
  8310. srcexchangecode:
  8311. description: 源期货交易所
  8312. type: string
  8313. srcgoodsgroupid:
  8314. description: 源品种ID
  8315. type: integer
  8316. srcname:
  8317. description: 源品种名称
  8318. type: string
  8319. srcunitid:
  8320. description: 源品种单位ID
  8321. type: integer
  8322. srcunitidname:
  8323. description: 源品种单位名称
  8324. type: string
  8325. type: object
  8326. models.ErmcpGoods:
  8327. properties:
  8328. agreeunit:
  8329. description: 合约单位
  8330. type: number
  8331. areauserid:
  8332. description: 所属机构
  8333. type: integer
  8334. auditaccountid:
  8335. description: 审核操作员账号
  8336. type: integer
  8337. audittime:
  8338. description: 审核时间
  8339. type: string
  8340. cancelaccountid:
  8341. description: 注销操作员账号
  8342. type: integer
  8343. canceltime:
  8344. description: 注销时间
  8345. type: string
  8346. closepricemode:
  8347. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8348. type: integer
  8349. closepriceparam:
  8350. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8351. type: number
  8352. createtime:
  8353. description: 创建时间
  8354. type: string
  8355. creatorid:
  8356. description: 创建人
  8357. type: integer
  8358. currencyid:
  8359. description: 报价货币ID
  8360. type: integer
  8361. cutmode:
  8362. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8363. type: integer
  8364. decimalplace:
  8365. description: 报价小数位
  8366. type: integer
  8367. delistingdate:
  8368. description: 商品退市时间(状态:退市) -- 已作废
  8369. type: string
  8370. delistingmode:
  8371. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8372. type: integer
  8373. deliveryflag:
  8374. description: 交割标志 - 0:不可交割 1:可交割
  8375. type: integer
  8376. enumdicname:
  8377. description: 单位名称
  8378. type: string
  8379. forceclosemode:
  8380. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8381. type: integer
  8382. forceclosevalue:
  8383. description: 定期强平参数 [收益权]
  8384. type: integer
  8385. goodscode:
  8386. description: 商品代码(内部)
  8387. type: string
  8388. goodscurrencyid:
  8389. description: 合约货币ID
  8390. type: integer
  8391. goodsgroupid:
  8392. description: 所属商品组ID
  8393. type: integer
  8394. goodsid:
  8395. description: 商品ID(自增ID SEQ_GOODS)
  8396. type: integer
  8397. goodsname:
  8398. description: 商品名称
  8399. type: string
  8400. goodsquotetype:
  8401. description: '合约报价类型: 1-直接报价 2-间接报价'
  8402. type: integer
  8403. goodsstatus:
  8404. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8405. type: integer
  8406. goodstradetype:
  8407. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8408. type: integer
  8409. goodunitid:
  8410. description: 报价单位ID
  8411. type: integer
  8412. hasquoter:
  8413. description: 是否有报价商 - 0:无报价商 1:有报价商
  8414. type: integer
  8415. hqprotecttime:
  8416. description: 行情保护时间(秒)
  8417. type: integer
  8418. innerdealmode:
  8419. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8420. type: integer
  8421. isbuylimited:
  8422. description: 是否限制建仓量 - 0:不限制 1:限制
  8423. type: integer
  8424. isvisible:
  8425. description: 游客是否可见 - 0:不可见 1:可见
  8426. type: integer
  8427. lasttradedate:
  8428. description: 最后交易日期(状态:待退市)
  8429. type: string
  8430. listingdate:
  8431. description: 交易开始日期
  8432. type: string
  8433. marketid:
  8434. description: 所属市场ID
  8435. type: integer
  8436. modifierid:
  8437. description: 修改人
  8438. type: integer
  8439. modifystatus:
  8440. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8441. type: integer
  8442. modifytime:
  8443. description: 修改时间
  8444. type: string
  8445. outerdealmode:
  8446. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8447. type: integer
  8448. outgoodscode:
  8449. description: 商品代码(外部)
  8450. type: string
  8451. pictureurl:
  8452. description: 商品图片
  8453. type: string
  8454. qtydecimalplace:
  8455. description: 成交量小数位
  8456. type: integer
  8457. quotegear:
  8458. description: 行情档位(1-10)
  8459. type: integer
  8460. quoteminunit:
  8461. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8462. type: integer
  8463. quoteshowtype:
  8464. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8465. type: integer
  8466. quoteshowtypeinterval:
  8467. description: 行情报价间隔时间(秒)(成交价时为0)
  8468. type: integer
  8469. relatedgoodsid:
  8470. description: 关联参考商品ID
  8471. type: integer
  8472. remark:
  8473. description: 备注
  8474. type: string
  8475. trademode:
  8476. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8477. 21:竞拍-大宗式 22:受托竞价
  8478. type: integer
  8479. required:
  8480. - goodscode
  8481. - goodsid
  8482. - goodsname
  8483. - marketid
  8484. type: object
  8485. models.ErmcpGoodsBrand:
  8486. properties:
  8487. areauserid:
  8488. description: 所属机构
  8489. type: integer
  8490. brandid:
  8491. description: BrandID(SEQ_SPOTGOODSBRAND)
  8492. type: integer
  8493. brandname:
  8494. description: 品牌名称
  8495. type: string
  8496. createtime:
  8497. description: 创建时间
  8498. type: string
  8499. creatorid:
  8500. description: 创建人
  8501. type: integer
  8502. creatorsrc:
  8503. description: 创建人来源 - 1:管理端 2:终端
  8504. type: integer
  8505. deliverygoodsid:
  8506. description: 现货品种ID
  8507. type: integer
  8508. isvalid:
  8509. description: 是否有效 - 0:无效 1:有效
  8510. type: integer
  8511. updatetime:
  8512. description: 更新时间
  8513. type: string
  8514. updatorid:
  8515. description: 更新人
  8516. type: integer
  8517. updatorsrc:
  8518. description: 更新人来源 - 1:管理端 2:终端
  8519. type: integer
  8520. wrstandardid:
  8521. description: 现货商品ID
  8522. type: integer
  8523. type: object
  8524. models.ErmcpGoodsModel:
  8525. properties:
  8526. areauserid:
  8527. description: 所属机构
  8528. type: integer
  8529. convertfactor:
  8530. description: 标仓系数
  8531. type: number
  8532. createtime:
  8533. description: 创建时间
  8534. type: string
  8535. creatorid:
  8536. description: 创建人
  8537. type: integer
  8538. creatorsrc:
  8539. description: 创建人来源 - 1:管理端 2:终端
  8540. type: integer
  8541. deliverygoodsid:
  8542. description: 现货品种ID
  8543. type: integer
  8544. isvalid:
  8545. description: 是否有效 - 0:无效 1:有效
  8546. type: integer
  8547. modelid:
  8548. description: ModelID(SEQ_SPOTGOODSMODEL)
  8549. type: integer
  8550. modelname:
  8551. description: 型号名称
  8552. type: string
  8553. updatetime:
  8554. description: 更新时间
  8555. type: string
  8556. updatorid:
  8557. description: 更新人
  8558. type: integer
  8559. updatorsrc:
  8560. description: 更新人来源 - 1:管理端 2:终端
  8561. type: integer
  8562. wrstandardid:
  8563. description: 现货商品ID
  8564. type: integer
  8565. type: object
  8566. models.ErmcpHisExposure:
  8567. properties:
  8568. needhedgeexposoure:
  8569. description: 应套保敞口
  8570. type: number
  8571. reckondate:
  8572. description: 日照时期(yyyyMMdd)
  8573. type: string
  8574. totalexposure:
  8575. description: 总敞口
  8576. type: number
  8577. type: object
  8578. models.ErmcpLoginTaAccount:
  8579. properties:
  8580. accountid:
  8581. description: 账号id
  8582. type: integer
  8583. accountname:
  8584. description: 账号名称
  8585. type: string
  8586. type: object
  8587. models.ErmcpLoginUser:
  8588. properties:
  8589. acclist:
  8590. description: 关联资金账号
  8591. items:
  8592. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8593. type: array
  8594. accountname:
  8595. description: 用户名称
  8596. type: string
  8597. clientroleid:
  8598. description: 角色id(usertype=2)
  8599. type: integer
  8600. createtime:
  8601. description: 创建时间
  8602. type: string
  8603. logincode:
  8604. description: 登录代码
  8605. type: string
  8606. loginid:
  8607. description: 登录id(LOGINID)
  8608. type: integer
  8609. loginname:
  8610. description: 登录名称(loginaccount表中的accountname字段)
  8611. type: string
  8612. loginstatus:
  8613. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8614. type: integer
  8615. memberuserid:
  8616. description: 所属会员id
  8617. type: integer
  8618. mobile:
  8619. description: 手机号
  8620. type: string
  8621. modifytime:
  8622. description: 修改时间
  8623. type: string
  8624. password:
  8625. description: 密码(不可解密)
  8626. type: string
  8627. rolename:
  8628. description: 角色名称
  8629. type: string
  8630. rolestatus:
  8631. description: 角色状态 1-启用 2-停用
  8632. type: integer
  8633. roletype:
  8634. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8635. type: string
  8636. userid:
  8637. description: 用户id
  8638. type: integer
  8639. usertype:
  8640. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8641. type: integer
  8642. type: object
  8643. models.ErmcpLoginUserEx:
  8644. properties:
  8645. accountstatus:
  8646. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8647. type: integer
  8648. mobile:
  8649. description: 手机号
  8650. type: string
  8651. querytype:
  8652. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8653. type: integer
  8654. roleid:
  8655. description: 角色id(交易账户->用户id)
  8656. type: integer
  8657. rolename:
  8658. description: 角色名称(交易账户->用户名称)
  8659. type: string
  8660. userlist:
  8661. description: 用户列表
  8662. items:
  8663. $ref: '#/definitions/models.ErmcpLoginUser'
  8664. type: array
  8665. usertype:
  8666. description: 用户类型 2-机构 7-企业成员(云平台)
  8667. type: integer
  8668. type: object
  8669. models.ErmcpMiddleGoodsModel:
  8670. properties:
  8671. areauserid:
  8672. description: 机构用户ID
  8673. type: integer
  8674. createtime:
  8675. description: 修改时间
  8676. type: string
  8677. enumdicname:
  8678. description: 单位名称
  8679. type: string
  8680. evaluateratio:
  8681. description: 估价系数
  8682. type: number
  8683. goodsgroupid:
  8684. description: 关联期货品种ID
  8685. type: integer
  8686. goodsunitid:
  8687. description: 单位ID
  8688. type: integer
  8689. isvalid:
  8690. description: 状态 0-无效(停用) 1-有效(正常)
  8691. type: integer
  8692. middlegoodscode:
  8693. description: 套保品种代码
  8694. type: string
  8695. middlegoodsid:
  8696. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8697. type: integer
  8698. middlegoodsname:
  8699. description: 套保品种名称
  8700. type: string
  8701. modifytime:
  8702. description: 修改时间
  8703. type: string
  8704. needarbitrageratio:
  8705. description: 套利比例
  8706. type: number
  8707. needhedgeratio:
  8708. description: 套保比率
  8709. type: number
  8710. qtydecimalplace:
  8711. description: 数量小数位
  8712. type: integer
  8713. relatedgoodsid:
  8714. description: 关联交易商品ID
  8715. type: integer
  8716. relatedgoodstype:
  8717. description: 关联商品类型 - 1:期货合约 2:现货品种
  8718. type: integer
  8719. remark:
  8720. description: 备注
  8721. type: string
  8722. type: object
  8723. models.ErmcpMiddlegoodsRelateGoods:
  8724. properties:
  8725. agreeunit:
  8726. description: 合约乘数
  8727. type: number
  8728. convertratio:
  8729. description: 折算系数
  8730. type: number
  8731. enumdicname:
  8732. description: 单位名称(交易商品)
  8733. type: string
  8734. goodscode:
  8735. description: 交易商品代码
  8736. type: string
  8737. goodsgroupid:
  8738. description: 交易品种id
  8739. type: integer
  8740. goodsid:
  8741. description: 商品Id
  8742. type: integer
  8743. goodsname:
  8744. description: 交易商品名称
  8745. type: string
  8746. goodunitid:
  8747. description: 交易商品单位id
  8748. type: integer
  8749. middlegoodsid:
  8750. description: 套保商品id
  8751. type: integer
  8752. middlegoodsname:
  8753. description: 套保商品名称
  8754. type: string
  8755. middlegoodsswcode:
  8756. description: 套保商品代码
  8757. type: string
  8758. needarbitrageratio:
  8759. description: 应套利比例
  8760. type: number
  8761. needhedgeratio:
  8762. description: 应套保比例
  8763. type: number
  8764. type: object
  8765. models.ErmcpRole:
  8766. properties:
  8767. areauserid:
  8768. description: 所属机构
  8769. type: integer
  8770. autoid:
  8771. description: 角色ID(自增ID)
  8772. type: integer
  8773. modifierid:
  8774. description: 修改人(创建人)
  8775. type: integer
  8776. modifiername:
  8777. description: 修改人名称
  8778. type: string
  8779. modifytime:
  8780. description: 修改时间(创建时间)
  8781. type: string
  8782. rolename:
  8783. description: 角色名称
  8784. type: string
  8785. rolestatus:
  8786. description: 角色状态 - 1:启用 2:停用
  8787. type: integer
  8788. roletype:
  8789. description: 角色类型 - 1- 管理端 2- 交易端
  8790. type: integer
  8791. type: object
  8792. models.ErmcpRoleMenu:
  8793. properties:
  8794. iconame:
  8795. description: 菜单图标
  8796. type: string
  8797. ishadrole:
  8798. description: 是否有权限
  8799. type: boolean
  8800. menutype:
  8801. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8802. type: integer
  8803. parentcode:
  8804. description: 上级资源代码
  8805. type: string
  8806. remark:
  8807. description: 菜单备注
  8808. type: string
  8809. resourcecode:
  8810. description: 菜单代码
  8811. type: string
  8812. resourcelevel:
  8813. description: 级别
  8814. type: integer
  8815. resourcename:
  8816. description: 菜单名称
  8817. type: string
  8818. roleid:
  8819. description: 角色id
  8820. type: integer
  8821. sort:
  8822. description: 排序
  8823. type: integer
  8824. url:
  8825. description: URL
  8826. type: string
  8827. userid:
  8828. description: 用户id
  8829. type: integer
  8830. type: object
  8831. models.ErmcpRoleMenuEx:
  8832. properties:
  8833. menu:
  8834. $ref: '#/definitions/models.ErmcpRoleMenu'
  8835. description: 父级菜单
  8836. subMenu:
  8837. description: 子级菜单
  8838. items:
  8839. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8840. type: array
  8841. type: object
  8842. models.ErmcpSpotContractModelEx:
  8843. properties:
  8844. accountname:
  8845. description: 套期主体
  8846. type: string
  8847. amount:
  8848. description: 金额 [1:一口价、3:暂定价]
  8849. type: number
  8850. attachment:
  8851. description: 附件
  8852. type: string
  8853. auditremark:
  8854. description: 审核意见
  8855. type: string
  8856. audittime:
  8857. description: 审核时间
  8858. type: string
  8859. avgprice:
  8860. description: 定价均价 = 已定价金额 / 已定价量
  8861. type: number
  8862. brandname:
  8863. description: 品牌名称
  8864. type: string
  8865. buyuserid:
  8866. description: 采购方ID
  8867. type: integer
  8868. buyusername:
  8869. description: 采购方名称
  8870. type: string
  8871. contracctstatus:
  8872. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8873. type: integer
  8874. contractmargin:
  8875. description: 合同保证金
  8876. type: number
  8877. contractno:
  8878. description: '[合同编号]现货合同编号'
  8879. type: string
  8880. contracttype:
  8881. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8882. type: integer
  8883. convertfactor:
  8884. description: 标仓系数
  8885. type: number
  8886. createtime:
  8887. description: 创建时间
  8888. type: string
  8889. customername:
  8890. description: 对手方
  8891. type: string
  8892. customeruserid:
  8893. description: 客户ID
  8894. type: integer
  8895. deliveryenddate:
  8896. description: 交收期(结束)
  8897. type: string
  8898. deliverygoodscode:
  8899. description: 现货品种代码
  8900. type: string
  8901. deliverygoodsid:
  8902. description: 现货品种ID
  8903. type: integer
  8904. deliverygoodsname:
  8905. description: 现货品种名称
  8906. type: string
  8907. deliverystartdate:
  8908. description: 交收期(开始)
  8909. type: string
  8910. enddate:
  8911. description: 点价结束日期 [2:点价 3:暂定价]
  8912. type: string
  8913. enumdicname:
  8914. description: 单位名称
  8915. type: string
  8916. goodscode:
  8917. description: 点价合约代码
  8918. type: string
  8919. goodsid:
  8920. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8921. type: integer
  8922. goodsname:
  8923. description: 点价商品名称
  8924. type: string
  8925. isrelated:
  8926. description: 是否已关联计划项目 - 0:否 1:是
  8927. type: integer
  8928. isrelated2:
  8929. description: 是否已关联现货项目 - 0:否 1:是
  8930. type: integer
  8931. margin:
  8932. description: 当前保证金
  8933. type: number
  8934. modelname:
  8935. description: 型号名称
  8936. type: string
  8937. price:
  8938. description: 价格\暂定价 [1:一口价、3:暂定价]
  8939. type: number
  8940. pricedamount:
  8941. description: 已定价金额 = (点价价格+升贴水) * 数量
  8942. type: number
  8943. pricedqty:
  8944. description: 已定价量
  8945. type: number
  8946. pricemove:
  8947. description: 升贴水 [2:点价 3:暂定价]
  8948. type: number
  8949. pricetype:
  8950. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  8951. type: integer
  8952. producttype:
  8953. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  8954. type: integer
  8955. qty:
  8956. description: '[合同数量]数量'
  8957. type: number
  8958. remark:
  8959. description: 备注
  8960. type: string
  8961. selluserid:
  8962. description: 销售方ID
  8963. type: integer
  8964. sellusername:
  8965. description: 销售方名称
  8966. type: string
  8967. spotamount:
  8968. description: 合同现货金额 [不含升贴水]
  8969. type: number
  8970. spotavgprice:
  8971. description: 现货均价 = 合同现货金额 / 已定价量
  8972. type: number
  8973. spotcontractid:
  8974. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  8975. type: string
  8976. spotgoodsbrandid:
  8977. description: 现货品牌ID
  8978. type: integer
  8979. spotgoodsdesc:
  8980. description: 商品型号
  8981. type: string
  8982. spotgoodsmodelid:
  8983. description: 现货型号ID
  8984. type: integer
  8985. startdate:
  8986. description: 点价开始日期 [2:点价 3:暂定价]
  8987. type: string
  8988. tradeuserid:
  8989. description: 交易用户ID
  8990. type: integer
  8991. unpricedqty:
  8992. description: 未定价量 = 合同数量 - 已定价量
  8993. type: number
  8994. updatetime:
  8995. description: 更新时间
  8996. type: string
  8997. userid:
  8998. description: 机构ID
  8999. type: integer
  9000. wrstandardcode:
  9001. description: 现货商品代码
  9002. type: string
  9003. wrstandardid:
  9004. description: 现货商品ID
  9005. type: integer
  9006. wrstandardname:
  9007. description: '[现货商品]现货商品名称'
  9008. type: string
  9009. type: object
  9010. models.ErmcpTaAccount:
  9011. properties:
  9012. accountid:
  9013. description: 账户id
  9014. type: integer
  9015. accountname:
  9016. description: 账户名称
  9017. type: string
  9018. currencyid:
  9019. description: 币种id
  9020. type: integer
  9021. hedgeaccountcode:
  9022. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9023. type: string
  9024. ismain:
  9025. description: 是否主账户 0-否 1-是
  9026. type: integer
  9027. parentaccountid:
  9028. description: 父账户id
  9029. type: integer
  9030. relateduserid:
  9031. description: 关联userid
  9032. type: integer
  9033. tradefeetmpid:
  9034. description: 手续费模板id
  9035. type: integer
  9036. tradefeetmpname:
  9037. description: 手续费模板名称
  9038. type: string
  9039. trademargintmpid:
  9040. description: 保证金模板id
  9041. type: integer
  9042. trademargintmpname:
  9043. description: 保证金模板名称
  9044. type: string
  9045. traderatetmpid:
  9046. description: 汇率模板id
  9047. type: integer
  9048. traderatetmpname:
  9049. description: 汇率模板名称
  9050. type: string
  9051. tradestatus:
  9052. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9053. type: integer
  9054. userid:
  9055. description: 用户id
  9056. type: integer
  9057. type: object
  9058. models.ErmcpTaAccountEx:
  9059. properties:
  9060. mainAcc:
  9061. $ref: '#/definitions/models.ErmcpTaAccountM'
  9062. description: 主账号
  9063. subacclist:
  9064. description: 子账号列表
  9065. items:
  9066. $ref: '#/definitions/models.ErmcpTaAccount'
  9067. type: array
  9068. type: object
  9069. models.ErmcpTaAccountInfo:
  9070. properties:
  9071. accountid:
  9072. description: 资金账户ID
  9073. type: integer
  9074. accountname:
  9075. description: 账户名称
  9076. type: string
  9077. balance:
  9078. description: 期初余额
  9079. type: number
  9080. capitalbalance:
  9081. description: 本金余额[外部子账户实际出入金余额]
  9082. type: number
  9083. closepl:
  9084. description: 今日平仓盈亏
  9085. type: number
  9086. creditdecrease:
  9087. description: 今日授信减少
  9088. type: number
  9089. creditincrease:
  9090. description: 今日授信增加
  9091. type: number
  9092. curdebt:
  9093. description: 期末欠款
  9094. type: number
  9095. currencyid:
  9096. description: 货币ID
  9097. type: integer
  9098. currentbalance:
  9099. description: 期末余额
  9100. type: number
  9101. freezecharge:
  9102. description: 手续费冻结
  9103. type: number
  9104. freezemargin:
  9105. description: 冻结保证金
  9106. type: number
  9107. fromaccountid:
  9108. description: 所属上级账户
  9109. type: integer
  9110. inamount:
  9111. description: 今日入金金额(包括三方入金)
  9112. type: number
  9113. ismain:
  9114. description: 是否母账号 0:不是母账户 1:是母账户
  9115. type: integer
  9116. mortgagecredit:
  9117. description: 授信金额
  9118. type: number
  9119. oridebt:
  9120. description: 期初欠款
  9121. type: number
  9122. orifreezecharge:
  9123. description: 期初手续费冻结
  9124. type: number
  9125. orifreezemargin:
  9126. description: 期初冻结保证金
  9127. type: number
  9128. orimortgagecredit:
  9129. description: 期初授信金额
  9130. type: number
  9131. oriothercredit:
  9132. description: 期初其它授信金额
  9133. type: number
  9134. oriotherfreezemargin:
  9135. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9136. type: number
  9137. orioutamountfreeze:
  9138. description: 期初出金冻结
  9139. type: number
  9140. oriusedmargin:
  9141. description: 期初占用保证金
  9142. type: number
  9143. othercredit:
  9144. description: 其它授信金额
  9145. type: number
  9146. othercreditdecrease:
  9147. description: 今日其它授信减少
  9148. type: number
  9149. othercreditincrease:
  9150. description: 今日其它授信增加
  9151. type: number
  9152. otherfreezemargin:
  9153. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9154. type: number
  9155. outamount:
  9156. description: 今日出金金额(包括三方出金)
  9157. type: number
  9158. outamountfreeze:
  9159. description: 出金冻结
  9160. type: number
  9161. outthreshold:
  9162. description: 出金阈值
  9163. type: number
  9164. parentaccountid:
  9165. description: 所属根账号
  9166. type: integer
  9167. paycharge:
  9168. description: 今日手续费支出
  9169. type: number
  9170. relateduserid:
  9171. description: 关联用户
  9172. type: integer
  9173. signstatus:
  9174. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9175. type: integer
  9176. sublevelpath:
  9177. description: 账号层级路径(逗号分隔,首尾加逗号)
  9178. type: string
  9179. taaccounttype:
  9180. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9181. type: integer
  9182. thirdinamount:
  9183. description: 今日三方入金
  9184. type: number
  9185. thirdoutamount:
  9186. description: 今日三方出金
  9187. type: number
  9188. tradestatus:
  9189. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9190. type: integer
  9191. transferamount:
  9192. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9193. type: number
  9194. usedmargin:
  9195. description: 占用保证金
  9196. type: number
  9197. userid:
  9198. description: 用户ID
  9199. type: integer
  9200. type: object
  9201. models.ErmcpTaAccountM:
  9202. properties:
  9203. accountid:
  9204. description: 账户id
  9205. type: integer
  9206. accountname:
  9207. description: 账户名称
  9208. type: string
  9209. currencyid:
  9210. description: 币种id
  9211. type: integer
  9212. fcid:
  9213. description: 期货公司id
  9214. type: integer
  9215. fcname:
  9216. description: 期货公司代码
  9217. type: string
  9218. hedgeaccountcode:
  9219. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9220. type: string
  9221. ismain:
  9222. description: 是否主账户 0-否 1-是
  9223. type: integer
  9224. parentaccountid:
  9225. description: 父账户id
  9226. type: integer
  9227. relateduserid:
  9228. description: 关联userid
  9229. type: integer
  9230. tradefeetmpid:
  9231. description: 手续费模板id
  9232. type: integer
  9233. tradefeetmpname:
  9234. description: 手续费模板名称
  9235. type: string
  9236. trademargintmpid:
  9237. description: 保证金模板id
  9238. type: integer
  9239. trademargintmpname:
  9240. description: 保证金模板名称
  9241. type: string
  9242. traderatetmpid:
  9243. description: 汇率模板id
  9244. type: integer
  9245. traderatetmpname:
  9246. description: 汇率模板名称
  9247. type: string
  9248. tradestatus:
  9249. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9250. type: integer
  9251. userid:
  9252. description: 用户id
  9253. type: integer
  9254. type: object
  9255. models.ErmcpTradeConfigTMP:
  9256. properties:
  9257. areauserid:
  9258. description: 所属机构
  9259. type: integer
  9260. basiccurrencyid:
  9261. description: 基本币种ID[汇率] - 目标币种
  9262. type: integer
  9263. mainaccountid:
  9264. description: 主账户ID
  9265. type: integer
  9266. modifierid:
  9267. description: 修改人
  9268. type: integer
  9269. remark:
  9270. description: 备注
  9271. type: string
  9272. tradeconfigtmpid:
  9273. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9274. type: integer
  9275. tradeconfigtmpname:
  9276. description: 交易配置模板名称
  9277. type: string
  9278. tradeconfigtmptype:
  9279. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9280. type: integer
  9281. updatetime:
  9282. description: 更新时间
  9283. type: string
  9284. type: object
  9285. models.Ermcpjrlinkpos:
  9286. properties:
  9287. areauserid:
  9288. description: 所属企业
  9289. type: integer
  9290. averageprice:
  9291. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9292. type: number
  9293. closepl:
  9294. description: 总平仓盈亏 [期货损益]
  9295. type: number
  9296. executeprice:
  9297. description: 执行价 - 1:期货单 为 0
  9298. type: integer
  9299. futurehedgeqty:
  9300. description: 期货套期量
  9301. type: number
  9302. goodsid:
  9303. description: 期货合约
  9304. type: integer
  9305. middlegoodscode:
  9306. description: 套保商品代码
  9307. type: string
  9308. middlegoodsname:
  9309. description: 套保商品名称
  9310. type: string
  9311. netqty:
  9312. description: 净头寸
  9313. type: number
  9314. optioncode:
  9315. description: 期权代码
  9316. type: string
  9317. ordertype:
  9318. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9319. type: integer
  9320. reckonpl:
  9321. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9322. type: number
  9323. spotcontractid:
  9324. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9325. type: string
  9326. todayfutureclosepl:
  9327. description: 今日平仓盈亏
  9328. type: number
  9329. totalbuyamount:
  9330. description: 买金额 [期货]
  9331. type: number
  9332. totalbuyholdamount:
  9333. description: 买持仓总金额[期货]
  9334. type: number
  9335. totalbuyqty:
  9336. description: 买数量
  9337. type: number
  9338. totalcharge:
  9339. description: 手续费
  9340. type: number
  9341. totalpremium:
  9342. description: 权利金 [期权]
  9343. type: number
  9344. totalsellamount:
  9345. description: 卖金额 [期货]
  9346. type: number
  9347. totalsellholdamount:
  9348. description: 卖持仓总金额[期货]
  9349. type: number
  9350. totalsellqty:
  9351. description: 卖数量
  9352. type: number
  9353. updatetime:
  9354. description: 更新时间
  9355. type: string
  9356. required:
  9357. - spotcontractid
  9358. type: object
  9359. models.Ermcppatradelinkdetail:
  9360. properties:
  9361. agreeunit:
  9362. description: 合约乘数
  9363. type: number
  9364. amount:
  9365. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9366. type: number
  9367. areauserid:
  9368. description: 所属机构
  9369. type: integer
  9370. bizsubjectid:
  9371. description: 归属业务部门ID - SubjectID
  9372. type: integer
  9373. buyorsell:
  9374. description: 方向 - 0:买 1:卖
  9375. type: integer
  9376. convertratio:
  9377. description: 品种系数
  9378. type: number
  9379. createtime:
  9380. description: 创建时间
  9381. type: string
  9382. creatorid:
  9383. description: 创建人ID
  9384. type: integer
  9385. creatorsrc:
  9386. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9387. type: integer
  9388. goodsgroupid:
  9389. description: 对冲品种ID[期货合约商品组ID]
  9390. type: integer
  9391. goodsid:
  9392. description: 商品ID
  9393. type: integer
  9394. hedgeditemid:
  9395. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9396. type: integer
  9397. hedgeflag:
  9398. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9399. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9400. type: integer
  9401. linkdetailid:
  9402. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9403. type: string
  9404. linkstatus:
  9405. description: 关联状态 - 1:成功 2:失败 3:解绑
  9406. type: integer
  9407. middlegoodsid:
  9408. description: 套保品种ID
  9409. type: integer
  9410. name:
  9411. description: 账户名/子账户
  9412. type: string
  9413. optioncode:
  9414. description: '[期货合约]期权代码 [期权]'
  9415. type: string
  9416. ordertype:
  9417. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9418. type: integer
  9419. relatedlot:
  9420. description: '[数量]关联手数'
  9421. type: number
  9422. relatedmode:
  9423. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9424. type: integer
  9425. relatedqty:
  9426. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9427. type: number
  9428. retcode:
  9429. description: 返回码
  9430. type: integer
  9431. saleuserid:
  9432. description: 业务员ID
  9433. type: integer
  9434. tradedate:
  9435. description: 关联交易日(yyyyMMdd)
  9436. type: string
  9437. tradeid:
  9438. description: '[成交单号]内部成交单ID'
  9439. type: string
  9440. tradelot:
  9441. description: 成交手数
  9442. type: integer
  9443. tradeprice:
  9444. description: '[价格]成交价格'
  9445. type: number
  9446. tradetime:
  9447. description: 日期时间
  9448. type: string
  9449. tradetradedate:
  9450. description: 成交交易日(yyyyMMdd)
  9451. type: string
  9452. required:
  9453. - hedgeditemid
  9454. type: object
  9455. models.Externalexchange:
  9456. properties:
  9457. autoid:
  9458. description: AutoID - SEQ_EXTERNALEXCHANGE
  9459. type: integer
  9460. exchangefullname:
  9461. description: 外部交易所全称
  9462. type: string
  9463. exexchangecode:
  9464. description: 外部交易所代码
  9465. type: string
  9466. exexchangename:
  9467. description: 外部交易所名称(简称)
  9468. type: string
  9469. ismarketprice:
  9470. description: 是否支持市价 - 0:不支持 1:支持
  9471. type: integer
  9472. quotegear:
  9473. description: 行情档位(1-10)
  9474. type: integer
  9475. showbrokerflag:
  9476. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9477. type: integer
  9478. updatetime:
  9479. description: 更新时间
  9480. type: string
  9481. required:
  9482. - autoid
  9483. type: object
  9484. models.Funcmenulist:
  9485. properties:
  9486. iconame:
  9487. description: 菜单图标
  9488. type: string
  9489. menutype:
  9490. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9491. type: integer
  9492. parentcode:
  9493. description: 上级资源代码
  9494. type: string
  9495. remark:
  9496. description: 备注
  9497. type: string
  9498. resourcecode:
  9499. description: 资源代码
  9500. type: string
  9501. resourcelevel:
  9502. description: 级别 1-一级 2-二级 3-三级 4-四级
  9503. type: integer
  9504. resourcename:
  9505. description: 资源名
  9506. type: string
  9507. sort:
  9508. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9509. type: integer
  9510. url:
  9511. description: URL
  9512. type: string
  9513. required:
  9514. - resourcecode
  9515. type: object
  9516. models.Goods:
  9517. properties:
  9518. agreeunit:
  9519. description: 合约单位
  9520. type: number
  9521. areauserid:
  9522. description: 所属机构
  9523. type: integer
  9524. auditaccountid:
  9525. description: 审核操作员账号
  9526. type: integer
  9527. audittime:
  9528. description: 审核时间
  9529. type: string
  9530. cancelaccountid:
  9531. description: 注销操作员账号
  9532. type: integer
  9533. canceltime:
  9534. description: 注销时间
  9535. type: string
  9536. closepricemode:
  9537. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9538. type: integer
  9539. closepriceparam:
  9540. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9541. type: number
  9542. createtime:
  9543. description: 创建时间
  9544. type: string
  9545. creatorid:
  9546. description: 创建人
  9547. type: integer
  9548. currencyid:
  9549. description: 报价货币ID
  9550. type: integer
  9551. cutmode:
  9552. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9553. type: integer
  9554. decimalplace:
  9555. description: 报价小数位
  9556. type: integer
  9557. delistingdate:
  9558. description: 商品退市时间(状态:退市) -- 已作废
  9559. type: string
  9560. delistingmode:
  9561. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9562. type: integer
  9563. deliveryflag:
  9564. description: 交割标志 - 0:不可交割 1:可交割
  9565. type: integer
  9566. forceclosemode:
  9567. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9568. type: integer
  9569. forceclosevalue:
  9570. description: 定期强平参数 [收益权]
  9571. type: integer
  9572. goodscode:
  9573. description: 商品代码(内部)
  9574. type: string
  9575. goodscurrencyid:
  9576. description: 合约货币ID
  9577. type: integer
  9578. goodsgroupid:
  9579. description: 所属商品组ID
  9580. type: integer
  9581. goodsid:
  9582. description: 商品ID(自增ID SEQ_GOODS)
  9583. type: integer
  9584. goodsname:
  9585. description: 商品名称
  9586. type: string
  9587. goodsquotetype:
  9588. description: '合约报价类型: 1-直接报价 2-间接报价'
  9589. type: integer
  9590. goodsstatus:
  9591. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9592. type: integer
  9593. goodstradetype:
  9594. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9595. type: integer
  9596. goodunitid:
  9597. description: 报价单位ID
  9598. type: integer
  9599. hasquoter:
  9600. description: 是否有报价商 - 0:无报价商 1:有报价商
  9601. type: integer
  9602. hqprotecttime:
  9603. description: 行情保护时间(秒)
  9604. type: integer
  9605. innerdealmode:
  9606. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9607. type: integer
  9608. isbuylimited:
  9609. description: 是否限制建仓量 - 0:不限制 1:限制
  9610. type: integer
  9611. isvisible:
  9612. description: 游客是否可见 - 0:不可见 1:可见
  9613. type: integer
  9614. lasttradedate:
  9615. description: 最后交易日期(状态:待退市)
  9616. type: string
  9617. listingdate:
  9618. description: 交易开始日期
  9619. type: string
  9620. marketid:
  9621. description: 所属市场ID
  9622. type: integer
  9623. modifierid:
  9624. description: 修改人
  9625. type: integer
  9626. modifystatus:
  9627. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9628. type: integer
  9629. modifytime:
  9630. description: 修改时间
  9631. type: string
  9632. outerdealmode:
  9633. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9634. type: integer
  9635. outgoodscode:
  9636. description: 商品代码(外部)
  9637. type: string
  9638. pictureurl:
  9639. description: 商品图片
  9640. type: string
  9641. qtydecimalplace:
  9642. description: 成交量小数位
  9643. type: integer
  9644. quotegear:
  9645. description: 行情档位(1-10)
  9646. type: integer
  9647. quoteminunit:
  9648. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9649. type: integer
  9650. quoteshowtype:
  9651. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9652. type: integer
  9653. quoteshowtypeinterval:
  9654. description: 行情报价间隔时间(秒)(成交价时为0)
  9655. type: integer
  9656. remark:
  9657. description: 备注
  9658. type: string
  9659. required:
  9660. - goodscode
  9661. - goodsid
  9662. - goodsname
  9663. - marketid
  9664. type: object
  9665. models.GoodsIDAndName:
  9666. properties:
  9667. goodscode:
  9668. description: 商品代码(内部)
  9669. type: string
  9670. goodsid:
  9671. description: 商品ID(自增ID SEQ_GOODS)
  9672. type: integer
  9673. goodsname:
  9674. description: 商品名称
  9675. type: string
  9676. marketid:
  9677. description: 所属市场ID
  9678. type: integer
  9679. required:
  9680. - goodscode
  9681. - goodsid
  9682. - goodsname
  9683. - marketid
  9684. type: object
  9685. models.Goodsgroup:
  9686. properties:
  9687. agreeunit:
  9688. description: 合约单位
  9689. type: number
  9690. canshort:
  9691. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9692. type: integer
  9693. closepricemode:
  9694. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9695. type: integer
  9696. closepriceparam:
  9697. description: 强平最新价浮动比例 - 方式为2时使用
  9698. type: number
  9699. createtime:
  9700. description: 创建时间
  9701. type: string
  9702. creatorid:
  9703. description: 创建人
  9704. type: integer
  9705. currencyid:
  9706. description: 报价货币ID
  9707. type: integer
  9708. decimalplace:
  9709. description: 报价小数位
  9710. type: integer
  9711. exercisetype:
  9712. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9713. type: integer
  9714. exexchangeid:
  9715. description: 外部交易所ID[通道交易]
  9716. type: integer
  9717. goodsgroupid:
  9718. description: 商品组ID(自增ID)
  9719. type: integer
  9720. goodsgroupname:
  9721. description: 商品组名称
  9722. type: string
  9723. goodsgroupstatus:
  9724. description: 商品组状态 - 1:正常 2:注销
  9725. type: integer
  9726. goodunitid:
  9727. description: 报价单位ID
  9728. type: integer
  9729. innerdealmode:
  9730. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9731. type: integer
  9732. isbuylimited:
  9733. description: 是否限制建仓量 - 0:不限制 1:限制
  9734. type: integer
  9735. marketid:
  9736. description: 所属市场ID
  9737. type: integer
  9738. modifierid:
  9739. description: 修改人
  9740. type: integer
  9741. modifytime:
  9742. description: 修改时间
  9743. type: string
  9744. outerdealmode:
  9745. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9746. type: integer
  9747. outergroupcode:
  9748. description: 外部商品组代码[通道交易]
  9749. type: string
  9750. premiumdecimalplace:
  9751. description: 权利金小数位[场外期权]
  9752. type: integer
  9753. premiumspreadalgorithm:
  9754. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9755. type: integer
  9756. premiumspreadvalue:
  9757. description: 权利金点差值[场外期权]
  9758. type: number
  9759. qtydecimalplace:
  9760. description: 成交量小数位
  9761. type: integer
  9762. quotegear:
  9763. description: 行情档位(1-10)
  9764. type: integer
  9765. quoteminunit:
  9766. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9767. type: integer
  9768. quoterid:
  9769. description: 报价商ID[场外期权]
  9770. type: integer
  9771. quotesourcegroupid:
  9772. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9773. type: integer
  9774. syncgoodsqty:
  9775. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9776. type: integer
  9777. required:
  9778. - goodsgroupid
  9779. - goodsgroupname
  9780. - goodsgroupstatus
  9781. - marketid
  9782. type: object
  9783. models.Goodssortbypreposition:
  9784. properties:
  9785. goodscode:
  9786. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9787. type: string
  9788. goodsgroupcode:
  9789. description: 品种代码
  9790. type: string
  9791. prepositionqty:
  9792. description: 昨持仓量
  9793. type: integer
  9794. sortindex:
  9795. description: 排序
  9796. type: integer
  9797. tradedate:
  9798. description: 交易日
  9799. type: string
  9800. updatetime:
  9801. description: 更新时间
  9802. type: string
  9803. required:
  9804. - goodscode
  9805. - tradedate
  9806. type: object
  9807. models.Hedgeinnerholderdetail:
  9808. properties:
  9809. accountid:
  9810. description: 账号ID
  9811. type: integer
  9812. buyorsell:
  9813. description: 方向 - 0:买 1:卖
  9814. type: integer
  9815. freezeqty:
  9816. description: 冻结数量 - 按单平使用
  9817. type: integer
  9818. goodsid:
  9819. description: 商品ID
  9820. type: integer
  9821. holderamount:
  9822. description: 持仓金额 [商品币种]
  9823. type: number
  9824. holderdays:
  9825. description: 剩余冻结天数
  9826. type: integer
  9827. holderprice:
  9828. description: 持仓价格
  9829. type: number
  9830. holderqty:
  9831. description: 持仓数量
  9832. type: integer
  9833. marketid:
  9834. description: 市场ID
  9835. type: integer
  9836. openprice:
  9837. description: 建仓价格
  9838. type: number
  9839. openqty:
  9840. description: 建仓数量
  9841. type: integer
  9842. parentaccountid:
  9843. description: 所属母账户
  9844. type: integer
  9845. releaseamount:
  9846. description: 释放持仓金额[商品币种]
  9847. type: number
  9848. tradeamount:
  9849. description: 成交金额[账户]
  9850. type: number
  9851. tradedate:
  9852. description: 交易日(yyyyMMdd)
  9853. type: string
  9854. tradeid:
  9855. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9856. type: string
  9857. tradetime:
  9858. description: 交易时间
  9859. type: string
  9860. required:
  9861. - buyorsell
  9862. - tradeid
  9863. type: object
  9864. models.Hedgemarketopenlog:
  9865. properties:
  9866. accountid:
  9867. description: 资金账号[外部母账户]
  9868. type: integer
  9869. fcname:
  9870. description: 期货公司名称
  9871. type: string
  9872. handlestatus:
  9873. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9874. type: integer
  9875. marketid:
  9876. description: 市场ID
  9877. type: integer
  9878. status:
  9879. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9880. type: integer
  9881. tradedate:
  9882. description: 交易日(yyyyMMdd)
  9883. type: string
  9884. updatetime:
  9885. description: 更新时间
  9886. type: string
  9887. required:
  9888. - accountid
  9889. type: object
  9890. models.HsbyBuyMyPayOrder:
  9891. properties:
  9892. agreeunit:
  9893. description: 合约单位
  9894. type: number
  9895. buyaccountid:
  9896. description: 买方账号ID[报价币种]
  9897. type: integer
  9898. buyorderid:
  9899. description: 买方委托单号
  9900. type: string
  9901. createtime:
  9902. description: 创建时间
  9903. type: string
  9904. currencysign:
  9905. description: 货币符号
  9906. type: string
  9907. decimalplace:
  9908. description: 报价小数位
  9909. type: integer
  9910. goodscode:
  9911. description: 商品代码(内部)
  9912. type: string
  9913. goodsid:
  9914. description: 商品ID
  9915. type: integer
  9916. goodsname:
  9917. description: 商品名称
  9918. type: string
  9919. marketid:
  9920. description: 市场ID
  9921. type: integer
  9922. offamount:
  9923. description: 优惠金额
  9924. type: number
  9925. originalamount:
  9926. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9927. type: number
  9928. payamount:
  9929. description: 支付金额 = TradeAmount + TradeCharge
  9930. type: number
  9931. payflag:
  9932. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9933. type: integer
  9934. paylimitedtime:
  9935. description: 支付期限
  9936. type: string
  9937. paytime:
  9938. description: 付款时间
  9939. type: string
  9940. picurls1:
  9941. description: 预售商品介绍图片[多张用逗号分隔]
  9942. type: string
  9943. picurls2:
  9944. description: 挂牌商品介绍图片[多张用逗号分隔]
  9945. type: string
  9946. sellaccountid:
  9947. description: 卖方账号ID[报价币种]
  9948. type: integer
  9949. sellorderid:
  9950. description: 卖方委托单号
  9951. type: string
  9952. tradeamount:
  9953. description: 成交金额
  9954. type: number
  9955. tradecharge:
  9956. description: 成交手续费(买方)
  9957. type: number
  9958. tradedate:
  9959. description: 交易日(yyyyMMdd)
  9960. type: string
  9961. tradeid:
  9962. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9963. type: string
  9964. trademode:
  9965. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9966. 21:竞拍-大宗式 22:受托竞价
  9967. type: integer
  9968. tradeprice:
  9969. description: 成交价格
  9970. type: number
  9971. tradeqty:
  9972. description: 成交数量
  9973. type: integer
  9974. vendorname1:
  9975. description: 预售商品供应商名称
  9976. type: string
  9977. vendorname2:
  9978. description: 挂牌商品供应商名称
  9979. type: string
  9980. required:
  9981. - goodscode
  9982. - goodsname
  9983. - tradeid
  9984. - trademode
  9985. type: object
  9986. models.HsbyBuyMyTradeDetail:
  9987. properties:
  9988. accountid:
  9989. description: 账户ID[报价币种]
  9990. type: integer
  9991. agreeunit:
  9992. description: 合约单位
  9993. type: number
  9994. amount:
  9995. description: 金额 = 价格 * 数量 * 合约单位
  9996. type: number
  9997. buyorsell:
  9998. description: 买卖 - 0:买 1:卖
  9999. type: integer
  10000. currencysign:
  10001. description: 货币符号
  10002. type: string
  10003. decimalplace:
  10004. description: 报价小数位
  10005. type: integer
  10006. goodscode:
  10007. description: 商品代码(内部)
  10008. type: string
  10009. goodsid:
  10010. description: 商品ID
  10011. type: integer
  10012. goodsname:
  10013. description: 商品名称
  10014. type: string
  10015. marketid:
  10016. description: 市场ID
  10017. type: integer
  10018. orderamount:
  10019. description: 委托金额
  10020. type: number
  10021. orderid:
  10022. description: 单号(成交单号)
  10023. type: string
  10024. picurls1:
  10025. description: 预售商品介绍图片[多张用逗号分隔]
  10026. type: string
  10027. picurls2:
  10028. description: 挂牌商品介绍图片[多张用逗号分隔]
  10029. type: string
  10030. price:
  10031. description: 价格
  10032. type: number
  10033. qty:
  10034. description: 数量
  10035. type: integer
  10036. time:
  10037. description: 时间
  10038. type: string
  10039. trademode:
  10040. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10041. 21:竞拍-大宗式 22:受托竞价
  10042. type: integer
  10043. vendorname1:
  10044. description: 预售商品供应商名称
  10045. type: string
  10046. vendorname2:
  10047. description: 挂牌商品供应商名称
  10048. type: string
  10049. required:
  10050. - accountid
  10051. - buyorsell
  10052. - goodscode
  10053. - goodsid
  10054. - goodsname
  10055. - marketid
  10056. - orderid
  10057. - qty
  10058. - time
  10059. - trademode
  10060. type: object
  10061. models.HsbyGoodsOrderDetail:
  10062. properties:
  10063. buyorsell:
  10064. description: 买卖 - 0:买 1:卖
  10065. type: integer
  10066. currencysign:
  10067. description: 货币符号
  10068. type: string
  10069. customername:
  10070. description: 客户名称(企业名称),已脱敏
  10071. type: string
  10072. enableqty:
  10073. description: 可用数量
  10074. type: integer
  10075. goodunit:
  10076. description: 报价单位
  10077. type: string
  10078. orderid:
  10079. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10080. type: string
  10081. orderprice:
  10082. description: 委托价格
  10083. type: number
  10084. ordertime:
  10085. description: 委托时间
  10086. type: string
  10087. required:
  10088. - buyorsell
  10089. - orderid
  10090. - ordertime
  10091. type: object
  10092. models.HsbyListingGoodsDetail:
  10093. properties:
  10094. agreeunit:
  10095. description: 合约单位
  10096. type: number
  10097. buymaxqty:
  10098. description: 购买上限 [71] - 0为不限
  10099. type: integer
  10100. currency:
  10101. description: 货币
  10102. type: string
  10103. currencysign:
  10104. description: 货币符号
  10105. type: string
  10106. decimalplace:
  10107. description: 报价小数位
  10108. type: integer
  10109. desccityid:
  10110. description: 目的地(市)ID
  10111. type: integer
  10112. descprovinceid:
  10113. description: 目的地(省)ID
  10114. type: integer
  10115. goodscode:
  10116. description: 商品代码(内部)
  10117. type: string
  10118. goodsdesc:
  10119. description: 商品详情
  10120. type: string
  10121. goodsid:
  10122. description: 商品ID(自增ID SEQ_GOODS)
  10123. type: integer
  10124. goodsname:
  10125. description: 商品名称
  10126. type: string
  10127. goodsprice:
  10128. description: 商品价格
  10129. type: number
  10130. hotindex:
  10131. description: 景点热度
  10132. type: integer
  10133. last:
  10134. description: 现价
  10135. type: number
  10136. limitdown:
  10137. description: 跌停价
  10138. type: number
  10139. limitup:
  10140. description: 涨停价
  10141. type: number
  10142. lotsize:
  10143. description: 手数最小变动单位
  10144. type: integer
  10145. marketid:
  10146. description: 所属市场ID
  10147. type: integer
  10148. picurls:
  10149. description: 介绍图片[多张用逗号分隔]
  10150. type: string
  10151. quoteminunit:
  10152. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10153. type: integer
  10154. stepvalue:
  10155. description: 价格最小变动单位
  10156. type: number
  10157. trademode:
  10158. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10159. 21:竞拍-大宗式 22:受托竞价
  10160. type: integer
  10161. vendorattr:
  10162. description: 供应商附件(多张,逗号分隔)
  10163. type: string
  10164. vendorname:
  10165. description: 供应商名称
  10166. type: string
  10167. vendorphone:
  10168. description: 供应商客服电话
  10169. type: string
  10170. videourls:
  10171. description: 介绍视频[多张用逗号分隔]
  10172. type: string
  10173. required:
  10174. - goodscode
  10175. - goodsid
  10176. - goodsname
  10177. - marketid
  10178. - trademode
  10179. type: object
  10180. models.HsbyMarketGoods:
  10181. properties:
  10182. accountid:
  10183. description: 账户ID[报价币种]
  10184. type: integer
  10185. agreeunit:
  10186. description: 合约单位
  10187. type: number
  10188. buyorsell:
  10189. description: 买卖 - 0:买 1:卖
  10190. type: integer
  10191. categoryid:
  10192. description: 类别ID(WRCATEGORY)
  10193. type: integer
  10194. currency:
  10195. description: 货币
  10196. type: string
  10197. currencysign:
  10198. description: 货币符号
  10199. type: string
  10200. customername:
  10201. description: 卖家名称
  10202. type: string
  10203. decimalplace:
  10204. description: 报价小数位
  10205. type: integer
  10206. goodscode:
  10207. description: 商品代码(内部)
  10208. type: string
  10209. goodsid:
  10210. description: 商品ID
  10211. type: integer
  10212. goodsname:
  10213. description: 商品名称
  10214. type: string
  10215. goodsprice:
  10216. description: 商品价格
  10217. type: number
  10218. hascoupon:
  10219. description: 是否可用优惠卷
  10220. type: boolean
  10221. hotindex:
  10222. description: 景点热度
  10223. type: integer
  10224. marketid:
  10225. description: 市场ID
  10226. type: integer
  10227. orderid:
  10228. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10229. type: string
  10230. orderprice:
  10231. description: 委托价格
  10232. type: number
  10233. orderstatus:
  10234. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10235. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10236. 16:成交失败违约(荷兰式竞拍专用)
  10237. type: integer
  10238. picurls:
  10239. description: 介绍图片[多张用逗号分隔]
  10240. type: string
  10241. quoteminunit:
  10242. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10243. type: integer
  10244. sellUserID:
  10245. description: 卖方UserID
  10246. type: integer
  10247. trademode:
  10248. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10249. 21:竞拍-大宗式 22:受托竞价
  10250. type: integer
  10251. videourls:
  10252. description: 介绍视频[多张用逗号分隔]
  10253. type: string
  10254. required:
  10255. - accountid
  10256. - buyorsell
  10257. - goodscode
  10258. - goodsid
  10259. - goodsname
  10260. - marketid
  10261. - orderid
  10262. - trademode
  10263. type: object
  10264. models.HsbyMarketGoodsDetail:
  10265. properties:
  10266. accountid:
  10267. description: 账户ID[报价币种]
  10268. type: integer
  10269. agreeunit:
  10270. description: 合约单位
  10271. type: number
  10272. buymaxqty:
  10273. description: 购买上限 [71] - 0为不限
  10274. type: integer
  10275. buyorsell:
  10276. description: 买卖 - 0:买 1:卖
  10277. type: integer
  10278. cancelqty:
  10279. description: 撤单数量
  10280. type: integer
  10281. categoryid:
  10282. description: 类别ID(WRCATEGORY)
  10283. type: integer
  10284. currency:
  10285. description: 货币
  10286. type: string
  10287. currencysign:
  10288. description: 货币符号
  10289. type: string
  10290. customername:
  10291. description: 卖家名称
  10292. type: string
  10293. decimalplace:
  10294. description: 报价小数位
  10295. type: integer
  10296. goodscode:
  10297. description: 商品代码(内部)
  10298. type: string
  10299. goodsdesc:
  10300. description: 商品详情
  10301. type: string
  10302. goodsid:
  10303. description: 商品ID
  10304. type: integer
  10305. goodsname:
  10306. description: 商品名称
  10307. type: string
  10308. goodsprice:
  10309. description: 商品价格
  10310. type: number
  10311. hotindex:
  10312. description: 景点热度
  10313. type: integer
  10314. lotsize:
  10315. description: 手数最小变动单位
  10316. type: integer
  10317. marketid:
  10318. description: 市场ID
  10319. type: integer
  10320. orderid:
  10321. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10322. type: string
  10323. orderprice:
  10324. description: 委托价格
  10325. type: number
  10326. orderqty:
  10327. description: 委托数量
  10328. type: integer
  10329. orderstatus:
  10330. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10331. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10332. 16:成交失败违约(荷兰式竞拍专用)
  10333. type: integer
  10334. picurls:
  10335. description: 介绍图片[多张用逗号分隔]
  10336. type: string
  10337. quoteminunit:
  10338. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10339. type: integer
  10340. sellUserID:
  10341. description: 卖方UserID
  10342. type: integer
  10343. trademode:
  10344. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10345. 21:竞拍-大宗式 22:受托竞价
  10346. type: integer
  10347. tradeqty:
  10348. description: 成交数量
  10349. type: integer
  10350. vendorattr:
  10351. description: 供应商附件(多张,逗号分隔)
  10352. type: string
  10353. vendorname:
  10354. description: 供应商名称
  10355. type: string
  10356. vendorphone:
  10357. description: 供应商客服电话
  10358. type: string
  10359. videourls:
  10360. description: 介绍视频[多张用逗号分隔]
  10361. type: string
  10362. required:
  10363. - accountid
  10364. - buyorsell
  10365. - goodscode
  10366. - goodsid
  10367. - goodsname
  10368. - marketid
  10369. - orderid
  10370. - orderqty
  10371. - trademode
  10372. type: object
  10373. models.HsbyMarketInfo:
  10374. properties:
  10375. marketid:
  10376. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10377. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10378. type: integer
  10379. marketname:
  10380. description: 市场名称
  10381. type: string
  10382. marketstatus:
  10383. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10384. type: integer
  10385. trademode:
  10386. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10387. 21:竞拍-大宗式 22:受托竞价
  10388. type: integer
  10389. required:
  10390. - marketid
  10391. - marketstatus
  10392. - trademode
  10393. type: object
  10394. models.HsbyMyGoods:
  10395. properties:
  10396. accountid:
  10397. description: 账号Id
  10398. type: integer
  10399. agreeunit:
  10400. description: 合约单位
  10401. type: number
  10402. buyaverageprice:
  10403. description: 持仓均价
  10404. type: number
  10405. buycurholderamount:
  10406. description: 买当前持仓总金额[商品币种]
  10407. type: number
  10408. buycurpositionqty:
  10409. description: 买当前持仓总数量
  10410. type: integer
  10411. buymaxqty:
  10412. description: 购买上限 [71] - 0为不限
  10413. type: integer
  10414. currencysign:
  10415. description: 货币符号
  10416. type: string
  10417. decimalplace:
  10418. description: 报价小数位
  10419. type: integer
  10420. enableqty:
  10421. description: 可用数量
  10422. type: integer
  10423. goodscode:
  10424. description: 商品代码(内部)
  10425. type: string
  10426. goodsid:
  10427. description: 商品Id
  10428. type: integer
  10429. goodsname:
  10430. description: 商品名称
  10431. type: string
  10432. goodsprice:
  10433. description: 商品价格
  10434. type: number
  10435. goodsstatus:
  10436. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10437. type: integer
  10438. last:
  10439. description: 现价(仅使用于挂牌点选)
  10440. type: number
  10441. limitdown:
  10442. description: 跌停价(仅使用于挂牌点选)
  10443. type: number
  10444. limitup:
  10445. description: 涨停价(仅使用于挂牌点选)
  10446. type: number
  10447. lotsize:
  10448. description: 手数最小变动单位
  10449. type: integer
  10450. marketid:
  10451. description: 所属市场ID
  10452. type: integer
  10453. picurls:
  10454. description: 介绍图片[多张用逗号分隔]
  10455. type: string
  10456. quoteminunit:
  10457. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10458. type: integer
  10459. stepvalue:
  10460. description: 价格最小变动单位
  10461. type: number
  10462. trademode:
  10463. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10464. 21:竞拍-大宗式 22:受托竞价
  10465. type: integer
  10466. required:
  10467. - accountid
  10468. - goodscode
  10469. - goodsid
  10470. - goodsname
  10471. - marketid
  10472. - trademode
  10473. type: object
  10474. models.HsbyMyPackage:
  10475. properties:
  10476. accountid:
  10477. description: 账户ID
  10478. type: integer
  10479. address:
  10480. description: 提货人详细地址
  10481. type: string
  10482. agreeunit:
  10483. description: 合约单位
  10484. type: number
  10485. amount:
  10486. description: 提货金额
  10487. type: number
  10488. auditer:
  10489. description: 审核人
  10490. type: integer
  10491. audittime:
  10492. description: 审核时间
  10493. type: string
  10494. averageprice:
  10495. description: 均价
  10496. type: number
  10497. cardnum:
  10498. description: 提货人证件号码
  10499. type: string
  10500. cardtypeid:
  10501. description: 提货人证件类型
  10502. type: integer
  10503. checkremark:
  10504. description: 审核备注
  10505. type: string
  10506. currencysign:
  10507. description: 货币符号
  10508. type: string
  10509. decimalplace:
  10510. description: 报价小数位
  10511. type: integer
  10512. goodscode:
  10513. description: 商品代码(内部)
  10514. type: string
  10515. goodsid:
  10516. description: 商品ID
  10517. type: integer
  10518. goodsname:
  10519. description: 商品名称
  10520. type: string
  10521. handlestatus:
  10522. description: 处理状态
  10523. type: integer
  10524. marketid:
  10525. description: 市场ID
  10526. type: integer
  10527. phonenum:
  10528. description: 提货人联系方式
  10529. type: string
  10530. picurls:
  10531. description: 介绍图片[多张用逗号分隔]
  10532. type: string
  10533. qty:
  10534. description: 提货数量
  10535. type: number
  10536. recivername:
  10537. description: 提货人姓名
  10538. type: string
  10539. reqtime:
  10540. description: 更新时间
  10541. type: string
  10542. takemode:
  10543. description: 提货方式 - 2:自提 3:配送
  10544. type: integer
  10545. takeorderid:
  10546. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10547. type: string
  10548. takeorderstatus:
  10549. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10550. type: integer
  10551. takeremark:
  10552. description: 提货备注
  10553. type: string
  10554. tradedate:
  10555. description: 交易日(yyyyMMdd)
  10556. type: string
  10557. trademode:
  10558. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10559. 21:竞拍-大宗式 22:受托竞价
  10560. type: integer
  10561. userid:
  10562. description: 用户ID
  10563. type: integer
  10564. vendorname:
  10565. description: 供应商名称
  10566. type: string
  10567. required:
  10568. - goodscode
  10569. - goodsname
  10570. - takeorderid
  10571. - trademode
  10572. type: object
  10573. models.HsbyPreGoods:
  10574. properties:
  10575. agreeunit:
  10576. description: 合约单位
  10577. type: number
  10578. currency:
  10579. description: 货币
  10580. type: string
  10581. currencysign:
  10582. description: 货币符号
  10583. type: string
  10584. decimalplace:
  10585. description: 报价小数位
  10586. type: integer
  10587. desccityid:
  10588. description: 目的地(市)
  10589. type: integer
  10590. descprovinceid:
  10591. description: 目的地(省)
  10592. type: integer
  10593. enableqty:
  10594. description: 剩余数量
  10595. type: integer
  10596. goodscode:
  10597. description: 商品代码(内部)
  10598. type: string
  10599. goodsid:
  10600. description: 商品ID(自增ID SEQ_GOODS)
  10601. type: integer
  10602. goodsname:
  10603. description: 商品名称
  10604. type: string
  10605. goodsstatus:
  10606. description: 商品状态- 2:未上市 3:上市
  10607. type: integer
  10608. lasttradedate:
  10609. description: 最后交易日期(状态:待退市)
  10610. type: string
  10611. listingdate:
  10612. description: 交易开始日期
  10613. type: string
  10614. marketid:
  10615. description: 所属市场ID
  10616. type: integer
  10617. picurls:
  10618. description: 介绍图片[多张用逗号分隔]
  10619. type: string
  10620. presaledqty:
  10621. description: 已预售量(预售结束时更新)
  10622. type: integer
  10623. presaleqty:
  10624. description: 预售数量
  10625. type: integer
  10626. quoteminunit:
  10627. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10628. type: integer
  10629. refprice:
  10630. description: 参考价格[一口价]
  10631. type: number
  10632. relatedgoodsid:
  10633. description: 关联交易合约ID
  10634. type: integer
  10635. trademode:
  10636. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10637. 21:竞拍-大宗式 22:受托竞价
  10638. type: integer
  10639. videourls:
  10640. description: 介绍视频[多张用逗号分隔]
  10641. type: string
  10642. required:
  10643. - goodscode
  10644. - goodsid
  10645. - goodsname
  10646. - marketid
  10647. - trademode
  10648. type: object
  10649. models.HsbyPreGoodsDetail:
  10650. properties:
  10651. agreeunit:
  10652. description: 合约单位
  10653. type: number
  10654. buymaxqty:
  10655. description: 购买上限 [71] - 0为不限
  10656. type: integer
  10657. currency:
  10658. description: 货币
  10659. type: string
  10660. currencysign:
  10661. description: 货币符号
  10662. type: string
  10663. customername:
  10664. description: 发行单位
  10665. type: string
  10666. decimalplace:
  10667. description: 报价小数位
  10668. type: integer
  10669. desccityid:
  10670. description: 目的地(市)ID
  10671. type: integer
  10672. descprovinceid:
  10673. description: 目的地(省)ID
  10674. type: integer
  10675. enableqty:
  10676. description: 剩余数量
  10677. type: integer
  10678. goodscode:
  10679. description: 商品代码(内部)
  10680. type: string
  10681. goodsdesc:
  10682. description: 商品详情
  10683. type: string
  10684. goodsid:
  10685. description: 商品ID(自增ID SEQ_GOODS)
  10686. type: integer
  10687. goodsname:
  10688. description: 商品名称
  10689. type: string
  10690. goodsstatus:
  10691. description: 商品状态- 2:未上市 3:上市
  10692. type: integer
  10693. goodunit:
  10694. description: 报价单位
  10695. type: string
  10696. lasttradedate:
  10697. description: 最后交易日期(状态:待退市)
  10698. type: string
  10699. listingdate:
  10700. description: 交易开始日期
  10701. type: string
  10702. lotsize:
  10703. description: 手数最小变动单位
  10704. type: integer
  10705. marketid:
  10706. description: 所属市场ID
  10707. type: integer
  10708. picurls:
  10709. description: 介绍图片[多张用逗号分隔]
  10710. type: string
  10711. presaledqty:
  10712. description: 已预售量(预售结束时更新)
  10713. type: integer
  10714. presaleqty:
  10715. description: 预售数量
  10716. type: integer
  10717. quoteminunit:
  10718. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10719. type: integer
  10720. refprice:
  10721. description: 参考价格[一口价]
  10722. type: number
  10723. relatedgoodsid:
  10724. description: 关联交易合约ID
  10725. type: integer
  10726. stepvalue:
  10727. description: 价格最小变动单位
  10728. type: number
  10729. trademode:
  10730. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10731. 21:竞拍-大宗式 22:受托竞价
  10732. type: integer
  10733. vendorattr:
  10734. description: 供应商附件(多张,逗号分隔)
  10735. type: string
  10736. vendorname:
  10737. description: 供应商名称
  10738. type: string
  10739. vendorphone:
  10740. description: 供应商客服电话
  10741. type: string
  10742. videourls:
  10743. description: 介绍视频[多张用逗号分隔]
  10744. type: string
  10745. required:
  10746. - goodscode
  10747. - goodsid
  10748. - goodsname
  10749. - marketid
  10750. - trademode
  10751. type: object
  10752. models.HsbySellCollectionOrder:
  10753. properties:
  10754. agreeunit:
  10755. description: 合约单位
  10756. type: number
  10757. buyaccountid:
  10758. description: 买方账号ID[报价币种]
  10759. type: integer
  10760. buyorderid:
  10761. description: 买方委托单号
  10762. type: string
  10763. createtime:
  10764. description: 创建时间
  10765. type: string
  10766. currencysign:
  10767. description: 货币符号
  10768. type: string
  10769. decimalplace:
  10770. description: 报价小数位
  10771. type: integer
  10772. goodscode:
  10773. description: 商品代码(内部)
  10774. type: string
  10775. goodsid:
  10776. description: 商品ID
  10777. type: integer
  10778. goodsname:
  10779. description: 商品名称
  10780. type: string
  10781. marketid:
  10782. description: 市场ID
  10783. type: integer
  10784. offamount:
  10785. description: 优惠金额
  10786. type: number
  10787. payamount:
  10788. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10789. type: number
  10790. payflag:
  10791. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10792. type: integer
  10793. paylimitedtime:
  10794. description: 支付期限
  10795. type: string
  10796. paytime:
  10797. description: 付款时间
  10798. type: string
  10799. picurls:
  10800. description: 商品介绍图片[多张用逗号分隔]
  10801. type: string
  10802. sellaccountid:
  10803. description: 卖方账号ID[报价币种]
  10804. type: integer
  10805. sellorderid:
  10806. description: 卖方委托单号
  10807. type: string
  10808. tradeamount:
  10809. description: 成交金额
  10810. type: number
  10811. tradecharge:
  10812. description: 成交手续费(买方)
  10813. type: number
  10814. tradedate:
  10815. description: 交易日(yyyyMMdd)
  10816. type: string
  10817. tradeid:
  10818. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10819. type: string
  10820. trademode:
  10821. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10822. 21:竞拍-大宗式 22:受托竞价
  10823. type: integer
  10824. tradeprice:
  10825. description: 成交价格
  10826. type: number
  10827. tradeqty:
  10828. description: 成交数量
  10829. type: integer
  10830. required:
  10831. - goodscode
  10832. - goodsname
  10833. - tradeid
  10834. - trademode
  10835. type: object
  10836. models.HsbySellMyDetail:
  10837. properties:
  10838. accountid:
  10839. description: 账户ID[报价币种]
  10840. type: integer
  10841. agreeunit:
  10842. description: 合约单位
  10843. type: number
  10844. buyorsell:
  10845. description: 买卖 - 0:买 1:卖
  10846. type: integer
  10847. currencysign:
  10848. description: 货币符号
  10849. type: string
  10850. decimalplace:
  10851. description: 报价小数位
  10852. type: integer
  10853. goodscode:
  10854. description: 商品代码(内部)
  10855. type: string
  10856. goodsid:
  10857. description: 商品ID
  10858. type: integer
  10859. goodsname:
  10860. description: 商品名称
  10861. type: string
  10862. marketid:
  10863. description: 市场ID
  10864. type: integer
  10865. orderid:
  10866. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10867. type: string
  10868. ordertype:
  10869. description: 单据类型:0 - 发布中, 1 - 已完成
  10870. type: integer
  10871. picurls:
  10872. description: 介绍图片[多张用逗号分隔]
  10873. type: string
  10874. price:
  10875. description: 价格
  10876. type: number
  10877. qty:
  10878. description: 数量
  10879. type: integer
  10880. time:
  10881. description: 时间
  10882. type: string
  10883. trademode:
  10884. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10885. 21:竞拍-大宗式 22:受托竞价
  10886. type: integer
  10887. vendorname:
  10888. description: 供应商名称
  10889. type: string
  10890. required:
  10891. - accountid
  10892. - buyorsell
  10893. - goodscode
  10894. - goodsid
  10895. - goodsname
  10896. - marketid
  10897. - orderid
  10898. - time
  10899. - trademode
  10900. type: object
  10901. models.HsbyTopGoods:
  10902. properties:
  10903. agreeunit:
  10904. description: 合约单位
  10905. type: number
  10906. currency:
  10907. description: 货币
  10908. type: string
  10909. currencysign:
  10910. description: 货币符号
  10911. type: string
  10912. decimalplace:
  10913. description: 报价小数位
  10914. type: integer
  10915. desccityid:
  10916. description: 目的地(市)
  10917. type: integer
  10918. descprovinceid:
  10919. description: 目的地(省)
  10920. type: integer
  10921. goodscode:
  10922. description: 商品代码(内部)
  10923. type: string
  10924. goodsid:
  10925. description: 商品ID(自增ID SEQ_GOODS)
  10926. type: integer
  10927. goodsname:
  10928. description: 商品名称
  10929. type: string
  10930. hotindex:
  10931. description: 景点热度
  10932. type: integer
  10933. last:
  10934. description: 现价
  10935. type: number
  10936. marketid:
  10937. description: 所属市场ID
  10938. type: integer
  10939. picurls:
  10940. description: 介绍图片[多张用逗号分隔]
  10941. type: string
  10942. quoteminunit:
  10943. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10944. type: integer
  10945. trademode:
  10946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10947. 21:竞拍-大宗式 22:受托竞价
  10948. type: integer
  10949. videourls:
  10950. description: 介绍视频[多张用逗号分隔]
  10951. type: string
  10952. required:
  10953. - goodscode
  10954. - goodsid
  10955. - goodsname
  10956. - marketid
  10957. - trademode
  10958. type: object
  10959. models.HybsMyBuyOrderDetail:
  10960. properties:
  10961. accountid:
  10962. description: 账户ID[报价币种]
  10963. type: integer
  10964. agreeunit:
  10965. description: 合约单位
  10966. type: number
  10967. buyorsell:
  10968. description: 买卖 - 0:买 1:卖
  10969. type: integer
  10970. cancelqty:
  10971. description: 撤单数量
  10972. type: integer
  10973. currencysign:
  10974. description: 货币符号
  10975. type: string
  10976. decimalplace:
  10977. description: 报价小数位
  10978. type: integer
  10979. goodscode:
  10980. description: 商品代码(内部)
  10981. type: string
  10982. goodsid:
  10983. description: 商品ID
  10984. type: integer
  10985. goodsname:
  10986. description: 商品名称
  10987. type: string
  10988. listingselecttype:
  10989. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10990. type: integer
  10991. marketid:
  10992. description: 市场ID
  10993. type: integer
  10994. mybuystatus:
  10995. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10996. type: integer
  10997. orderamount:
  10998. description: 委托金额
  10999. type: number
  11000. orderid:
  11001. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11002. type: string
  11003. orderprice:
  11004. description: 委托价格
  11005. type: number
  11006. orderqty:
  11007. description: 委托数量
  11008. type: integer
  11009. orderstatus:
  11010. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11011. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11012. 16:成交失败违约(荷兰式竞拍专用)
  11013. type: integer
  11014. ordertime:
  11015. description: 委托时间
  11016. type: string
  11017. picurls1:
  11018. description: 预售商品介绍图片[多张用逗号分隔]
  11019. type: string
  11020. picurls2:
  11021. description: 挂牌商品介绍图片[多张用逗号分隔]
  11022. type: string
  11023. trademode:
  11024. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11025. 21:竞拍-大宗式 22:受托竞价
  11026. type: integer
  11027. tradeqty:
  11028. description: 成交数量
  11029. type: integer
  11030. vendorname1:
  11031. description: 预售商品供应商名称
  11032. type: string
  11033. vendorname2:
  11034. description: 挂牌商品供应商名称
  11035. type: string
  11036. required:
  11037. - accountid
  11038. - buyorsell
  11039. - goodscode
  11040. - goodsid
  11041. - goodsname
  11042. - marketid
  11043. - orderid
  11044. - orderqty
  11045. - ordertime
  11046. - trademode
  11047. type: object
  11048. models.InternalEnableTradeDetail:
  11049. properties:
  11050. agreeunit:
  11051. description: 合约乘数
  11052. type: number
  11053. areauserid:
  11054. description: 企业ID
  11055. type: integer
  11056. convertratio:
  11057. description: 品种系数
  11058. type: number
  11059. deliverygoodscode:
  11060. description: 现货品种代码
  11061. type: string
  11062. deliverygoodsid:
  11063. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11064. type: integer
  11065. deliverygoodsname:
  11066. description: 现货品种名称
  11067. type: string
  11068. futurehedgeqty:
  11069. description: '[已关联数量]期货持仓套期量'
  11070. type: number
  11071. goodsid:
  11072. description: 期货合约ID
  11073. type: integer
  11074. hedgeditemid:
  11075. description: 被套期项目ID
  11076. type: string
  11077. hedgeditemnum:
  11078. description: 项目编号
  11079. type: string
  11080. unexehedgeqty:
  11081. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11082. type: number
  11083. unexespotqty:
  11084. description: 未执行现货量
  11085. type: number
  11086. wrstandardcode:
  11087. description: 现货品类代码
  11088. type: string
  11089. wrstandardid:
  11090. description: 现货品类ID(SEQ_WRSTANDARD)
  11091. type: integer
  11092. wrstandardname:
  11093. description: 现货品类名称
  11094. type: string
  11095. required:
  11096. - areauserid
  11097. - goodsid
  11098. type: object
  11099. models.InternalUncorrelatedTradeDetail:
  11100. properties:
  11101. accountid:
  11102. description: 账号ID
  11103. type: integer
  11104. accountname:
  11105. description: 套期主体
  11106. type: string
  11107. agreeunit:
  11108. description: 合约乘数
  11109. type: number
  11110. areauserid:
  11111. description: 所属机构
  11112. type: integer
  11113. bizsubjectid:
  11114. description: 归属业务部门ID - SubjectID
  11115. type: integer
  11116. buyorsell:
  11117. description: 方向 - 0:买 1:卖
  11118. type: integer
  11119. channelbuildtype:
  11120. description: 委托单据类型 0:无 1:建仓 2:平仓
  11121. type: integer
  11122. convertratio:
  11123. description: 品种系数
  11124. type: number
  11125. createtime:
  11126. description: 创建时间
  11127. type: string
  11128. creatorid:
  11129. description: 创建人ID
  11130. type: integer
  11131. creatorsrc:
  11132. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11133. type: integer
  11134. enableqty:
  11135. description: 项目可关联手数 = 成交手数 - 关联数量
  11136. type: number
  11137. enumdicname:
  11138. description: 单位
  11139. type: string
  11140. goodscode:
  11141. description: 合约代码
  11142. type: string
  11143. goodsgroupid:
  11144. description: 对冲品种ID[期货合约商品组ID]
  11145. type: integer
  11146. goodsid:
  11147. description: 商品ID
  11148. type: integer
  11149. goodsname:
  11150. description: 合约名称
  11151. type: string
  11152. hedgeditemid:
  11153. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11154. type: integer
  11155. hedgeflag:
  11156. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11157. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11158. type: integer
  11159. linkdetailid:
  11160. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11161. type: string
  11162. linkstatus:
  11163. description: 关联状态 - 1:成功 2:失败 3:解绑
  11164. type: integer
  11165. middlegoodsid:
  11166. description: 套保品种ID
  11167. type: integer
  11168. middlegoodsqty:
  11169. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  11170. type: number
  11171. relatedlot:
  11172. description: '[数量]关联手数'
  11173. type: number
  11174. relatedmode:
  11175. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11176. type: integer
  11177. relatedqty:
  11178. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  11179. type: number
  11180. retcode:
  11181. description: 返回码
  11182. type: integer
  11183. saleuserid:
  11184. description: 业务员ID
  11185. type: integer
  11186. tradedate:
  11187. description: 关联交易日(yyyyMMdd)
  11188. type: string
  11189. tradeid:
  11190. description: 成交单号
  11191. type: string
  11192. tradelot:
  11193. description: 成交手数
  11194. type: integer
  11195. tradeprice:
  11196. description: 成交价
  11197. type: number
  11198. tradetime:
  11199. description: 成交时间
  11200. type: string
  11201. tradetradedate:
  11202. description: 成交交易日(yyyyMMdd)
  11203. type: string
  11204. type: object
  11205. models.Loginaccount:
  11206. properties:
  11207. accountname:
  11208. description: 账户名称
  11209. type: string
  11210. canoutin:
  11211. description: 是否可出入金 - 0:不可 1:可
  11212. type: integer
  11213. clientroleid:
  11214. description: 终端角色ID
  11215. type: integer
  11216. haslogined:
  11217. description: 是否已登录 - 0:未登录 1:已登录
  11218. type: integer
  11219. hasupdatedpwd:
  11220. description: 是否已更改密码 - 0:未修改 1:已修改
  11221. type: integer
  11222. lastloginip:
  11223. description: 最新登录地址
  11224. type: string
  11225. lastloginmode:
  11226. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11227. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11228. type: integer
  11229. lastloginremark:
  11230. description: 最新登录描述
  11231. type: string
  11232. lastlogintime:
  11233. description: 最新登录时间
  11234. type: string
  11235. logincode:
  11236. description: 登录代码
  11237. type: string
  11238. loginfailnum:
  11239. description: 连续登录失败次数(登录成功时清零)
  11240. type: integer
  11241. loginid:
  11242. description: 登陆账号
  11243. type: integer
  11244. loginport:
  11245. description: 最新登录端口
  11246. type: integer
  11247. loginstatus:
  11248. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11249. type: integer
  11250. loginusertype:
  11251. description: 登录账号类型 - 1:投资者 2:机构交易员
  11252. type: integer
  11253. mobile:
  11254. description: 手机号码(加密存储)
  11255. type: string
  11256. modifierid:
  11257. description: 修改人
  11258. type: integer
  11259. modifysrc:
  11260. description: 审核来源 - 1:管理端 2:终端
  11261. type: integer
  11262. modifytime:
  11263. description: 修改时间
  11264. type: string
  11265. password:
  11266. description: 登陆密码
  11267. type: string
  11268. pwdwrongcount:
  11269. description: 密码错误次数
  11270. type: integer
  11271. relateduserid:
  11272. description: 关联用户ID(机构)
  11273. type: integer
  11274. taaccountrighttype:
  11275. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11276. type: integer
  11277. unfreezetime:
  11278. description: 账户解冻时间
  11279. type: string
  11280. userid:
  11281. description: 用户ID
  11282. type: integer
  11283. required:
  11284. - loginid
  11285. type: object
  11286. models.MainAccountInfo:
  11287. properties:
  11288. accountid:
  11289. description: 账号id
  11290. type: integer
  11291. accountname:
  11292. description: 账号名称(taaccount表中的名称)
  11293. type: string
  11294. appid:
  11295. description: AppID
  11296. type: string
  11297. authcode:
  11298. description: 授权码
  11299. type: string
  11300. brokerid:
  11301. description: 经纪商id
  11302. type: string
  11303. fcid:
  11304. description: 期货公司id
  11305. type: integer
  11306. fcname:
  11307. description: 期货公司代码
  11308. type: string
  11309. hedgeaccountcode:
  11310. description: 外部账号代码(主账号登录代码)
  11311. type: string
  11312. hedgeaccountpwd:
  11313. description: 密码
  11314. type: string
  11315. ismain:
  11316. description: 是否主账号
  11317. type: integer
  11318. relateduserid:
  11319. description: 关联用户id
  11320. type: integer
  11321. userid:
  11322. description: 关联用户id
  11323. type: integer
  11324. type: object
  11325. models.Market:
  11326. properties:
  11327. auctionwrtype:
  11328. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11329. type: integer
  11330. canacceptquote:
  11331. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11332. type: integer
  11333. cangoodsexercise:
  11334. description: '[期权]是否可现货行权- 0:否 1:是'
  11335. type: integer
  11336. cangoodsexercisetype:
  11337. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11338. type: integer
  11339. canmanualquotestrike:
  11340. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11341. type: integer
  11342. canmutistage:
  11343. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11344. type: integer
  11345. canpreexercise:
  11346. description: '[期权]是否可预申报- 0:否 1:是'
  11347. type: integer
  11348. clearinterval:
  11349. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11350. type: integer
  11351. contracttmp:
  11352. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11353. type: string
  11354. exchareaid:
  11355. description: 所属交易所,可以没有
  11356. type: integer
  11357. goodstype:
  11358. description: 商品类型 - 1:交易商品 2:仓单商品
  11359. type: integer
  11360. hasrebate:
  11361. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11362. type: integer
  11363. hastradecredit:
  11364. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11365. type: integer
  11366. haswr:
  11367. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11368. type: integer
  11369. isdeductmargin:
  11370. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11371. type: integer
  11372. isrecordsource:
  11373. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11374. type: integer
  11375. isreleasemargin:
  11376. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11377. type: integer
  11378. marginformula:
  11379. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11380. type: integer
  11381. marginformula2:
  11382. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11383. type: integer
  11384. marketid:
  11385. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11386. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11387. type: integer
  11388. marketname:
  11389. description: 市场名称
  11390. type: string
  11391. marketserviceid:
  11392. description: 市场服务ID
  11393. type: integer
  11394. marketstatus:
  11395. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11396. type: integer
  11397. markettype:
  11398. description: 市场类型- 1:非交易服务 2:交易服务
  11399. type: integer
  11400. matchermode:
  11401. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11402. type: integer
  11403. openmethod:
  11404. description: 开盘模式 - 0 自动 1手动
  11405. type: integer
  11406. otcuserid:
  11407. description: 场外期权做市商[场外期权]
  11408. type: integer
  11409. outersynctime:
  11410. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11411. type: string
  11412. pendingflag:
  11413. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11414. type: integer
  11415. pendingtime:
  11416. description: 待开市时间[通道交易-对冲](HH:mm)
  11417. type: string
  11418. performancetempid:
  11419. description: 履约计划模板ID - 作废
  11420. type: integer
  11421. premiumquotemode:
  11422. description: 权利金报价方式 - 1:自动 2:手动
  11423. type: integer
  11424. rebateratio:
  11425. description: 返利比率[竞价式]
  11426. type: number
  11427. reckonorder:
  11428. description: 结算顺序
  11429. type: integer
  11430. reckonpricealgorithm:
  11431. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11432. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11433. type: integer
  11434. reckonpriceparam:
  11435. description: 结算价参数
  11436. type: integer
  11437. reckontime:
  11438. description: 结算时间[通道交易-对冲](HH:mm)
  11439. type: string
  11440. roleprioritytype:
  11441. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11442. type: integer
  11443. selllistingauditflag:
  11444. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11445. type: integer
  11446. trademarkettype:
  11447. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11448. type: integer
  11449. trademode:
  11450. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11451. 21:竞拍-大宗式 22:受托竞价
  11452. type: integer
  11453. tradeproperty:
  11454. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11455. 8:场外期权
  11456. type: integer
  11457. tradetype:
  11458. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11459. type: integer
  11460. required:
  11461. - marketid
  11462. - marketstatus
  11463. - openmethod
  11464. - reckonpricealgorithm
  11465. - trademode
  11466. - tradeproperty
  11467. type: object
  11468. models.Marketrun:
  11469. properties:
  11470. afternexttradedate:
  11471. description: 下下交易日
  11472. type: string
  11473. clearquoteflag:
  11474. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11475. type: integer
  11476. lastreckondate:
  11477. description: 最新交易日(结算成功)
  11478. type: string
  11479. machinedate:
  11480. description: 机器时间
  11481. type: string
  11482. manualflag:
  11483. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11484. type: integer
  11485. marketid:
  11486. description: 市场ID
  11487. type: integer
  11488. nexttradedate:
  11489. description: 下一交易日
  11490. type: string
  11491. pretradedate:
  11492. description: 上一交易日
  11493. type: string
  11494. reckonflag:
  11495. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11496. type: integer
  11497. runstatus:
  11498. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11499. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11500. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11501. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11502. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11503. 62.今日免清算
  11504. type: integer
  11505. sectionid:
  11506. description: 时间段号[多时段时用]
  11507. type: integer
  11508. tradedate:
  11509. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11510. type: string
  11511. tradedate2:
  11512. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11513. type: string
  11514. updatetime:
  11515. description: 更新时间
  11516. type: string
  11517. required:
  11518. - marketid
  11519. - nexttradedate
  11520. - reckonflag
  11521. - runstatus
  11522. - tradedate
  11523. - tradedate2
  11524. type: object
  11525. models.Messageboard:
  11526. properties:
  11527. contactnum:
  11528. description: 联系电话
  11529. type: string
  11530. createtime:
  11531. description: 创建时间
  11532. type: string
  11533. message:
  11534. description: 留言信息
  11535. type: string
  11536. messageboardid:
  11537. description: 留言簿ID(SEQ_MessageBoard)
  11538. type: integer
  11539. userid:
  11540. description: 用户ID
  11541. type: integer
  11542. required:
  11543. - messageboardid
  11544. type: object
  11545. models.MyCoupon:
  11546. properties:
  11547. accountid:
  11548. description: 资金账户ID
  11549. type: integer
  11550. areauserid:
  11551. description: 所属机构
  11552. type: integer
  11553. conditionvalue:
  11554. description: 条件阈值(可为0)
  11555. type: number
  11556. couponcategroy:
  11557. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11558. type: integer
  11559. couponname:
  11560. description: 优惠券名称
  11561. type: string
  11562. coupontypeid:
  11563. description: 优惠券类型ID
  11564. type: string
  11565. couponvalue:
  11566. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11567. type: number
  11568. curfreezeqty:
  11569. description: 期末冻结数量
  11570. type: integer
  11571. curqty:
  11572. description: 期末数量
  11573. type: integer
  11574. isgeneral:
  11575. description: 是否通用券 - 0:否 1:是
  11576. type: integer
  11577. isunusable:
  11578. description: 是否不可用
  11579. type: boolean
  11580. limitedflag:
  11581. description: 是否指定商品 - 0:不限 1:限制
  11582. type: integer
  11583. limitedgoodsids:
  11584. description: 指定商品IDs[逗号分隔,前后加逗号]
  11585. type: string
  11586. orifreezeqty:
  11587. description: 期初冻结数量
  11588. type: integer
  11589. oriqty:
  11590. description: 期初数量
  11591. type: integer
  11592. reasontype:
  11593. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11594. type: integer
  11595. todaydecrease:
  11596. description: 今日减少
  11597. type: integer
  11598. todayincrease:
  11599. description: 今日增加
  11600. type: integer
  11601. userid:
  11602. description: 用户ID
  11603. type: integer
  11604. userscope:
  11605. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11606. type: string
  11607. required:
  11608. - accountid
  11609. - coupontypeid
  11610. type: object
  11611. models.MyCouponHold:
  11612. properties:
  11613. accountid:
  11614. description: 资金账户ID
  11615. type: integer
  11616. conditionvalue:
  11617. description: 条件阈值(可为0)
  11618. type: number
  11619. couponcategroy:
  11620. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11621. type: integer
  11622. couponholdid:
  11623. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11624. type: string
  11625. couponname:
  11626. description: 优惠券名称
  11627. type: string
  11628. coupontypeid:
  11629. description: 优惠券类型ID - SEQ_COUPONTYPE
  11630. type: string
  11631. couponvalue:
  11632. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11633. type: number
  11634. createtime:
  11635. description: 创建时间
  11636. type: string
  11637. enddate:
  11638. description: 结束日期
  11639. type: string
  11640. giveapplyid:
  11641. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11642. type: integer
  11643. holdstatus:
  11644. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11645. type: integer
  11646. isgeneral:
  11647. description: 是否通用券 - 0:否 1:是
  11648. type: integer
  11649. limitedflag:
  11650. description: 是否指定商品 - 0:不限 1:限制
  11651. type: integer
  11652. limitedgoodsids:
  11653. description: 指定商品IDs[逗号分隔]
  11654. type: string
  11655. qty:
  11656. description: 数量(按1平铺)
  11657. type: integer
  11658. startdate:
  11659. description: 开始日期
  11660. type: string
  11661. userid:
  11662. description: 用户ID
  11663. type: integer
  11664. userscope:
  11665. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11666. type: string
  11667. required:
  11668. - couponholdid
  11669. type: object
  11670. models.MyUsedCoupon:
  11671. properties:
  11672. accountid:
  11673. description: 资金账户ID(买方)
  11674. type: integer
  11675. conditionvalue:
  11676. description: 条件阈值(可为0)
  11677. type: number
  11678. couponcategroy:
  11679. description: 种类 - 1:现金券 2:折扣券
  11680. type: integer
  11681. couponname:
  11682. description: 优惠券名称
  11683. type: string
  11684. coupontypeid:
  11685. description: 优惠券类型ID(买方)
  11686. type: string
  11687. couponvalue:
  11688. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11689. type: number
  11690. createtime:
  11691. description: 创建时间
  11692. type: string
  11693. goodsid:
  11694. description: 商品ID
  11695. type: integer
  11696. handlestatus:
  11697. description: 处理状态
  11698. type: integer
  11699. marketid:
  11700. description: 市场ID
  11701. type: integer
  11702. offamount:
  11703. description: 优惠金额
  11704. type: number
  11705. orderid:
  11706. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11707. type: string
  11708. sellaccountid:
  11709. description: 资金账户ID(卖方)
  11710. type: integer
  11711. tradeamount:
  11712. description: 成交金额
  11713. type: number
  11714. tradeid:
  11715. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11716. type: string
  11717. usedqty:
  11718. description: 使用数量
  11719. type: integer
  11720. required:
  11721. - coupontypeid
  11722. - orderid
  11723. type: object
  11724. models.OperationPrimaryMenu:
  11725. properties:
  11726. Children:
  11727. description: 二级功能菜单
  11728. items:
  11729. $ref: '#/definitions/models.OperationSecondaryMenu'
  11730. type: array
  11731. Key:
  11732. description: 菜单KEY
  11733. type: string
  11734. Label:
  11735. description: 菜单标题
  11736. type: string
  11737. type: object
  11738. models.OperationSecondaryMenu:
  11739. properties:
  11740. Key:
  11741. description: 菜单KEY
  11742. type: string
  11743. Label:
  11744. description: 菜单标题
  11745. type: string
  11746. TabList:
  11747. description: 三级功能菜单
  11748. items:
  11749. $ref: '#/definitions/models.OperationTabMenu'
  11750. type: array
  11751. type: object
  11752. models.OperationTabMenu:
  11753. properties:
  11754. Key:
  11755. description: 菜单KEY
  11756. type: string
  11757. Label:
  11758. description: 菜单标题
  11759. type: string
  11760. type: object
  11761. models.Patradelinkdetail:
  11762. properties:
  11763. accountname:
  11764. description: 套期主体
  11765. type: string
  11766. agreeunit:
  11767. description: 合约乘数
  11768. type: number
  11769. amount:
  11770. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11771. type: number
  11772. areauserid:
  11773. description: 所属机构
  11774. type: integer
  11775. bizsubjectid:
  11776. description: 归属业务部门ID - SubjectID
  11777. type: integer
  11778. buyorsell:
  11779. description: 方向 - 0:买 1:卖
  11780. type: integer
  11781. convertratio:
  11782. description: 品种系数
  11783. type: number
  11784. convertratiochange:
  11785. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11786. type: number
  11787. createtime:
  11788. description: '[日期时间]创建时间'
  11789. type: string
  11790. creatorid:
  11791. description: 创建人ID
  11792. type: integer
  11793. creatorsrc:
  11794. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11795. type: integer
  11796. goodscode:
  11797. description: 商品代码(内部)
  11798. type: string
  11799. goodsgroupid:
  11800. description: 对冲品种ID[期货合约商品组ID]
  11801. type: integer
  11802. goodsid:
  11803. description: 商品ID
  11804. type: integer
  11805. hedgeditemid:
  11806. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11807. type: integer
  11808. hedgeflag:
  11809. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11810. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11811. type: integer
  11812. linkdetailid:
  11813. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11814. type: string
  11815. linkstatus:
  11816. description: 关联状态 - 1:成功 2:失败 3:解绑
  11817. type: integer
  11818. middlegoodsid:
  11819. description: 套保品种ID
  11820. type: integer
  11821. name:
  11822. description: 账户名/子账户
  11823. type: string
  11824. optioncode:
  11825. description: '[期货合约]期权代码 [期权]'
  11826. type: string
  11827. ordertype:
  11828. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11829. type: integer
  11830. relatedlot:
  11831. description: '[数量]关联手数'
  11832. type: number
  11833. relatedmode:
  11834. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11835. type: integer
  11836. relatedqty:
  11837. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11838. type: number
  11839. retcode:
  11840. description: 返回码
  11841. type: integer
  11842. saleuserid:
  11843. description: 业务员ID
  11844. type: integer
  11845. tradedate:
  11846. description: 关联交易日(yyyyMMdd)
  11847. type: string
  11848. tradeid:
  11849. description: '[成交单号]内部成交单ID'
  11850. type: string
  11851. tradelot:
  11852. description: 成交手数
  11853. type: integer
  11854. tradeprice:
  11855. description: '[价格]成交价格'
  11856. type: number
  11857. tradetradedate:
  11858. description: 成交交易日(yyyyMMdd)
  11859. type: string
  11860. type: object
  11861. models.QhjAccountOutInApply:
  11862. properties:
  11863. accountcode:
  11864. description: 资金账号
  11865. type: string
  11866. accountname:
  11867. description: 用户名称(名称)
  11868. type: string
  11869. accountpwd:
  11870. description: 资金密码
  11871. type: string
  11872. accountticket:
  11873. description: 最新账户服务流水号
  11874. type: string
  11875. amount:
  11876. description: 金额
  11877. type: number
  11878. applyremark:
  11879. description: 申请备注
  11880. type: string
  11881. applystatus:
  11882. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11883. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11884. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11885. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11886. type: integer
  11887. auditid:
  11888. description: 审核人
  11889. type: integer
  11890. audittime:
  11891. description: 审核时间
  11892. type: string
  11893. bank_apply_ticket:
  11894. description: 银行申请流水
  11895. type: string
  11896. bankaccountname:
  11897. description: 银行账户名
  11898. type: string
  11899. bankaccountno:
  11900. description: 银行卡号
  11901. type: string
  11902. bankid:
  11903. description: 银行编号
  11904. type: string
  11905. bankticket:
  11906. description: 银行流水
  11907. type: string
  11908. branchbankid:
  11909. description: 银行支行号
  11910. type: string
  11911. branchbankname:
  11912. description: 银行支行名称
  11913. type: string
  11914. capamountout:
  11915. description: 出金(劣后本金) - 外部子账户
  11916. type: number
  11917. certificatephotourl:
  11918. description: 凭证地址
  11919. type: string
  11920. charge:
  11921. description: 手续费
  11922. type: number
  11923. checkerrorflag:
  11924. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11925. type: integer
  11926. currency:
  11927. description: 币种
  11928. type: string
  11929. cusbankid:
  11930. description: 托管银行编号
  11931. type: string
  11932. exchticket:
  11933. description: 银行服务流水号
  11934. type: string
  11935. executetype:
  11936. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11937. 7:外部子账户:入金 8:外部子账户:出金'
  11938. type: integer
  11939. extendinfo:
  11940. description: 扩展信息
  11941. type: string
  11942. extoperateid:
  11943. description: 交易服务流水号
  11944. type: integer
  11945. infamount:
  11946. description: 劣后金额(自有)
  11947. type: number
  11948. logincode:
  11949. description: 登录账号(账号)
  11950. type: string
  11951. netaddr:
  11952. description: 调转网址
  11953. type: string
  11954. priamount:
  11955. description: 优先金额(授信)
  11956. type: number
  11957. reauditid:
  11958. description: 复审人
  11959. type: integer
  11960. reauditremark:
  11961. description: 复审备注
  11962. type: string
  11963. reaudittime:
  11964. description: 复审时间
  11965. type: string
  11966. relatedorderid:
  11967. description: 三方关联ID
  11968. type: string
  11969. remark:
  11970. description: 备注
  11971. type: string
  11972. remark2:
  11973. description: 备注(失败原因)
  11974. type: string
  11975. soucreamount:
  11976. description: 原始出入金金额
  11977. type: number
  11978. soucrecurrencyid:
  11979. description: 原始出入金币种
  11980. type: integer
  11981. tradedate:
  11982. description: 交易日(yyyyMMdd)
  11983. type: string
  11984. updatetime:
  11985. description: 更新时间(申请时间)
  11986. type: string
  11987. userid:
  11988. description: 用户id
  11989. type: integer
  11990. userinfotype:
  11991. description: 账户类型 1-个人 2-企业
  11992. type: integer
  11993. type: object
  11994. models.QhjAgreementChangeLog:
  11995. properties:
  11996. agreementcontent:
  11997. description: 协议内容
  11998. type: string
  11999. agreementfrequency:
  12000. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12001. type: integer
  12002. agreementid:
  12003. description: 协议ID
  12004. type: integer
  12005. agreementname:
  12006. description: 协议名称
  12007. type: string
  12008. agreementno:
  12009. description: 协议编号
  12010. type: string
  12011. agreementtype:
  12012. description: 协议类型 - 1:注册 2:登录 3:交易
  12013. type: integer
  12014. agreementversion:
  12015. description: 协议版本号
  12016. type: integer
  12017. logid:
  12018. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12019. type: integer
  12020. reviserid:
  12021. description: 修改人
  12022. type: integer
  12023. revisersrc:
  12024. description: 修改来源 - 1:管理端 2:终端
  12025. type: integer
  12026. updatetime:
  12027. description: 更新时间
  12028. type: string
  12029. type: object
  12030. models.QhjAgreementConfig:
  12031. properties:
  12032. agreementcontent:
  12033. description: 协议内容
  12034. type: string
  12035. agreementfrequency:
  12036. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12037. type: integer
  12038. agreementid:
  12039. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12040. type: integer
  12041. agreementname:
  12042. description: 协议名称
  12043. type: string
  12044. agreementno:
  12045. description: 协议编号
  12046. type: string
  12047. agreementtype:
  12048. description: 协议类型 - 1:注册 2:登录 3:交易
  12049. type: integer
  12050. agreementversion:
  12051. description: 协议版本号(从1开始每次修改加1)
  12052. type: integer
  12053. createtime:
  12054. description: 创建时间
  12055. type: string
  12056. creatorid:
  12057. description: 创建人
  12058. type: integer
  12059. creatorsrc:
  12060. description: 创建来源 - 1:管理端 2:终端
  12061. type: integer
  12062. isvalid:
  12063. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12064. type: integer
  12065. reviserid:
  12066. description: 修改人
  12067. type: integer
  12068. revisersrc:
  12069. description: 修改来源 - 1:管理端 2:终端
  12070. type: integer
  12071. updatetime:
  12072. description: 更新时间
  12073. type: string
  12074. type: object
  12075. models.QhjAreaFinanceConfig:
  12076. properties:
  12077. additionalratio:
  12078. description: 追加款比例
  12079. type: number
  12080. advanceratio:
  12081. description: 预付款比例
  12082. type: number
  12083. alarmratio:
  12084. description: 告警比例
  12085. type: number
  12086. consumptiondirectreward:
  12087. description: 消费直推奖励值
  12088. type: number
  12089. consumptionenabled:
  12090. description: 是否启用消费奖励 - 0:不启用 1:启用
  12091. type: integer
  12092. consumptionindirectreward:
  12093. description: 消费间推奖励值
  12094. type: number
  12095. consumptionmodel:
  12096. description: 消费奖励方式 - 1:比率 2:固定
  12097. type: integer
  12098. customerservicenum:
  12099. description: 客服电话
  12100. type: string
  12101. dayinterestrate:
  12102. description: 日利率
  12103. type: number
  12104. disableconsumptiontips:
  12105. description: 关闭消费奖励提示
  12106. type: string
  12107. modifierid:
  12108. description: 修改人ID
  12109. type: integer
  12110. modifysrc:
  12111. description: 审核来源 - 1:管理端 2:终端
  12112. type: integer
  12113. modifytime:
  12114. description: 修改时间
  12115. type: string
  12116. promotionvalue:
  12117. description: 推广奖励值(固定)
  12118. type: number
  12119. scoreconfigvalue1:
  12120. description: 提货积分配置1
  12121. type: integer
  12122. scoreconfigvalue2:
  12123. description: 提货积分配置2
  12124. type: integer
  12125. userid:
  12126. description: 机构用户ID其他做市关系,都设置为 1
  12127. type: integer
  12128. username:
  12129. description: 用户名称
  12130. type: string
  12131. type: object
  12132. models.QhjBankAccountSign:
  12133. properties:
  12134. accountcode:
  12135. description: 资金账号
  12136. type: string
  12137. accountname:
  12138. description: 资金账号对应的账号名(UserName)
  12139. type: string
  12140. accountname2:
  12141. description: 资金账号对应的账号名(UserName) - 密文
  12142. type: string
  12143. accounttype:
  12144. description: 账户类型(UserType)
  12145. type: integer
  12146. applicationtime:
  12147. description: 最后一次更新的时间
  12148. type: string
  12149. applyexchticket:
  12150. description: 申请流水
  12151. type: string
  12152. auditid:
  12153. description: 审核人
  12154. type: integer
  12155. audittime:
  12156. description: 审核时间
  12157. type: string
  12158. bankaccountname:
  12159. description: 签约银行卡账号名
  12160. type: string
  12161. bankaccountname2:
  12162. description: 签约银行卡账号名 - 密文
  12163. type: string
  12164. bankaccountno:
  12165. description: 银行卡号
  12166. type: string
  12167. bankaccountno2:
  12168. description: 银行卡号 - 密文
  12169. type: string
  12170. bankaccounttype:
  12171. description: 银行账户类型 - 1-对私; 2-对公
  12172. type: integer
  12173. bankcardtype:
  12174. description: 银行卡类型
  12175. type: integer
  12176. bankchildaccount:
  12177. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12178. type: string
  12179. bankcity:
  12180. description: 开户行城市
  12181. type: string
  12182. bankid:
  12183. description: 签约银行ID
  12184. type: string
  12185. bankname:
  12186. description: 签约银行名称
  12187. type: string
  12188. bankprovince:
  12189. description: 开户行省份
  12190. type: string
  12191. branchbankid:
  12192. description: 签约银行支行号
  12193. type: string
  12194. branchbankname:
  12195. description: 签约银行支行名称
  12196. type: string
  12197. cardno:
  12198. description: 证件号码
  12199. type: string
  12200. cardno2:
  12201. description: 证件号码 - 密文
  12202. type: string
  12203. cardtype:
  12204. description: 证件类型
  12205. type: string
  12206. currency:
  12207. description: 币种
  12208. type: string
  12209. cusbankid:
  12210. description: 托管银行编号
  12211. type: string
  12212. direct:
  12213. description: 方向(可以判断那方先发起的签约)
  12214. type: integer
  12215. exchticket:
  12216. description: 最后一次签约成功的流水号
  12217. type: string
  12218. extendinfo:
  12219. description: 扩展信息(JSON字符串)
  12220. type: string
  12221. mobilephone:
  12222. description: 手机号
  12223. type: string
  12224. mobilephone2:
  12225. description: 手机号 - 密文
  12226. type: string
  12227. netaddr:
  12228. description: 调转网址
  12229. type: string
  12230. relateduserid:
  12231. description: 关联使用者userid
  12232. type: integer
  12233. signstatus:
  12234. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12235. 10:审核拒绝 11:换签待审核
  12236. type: integer
  12237. updatetime:
  12238. description: 更新时间(签解约更新时间)
  12239. type: string
  12240. type: object
  12241. models.QhjBankInfo:
  12242. properties:
  12243. bankid:
  12244. description: 银行ID
  12245. type: string
  12246. bankname:
  12247. description: 银行名称
  12248. type: string
  12249. clearbankno:
  12250. description: 清算系统银行编号
  12251. type: string
  12252. orderindex:
  12253. description: 排序顺序
  12254. type: integer
  12255. status:
  12256. description: 状态 - 0:正常 1:注销
  12257. type: integer
  12258. type: object
  12259. models.QhjBrokerApply:
  12260. properties:
  12261. applicantid:
  12262. description: 申请人
  12263. type: integer
  12264. applysrc:
  12265. description: 申请来源 - 1:管理端 2:终端
  12266. type: integer
  12267. applystatus:
  12268. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12269. type: integer
  12270. applytime:
  12271. description: 申请时间
  12272. type: string
  12273. auditorid:
  12274. description: 审核人
  12275. type: integer
  12276. auditremark:
  12277. description: 审核备注
  12278. type: string
  12279. auditsrc:
  12280. description: 审核来源 - 1:管理端 2:终端
  12281. type: integer
  12282. audittime:
  12283. description: 审核时间
  12284. type: string
  12285. audittradedate:
  12286. description: 审核交易日(yyyyMMdd)
  12287. type: string
  12288. brokerapplyid:
  12289. description: 申请ID(SEQ_BROKERAPPLY)
  12290. type: integer
  12291. cardbackphotourl:
  12292. description: 证件背面图片地址
  12293. type: string
  12294. cardfrontphotourl:
  12295. description: 证件正面图片地址
  12296. type: string
  12297. cardnum:
  12298. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12299. type: string
  12300. customername:
  12301. description: 姓名
  12302. type: string
  12303. logincode:
  12304. description: 登录代码
  12305. type: string
  12306. mobile:
  12307. description: 手机号码
  12308. type: string
  12309. parentuserid:
  12310. description: 所属机构id
  12311. type: integer
  12312. parentusername:
  12313. description: 所属机构名称
  12314. type: string
  12315. refereeuserid:
  12316. description: 推荐人id(经纪人)
  12317. type: integer
  12318. refernum:
  12319. description: 推荐码
  12320. type: string
  12321. remark:
  12322. description: 备注
  12323. type: string
  12324. subarealevelpath:
  12325. description: 层级路径
  12326. type: string
  12327. tradedate:
  12328. description: 交易日(yyyyMMdd)
  12329. type: string
  12330. userid:
  12331. description: 申请人用户ID
  12332. type: integer
  12333. userinfotype:
  12334. description: 用户类型 1-个人 2-企业
  12335. type: integer
  12336. username:
  12337. description: 用户名称
  12338. type: string
  12339. type: object
  12340. models.QhjBrokerApplyEx:
  12341. properties:
  12342. applylist:
  12343. description: 经纪人申请记录(只返回最新一条)
  12344. items:
  12345. $ref: '#/definitions/models.QhjBrokerApply'
  12346. type: array
  12347. canrecommend:
  12348. description: 是否经纪人 0-不是 1-是
  12349. type: integer
  12350. refernum:
  12351. description: 推荐码
  12352. type: string
  12353. userid:
  12354. description: 用户id
  12355. type: integer
  12356. userinfotype:
  12357. description: 用户类型 1-个人 2-企业
  12358. type: integer
  12359. type: object
  12360. models.QhjBrokerRewardLog:
  12361. properties:
  12362. accountid:
  12363. description: 资金账号ID
  12364. type: integer
  12365. createtime:
  12366. description: 创建时间(时间)
  12367. type: string
  12368. handlestatus:
  12369. description: 处理状态
  12370. type: integer
  12371. logid:
  12372. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12373. type: string
  12374. marketid:
  12375. description: 市场ID
  12376. type: integer
  12377. mmaccountid:
  12378. description: 做市商资金账号ID
  12379. type: string
  12380. mmuserid:
  12381. description: 做市商用户ID
  12382. type: string
  12383. rewardamount:
  12384. description: 奖励金额
  12385. type: number
  12386. rewardmodel:
  12387. description: 消费奖励方式 - 1:比率 2:固定
  12388. type: integer
  12389. rewardtype:
  12390. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12391. type: integer
  12392. rewardvalue:
  12393. description: 配置奖励值
  12394. type: number
  12395. srcamount:
  12396. description: 成交金额 [消费奖励] (金额)
  12397. type: number
  12398. srcgoodsid:
  12399. description: 来源商品ID [消费奖励]
  12400. type: string
  12401. srctime:
  12402. description: 来源时间 (成交时间) [消费奖励]
  12403. type: string
  12404. srctradeid:
  12405. description: 来源成交单ID [消费奖励] - 排除提货成交
  12406. type: string
  12407. srcuserid:
  12408. description: 来源用户ID(推广账户)
  12409. type: string
  12410. srcusername:
  12411. description: 推广账户名称
  12412. type: string
  12413. tradedate:
  12414. description: 交易日(yyyyMMdd)
  12415. type: string
  12416. userid:
  12417. description: 经纪人用户ID
  12418. type: integer
  12419. type: object
  12420. models.QhjContract:
  12421. properties:
  12422. contractconfirmtime:
  12423. description: 合同确认时间(时间)
  12424. type: string
  12425. currisklevel:
  12426. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12427. type: integer
  12428. decimalplace:
  12429. description: 商品报价小数位
  12430. type: integer
  12431. enumdicname:
  12432. description: 单位名称
  12433. type: string
  12434. goodscode:
  12435. description: 商品代码
  12436. type: string
  12437. goodsid:
  12438. description: 商品ID [5:融资单]
  12439. type: integer
  12440. goodsname:
  12441. description: 商品名称
  12442. type: string
  12443. goodunitid:
  12444. description: 商品单位id
  12445. type: integer
  12446. initmargin:
  12447. description: 初始保证金(首付款)
  12448. type: number
  12449. lenderamount:
  12450. description: 贷款金额(总额|订单总额)
  12451. type: number
  12452. marginratio:
  12453. description: 保证金比率(首付比例)
  12454. type: number
  12455. payamount:
  12456. description: 已付(已付货款)
  12457. type: number
  12458. reckonrecovermargin:
  12459. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12460. type: number
  12461. recoveredmargin:
  12462. description: 已追缴保证金
  12463. type: number
  12464. remainamount:
  12465. description: 合同剩余金额(融资额)
  12466. type: number
  12467. scfcontractid:
  12468. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12469. type: string
  12470. scfcontractstatus:
  12471. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12472. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12473. type: integer
  12474. scfcontracttype:
  12475. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12476. type: integer
  12477. totalinterest:
  12478. description: 已计总利息(利息)
  12479. type: number
  12480. tradeprice:
  12481. description: 成交价格(成本价格)
  12482. type: number
  12483. userid:
  12484. description: 用户ID
  12485. type: integer
  12486. username:
  12487. description: 用户名称
  12488. type: string
  12489. wrqty:
  12490. description: 仓单数量(数量)
  12491. type: number
  12492. type: object
  12493. models.QhjContractLog:
  12494. properties:
  12495. amount:
  12496. description: 支付金额
  12497. type: number
  12498. amounttype:
  12499. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12500. type: integer
  12501. logid:
  12502. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12503. type: string
  12504. remainamount:
  12505. description: 剩余货款
  12506. type: number
  12507. scfcontractid:
  12508. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12509. type: integer
  12510. updatetime:
  12511. description: 更新时间
  12512. type: string
  12513. type: object
  12514. models.QhjCusBankSignBankEx:
  12515. properties:
  12516. banklst:
  12517. description: 银行列表
  12518. items:
  12519. $ref: '#/definitions/models.QhjBankInfo'
  12520. type: array
  12521. canallot:
  12522. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12523. type: integer
  12524. canallotquery:
  12525. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12526. type: integer
  12527. canbindcard:
  12528. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12529. type: integer
  12530. caninamount:
  12531. description: 是否可入金 - 0:不可 1:可以
  12532. type: integer
  12533. caninamount2:
  12534. description: 是否可入金(网银端) - 0:不可 1:可以
  12535. type: integer
  12536. canmodifybankcard:
  12537. description: 是否可修改银行卡号 - 0:不可 1:可以
  12538. type: integer
  12539. canmodifyphone:
  12540. description: 是否可修改手机号 - 0:不可 1:可以
  12541. type: integer
  12542. canmodifysigninfo:
  12543. description: 是否可修改签约信息 - 0:不可 1:可以
  12544. type: integer
  12545. canoutamount:
  12546. description: 是否可出金 - 0:不可 1:可以
  12547. type: integer
  12548. canoutamount2:
  12549. description: 是否可出金(网银端) - 0:不可 1:可以
  12550. type: integer
  12551. canrelease:
  12552. description: 是否可解约 - 0:不可 1:可以
  12553. type: integer
  12554. canrelease2:
  12555. description: 是否可解约(网银端) - 0:不可 1:可以
  12556. type: integer
  12557. cansign:
  12558. description: 是否可签约 - 0:不可 1:可以
  12559. type: integer
  12560. cansign2:
  12561. description: 是否可签约(网银端) - 0:不可 1:可以
  12562. type: integer
  12563. currency:
  12564. description: 币种
  12565. type: string
  12566. cusbankid:
  12567. description: 托管银行编号(对应清算中心TRAN_NO)
  12568. type: string
  12569. cusbankname:
  12570. description: 银行业务名称
  12571. type: string
  12572. cusbankshortname:
  12573. description: 银行业务简称
  12574. type: string
  12575. exchbankid:
  12576. description: 交易所开户银行ID
  12577. type: string
  12578. exchpaybankaccname:
  12579. description: 交易所支出结算账户户名
  12580. type: string
  12581. exchpaybankaccno:
  12582. description: 交易所支出结算账户
  12583. type: string
  12584. isneedcheck:
  12585. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12586. type: integer
  12587. isneedclear:
  12588. description: 是否需要清算 - 0:不需要 1:需要
  12589. type: integer
  12590. lastcheckstatus:
  12591. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12592. type: integer
  12593. lastchecktime:
  12594. description: 最后对账时间
  12595. type: string
  12596. lastclearstatus:
  12597. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12598. type: integer
  12599. lastcleartime:
  12600. description: 最后清算时间
  12601. type: string
  12602. lastsignintime:
  12603. description: 最后签到时间
  12604. type: string
  12605. lastsignouttime:
  12606. description: 最后签退时间
  12607. type: string
  12608. riskinfo:
  12609. description: 签约风险提示书
  12610. type: string
  12611. signstatus:
  12612. description: 当前签到/签退状态 - 1:签到 2:签退
  12613. type: integer
  12614. tradedate:
  12615. description: 交易日(yyyyMMdd)
  12616. type: string
  12617. updatetime:
  12618. description: 当前签到/签退更新时间
  12619. type: string
  12620. type: object
  12621. models.QhjCustomer:
  12622. properties:
  12623. address:
  12624. description: 通讯地址
  12625. type: string
  12626. attachment1:
  12627. description: 附件1
  12628. type: string
  12629. attachment2:
  12630. description: 附件2
  12631. type: string
  12632. audittime:
  12633. description: 审核时间
  12634. type: string
  12635. cardbackphotourl:
  12636. description: 证件反面图片地址
  12637. type: string
  12638. cardfrontphotourl:
  12639. description: 证件正面图片地址
  12640. type: string
  12641. cardnum:
  12642. description: 证件号码
  12643. type: string
  12644. cardtype:
  12645. description: 证件类型
  12646. type: integer
  12647. cardtypename:
  12648. description: 证件类型名称
  12649. type: string
  12650. cityid:
  12651. description: 市
  12652. type: integer
  12653. cityname:
  12654. description: 城市名称
  12655. type: string
  12656. contactname:
  12657. description: 联系人
  12658. type: string
  12659. countryid:
  12660. description: 国家
  12661. type: integer
  12662. countryname:
  12663. description: 国家名称
  12664. type: string
  12665. createtime:
  12666. description: 创建时间
  12667. type: string
  12668. customername:
  12669. description: 客户名称
  12670. type: string
  12671. districtid:
  12672. description: 区域
  12673. type: integer
  12674. districtname:
  12675. description: 地区名称
  12676. type: string
  12677. email:
  12678. description: 邮件
  12679. type: string
  12680. legalpersonname:
  12681. description: 法人姓名(企业)
  12682. type: string
  12683. logincode:
  12684. description: 登录账号(代码)
  12685. type: string
  12686. memberuserid:
  12687. description: 所属机构ID(所属会员)
  12688. type: integer
  12689. memberusername:
  12690. description: 所属会员名称
  12691. type: string
  12692. mobile:
  12693. description: 手机号码
  12694. type: string
  12695. modifytime:
  12696. description: 修改时间
  12697. type: string
  12698. nickname:
  12699. description: 昵称
  12700. type: string
  12701. parentuserid:
  12702. description: 上级机构(所属机构)
  12703. type: integer
  12704. parentusername:
  12705. description: 所属机构名称
  12706. type: string
  12707. provinceid:
  12708. description: 省
  12709. type: integer
  12710. provincename:
  12711. description: 省名称
  12712. type: string
  12713. proxystatementurl:
  12714. description: 授权委托书
  12715. type: string
  12716. remark:
  12717. description: 备注
  12718. type: string
  12719. status:
  12720. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12721. type: integer
  12722. statusdesc:
  12723. description: 账户状态中文描述
  12724. type: string
  12725. taxpayernum:
  12726. description: 纳税人识别号
  12727. type: string
  12728. telphone:
  12729. description: 联系电话
  12730. type: string
  12731. userid:
  12732. description: 用户ID
  12733. type: integer
  12734. userinfotype:
  12735. description: 客户类型 1-个人 2-企业
  12736. type: integer
  12737. username:
  12738. description: 用户名称
  12739. type: string
  12740. type: object
  12741. models.QhjCustomerSignLog:
  12742. properties:
  12743. agreementcontent:
  12744. description: 协议内容
  12745. type: string
  12746. agreementid:
  12747. description: 协议ID
  12748. type: integer
  12749. agreementname:
  12750. description: 协议名称
  12751. type: string
  12752. agreementno:
  12753. description: 协议编号
  12754. type: string
  12755. agreementtype:
  12756. description: 协议类型 - 1:注册 2:登录 3:交易
  12757. type: integer
  12758. agreementversion:
  12759. description: 协议版本号
  12760. type: integer
  12761. createtime:
  12762. description: 创建时间
  12763. type: string
  12764. goodscode:
  12765. description: 商品代码
  12766. type: string
  12767. goodsid:
  12768. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12769. type: integer
  12770. goodsname:
  12771. description: 商品名称
  12772. type: string
  12773. logid:
  12774. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12775. type: integer
  12776. nodetype:
  12777. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12778. type: integer
  12779. signadressurl:
  12780. description: 签约文件地址
  12781. type: string
  12782. signtimestamp:
  12783. description: 签约状态时间戳
  12784. type: string
  12785. userid:
  12786. description: 客户ID
  12787. type: integer
  12788. username:
  12789. description: 客户名称
  12790. type: string
  12791. type: object
  12792. models.QhjCustomerSignStatus:
  12793. properties:
  12794. createtime:
  12795. description: 创建时间
  12796. type: string
  12797. goodscode:
  12798. description: 商品代码
  12799. type: string
  12800. goodsid:
  12801. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12802. type: integer
  12803. goodsname:
  12804. description: 商品名称
  12805. type: string
  12806. nodetype:
  12807. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12808. type: integer
  12809. signtimestamp:
  12810. description: 签约状态时间戳
  12811. type: string
  12812. tradedate:
  12813. description: 创建交易日(yyyyMMdd)
  12814. type: string
  12815. updatetime:
  12816. description: 更新时间
  12817. type: string
  12818. userid:
  12819. description: 客户ID
  12820. type: integer
  12821. username:
  12822. description: 客户名称
  12823. type: string
  12824. type: object
  12825. models.QhjMgrAccountOutInApply:
  12826. properties:
  12827. accountcode:
  12828. description: 资金账号
  12829. type: string
  12830. accountname:
  12831. description: 用户名称(名称)
  12832. type: string
  12833. accountpwd:
  12834. description: 资金密码
  12835. type: string
  12836. accountticket:
  12837. description: 最新账户服务流水号
  12838. type: string
  12839. amount:
  12840. description: 金额
  12841. type: number
  12842. applyremark:
  12843. description: 申请备注
  12844. type: string
  12845. applystatus:
  12846. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12847. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12848. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12849. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12850. type: integer
  12851. auditid:
  12852. description: 审核人
  12853. type: integer
  12854. audittime:
  12855. description: 审核时间
  12856. type: string
  12857. bank_apply_ticket:
  12858. description: 银行申请流水
  12859. type: string
  12860. bankaccountname:
  12861. description: 银行账户名
  12862. type: string
  12863. bankaccountno:
  12864. description: 银行卡号
  12865. type: string
  12866. bankid:
  12867. description: 银行编号
  12868. type: string
  12869. bankname:
  12870. description: 银行名称
  12871. type: string
  12872. bankticket:
  12873. description: 银行流水
  12874. type: string
  12875. branchbankid:
  12876. description: 银行支行号
  12877. type: string
  12878. branchbankname:
  12879. description: 银行支行名称
  12880. type: string
  12881. capamountout:
  12882. description: 出金(劣后本金) - 外部子账户
  12883. type: number
  12884. certificatephotourl:
  12885. description: 凭证地址
  12886. type: string
  12887. charge:
  12888. description: 手续费
  12889. type: number
  12890. checkerrorflag:
  12891. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12892. type: integer
  12893. currency:
  12894. description: 币种
  12895. type: string
  12896. cusbankid:
  12897. description: 托管银行编号
  12898. type: string
  12899. exchticket:
  12900. description: 银行服务流水号
  12901. type: string
  12902. executetype:
  12903. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12904. 7:外部子账户:入金 8:外部子账户:出金'
  12905. type: integer
  12906. extendinfo:
  12907. description: 扩展信息
  12908. type: string
  12909. extoperateid:
  12910. description: 交易服务流水号
  12911. type: integer
  12912. infamount:
  12913. description: 劣后金额(自有)
  12914. type: number
  12915. logincode:
  12916. description: 登录账号(账号)
  12917. type: string
  12918. netaddr:
  12919. description: 调转网址
  12920. type: string
  12921. priamount:
  12922. description: 优先金额(授信)
  12923. type: number
  12924. reauditid:
  12925. description: 复审人
  12926. type: integer
  12927. reauditremark:
  12928. description: 复审备注
  12929. type: string
  12930. reaudittime:
  12931. description: 复审时间
  12932. type: string
  12933. relatedorderid:
  12934. description: 三方关联ID
  12935. type: string
  12936. remark:
  12937. description: 备注
  12938. type: string
  12939. remark2:
  12940. description: 备注(失败原因)
  12941. type: string
  12942. soucreamount:
  12943. description: 原始出入金金额
  12944. type: number
  12945. soucrecurrencyid:
  12946. description: 原始出入金币种
  12947. type: integer
  12948. tradedate:
  12949. description: 交易日(yyyyMMdd)
  12950. type: string
  12951. updatetime:
  12952. description: 更新时间(申请时间)
  12953. type: string
  12954. userid:
  12955. description: 用户id
  12956. type: integer
  12957. userinfotype:
  12958. description: 账户类型 1-个人 2-企业
  12959. type: integer
  12960. type: object
  12961. models.QhjMgrBrokerApply:
  12962. properties:
  12963. applicantid:
  12964. description: 申请人
  12965. type: integer
  12966. applysrc:
  12967. description: 申请来源 - 1:管理端 2:终端
  12968. type: integer
  12969. applystatus:
  12970. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12971. type: integer
  12972. applytime:
  12973. description: 申请时间
  12974. type: string
  12975. auditorid:
  12976. description: 审核人
  12977. type: integer
  12978. auditremark:
  12979. description: 审核备注
  12980. type: string
  12981. auditsrc:
  12982. description: 审核来源 - 1:管理端 2:终端
  12983. type: integer
  12984. audittime:
  12985. description: 审核时间
  12986. type: string
  12987. audittradedate:
  12988. description: 审核交易日(yyyyMMdd)
  12989. type: string
  12990. brokerapplyid:
  12991. description: 申请ID(SEQ_BROKERAPPLY)
  12992. type: integer
  12993. cardbackphotourl:
  12994. description: 证件背面图片地址
  12995. type: string
  12996. cardfrontphotourl:
  12997. description: 证件正面图片地址
  12998. type: string
  12999. cardnum:
  13000. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13001. type: string
  13002. customername:
  13003. description: 姓名
  13004. type: string
  13005. filterstatus:
  13006. description: 筛选条件
  13007. type: string
  13008. logincode:
  13009. description: 登录代码
  13010. type: string
  13011. mobile:
  13012. description: 手机号码
  13013. type: string
  13014. parentuserid:
  13015. description: 所属机构id
  13016. type: integer
  13017. parentusername:
  13018. description: 所属机构名称
  13019. type: string
  13020. refereeuserid:
  13021. description: 推荐人id(经纪人)
  13022. type: integer
  13023. refernum:
  13024. description: 推荐码
  13025. type: string
  13026. remark:
  13027. description: 备注
  13028. type: string
  13029. subarealevelpath:
  13030. description: 层级路径
  13031. type: string
  13032. tradedate:
  13033. description: 交易日(yyyyMMdd)
  13034. type: string
  13035. userid:
  13036. description: 申请人用户ID
  13037. type: integer
  13038. userinfotype:
  13039. description: 用户类型 1-个人 2-企业
  13040. type: integer
  13041. username:
  13042. description: 用户名称
  13043. type: string
  13044. type: object
  13045. models.QhjMgrBrokerRewardReport:
  13046. properties:
  13047. createtime:
  13048. description: 创建时间(注册时间)
  13049. type: string
  13050. cycletime:
  13051. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13052. type: string
  13053. cycletype:
  13054. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13055. type: integer
  13056. directtotalnum:
  13057. description: 直推总人数【期末】
  13058. type: integer
  13059. indirecttotalnum:
  13060. description: 间推总人数【期末】
  13061. type: integer
  13062. mobile:
  13063. description: 电话号码
  13064. type: string
  13065. refereeuserid:
  13066. description: 推荐人id(经纪人id)
  13067. type: integer
  13068. refereeusername:
  13069. description: 推荐人名称(经纪人) 上级经纪人名称
  13070. type: string
  13071. refernum:
  13072. description: 推荐码
  13073. type: string
  13074. subarealevelpath:
  13075. description: 用户层级路径
  13076. type: string
  13077. todayrewardamount:
  13078. description: 奖励总金额【汇总】
  13079. type: number
  13080. updatetime:
  13081. description: 更新时间
  13082. type: string
  13083. userid:
  13084. description: 经纪人用户ID
  13085. type: integer
  13086. userinfotype:
  13087. description: 用户类型 1-个人 2-企业
  13088. type: integer
  13089. username:
  13090. description: 用户名称
  13091. type: string
  13092. type: object
  13093. models.QhjMgrContract:
  13094. properties:
  13095. contractconfirmtime:
  13096. description: 合同确认时间(时间)
  13097. type: string
  13098. currisklevel:
  13099. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13100. type: integer
  13101. decimalplace:
  13102. description: 商品报价小数位
  13103. type: integer
  13104. enumdicname:
  13105. description: 单位名称
  13106. type: string
  13107. goodscode:
  13108. description: 商品代码
  13109. type: string
  13110. goodsid:
  13111. description: 商品ID [5:融资单]
  13112. type: integer
  13113. goodsname:
  13114. description: 商品名称
  13115. type: string
  13116. goodunitid:
  13117. description: 商品单位id
  13118. type: integer
  13119. initmargin:
  13120. description: 初始保证金(首付款)
  13121. type: number
  13122. lenderamount:
  13123. description: 贷款金额(总额|订单总额)
  13124. type: number
  13125. logincode:
  13126. description: 账号(登录代码)
  13127. type: string
  13128. marginratio:
  13129. description: 保证金比率(首付比例)
  13130. type: number
  13131. mobile:
  13132. description: 电话号码(用户资料里的电话)
  13133. type: string
  13134. payamount:
  13135. description: 已付(已付货款)
  13136. type: number
  13137. reckonrecovermargin:
  13138. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13139. type: number
  13140. recoveredmargin:
  13141. description: 已追缴保证金
  13142. type: number
  13143. remainamount:
  13144. description: 合同剩余金额(融资额)
  13145. type: number
  13146. scfcontractid:
  13147. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13148. type: string
  13149. scfcontractstatus:
  13150. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13151. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13152. type: integer
  13153. scfcontracttype:
  13154. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13155. type: integer
  13156. totalinterest:
  13157. description: 已计总利息(利息)
  13158. type: number
  13159. tradedate:
  13160. description: 交易日
  13161. type: string
  13162. tradeprice:
  13163. description: 成交价格(成本价格)
  13164. type: number
  13165. userid:
  13166. description: 用户ID
  13167. type: integer
  13168. userinfotype:
  13169. description: 用户类型 1-个人 2-企业
  13170. type: integer
  13171. username:
  13172. description: 用户名称
  13173. type: string
  13174. wrqty:
  13175. description: 仓单数量(数量)
  13176. type: number
  13177. type: object
  13178. models.QhjMgrCustomer:
  13179. properties:
  13180. address:
  13181. description: 通讯地址
  13182. type: string
  13183. attachment1:
  13184. description: 附件1
  13185. type: string
  13186. audittime:
  13187. description: 审核时间
  13188. type: string
  13189. birthday:
  13190. description: 生日
  13191. type: string
  13192. brokerid:
  13193. description: 所属客户经理id
  13194. type: integer
  13195. brokername:
  13196. description: 所属客户经理名称
  13197. type: string
  13198. cardbackphotourl:
  13199. description: 证件反面图片地址
  13200. type: string
  13201. cardfrontphotourl:
  13202. description: 证件正面图片地址
  13203. type: string
  13204. cardnum:
  13205. description: 证件号码
  13206. type: string
  13207. cardtype:
  13208. description: 证件类型
  13209. type: integer
  13210. cardtypename:
  13211. description: 证件类型名称
  13212. type: string
  13213. cityid:
  13214. description: 市
  13215. type: integer
  13216. cityname:
  13217. description: 城市名称
  13218. type: string
  13219. contactname:
  13220. description: 联系人
  13221. type: string
  13222. countryid:
  13223. description: 国家
  13224. type: integer
  13225. countryname:
  13226. description: 国家名称
  13227. type: string
  13228. createtime:
  13229. description: 创建时间
  13230. type: string
  13231. customername:
  13232. description: 客户名称
  13233. type: string
  13234. districtid:
  13235. description: 区域
  13236. type: integer
  13237. districtname:
  13238. description: 地区名称
  13239. type: string
  13240. email:
  13241. description: 邮件
  13242. type: string
  13243. legalpersonname:
  13244. description: 法人姓名(企业)
  13245. type: string
  13246. logincode:
  13247. description: 登录账号(代码)
  13248. type: string
  13249. memberuserid:
  13250. description: 所属机构ID(所属会员)
  13251. type: integer
  13252. memberusername:
  13253. description: 所属会员名称
  13254. type: string
  13255. mobile:
  13256. description: 手机号码
  13257. type: string
  13258. modifytime:
  13259. description: 修改时间
  13260. type: string
  13261. nickname:
  13262. description: 昵称
  13263. type: string
  13264. parentuserid:
  13265. description: 上级机构(所属机构)
  13266. type: integer
  13267. parentusername:
  13268. description: 所属机构名称
  13269. type: string
  13270. provinceid:
  13271. description: 省
  13272. type: integer
  13273. provincename:
  13274. description: 省名称
  13275. type: string
  13276. proxystatementurl:
  13277. description: 授权委托书
  13278. type: string
  13279. querytype:
  13280. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13281. type: integer
  13282. remark:
  13283. description: 备注
  13284. type: string
  13285. sex:
  13286. description: 性别 0-女 1-男
  13287. type: integer
  13288. status:
  13289. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13290. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13291. type: integer
  13292. statusdesc:
  13293. description: 账户状态中文描述
  13294. type: string
  13295. taxpayernum:
  13296. description: 纳税人识别号
  13297. type: string
  13298. telphone:
  13299. description: 联系电话
  13300. type: string
  13301. userid:
  13302. description: 用户ID
  13303. type: integer
  13304. userinfotype:
  13305. description: 客户类型 1-个人 2-企业
  13306. type: integer
  13307. username:
  13308. description: 用户名称
  13309. type: string
  13310. type: object
  13311. models.QhjMgrPickGoods:
  13312. properties:
  13313. enumdicname:
  13314. description: 单位名称(提货商品)
  13315. type: string
  13316. goodsid:
  13317. description: 商品id
  13318. type: integer
  13319. imageaddress:
  13320. description: 图片
  13321. type: string
  13322. modifierid:
  13323. description: 修改人
  13324. type: integer
  13325. modifiername:
  13326. description: 修改人名称
  13327. type: string
  13328. modifysrc:
  13329. description: 修改来源 - 1:管理端 2:终端
  13330. type: integer
  13331. pickupgoodsagreeunit:
  13332. description: 合约乘数
  13333. type: number
  13334. pickupgoodsdesc:
  13335. description: 描述
  13336. type: string
  13337. pickupgoodsid:
  13338. description: 提货商品ID
  13339. type: string
  13340. pickupgoodsname:
  13341. description: 提货商品名称
  13342. type: string
  13343. pickupgoodsstatus:
  13344. description: 状态 - 1:正常 2:停用 3:注销
  13345. type: integer
  13346. pickupgoodsunitid:
  13347. description: 单位ID
  13348. type: integer
  13349. pickupratio:
  13350. description: 提货系数
  13351. type: number
  13352. preparedays:
  13353. description: 备货期(天)
  13354. type: integer
  13355. remark:
  13356. description: 备注
  13357. type: string
  13358. updatetime:
  13359. description: 更新时间
  13360. type: string
  13361. type: object
  13362. models.QhjMgrPositionRsp:
  13363. properties:
  13364. accountid:
  13365. description: 账号Id
  13366. type: integer
  13367. accountname:
  13368. description: 用户名称
  13369. type: string
  13370. agreeunit:
  13371. description: 合约乘数
  13372. type: number
  13373. averageprice:
  13374. description: 均价
  13375. type: number
  13376. avialqty:
  13377. description: 可用数量
  13378. type: number
  13379. decimalplace:
  13380. description: 报价小数位
  13381. type: integer
  13382. enumdicname:
  13383. description: 单位名称(商品)
  13384. type: string
  13385. frozenqty:
  13386. description: 冻结数量
  13387. type: number
  13388. goodscode:
  13389. description: 商品代码(内部)
  13390. type: string
  13391. goodsid:
  13392. description: 商品Id
  13393. type: integer
  13394. goodsname:
  13395. description: 商品名称
  13396. type: string
  13397. goodunitid:
  13398. description: 报价单位ID
  13399. type: integer
  13400. holderamount:
  13401. description: 金额
  13402. type: number
  13403. holderqty:
  13404. description: 持有数量
  13405. type: number
  13406. holdertype:
  13407. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13408. type: integer
  13409. logincode:
  13410. description: 登录代码(账户)
  13411. type: string
  13412. marketid:
  13413. description: 市场id
  13414. type: integer
  13415. qtydecimalplace:
  13416. description: 成交量小数位
  13417. type: integer
  13418. trademode:
  13419. description: 交易模式
  13420. type: integer
  13421. userid:
  13422. description: 用户id
  13423. type: integer
  13424. userinfotype:
  13425. description: 账户类型 1-个人 2-企业
  13426. type: integer
  13427. type: object
  13428. models.QhjMgrSubArea:
  13429. properties:
  13430. accountname:
  13431. description: 账户名称(机构名称)
  13432. type: string
  13433. memberuserid:
  13434. description: 所属会员ID
  13435. type: integer
  13436. parenttopuser:
  13437. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13438. type: string
  13439. parentuserid:
  13440. description: 所属机构ID
  13441. type: integer
  13442. rootuserid:
  13443. description: 根用户ID
  13444. type: string
  13445. subaccountlevel:
  13446. description: 子账户层数
  13447. type: integer
  13448. subarealevelpath:
  13449. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13450. type: string
  13451. userid:
  13452. description: 用户ID
  13453. type: integer
  13454. usertype:
  13455. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13456. type: integer
  13457. type: object
  13458. models.QhjMgrTradeDetailRsp:
  13459. properties:
  13460. accountid:
  13461. description: 资金账号
  13462. type: integer
  13463. accountname:
  13464. description: 用户名称
  13465. type: string
  13466. agreeunit:
  13467. description: 合约乘数
  13468. type: number
  13469. buyorsell:
  13470. description: 成交类型(方向) 0:买 1:卖
  13471. type: integer
  13472. decimalplace:
  13473. description: 报价小数位
  13474. type: integer
  13475. enumdicname:
  13476. description: 单位名称(商品)
  13477. type: string
  13478. goodscode:
  13479. description: 商品代码(内部)
  13480. type: string
  13481. goodsid:
  13482. description: 商品id
  13483. type: integer
  13484. goodsname:
  13485. description: 商品名称
  13486. type: string
  13487. goodunitid:
  13488. description: 报价单位ID
  13489. type: integer
  13490. logincode:
  13491. description: 登录代码(账户)
  13492. type: string
  13493. marketid:
  13494. description: 市场id
  13495. type: integer
  13496. orderid:
  13497. description: 关联委托单号
  13498. type: string
  13499. qtydecimalplace:
  13500. description: 成交量小数位
  13501. type: integer
  13502. tradeamount:
  13503. description: 金额
  13504. type: number
  13505. tradedate:
  13506. description: 交易日
  13507. type: string
  13508. tradeid:
  13509. description: 成交单号
  13510. type: string
  13511. trademode:
  13512. description: 交易模式
  13513. type: integer
  13514. tradeprice:
  13515. description: 价格
  13516. type: number
  13517. tradeqty:
  13518. description: 数量
  13519. type: number
  13520. tradetime:
  13521. description: 成交时间
  13522. type: string
  13523. userid:
  13524. description: 用户id
  13525. type: integer
  13526. userinfotype:
  13527. description: 账户类型 1-个人 2-企业
  13528. type: integer
  13529. type: object
  13530. models.QhjMgrTradeOrderDetailRsp:
  13531. properties:
  13532. accountid:
  13533. description: 资金账号
  13534. type: integer
  13535. accountname:
  13536. description: 用户名称
  13537. type: string
  13538. agreeunit:
  13539. description: 合约乘数
  13540. type: number
  13541. amount:
  13542. description: 金额
  13543. type: number
  13544. decimalplace:
  13545. description: 报价小数位
  13546. type: integer
  13547. enumdicname:
  13548. description: 单位名称(商品)
  13549. type: string
  13550. goodscode:
  13551. description: 商品代码(内部)
  13552. type: string
  13553. goodsid:
  13554. description: 商品id
  13555. type: integer
  13556. goodsname:
  13557. description: 商品名称
  13558. type: string
  13559. goodunitid:
  13560. description: 报价单位ID
  13561. type: integer
  13562. logincode:
  13563. description: 登录代码(账户)
  13564. type: string
  13565. marketid:
  13566. description: 市场id
  13567. type: integer
  13568. orderid:
  13569. description: 关联委托单号
  13570. type: string
  13571. orderprice:
  13572. description: 价格
  13573. type: number
  13574. orderqty:
  13575. description: 数量
  13576. type: number
  13577. orderstatus:
  13578. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13579. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13580. 16:成交失败违约(荷兰式竞拍专用)
  13581. type: integer
  13582. ordertime:
  13583. description: 委托时间
  13584. type: string
  13585. qtydecimalplace:
  13586. description: 成交量小数位
  13587. type: integer
  13588. tradedate:
  13589. description: 交易日
  13590. type: string
  13591. trademode:
  13592. description: 交易模式
  13593. type: integer
  13594. userid:
  13595. description: 用户id
  13596. type: integer
  13597. userinfotype:
  13598. description: 账户类型 1-个人 2-企业
  13599. type: integer
  13600. type: object
  13601. models.QhjMgrTradePayOrder:
  13602. properties:
  13603. accountname:
  13604. description: 用户名称
  13605. type: string
  13606. advanceratio:
  13607. description: 首付比率
  13608. type: number
  13609. agreeunit:
  13610. description: 合约乘数
  13611. type: number
  13612. buyaccountid:
  13613. description: 买方账号ID[报价币种]
  13614. type: integer
  13615. buyorderid:
  13616. description: 买方委托单号(关联单号)
  13617. type: string
  13618. createtime:
  13619. description: 创建时间
  13620. type: string
  13621. decimalplace:
  13622. description: 报价小数位
  13623. type: integer
  13624. enumdicname:
  13625. description: 单位名称(商品)
  13626. type: string
  13627. goodscode:
  13628. description: 商品代码(内部)
  13629. type: string
  13630. goodsid:
  13631. description: 商品ID
  13632. type: integer
  13633. goodsname:
  13634. description: 商品名称
  13635. type: string
  13636. goodunitid:
  13637. description: 报价单位ID
  13638. type: integer
  13639. logincode:
  13640. description: 登录代码(账户)
  13641. type: string
  13642. marketid:
  13643. description: 市场id
  13644. type: integer
  13645. offamount:
  13646. description: 优惠金额
  13647. type: number
  13648. operatetype:
  13649. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13650. type: integer
  13651. payamount:
  13652. description: 支付金额(金额)
  13653. type: number
  13654. payflag:
  13655. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13656. type: integer
  13657. paylimitedtime:
  13658. description: 支付期限
  13659. type: string
  13660. paytime:
  13661. description: 付款时间
  13662. type: string
  13663. qtydecimalplace:
  13664. description: 成交量小数位
  13665. type: integer
  13666. sellaccountid:
  13667. description: 卖方账号ID[报价币种]
  13668. type: integer
  13669. sellorderid:
  13670. description: 卖方委托单号
  13671. type: string
  13672. tradeamount:
  13673. description: 成交金额(优惠后金额)
  13674. type: number
  13675. tradecharge:
  13676. description: 成交手续费(买方)
  13677. type: number
  13678. tradedate:
  13679. description: 交易日(yyyyMMdd)
  13680. type: string
  13681. tradeid:
  13682. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13683. type: string
  13684. trademode:
  13685. description: 交易模式
  13686. type: integer
  13687. tradeprice:
  13688. description: 成交价格(价格)
  13689. type: number
  13690. tradeqty:
  13691. description: 成交数量(数量)
  13692. type: number
  13693. tradetime:
  13694. description: 成交时间
  13695. type: string
  13696. userid:
  13697. description: 用户id
  13698. type: integer
  13699. userinfotype:
  13700. description: 账户类型 1-个人 2-企业
  13701. type: integer
  13702. type: object
  13703. models.QhjMyTeamEx:
  13704. properties:
  13705. accountname:
  13706. description: 用户名称
  13707. type: string
  13708. accountstatus:
  13709. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13710. type: integer
  13711. createtime:
  13712. description: 创建时间
  13713. type: string
  13714. mobile:
  13715. description: 手机号码
  13716. type: string
  13717. refereeuserid:
  13718. description: 推荐人id
  13719. type: integer
  13720. refernum:
  13721. description: 推荐码
  13722. type: string
  13723. subList:
  13724. items:
  13725. $ref: '#/definitions/models.QhjMyTeamEx'
  13726. type: array
  13727. userid:
  13728. description: 用户id
  13729. type: integer
  13730. userinfotype:
  13731. description: 用户类型 1-个人 2-企业
  13732. type: integer
  13733. type: object
  13734. models.QhjNodeAgreementConfig:
  13735. properties:
  13736. agreementcontent:
  13737. description: 协议内容
  13738. type: string
  13739. agreementid:
  13740. description: 协议ID
  13741. type: integer
  13742. agreementname:
  13743. description: 协议名称
  13744. type: string
  13745. agreementno:
  13746. description: 协议编号
  13747. type: string
  13748. agreementtype:
  13749. description: 协议类型 - 1:注册 2:登录 3:交易
  13750. type: integer
  13751. agreementversion:
  13752. description: 协议版本号
  13753. type: integer
  13754. configid:
  13755. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13756. type: integer
  13757. createtime:
  13758. description: 创建时间
  13759. type: string
  13760. goodsid:
  13761. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13762. type: integer
  13763. nodetype:
  13764. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13765. type: integer
  13766. type: object
  13767. models.QhjParentAreaList:
  13768. properties:
  13769. accountname:
  13770. description: 账户名称(机构名称)
  13771. type: string
  13772. userid:
  13773. description: 用户ID
  13774. type: integer
  13775. usertype:
  13776. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13777. type: integer
  13778. type: object
  13779. models.QhjPayOrder:
  13780. properties:
  13781. advanceratio:
  13782. description: 首付比率
  13783. type: number
  13784. buyaccountid:
  13785. description: 买方账号ID[报价币种]
  13786. type: integer
  13787. buyorderid:
  13788. description: 买方委托单号
  13789. type: string
  13790. createtime:
  13791. description: 创建时间
  13792. type: string
  13793. decimalplace:
  13794. description: 商品报价小数位
  13795. type: integer
  13796. enumdicname:
  13797. description: 单位名称
  13798. type: string
  13799. goodscode:
  13800. description: 商品代码
  13801. type: string
  13802. goodsid:
  13803. description: 商品ID
  13804. type: integer
  13805. goodsname:
  13806. description: 商品名称
  13807. type: string
  13808. goodunitid:
  13809. description: 商品单位id
  13810. type: integer
  13811. marketid:
  13812. description: 市场ID
  13813. type: integer
  13814. offamount:
  13815. description: 优惠金额
  13816. type: number
  13817. operatetype:
  13818. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13819. type: integer
  13820. payamount:
  13821. description: 支付金额
  13822. type: number
  13823. payflag:
  13824. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13825. type: integer
  13826. paylimitedtime:
  13827. description: 支付期限
  13828. type: string
  13829. paytime:
  13830. description: 付款时间
  13831. type: string
  13832. qtydecimalplace:
  13833. description: 成交量小数位
  13834. type: integer
  13835. sellaccountid:
  13836. description: 卖方账号ID[报价币种]
  13837. type: integer
  13838. sellorderid:
  13839. description: 卖方委托单号
  13840. type: string
  13841. tradeamount:
  13842. description: 成交金额(优惠后金额)
  13843. type: number
  13844. tradecharge:
  13845. description: 成交手续费(买方)
  13846. type: number
  13847. tradedate:
  13848. description: 交易日(yyyyMMdd)
  13849. type: string
  13850. tradeid:
  13851. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13852. type: string
  13853. tradeprice:
  13854. description: 成交价格
  13855. type: number
  13856. tradeqty:
  13857. description: 成交数量
  13858. type: number
  13859. type: object
  13860. models.QhjPickArea:
  13861. properties:
  13862. address:
  13863. description: 详细地址
  13864. type: string
  13865. cityid:
  13866. description: 市
  13867. type: integer
  13868. cityname:
  13869. description: 城市名称
  13870. type: string
  13871. countryid:
  13872. description: 国家
  13873. type: integer
  13874. countryname:
  13875. description: 国家名称
  13876. type: string
  13877. districtid:
  13878. description: 地区
  13879. type: integer
  13880. districtname:
  13881. description: 地区名称
  13882. type: string
  13883. fromuserid:
  13884. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13885. type: integer
  13886. fromusername:
  13887. description: 所属机构名称
  13888. type: string
  13889. provinceid:
  13890. description: 省
  13891. type: integer
  13892. provincename:
  13893. description: 省名称
  13894. type: string
  13895. suborgtype:
  13896. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13897. type: integer
  13898. userid:
  13899. description: 机构用户ID 其他做市关系,都设置为 1
  13900. type: integer
  13901. username:
  13902. description: 机构用户名称(门店门称)
  13903. type: string
  13904. type: object
  13905. models.QhjPickGoods:
  13906. properties:
  13907. enumdicname:
  13908. description: 单位名称(提货商品)
  13909. type: string
  13910. goodsid:
  13911. description: 商品id
  13912. type: integer
  13913. imageaddress:
  13914. description: 图片
  13915. type: string
  13916. modifierid:
  13917. description: 修改人
  13918. type: integer
  13919. modifiername:
  13920. description: 修改人名称
  13921. type: string
  13922. modifysrc:
  13923. description: 修改来源 - 1:管理端 2:终端
  13924. type: integer
  13925. pickupgoodsagreeunit:
  13926. description: 合约乘数
  13927. type: number
  13928. pickupgoodsdesc:
  13929. description: 描述
  13930. type: string
  13931. pickupgoodsid:
  13932. description: 提货商品ID
  13933. type: string
  13934. pickupgoodsname:
  13935. description: 提货商品名称
  13936. type: string
  13937. pickupgoodsstatus:
  13938. description: 状态 - 1:正常 2:停用 3:注销
  13939. type: integer
  13940. pickupgoodsunitid:
  13941. description: 单位ID
  13942. type: integer
  13943. pickupratio:
  13944. description: 提货系数
  13945. type: number
  13946. preparedays:
  13947. description: 备货期(天)
  13948. type: integer
  13949. remark:
  13950. description: 备注
  13951. type: string
  13952. updatetime:
  13953. description: 更新时间
  13954. type: string
  13955. type: object
  13956. models.QhjRSTriggerLog:
  13957. properties:
  13958. accountid:
  13959. description: 用户资金账户
  13960. type: integer
  13961. accountname:
  13962. description: 账号名称(ACCOUNTID对应的名称)
  13963. type: string
  13964. currencyid:
  13965. description: 币种id
  13966. type: integer
  13967. currencyname:
  13968. description: 币种名称
  13969. type: string
  13970. decimalplace:
  13971. description: 商品报价小数位
  13972. type: integer
  13973. enumdicname:
  13974. description: 单位名称
  13975. type: string
  13976. goodscode:
  13977. description: 定投商品代码
  13978. type: string
  13979. goodsid:
  13980. description: 定投商品ID
  13981. type: integer
  13982. goodsname:
  13983. description: 定投商品名称
  13984. type: string
  13985. goodunitid:
  13986. description: 定投商品单位id
  13987. type: integer
  13988. logid:
  13989. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13990. type: string
  13991. logincode:
  13992. description: 账号(登录代码)
  13993. type: string
  13994. qtydecimalplace:
  13995. description: 成交量小数位
  13996. type: integer
  13997. regularlycycle:
  13998. description: 定投频率 - 1:每周 2:每月
  13999. type: integer
  14000. regularlycyclevalue:
  14001. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14002. type: string
  14003. regularlymode:
  14004. description: 定投方式 - 1:按数量 2:按金额
  14005. type: integer
  14006. regularlymodevalue:
  14007. description: 定投方式值 - 数量或金额
  14008. type: number
  14009. regularlystrategyid:
  14010. description: 定投策略ID
  14011. type: integer
  14012. retcode:
  14013. description: 错误码
  14014. type: string
  14015. tradeid:
  14016. description: 成交单ID
  14017. type: string
  14018. triggeramount:
  14019. description: 触发金额
  14020. type: number
  14021. triggerqty:
  14022. description: 触发数量
  14023. type: number
  14024. triggerstatus:
  14025. description: 触发状态 - 1:成功 2:失败
  14026. type: integer
  14027. triggertime:
  14028. description: 触发时间
  14029. type: string
  14030. triggertradedate:
  14031. description: 触发交易日
  14032. type: string
  14033. userid:
  14034. description: 所属用户ID
  14035. type: integer
  14036. userinfotype:
  14037. description: 用户类型 1-个人 2-企业
  14038. type: integer
  14039. username:
  14040. description: 用户名称(userid对应的名称)
  14041. type: string
  14042. type: object
  14043. models.QhjRStrategy:
  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. lasteffecttradedate:
  14076. description: 最新生效交易日
  14077. type: string
  14078. laststoptradedate:
  14079. description: 最新暂停交易日
  14080. type: string
  14081. lasttriggertradedate:
  14082. description: 最新触发交易日
  14083. type: string
  14084. logincode:
  14085. description: 账号(登录代码)
  14086. type: string
  14087. nexttriggeramount:
  14088. description: 下次触发金额
  14089. type: number
  14090. nexttriggerdate:
  14091. description: 下次触发日期
  14092. type: string
  14093. nexttriggerqty:
  14094. description: 下次触发数量 [按小数位放大值]
  14095. type: number
  14096. qtydecimalplace:
  14097. description: 成交量小数位
  14098. type: integer
  14099. regularlycycle:
  14100. description: 定投频率 - 1:每周 2:每月
  14101. type: integer
  14102. regularlycyclevalue:
  14103. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14104. type: string
  14105. regularlymode:
  14106. description: 定投方式 - 1:按数量 2:按金额
  14107. type: integer
  14108. regularlymodevalue:
  14109. description: 定投方式值 - 数量或金额
  14110. type: number
  14111. regularlystrategyid:
  14112. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14113. type: integer
  14114. regularlystrategystatus:
  14115. description: 策略状态 - 1:正常 2:暂停 3:终止
  14116. type: integer
  14117. remark:
  14118. description: 备注
  14119. type: string
  14120. triggersuccesstimes:
  14121. description: 累计定投成功次数
  14122. type: string
  14123. triggertotalamount:
  14124. description: 累计定投金额(成功)
  14125. type: number
  14126. triggertotalqty:
  14127. description: 累计定投数量(成功) [按小数位放大值]
  14128. type: number
  14129. triggertotaltimes:
  14130. description: 累计定投总次数
  14131. type: string
  14132. updatesrc:
  14133. description: 更新来源 - 1:管理端 2:终端
  14134. type: integer
  14135. updatetime:
  14136. description: 更新时间
  14137. type: string
  14138. updatorid:
  14139. description: 更新人
  14140. type: string
  14141. userid:
  14142. description: 所属用户ID
  14143. type: integer
  14144. userinfotype:
  14145. description: 用户类型 1-个人 2-企业
  14146. type: integer
  14147. username:
  14148. description: 用户名称(userid对应的名称)
  14149. type: string
  14150. type: object
  14151. models.QhjReckonPriceLog:
  14152. properties:
  14153. decimalplace:
  14154. description: 商品报价小数位
  14155. type: integer
  14156. goodscode:
  14157. description: 商品代码
  14158. type: string
  14159. goodsid:
  14160. description: 商品ID
  14161. type: integer
  14162. goodsname:
  14163. description: 商品名称
  14164. type: string
  14165. lastreckonprice:
  14166. description: 上日结算价
  14167. type: number
  14168. nextdnlimitprice:
  14169. description: 下个交易日跌停价
  14170. type: number
  14171. nexttrade:
  14172. description: 下个交易日
  14173. type: string
  14174. nextuplimitprice:
  14175. description: 下个交易日涨停价
  14176. type: number
  14177. reckonprice:
  14178. description: 今日结算价(定投价)
  14179. type: number
  14180. reckontime:
  14181. description: 结算时间
  14182. type: string
  14183. totalholderqty:
  14184. description: 总持仓数
  14185. type: integer
  14186. totalstock:
  14187. description: 总库存
  14188. type: integer
  14189. tradedate:
  14190. description: 交易日
  14191. type: string
  14192. updowncount:
  14193. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14194. type: integer
  14195. updownflag:
  14196. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14197. type: integer
  14198. updownrate:
  14199. description: 今日涨跌幅
  14200. type: number
  14201. updownrate_2d:
  14202. description: 连续两日涨跌幅
  14203. type: number
  14204. updownrate_3d:
  14205. description: 连续三日涨跌幅
  14206. type: number
  14207. type: object
  14208. models.QhjScoreLog:
  14209. properties:
  14210. accountid:
  14211. description: 账户ID
  14212. type: integer
  14213. createtime:
  14214. description: 创建时间(时间)
  14215. type: string
  14216. goodsid:
  14217. description: 商品ID
  14218. type: integer
  14219. hasuploaded:
  14220. description: 是否已同步(千海金) 0:未同步 1;已同步
  14221. type: integer
  14222. logid:
  14223. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14224. type: string
  14225. marketid:
  14226. description: 市场ID
  14227. type: integer
  14228. relatedamount:
  14229. description: 关联金额
  14230. type: number
  14231. relatedorderid:
  14232. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14233. type: string
  14234. scoreconfigvalue1:
  14235. description: 积分配置1
  14236. type: integer
  14237. scoreconfigvalue2:
  14238. description: 积分配置1
  14239. type: integer
  14240. scoretype:
  14241. description: 积分类型 - 1:提货积分
  14242. type: integer
  14243. scorevalue:
  14244. description: 积分
  14245. type: number
  14246. tradedate:
  14247. description: 交易日(yyyyMMdd)
  14248. type: string
  14249. uploadedtime:
  14250. description: 同步时间
  14251. type: string
  14252. userid:
  14253. description: 用户ID
  14254. type: integer
  14255. type: object
  14256. models.QhjSiteColumnDetail:
  14257. properties:
  14258. author:
  14259. description: 作者
  14260. type: string
  14261. brief:
  14262. description: 简介
  14263. type: string
  14264. columnid:
  14265. description: 所属栏目
  14266. type: integer
  14267. context:
  14268. description: 内容
  14269. type: string
  14270. coverimage:
  14271. description: 封面图片
  14272. type: string
  14273. creaedate:
  14274. description: 创建时间
  14275. type: string
  14276. creatorid:
  14277. description: 创建人
  14278. type: integer
  14279. hits:
  14280. description: 点击数
  14281. type: integer
  14282. id:
  14283. description: ID(SEQ_SITE_COLUMNDETAIL)
  14284. type: integer
  14285. isshow:
  14286. description: 是否展示 - 0:不展示 1:展示
  14287. type: integer
  14288. istop:
  14289. description: 是否置顶 - 0:不置 1:置顶
  14290. type: integer
  14291. modifierid:
  14292. description: 操作人
  14293. type: integer
  14294. publishdate:
  14295. description: 发布日期
  14296. type: string
  14297. status:
  14298. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14299. type: integer
  14300. title:
  14301. description: 标题
  14302. type: string
  14303. updatedate:
  14304. description: 修改时间
  14305. type: string
  14306. userid:
  14307. description: 用户ID(默认为0, 核心为为机构用户ID)
  14308. type: integer
  14309. username:
  14310. description: 用户名称
  14311. type: string
  14312. type: object
  14313. models.QhjTeamOrder:
  14314. properties:
  14315. accountid:
  14316. description: 账户ID[报价币种]
  14317. type: integer
  14318. accountname:
  14319. description: 账户名称
  14320. type: string
  14321. agreeunit:
  14322. description: 合约乘数
  14323. type: number
  14324. buyorsell:
  14325. description: 方向 - 0:买 1:卖
  14326. type: integer
  14327. decimalplace:
  14328. description: 报价小数位
  14329. type: integer
  14330. enumdicname:
  14331. description: 单位名称
  14332. type: string
  14333. goodscode:
  14334. description: 商品代码(内部)
  14335. type: string
  14336. goodsid:
  14337. description: 商品ID
  14338. type: integer
  14339. goodsname:
  14340. description: 商品名称
  14341. type: string
  14342. goodunitid:
  14343. description: 报价单位ID
  14344. type: integer
  14345. marketid:
  14346. description: 市场ID
  14347. type: integer
  14348. marketname:
  14349. description: 市场名称
  14350. type: string
  14351. qtydecimalplace:
  14352. description: 成交量小数位
  14353. type: integer
  14354. refereeuserid:
  14355. description: 推荐人ID
  14356. type: integer
  14357. tradeamount:
  14358. description: 成交金额[账户币种,用于所有权]
  14359. type: number
  14360. tradedate:
  14361. description: 交易日(yyyyMMdd)
  14362. type: string
  14363. trademode:
  14364. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14365. 21:竞拍-大宗式 22:受托竞价
  14366. type: integer
  14367. tradeprice:
  14368. description: 成交价格
  14369. type: number
  14370. tradeqty:
  14371. description: 成交数量
  14372. type: number
  14373. tradetime:
  14374. description: 成交时间
  14375. type: string
  14376. userid:
  14377. description: 用户ID
  14378. type: integer
  14379. type: object
  14380. models.QhjTradeGoodsPickup:
  14381. properties:
  14382. accountid:
  14383. description: 账户ID
  14384. type: integer
  14385. address:
  14386. description: 提货人详细地址
  14387. type: string
  14388. amount:
  14389. description: 提货金额
  14390. type: number
  14391. artradedate:
  14392. description: 自动收货交易日(yyyyMMdd)
  14393. type: string
  14394. auditer:
  14395. description: 审核人
  14396. type: integer
  14397. auditsrc:
  14398. description: 更新来源 - 1:管理端 2:终端
  14399. type: integer
  14400. audittime:
  14401. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14402. type: string
  14403. audittradedate:
  14404. description: 审核交易日(yyyyMMdd)
  14405. type: string
  14406. cardnum:
  14407. description: 提货人证件号码
  14408. type: string
  14409. cardtypeid:
  14410. description: 提货人证件类型
  14411. type: integer
  14412. checkremark:
  14413. description: 审核备注
  14414. type: string
  14415. cityid:
  14416. description: 市
  14417. type: integer
  14418. cityname:
  14419. description: 城市名称
  14420. type: string
  14421. confirmtime:
  14422. description: 取货时间 或 收货时间
  14423. type: string
  14424. countryid:
  14425. description: 国家
  14426. type: integer
  14427. countryname:
  14428. description: 国家名称
  14429. type: string
  14430. decimalplace:
  14431. description: 商品报价小数位
  14432. type: integer
  14433. districtid:
  14434. description: 地区
  14435. type: integer
  14436. districtname:
  14437. description: 地区名称
  14438. type: string
  14439. enumdicname:
  14440. description: 单位名称(提货商品)
  14441. type: string
  14442. expresscompany:
  14443. description: 物流公司
  14444. type: string
  14445. expressnum:
  14446. description: 物流单号
  14447. type: string
  14448. goodsagreeunit:
  14449. description: 交易商品乘数
  14450. type: number
  14451. goodscode:
  14452. description: 商品代码
  14453. type: string
  14454. goodsid:
  14455. description: 商品ID
  14456. type: integer
  14457. goodsname:
  14458. description: 商品名称
  14459. type: string
  14460. goodsqty:
  14461. description: 交易商品手数(69模式按成交量小数位放大取整)
  14462. type: number
  14463. handlestatus:
  14464. description: 处理状态
  14465. type: integer
  14466. logincode:
  14467. description: 账号(登录代码, 有可能为空)
  14468. type: string
  14469. marketid:
  14470. description: 市场ID
  14471. type: integer
  14472. phonenum:
  14473. description: 提货人联系方式
  14474. type: string
  14475. pickupgoodsagreeunit:
  14476. description: 提货商品合约乘数
  14477. type: number
  14478. pickupgoodsid:
  14479. description: 提货商品ID
  14480. type: string
  14481. pickupgoodsname:
  14482. description: 提货商品名称
  14483. type: string
  14484. pickupgoodsqty:
  14485. description: 提货商品手数(数量)
  14486. type: number
  14487. pickupgoodsunitid:
  14488. description: 单位ID(提货商品)
  14489. type: integer
  14490. pickupratio:
  14491. description: 提货系数
  14492. type: number
  14493. preparedays:
  14494. description: 备货期(天)-提货单明细表
  14495. type: integer
  14496. provinceid:
  14497. description: 省
  14498. type: integer
  14499. provincename:
  14500. description: 省名称
  14501. type: string
  14502. qty:
  14503. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14504. type: number
  14505. qtydecimalplace:
  14506. description: 商品数量小数位
  14507. type: integer
  14508. recivername:
  14509. description: 提货人姓名
  14510. type: string
  14511. reqtime:
  14512. description: 提货申请时间
  14513. type: string
  14514. storeuserid:
  14515. description: 门店用户ID (千海金)
  14516. type: integer
  14517. storeusername:
  14518. description: 门店用户名称
  14519. type: string
  14520. takemode:
  14521. description: 提货方式 - 2:自提 3:配送(邮寄)
  14522. type: integer
  14523. takeorderid:
  14524. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14525. type: string
  14526. takeorderstatus:
  14527. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14528. 7:已拒绝 8:已撤销
  14529. type: integer
  14530. takeremark:
  14531. description: 提货备注
  14532. type: string
  14533. tradedate:
  14534. description: 交易日(yyyyMMdd)
  14535. type: string
  14536. updatetime:
  14537. description: 更新时间
  14538. type: string
  14539. userid:
  14540. description: 用户ID
  14541. type: integer
  14542. userinfotype:
  14543. description: 客户类型 1-个人 2-企业
  14544. type: integer
  14545. username:
  14546. description: 用户名称
  14547. type: string
  14548. type: object
  14549. models.QhjUserNodeCfgAndStatus:
  14550. properties:
  14551. agreementcontent:
  14552. description: 协议内容
  14553. type: string
  14554. agreementid:
  14555. description: 协议ID
  14556. type: integer
  14557. agreementname:
  14558. description: 协议名称
  14559. type: string
  14560. agreementno:
  14561. description: 协议编号
  14562. type: string
  14563. agreementtype:
  14564. description: 协议类型 - 1:注册 2:登录 3:交易
  14565. type: integer
  14566. agreementversion:
  14567. description: 协议版本号
  14568. type: integer
  14569. configid:
  14570. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14571. type: integer
  14572. createtime:
  14573. description: 创建时间
  14574. type: string
  14575. goodsid:
  14576. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14577. type: integer
  14578. nodetype:
  14579. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14580. type: integer
  14581. signtimestamp:
  14582. description: 签约状态时间戳(最近一次)
  14583. type: string
  14584. tradedate:
  14585. description: 签约交易日(yyyyMMdd)
  14586. type: string
  14587. userid:
  14588. description: 客户ID
  14589. type: integer
  14590. type: object
  14591. models.Qhjgoodsex:
  14592. properties:
  14593. canfinance:
  14594. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14595. type: integer
  14596. canregularlybuy:
  14597. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14598. type: integer
  14599. defaulttradeuserid:
  14600. description: 默认交易用户ID
  14601. type: integer
  14602. deliverygoodsid:
  14603. description: 现货品种ID
  14604. type: integer
  14605. goodsid:
  14606. description: 商品ID(自增ID SEQ_GOODS)
  14607. type: integer
  14608. minamount:
  14609. description: 最小购买金额
  14610. type: number
  14611. regularlybuyminamount:
  14612. description: 定投最小金额
  14613. type: number
  14614. regularlybuyminqty:
  14615. description: 定投最小数量
  14616. type: number
  14617. spotgoodsbrandid:
  14618. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14619. type: integer
  14620. visibilityforenterprise:
  14621. description: 企业客户是否可见 - 0:不可见 1:可见
  14622. type: integer
  14623. visibilityforpersonal:
  14624. description: 个人客户是否可见 - 0:不可见 1:可见
  14625. type: integer
  14626. wrstandardid:
  14627. description: 现货商品ID
  14628. type: integer
  14629. type: object
  14630. models.QueryErrorInfosRsp:
  14631. properties:
  14632. description:
  14633. description: 异常描述
  14634. type: string
  14635. errorcode:
  14636. description: 异常代码
  14637. type: string
  14638. errorid:
  14639. description: 异常ID
  14640. type: integer
  14641. modulecode:
  14642. description: 所属模块
  14643. type: string
  14644. operatecode:
  14645. description: 所属操作
  14646. type: string
  14647. rownumber:
  14648. description: 行号
  14649. type: string
  14650. required:
  14651. - errorid
  14652. type: object
  14653. models.QueryHedgeOrderDetailRsp:
  14654. properties:
  14655. accountid:
  14656. description: 账户ID
  14657. type: integer
  14658. buyorsell:
  14659. description: 买卖 - 0:买 1:卖
  14660. type: integer
  14661. cancellogincode:
  14662. description: 撤单人
  14663. type: string
  14664. channelbuildtype:
  14665. description: 开平标志 - 0:无 1:建仓 2:平仓
  14666. type: integer
  14667. channelinnerorderstatus:
  14668. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14669. 9:全部成交
  14670. type: integer
  14671. channeloperatetype:
  14672. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14673. type: integer
  14674. closetype:
  14675. description: 平仓方式 - 0:无 1:平今 2:平昨
  14676. type: integer
  14677. curexchangerate:
  14678. description: 当前汇率
  14679. type: number
  14680. decimalplace:
  14681. description: 商品报价小数位
  14682. type: integer
  14683. exchangefullname:
  14684. description: 外部交易所全称
  14685. type: string
  14686. goodscode:
  14687. description: 商品代码(内部)
  14688. type: string
  14689. goodsid:
  14690. description: 商品ID
  14691. type: integer
  14692. goodsname:
  14693. description: 商品名称
  14694. type: string
  14695. marketid:
  14696. description: 市场ID
  14697. type: integer
  14698. openfreezemargin:
  14699. description: 冻结保证金(冻结交易金额)
  14700. type: number
  14701. orderid:
  14702. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14703. type: string
  14704. orderlogincode:
  14705. description: 委托人
  14706. type: string
  14707. orderprice:
  14708. description: 委托价格(账户)
  14709. type: number
  14710. orderqty:
  14711. description: 委托数量
  14712. type: integer
  14713. ordertime:
  14714. description: 委托时间
  14715. type: string
  14716. pricemode:
  14717. description: '取价方式 - 1:市价 2: 限价'
  14718. type: integer
  14719. tradedate:
  14720. description: 交易日(yyyyMMdd)
  14721. type: string
  14722. tradeqty:
  14723. description: 成交数量
  14724. type: integer
  14725. type: object
  14726. models.QueryHedgeTradeDetailRsp:
  14727. properties:
  14728. accountid:
  14729. description: 账号ID
  14730. type: integer
  14731. buyorsell:
  14732. description: 方向 - 0:买 1:卖
  14733. type: integer
  14734. channelbuildtype:
  14735. description: 委托单据类型 0:无 1:建仓 2:平仓
  14736. type: integer
  14737. closecharge:
  14738. description: 平仓手续费(账户)
  14739. type: number
  14740. closecharge2:
  14741. description: 平仓手续费(商品)
  14742. type: number
  14743. closepl:
  14744. description: 平仓盈亏(账户)
  14745. type: number
  14746. closepl2:
  14747. description: 平仓盈亏(商品)
  14748. type: number
  14749. closepl3:
  14750. description: 平仓盈亏(账户)(逐笔)
  14751. type: number
  14752. closepl4:
  14753. description: 平仓盈亏(商品)(逐笔)
  14754. type: number
  14755. closetype:
  14756. description: 平仓方式 - 0:无 1:平今 2:平昨
  14757. type: integer
  14758. curexchangerate:
  14759. description: 当前汇率
  14760. type: number
  14761. decimalplace:
  14762. description: 商品报价小数位
  14763. type: integer
  14764. exchangefullname:
  14765. description: 外部交易所全称
  14766. type: string
  14767. goodscode:
  14768. description: 商品代码(内部)
  14769. type: string
  14770. goodsid:
  14771. description: 商品ID
  14772. type: integer
  14773. goodsname:
  14774. description: 商品名称
  14775. type: string
  14776. marketid:
  14777. description: 市场ID
  14778. type: integer
  14779. opencharge:
  14780. description: 建仓手续费(账户)
  14781. type: number
  14782. opencharge2:
  14783. description: 建仓手续费(商品)
  14784. type: number
  14785. orderid:
  14786. description: 委托单号
  14787. type: string
  14788. orderlogincode:
  14789. description: 委托人
  14790. type: string
  14791. tradeamount:
  14792. description: 成交金额(账户)
  14793. type: number
  14794. tradedate:
  14795. description: 交易日(yyyyMMdd)
  14796. type: string
  14797. tradeid:
  14798. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14799. type: string
  14800. tradeprice:
  14801. description: 成交价格
  14802. type: number
  14803. tradeqty:
  14804. description: 成交数量
  14805. type: integer
  14806. tradetime:
  14807. description: 成交时间
  14808. type: string
  14809. tradetype:
  14810. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14811. type: integer
  14812. type: object
  14813. models.QuotePrimaryMenu:
  14814. properties:
  14815. Index:
  14816. description: 序号
  14817. type: integer
  14818. Key:
  14819. description: 键名
  14820. type: string
  14821. Name:
  14822. description: 菜单名称
  14823. type: string
  14824. SubMenus:
  14825. description: 子菜单
  14826. items:
  14827. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14828. type: array
  14829. SubTitleType:
  14830. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14831. type: integer
  14832. TradeModes:
  14833. description: 包含市场交易类型
  14834. type: string
  14835. type: object
  14836. models.QuoteSecondaryMenu:
  14837. properties:
  14838. ExExchangeCode:
  14839. description: 外部交易所代码
  14840. type: string
  14841. ExExchangeID:
  14842. description: 外部交易所ID
  14843. type: integer
  14844. GoodsGroupIDs:
  14845. description: 商品组ID列表
  14846. items:
  14847. type: integer
  14848. type: array
  14849. Index:
  14850. description: 序号
  14851. type: integer
  14852. MarketID:
  14853. description: 市场ID
  14854. type: integer
  14855. MenuTitle:
  14856. description: 菜单标题(市场名称或外部交易所名称)
  14857. type: string
  14858. TradeMode:
  14859. description: 交易模式
  14860. type: integer
  14861. type: object
  14862. models.RelatedTaAccount:
  14863. properties:
  14864. accountid:
  14865. description: 资金账户ID
  14866. type: integer
  14867. type: object
  14868. models.RoleMenu:
  14869. properties:
  14870. hasright:
  14871. description: 是否有权限 0-没有权限 1-有权限
  14872. type: integer
  14873. iconame:
  14874. description: 菜单图标
  14875. type: string
  14876. menutype:
  14877. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14878. type: integer
  14879. parentcode:
  14880. description: 上级资源代码
  14881. type: string
  14882. remark:
  14883. description: 菜单备注
  14884. type: string
  14885. resourcecode:
  14886. description: 菜单代码
  14887. type: string
  14888. resourcelevel:
  14889. description: 级别
  14890. type: integer
  14891. resourcename:
  14892. description: 菜单名称
  14893. type: string
  14894. roleid:
  14895. description: 角色id
  14896. type: integer
  14897. sort:
  14898. description: 排序
  14899. type: integer
  14900. subMenu:
  14901. description: 子级菜单(结构同上层一样, swag解析不出来)
  14902. items:
  14903. $ref: '#/definitions/models.RoleMenu'
  14904. type: array
  14905. url:
  14906. description: URL
  14907. type: string
  14908. userid:
  14909. description: 用户id
  14910. type: integer
  14911. type: object
  14912. models.SearchGoods:
  14913. properties:
  14914. goodscode:
  14915. description: 商品代码(内部)
  14916. type: string
  14917. goodsid:
  14918. description: 商品ID(自增ID SEQ_GOODS)
  14919. type: integer
  14920. goodsname:
  14921. description: 商品名称
  14922. type: string
  14923. marketid:
  14924. description: 所属市场ID
  14925. type: integer
  14926. marketname:
  14927. description: 市场名称
  14928. type: string
  14929. trademode:
  14930. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14931. 21:竞拍-大宗式 22:受托竞价
  14932. type: integer
  14933. required:
  14934. - goodscode
  14935. - goodsid
  14936. - goodsname
  14937. - marketid
  14938. - trademode
  14939. type: object
  14940. models.Systemparam:
  14941. properties:
  14942. loginid:
  14943. description: 更新用户账号,登录账号
  14944. type: string
  14945. modifyflag:
  14946. description: 修改标志0 不允许修改 1 允许修改
  14947. type: integer
  14948. paramcode:
  14949. description: 参数代码
  14950. type: string
  14951. paramname:
  14952. description: 参数名
  14953. type: string
  14954. paramtype:
  14955. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14956. type: integer
  14957. paramvalue:
  14958. description: 参数值
  14959. type: string
  14960. paramvalue2:
  14961. description: 参数值(CLOB)
  14962. type: string
  14963. regexpress:
  14964. description: 正则表达式
  14965. type: string
  14966. remark:
  14967. description: 备注
  14968. type: string
  14969. serverip:
  14970. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14971. type: string
  14972. showflag:
  14973. description: 是否显示0 不显示 1 显示
  14974. type: integer
  14975. updatetime:
  14976. description: 更新时间
  14977. type: string
  14978. userid:
  14979. description: 更新用户ID
  14980. type: integer
  14981. required:
  14982. - paramcode
  14983. type: object
  14984. models.Szdz3convertconfig:
  14985. properties:
  14986. canin:
  14987. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14988. type: integer
  14989. canout:
  14990. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14991. type: integer
  14992. converttype:
  14993. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14994. 6:交易转花生米(不设置)
  14995. type: integer
  14996. createtime:
  14997. description: 创建时间
  14998. type: string
  14999. creatorid:
  15000. description: 创建人
  15001. type: integer
  15002. daymaxvalue:
  15003. description: 当日最大转入限制
  15004. type: number
  15005. freezedays:
  15006. description: 冻结天数 [5:花生米转交易]
  15007. type: integer
  15008. innergoodsid:
  15009. description: 内部商品ID[交易]
  15010. type: integer
  15011. inratio:
  15012. description: 目标值
  15013. type: integer
  15014. modifierid:
  15015. description: 修改人
  15016. type: integer
  15017. modifytime:
  15018. description: 修改时间
  15019. type: string
  15020. outergoodscode:
  15021. description: 外部商品代码[JD\PD]
  15022. type: string
  15023. outratio:
  15024. description: 源值
  15025. type: integer
  15026. pddecimalplace:
  15027. description: PD小数位
  15028. type: integer
  15029. timemaxvalue:
  15030. description: 单次最大转入限制
  15031. type: number
  15032. timeminvalue:
  15033. description: 单次最小转入限制
  15034. type: number
  15035. required:
  15036. - converttype
  15037. - innergoodsid
  15038. - outergoodscode
  15039. type: object
  15040. models.Szdz3searchwhitelist:
  15041. properties:
  15042. createtime:
  15043. description: 创建时间
  15044. type: string
  15045. creatorid:
  15046. description: 创建人
  15047. type: integer
  15048. modifierid:
  15049. description: 修改人
  15050. type: integer
  15051. modifytime:
  15052. description: 修改时间
  15053. type: string
  15054. userid:
  15055. description: 用户ID
  15056. type: integer
  15057. required:
  15058. - userid
  15059. type: object
  15060. models.TBGoods:
  15061. properties:
  15062. agreeunit:
  15063. description: 合约乘数
  15064. type: number
  15065. enumdicname:
  15066. description: 单位名称
  15067. type: string
  15068. goodscode:
  15069. description: 商品代码(内部)
  15070. type: string
  15071. goodsid:
  15072. description: 商品ID(自增ID SEQ_GOODS)
  15073. type: integer
  15074. goodsname:
  15075. description: 商品名称
  15076. type: string
  15077. type: object
  15078. models.TBGoodsGroup:
  15079. properties:
  15080. GDLST:
  15081. description: 商品列表
  15082. items:
  15083. $ref: '#/definitions/models.TBGoods'
  15084. type: array
  15085. convertratio:
  15086. description: 折算系数
  15087. type: number
  15088. enumdicname:
  15089. description: 单位名称
  15090. type: string
  15091. exexchangecode:
  15092. description: 交易所代码
  15093. type: string
  15094. exexchangename:
  15095. description: 交易所名称
  15096. type: string
  15097. goodsgroupid:
  15098. description: 商品组ID(自增ID)
  15099. type: integer
  15100. goodsgroupname:
  15101. description: 商品组名称
  15102. type: string
  15103. goodunitid:
  15104. description: 报价单位ID
  15105. type: integer
  15106. type: object
  15107. models.TBMiddleGoods:
  15108. properties:
  15109. GPLST:
  15110. description: 期货品种列表
  15111. items:
  15112. $ref: '#/definitions/models.TBGoodsGroup'
  15113. type: array
  15114. WDLST:
  15115. description: 商品信息列表(现货品类)
  15116. items:
  15117. $ref: '#/definitions/models.TBWrstandard'
  15118. type: array
  15119. areauserid:
  15120. description: 机构用户ID
  15121. type: integer
  15122. enumdicname:
  15123. description: 单位名称
  15124. type: string
  15125. goodsunitid:
  15126. description: 套保品种单位id
  15127. type: integer
  15128. middlegoodscode:
  15129. description: 套保品种代码
  15130. type: string
  15131. middlegoodsid:
  15132. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15133. type: integer
  15134. middlegoodsname:
  15135. description: 套保品种名称
  15136. type: string
  15137. needarbitrageratio:
  15138. description: 套利比率
  15139. type: number
  15140. needhedgeratio:
  15141. description: 套保比率
  15142. type: number
  15143. type: object
  15144. models.TBWrstandard:
  15145. properties:
  15146. convertratio:
  15147. description: 折算系数
  15148. type: number
  15149. deliverygoodsname:
  15150. description: 品种名称
  15151. type: string
  15152. enumdicname:
  15153. description: 单位名称
  15154. type: string
  15155. vatrate:
  15156. description: 增值税率
  15157. type: number
  15158. wrstandardcode:
  15159. description: 现货商品代码
  15160. type: string
  15161. wrstandardid:
  15162. description: 现货商品ID(SEQ_WRSTANDARD)
  15163. type: integer
  15164. wrstandardname:
  15165. description: 现货商品名称
  15166. type: string
  15167. type: object
  15168. models.Taaccount:
  15169. properties:
  15170. accountflag:
  15171. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15172. type: integer
  15173. accountid:
  15174. description: 资金账户ID
  15175. type: integer
  15176. accountname:
  15177. description: 账户名称
  15178. type: string
  15179. balance:
  15180. description: 期初余额
  15181. type: number
  15182. capitalbalance:
  15183. description: 本金余额[外部子账户实际出入金余额]
  15184. type: number
  15185. changeflag:
  15186. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15187. type: integer
  15188. changetime:
  15189. description: 账户状态变更时间
  15190. type: string
  15191. closepl:
  15192. description: 今日平仓盈亏
  15193. type: number
  15194. creditdecrease:
  15195. description: 今日授信减少
  15196. type: number
  15197. creditincrease:
  15198. description: 今日授信增加
  15199. type: number
  15200. curamount:
  15201. description: 总市值(从持仓中统计)
  15202. type: number
  15203. currencyid:
  15204. description: 货币ID
  15205. type: integer
  15206. currentbalance:
  15207. description: 期末余额
  15208. type: number
  15209. freezecharge:
  15210. description: 手续费冻结
  15211. type: number
  15212. freezemargin:
  15213. description: 冻结保证金
  15214. type: number
  15215. fromaccountid:
  15216. description: 所属上级账户
  15217. type: integer
  15218. inamount:
  15219. description: 今日入金金额(包括三方入金)
  15220. type: number
  15221. ismain:
  15222. description: 是否母账号 0:不是母账户 1:是母账户
  15223. type: integer
  15224. ismarketaccount:
  15225. description: 是否机构接单账号 0:不是 1:是
  15226. type: integer
  15227. isreckonaccount:
  15228. description: 是否机构分润账号 0:不是 1:是
  15229. type: integer
  15230. mortgagecredit:
  15231. description: 授信金额
  15232. type: number
  15233. orifreezecharge:
  15234. description: 期初手续费冻结
  15235. type: number
  15236. orifreezemargin:
  15237. description: 期初冻结保证金
  15238. type: number
  15239. orimortgagecredit:
  15240. description: 期初授信金额
  15241. type: number
  15242. oriothercredit:
  15243. description: 期初其它授信金额
  15244. type: number
  15245. oriotherfreezemargin:
  15246. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15247. type: number
  15248. orioutamountfreeze:
  15249. description: 期初出金冻结
  15250. type: number
  15251. oriusedmargin:
  15252. description: 期初占用保证金
  15253. type: number
  15254. othercredit:
  15255. description: 其它授信金额
  15256. type: number
  15257. othercreditdecrease:
  15258. description: 今日其它授信减少
  15259. type: number
  15260. othercreditincrease:
  15261. description: 今日其它授信增加
  15262. type: number
  15263. otherfreezemargin:
  15264. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15265. type: number
  15266. otherincome:
  15267. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15268. type: number
  15269. otherpay:
  15270. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15271. type: number
  15272. outamount:
  15273. description: 今日出金金额(包括三方出金)
  15274. type: number
  15275. outamountfreeze:
  15276. description: 出金冻结
  15277. type: number
  15278. outthreshold:
  15279. description: 出金阈值
  15280. type: number
  15281. parentaccountid:
  15282. description: 所属根账号
  15283. type: integer
  15284. paycharge:
  15285. description: 今日手续费支出
  15286. type: number
  15287. relatedaccountstatus:
  15288. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15289. type: integer
  15290. relateduserid:
  15291. description: 关联用户
  15292. type: integer
  15293. remainamount:
  15294. description: 融资额(从融资合同中统计)
  15295. type: number
  15296. serivcegroup:
  15297. description: 服务分组
  15298. type: integer
  15299. signstatus:
  15300. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15301. type: integer
  15302. sublevelpath:
  15303. description: 账号层级路径(逗号分隔,首尾加逗号)
  15304. type: string
  15305. taaccounttype:
  15306. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15307. type: integer
  15308. thirdinamount:
  15309. description: 今日三方入金
  15310. type: number
  15311. thirdoutamount:
  15312. description: 今日三方出金
  15313. type: number
  15314. tradestatus:
  15315. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15316. type: integer
  15317. tradestatuschangetime:
  15318. description: 激活时间
  15319. type: string
  15320. transferamount:
  15321. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15322. type: number
  15323. usedmargin:
  15324. description: 占用保证金
  15325. type: number
  15326. userid:
  15327. description: 用户ID
  15328. type: integer
  15329. required:
  15330. - accountid
  15331. - userid
  15332. type: object
  15333. models.Tablecolumnconfig:
  15334. properties:
  15335. aligntype:
  15336. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15337. type: integer
  15338. autoid:
  15339. description: AutoID
  15340. type: integer
  15341. columnfield:
  15342. description: 列字段
  15343. type: string
  15344. columntitle:
  15345. description: 列Title
  15346. type: string
  15347. columnwidth:
  15348. description: 列宽
  15349. type: string
  15350. formatterstring:
  15351. description: 格式化字符
  15352. type: string
  15353. formattertype:
  15354. description: 格式化类型
  15355. type: string
  15356. groupname:
  15357. description: 表头分组名称
  15358. type: string
  15359. isshow:
  15360. description: 是否显示 - 0:不显示 1:显示
  15361. type: integer
  15362. needsummary:
  15363. description: 是否需要汇总 - 0:不需要 1:需要
  15364. type: integer
  15365. orderindex:
  15366. description: 顺序
  15367. type: integer
  15368. remark:
  15369. description: 备注
  15370. type: string
  15371. summarytype:
  15372. description: 汇总类型 - 1:加总 2:最后一个
  15373. type: integer
  15374. tablekey:
  15375. description: 列表Key
  15376. type: string
  15377. required:
  15378. - autoid
  15379. type: object
  15380. models.TjmdHolderDetailTradeInfo:
  15381. properties:
  15382. agreeunit:
  15383. description: 合约乘数
  15384. type: number
  15385. buyaccountid:
  15386. description: 买方账户
  15387. type: string
  15388. buyusername:
  15389. description: 买方
  15390. type: string
  15391. delistingdate:
  15392. description: 最后结算日
  15393. type: string
  15394. expiredate:
  15395. description: 到期结算价定价日
  15396. type: string
  15397. exprieprice:
  15398. description: 到期清算价格
  15399. type: string
  15400. goodscode:
  15401. description: 商品代码
  15402. type: string
  15403. goodsid:
  15404. description: 商品ID
  15405. type: integer
  15406. goodsname:
  15407. description: 商品名称(交易标的)
  15408. type: string
  15409. lasttradedate:
  15410. description: 最后交易日
  15411. type: string
  15412. listingdate:
  15413. description: 开始交易日
  15414. type: string
  15415. openprice:
  15416. description: 成交价
  15417. type: number
  15418. openqty:
  15419. description: 交易数量
  15420. type: integer
  15421. sellaccountid:
  15422. description: 卖方账户
  15423. type: string
  15424. sellusername:
  15425. description: 卖方
  15426. type: string
  15427. tradeamount:
  15428. description: 初始名义价值
  15429. type: number
  15430. tradedate:
  15431. description: 成交日期
  15432. type: string
  15433. tradeid:
  15434. description: 成交编号
  15435. type: string
  15436. type: object
  15437. models.TjmdMarketSection:
  15438. properties:
  15439. marketsectionid:
  15440. description: 市场版块ID(SEQ_MARKETSECTION)
  15441. type: integer
  15442. marketsectionname:
  15443. description: 市场版块名称
  15444. type: string
  15445. mlist:
  15446. description: 市场列表(板块下面有多少个市场)
  15447. items:
  15448. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15449. type: array
  15450. orderindex:
  15451. description: 排序
  15452. type: integer
  15453. pictureurl:
  15454. description: 图片url, 规格(90*90)
  15455. type: string
  15456. remark:
  15457. description: 备注
  15458. type: string
  15459. type: object
  15460. models.TjmdMarketSectionConfig:
  15461. properties:
  15462. auctionwrtype:
  15463. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15464. type: integer
  15465. canacceptquote:
  15466. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15467. type: integer
  15468. cangoodsexercise:
  15469. description: '[期权]是否可现货行权- 0:否 1:是'
  15470. type: integer
  15471. cangoodsexercisetype:
  15472. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15473. type: integer
  15474. canmanualquotestrike:
  15475. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15476. type: integer
  15477. canmutistage:
  15478. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15479. type: integer
  15480. canpreexercise:
  15481. description: '[期权]是否可预申报- 0:否 1:是'
  15482. type: integer
  15483. clearinterval:
  15484. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15485. type: integer
  15486. contracttmp:
  15487. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15488. type: string
  15489. exchareaid:
  15490. description: 所属交易所,可以没有
  15491. type: integer
  15492. financemarketid:
  15493. description: 融资回购市场ID [仓单贸易]
  15494. type: integer
  15495. goodstype:
  15496. description: 商品类型 - 1:交易商品 2:仓单商品
  15497. type: integer
  15498. hasrebate:
  15499. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15500. type: integer
  15501. hastradecredit:
  15502. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15503. type: integer
  15504. haswr:
  15505. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15506. type: integer
  15507. isdeductmargin:
  15508. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15509. type: integer
  15510. isrecordsource:
  15511. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15512. type: integer
  15513. isreleasemargin:
  15514. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15515. type: integer
  15516. isupdatereckonprice:
  15517. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15518. type: integer
  15519. listingmode:
  15520. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15521. type: integer
  15522. marginformula:
  15523. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15524. type: integer
  15525. marginformula2:
  15526. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15527. type: integer
  15528. marketid:
  15529. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15530. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15531. type: integer
  15532. marketname:
  15533. description: 市场名称
  15534. type: string
  15535. marketsectionid:
  15536. description: 市场版块ID(SEQ_MARKETSECTION)
  15537. type: integer
  15538. marketserviceid:
  15539. description: 市场服务ID
  15540. type: integer
  15541. marketstatus:
  15542. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15543. type: integer
  15544. markettype:
  15545. description: 市场类型- 1:非交易服务 2:交易服务
  15546. type: integer
  15547. matchermode:
  15548. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15549. type: integer
  15550. nowrquotaflag:
  15551. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15552. type: integer
  15553. openmethod:
  15554. description: 开盘模式 - 0 自动 1手动
  15555. type: integer
  15556. orderindex:
  15557. description: 排序
  15558. type: integer
  15559. otcuserid:
  15560. description: 场外期权做市商[场外期权]
  15561. type: integer
  15562. outersynctime:
  15563. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15564. type: string
  15565. paylaterflag:
  15566. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15567. type: integer
  15568. pendingflag:
  15569. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15570. type: integer
  15571. pendingtime:
  15572. description: 待开市时间[通道交易-对冲](HH:mm)
  15573. type: string
  15574. performancetempid:
  15575. description: 履约计划模板ID - 作废
  15576. type: integer
  15577. premiumquotemode:
  15578. description: 权利金报价方式 - 1:自动 2:手动
  15579. type: integer
  15580. rebateratio:
  15581. description: 返利比率[竞价式]
  15582. type: number
  15583. reckonorder:
  15584. description: 结算顺序
  15585. type: integer
  15586. reckonpricealgorithm:
  15587. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15588. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15589. type: integer
  15590. reckonpriceparam:
  15591. description: 结算价参数
  15592. type: integer
  15593. reckontime:
  15594. description: 结算时间[通道交易-对冲](HH:mm)
  15595. type: string
  15596. roleprioritytype:
  15597. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15598. type: integer
  15599. selllistingauditflag:
  15600. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15601. type: integer
  15602. trademarkettype:
  15603. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15604. type: integer
  15605. trademode:
  15606. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15607. 21:竞拍-大宗式 22:受托竞价
  15608. type: integer
  15609. tradeproperty:
  15610. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15611. 8:场外期权
  15612. type: integer
  15613. tradetype:
  15614. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15615. type: integer
  15616. updatereckonpriceinterval:
  15617. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15618. type: integer
  15619. type: object
  15620. models.TjmdQuoteGoods:
  15621. properties:
  15622. buyqty:
  15623. description: 买量(暂不做, 无值, 保留字段)
  15624. type: number
  15625. decimalplace:
  15626. description: 报价小数位
  15627. type: integer
  15628. goodscode:
  15629. description: 合约代码
  15630. type: string
  15631. goodsgroupid:
  15632. description: 商品组ID(自增ID)
  15633. type: integer
  15634. goodsgroupname:
  15635. description: 商品组名称
  15636. type: string
  15637. goodsid:
  15638. description: 合约id
  15639. type: integer
  15640. goodsname:
  15641. description: 合约名称
  15642. type: string
  15643. refgoodscode:
  15644. description: 标的合约代码
  15645. type: string
  15646. refgoodsid:
  15647. description: 标的合约id
  15648. type: integer
  15649. refgoodsname:
  15650. description: 标的合约名称
  15651. type: string
  15652. sellqty:
  15653. description: 卖量(暂不做, 无值, 保留字段)
  15654. type: number
  15655. type: object
  15656. models.TjmdTodayAccountMargin:
  15657. properties:
  15658. accountid:
  15659. description: 账号ID
  15660. type: integer
  15661. goodsid:
  15662. description: 商品ID
  15663. type: integer
  15664. infoc:
  15665. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15666. description: 配置参数
  15667. marketid:
  15668. description: 市场ID
  15669. type: integer
  15670. type: object
  15671. models.TjmdTradeOrderDetail:
  15672. properties:
  15673. buyorsell:
  15674. description: 买卖方向 0-买 1-卖
  15675. type: integer
  15676. goodsid:
  15677. description: 商品id
  15678. type: integer
  15679. marketmaxsub:
  15680. description: 市价最大偏移范围 [浮动价 - 点差]
  15681. type: number
  15682. orderid:
  15683. description: 委托单号
  15684. type: string
  15685. orderprice:
  15686. description: 委托价格
  15687. type: number
  15688. orderqty:
  15689. description: 委托数量
  15690. type: integer
  15691. pricemode:
  15692. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15693. type: integer
  15694. userid:
  15695. description: 用户id
  15696. type: integer
  15697. username:
  15698. description: 用户名称(已脱敏)
  15699. type: string
  15700. type: object
  15701. models.TjmdTransferApply:
  15702. properties:
  15703. applyid:
  15704. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15705. type: integer
  15706. applystatus:
  15707. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15708. type: integer
  15709. applytime:
  15710. description: 申请时间(时间)
  15711. type: string
  15712. auditremark:
  15713. description: 审核备注(拒绝原因?)
  15714. type: string
  15715. begindate:
  15716. description: 开始交易日(yyyymmdd)
  15717. type: string
  15718. buyorsell:
  15719. description: 买卖 - 0:买 1:卖
  15720. type: integer
  15721. enddate:
  15722. description: 结束交易日(yyyymmdd)
  15723. type: string
  15724. goodscode:
  15725. description: 商品代码
  15726. type: string
  15727. goodsid:
  15728. description: 商品ID
  15729. type: integer
  15730. goodsname:
  15731. description: 商品名称
  15732. type: string
  15733. marketid:
  15734. description: 市场ID
  15735. type: integer
  15736. qty:
  15737. description: 转让数量(数量)
  15738. type: number
  15739. tradeid:
  15740. description: 成交单号(关联持仓)
  15741. type: string
  15742. transferamount:
  15743. description: 转让总金额(金额)
  15744. type: number
  15745. transferprice:
  15746. description: 转让价格(协议价格)
  15747. type: number
  15748. type: object
  15749. models.TradeHolderDetail:
  15750. properties:
  15751. accountid:
  15752. description: 账号ID
  15753. type: integer
  15754. agreeunit:
  15755. description: 合约乘数
  15756. type: number
  15757. buyorsell:
  15758. description: 方向 - 0:买 1:卖
  15759. type: integer
  15760. currencyid:
  15761. description: 商品币种id
  15762. type: integer
  15763. currencyname:
  15764. description: 币种名称
  15765. type: string
  15766. decimalplace:
  15767. description: 商品价格小数位
  15768. type: integer
  15769. enumdicname:
  15770. description: 商品单位名称
  15771. type: string
  15772. expirecycle:
  15773. description: 行权周期(天) - 1:滚动行权时填写
  15774. type: integer
  15775. expiredate:
  15776. description: 行权日(yyyyMMdd) - 到期日
  15777. type: string
  15778. expiretype:
  15779. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15780. type: integer
  15781. freezeqty:
  15782. description: 冻结数量
  15783. type: number
  15784. goodscode:
  15785. description: 商品代码
  15786. type: string
  15787. goodsid:
  15788. description: 商品ID
  15789. type: integer
  15790. goodsname:
  15791. description: 商品名称
  15792. type: string
  15793. goodunitid:
  15794. description: 商品单位id
  15795. type: integer
  15796. holderamount:
  15797. description: 持仓金额
  15798. type: number
  15799. holdercredit:
  15800. description: 持仓授信金额
  15801. type: number
  15802. holderdays:
  15803. description: 剩余冻结天数
  15804. type: integer
  15805. holderprice:
  15806. description: 持仓价格
  15807. type: number
  15808. holderqty:
  15809. description: 持仓数量
  15810. type: number
  15811. isconfirmexercise:
  15812. description: 是否确认行权- 0:否 1:是
  15813. type: integer
  15814. ispreexercise:
  15815. description: 是否预申报- 0:否 1:是 2:不可行权
  15816. type: integer
  15817. marketid:
  15818. description: 市场id
  15819. type: integer
  15820. marketname:
  15821. description: 市场名称
  15822. type: string
  15823. openprice:
  15824. description: 建仓价格
  15825. type: number
  15826. openqty:
  15827. description: 建仓数量
  15828. type: number
  15829. optiontype:
  15830. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15831. type: integer
  15832. preexerciseprice:
  15833. description: 预申报价格
  15834. type: number
  15835. premium:
  15836. description: 权利金
  15837. type: number
  15838. qtydecimalplace:
  15839. description: 商品成交量小数位
  15840. type: integer
  15841. refgoodscode:
  15842. description: 标的合约代码
  15843. type: string
  15844. refgoodsid:
  15845. description: 标的合约id
  15846. type: integer
  15847. releaseamount:
  15848. description: 释放持仓金额
  15849. type: number
  15850. releaseholdercredit:
  15851. description: 释放持仓授信金额
  15852. type: number
  15853. taname:
  15854. description: 资金账号名称
  15855. type: string
  15856. tradeamount:
  15857. description: 成交金额
  15858. type: number
  15859. tradedate:
  15860. description: 交易日(yyyyMMdd)
  15861. type: string
  15862. tradeid:
  15863. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15864. type: string
  15865. trademode:
  15866. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15867. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15868. type: integer
  15869. tradeproperty:
  15870. description: 交易属性
  15871. type: integer
  15872. tradetime:
  15873. description: 交易时间
  15874. type: string
  15875. userid:
  15876. description: 用户id
  15877. type: integer
  15878. username:
  15879. description: 用户名称
  15880. type: string
  15881. type: object
  15882. models.Unlinkermcphedgeplan:
  15883. properties:
  15884. accountid:
  15885. description: 期货账户ID - 作废
  15886. type: integer
  15887. accountname:
  15888. description: 交易用户
  15889. type: string
  15890. applyid:
  15891. description: 申请人
  15892. type: integer
  15893. applysrc:
  15894. description: 申请来源 - 1:管理端 2:终端
  15895. type: integer
  15896. applytime:
  15897. description: 申请时间
  15898. type: string
  15899. areauserid:
  15900. description: '[企业ID]机构ID'
  15901. type: integer
  15902. auditid:
  15903. description: 审核人
  15904. type: integer
  15905. auditremark:
  15906. description: 审核备注
  15907. type: string
  15908. auditsrc:
  15909. description: 审核来源 - 1:管理端 2:终端
  15910. type: integer
  15911. audittime:
  15912. description: 审核时间
  15913. type: string
  15914. audittradedate:
  15915. description: 审核交易日(yyyyMMdd)
  15916. type: string
  15917. biztype:
  15918. description: 业务类型 - 1:套保
  15919. type: integer
  15920. contracttype:
  15921. description: 计划类型 - 1:采购 -1:销售
  15922. type: integer
  15923. convertfactor:
  15924. description: 标仓系数 - 作废
  15925. type: number
  15926. createtime:
  15927. description: 创建时间
  15928. type: string
  15929. currencyid:
  15930. description: 结算币种ID - 作废
  15931. type: integer
  15932. deliverygoodsid:
  15933. description: 现货品种ID
  15934. type: integer
  15935. enumdicname:
  15936. description: 结算币种
  15937. type: string
  15938. hedgeplanid:
  15939. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  15940. type: string
  15941. hedgeplanno:
  15942. description: '[计划编号]套保计划编号,模糊查询'
  15943. type: string
  15944. hedgeplanstatus:
  15945. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  15946. type: integer
  15947. isrelated:
  15948. description: 是否已关联计划项目 - 0:否 1:是
  15949. type: integer
  15950. planqty:
  15951. description: '[计划量]计划数量'
  15952. type: number
  15953. plantime:
  15954. description: 计划时间
  15955. type: string
  15956. producttype:
  15957. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  15958. type: integer
  15959. remark:
  15960. description: 备注
  15961. type: string
  15962. spotgoodsdesc:
  15963. description: 商品型号
  15964. type: string
  15965. tradedate:
  15966. description: 交易日(yyyyMMdd)
  15967. type: string
  15968. tradeuserid:
  15969. description: 交易用户ID
  15970. type: integer
  15971. updatetime:
  15972. description: 更新时间
  15973. type: string
  15974. wrstandardid:
  15975. description: 现货商品ID
  15976. type: integer
  15977. wrstandardname:
  15978. description: 现货商品,模糊查询
  15979. type: string
  15980. required:
  15981. - areauserid
  15982. type: object
  15983. models.UserCollectConfig:
  15984. properties:
  15985. accountstatus:
  15986. description: 账户状态 - 1:正常 2:停用 3:注销
  15987. type: integer
  15988. collectaccountname:
  15989. description: 收款人账户名称
  15990. type: string
  15991. collectaccountno:
  15992. description: 收款人账户
  15993. type: string
  15994. collectbankname:
  15995. description: 收款人开户行
  15996. type: string
  15997. collectbranchbankname:
  15998. description: 收款人开户支行
  15999. type: string
  16000. collectconfigid:
  16001. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  16002. type: string
  16003. remark:
  16004. description: 备注
  16005. type: string
  16006. userid:
  16007. description: 收款人用户ID
  16008. type: integer
  16009. type: object
  16010. models.UserReceiveInfo:
  16011. properties:
  16012. address:
  16013. description: 提货人详细地址
  16014. type: string
  16015. autoid:
  16016. description: AutoID
  16017. type: integer
  16018. cardnum:
  16019. description: 证件号码(加密存储)
  16020. type: string
  16021. cardtypeid:
  16022. description: 证件类型
  16023. type: integer
  16024. cityid:
  16025. description: 市
  16026. type: integer
  16027. cityname:
  16028. description: 城市名称
  16029. type: string
  16030. countryid:
  16031. description: 国家
  16032. type: integer
  16033. countryname:
  16034. description: 国家名称
  16035. type: string
  16036. districtid:
  16037. description: 地区
  16038. type: integer
  16039. districtname:
  16040. description: 地区名称
  16041. type: string
  16042. hasencrypt:
  16043. description: 数据是否已加密 - 0:未加密 1:已加密
  16044. type: integer
  16045. isdefault:
  16046. description: 是否默认地址 - 0:否 1:是
  16047. type: integer
  16048. phonenum:
  16049. description: 提货人联系方式(加密存储)
  16050. type: string
  16051. provinceid:
  16052. description: 省
  16053. type: integer
  16054. provincename:
  16055. description: 省名称
  16056. type: string
  16057. receivername:
  16058. description: 提货人姓名
  16059. type: string
  16060. takeremark:
  16061. description: 提货备注
  16062. type: string
  16063. userid:
  16064. description: 用户ID
  16065. type: integer
  16066. type: object
  16067. models.Useraccount:
  16068. properties:
  16069. accountname:
  16070. description: 账户名称(机构名称)
  16071. type: string
  16072. accountstatus:
  16073. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16074. type: integer
  16075. applysrc:
  16076. description: 申请来源 - 1:管理端 2:终端
  16077. type: integer
  16078. auditremark:
  16079. description: 审核备注
  16080. type: string
  16081. auditsrc:
  16082. description: 审核来源 - 1:管理端 2:终端
  16083. type: integer
  16084. audittime:
  16085. description: 审核时间
  16086. type: string
  16087. audituserid:
  16088. description: 审核人
  16089. type: integer
  16090. broker:
  16091. description: 所属经纪人ID
  16092. type: integer
  16093. canceltime:
  16094. description: 销户时间
  16095. type: string
  16096. canceluserid:
  16097. description: 销户人
  16098. type: integer
  16099. canrecommend:
  16100. description: 是否可推荐 - 0:不可 1;可
  16101. type: integer
  16102. createtime:
  16103. description: 创建时间
  16104. type: string
  16105. creatorid:
  16106. description: 创建人
  16107. type: integer
  16108. hasauth:
  16109. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16110. type: integer
  16111. isanonymous:
  16112. description: 是否匿名下单 - 0:否 1:是
  16113. type: integer
  16114. maxinvestornum:
  16115. description: 最大用户数(经纪会员下投资者个数)
  16116. type: integer
  16117. memberuserid:
  16118. description: 所属会员ID
  16119. type: integer
  16120. modifierid:
  16121. description: 修改人
  16122. type: integer
  16123. modifyremark:
  16124. description: 变更备注
  16125. type: string
  16126. modifystatus:
  16127. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16128. type: integer
  16129. modifytime:
  16130. description: 修改时间
  16131. type: string
  16132. parenttopuser:
  16133. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16134. type: string
  16135. parentuserid:
  16136. description: 所属机构ID
  16137. type: integer
  16138. reckonaccountid:
  16139. description: 默认结算资金账号ID(机构分润使用) 作废
  16140. type: integer
  16141. refercount:
  16142. description: 推荐总人数
  16143. type: integer
  16144. refereeuserid:
  16145. description: 推荐人ID
  16146. type: integer
  16147. refernum:
  16148. description: 推荐码
  16149. type: string
  16150. rootuserid:
  16151. description: 根用户ID
  16152. type: integer
  16153. subaccountlevel:
  16154. description: 子账户层数
  16155. type: integer
  16156. subarealevelpath:
  16157. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16158. type: string
  16159. userid:
  16160. description: 用户ID
  16161. type: integer
  16162. usertype:
  16163. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16164. type: integer
  16165. required:
  16166. - userid
  16167. type: object
  16168. models.Userfavoritegoods:
  16169. properties:
  16170. goodsid:
  16171. description: 商品ID
  16172. type: integer
  16173. required:
  16174. - goodsid
  16175. type: object
  16176. models.Userinfo:
  16177. properties:
  16178. address:
  16179. description: 地址
  16180. type: string
  16181. attachment1:
  16182. description: 附件1
  16183. type: string
  16184. attachment2:
  16185. description: 附件2
  16186. type: string
  16187. bankaccount:
  16188. description: 银行帐号 (加密存储)
  16189. type: string
  16190. bankaccountname:
  16191. description: 收款人名称
  16192. type: string
  16193. bankcardfrontphotourl:
  16194. description: 银行卡正面照地址
  16195. type: string
  16196. bankid:
  16197. description: 银行编码
  16198. type: string
  16199. bankname:
  16200. description: 银行名称
  16201. type: string
  16202. biznature:
  16203. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16204. type: integer
  16205. bizscope:
  16206. description: 企业经营范围(企业)
  16207. type: string
  16208. cardbackphotourl:
  16209. description: 证件背面图片地址
  16210. type: string
  16211. cardfrontphotourl:
  16212. description: 证件正面图片地址
  16213. type: string
  16214. cardnum:
  16215. description: 证件号码(加密存储)
  16216. type: string
  16217. cardtypeid:
  16218. description: 证件类型ID
  16219. type: integer
  16220. cityid:
  16221. description: 市
  16222. type: integer
  16223. company:
  16224. description: 公司(个人)
  16225. type: string
  16226. contactname:
  16227. description: 联系人
  16228. type: string
  16229. countryid:
  16230. description: 国家
  16231. type: integer
  16232. createtime:
  16233. description: 创建时间
  16234. type: string
  16235. creatorid:
  16236. description: 创建人
  16237. type: integer
  16238. customername:
  16239. description: 客户名称(企业名称)
  16240. type: string
  16241. districtid:
  16242. description: 地区
  16243. type: integer
  16244. email:
  16245. description: 邮件(加密存储)
  16246. type: string
  16247. fax:
  16248. description: 传真(加密存储)
  16249. type: string
  16250. halfbodyphotourl:
  16251. description: 半身照地址
  16252. type: string
  16253. hasencrypt:
  16254. description: 数据是否已加密 - 0:未加密 1:已加密
  16255. type: integer
  16256. headurl:
  16257. description: 头像地址
  16258. type: string
  16259. legalcardbackphotourl:
  16260. description: 法人身份证背面照地址
  16261. type: string
  16262. legalcardfrontphotourl:
  16263. description: 法人身份证正面照地址
  16264. type: string
  16265. legalpersonname:
  16266. description: 法人姓名(企业)
  16267. type: string
  16268. mobile:
  16269. description: 手机号码(加密存储)
  16270. type: string
  16271. mobile2:
  16272. description: 手机号码[明文-尚志]
  16273. type: string
  16274. modifierid:
  16275. description: 修改人
  16276. type: integer
  16277. modifiertime:
  16278. description: 修改时间
  16279. type: string
  16280. needinvoice:
  16281. description: 是否需要发票 - 0:不需要 1:需要
  16282. type: integer
  16283. nickname:
  16284. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16285. type: string
  16286. openmode:
  16287. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16288. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16289. type: integer
  16290. otherurl:
  16291. description: 其它图片地址[使用分号分隔]
  16292. type: string
  16293. postalcode:
  16294. description: 邮政编码
  16295. type: string
  16296. provinceid:
  16297. description: 省
  16298. type: integer
  16299. qq:
  16300. description: QQ(加密存储
  16301. type: string
  16302. remark:
  16303. description: 备注
  16304. type: string
  16305. sex:
  16306. description: '用户性别 0: 女 1: 男'
  16307. type: integer
  16308. signpdfurl:
  16309. description: 签约pdf文件
  16310. type: string
  16311. telphone:
  16312. description: 联系电话(加密存储)
  16313. type: string
  16314. userid:
  16315. description: 用户ID
  16316. type: integer
  16317. userinfotype:
  16318. description: 用户信息类型 - 1:个人 2:企业
  16319. type: integer
  16320. userstatus:
  16321. description: 用户状态 - 1:正常 2:注销
  16322. type: integer
  16323. usertype:
  16324. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16325. type: integer
  16326. wechat:
  16327. description: 微信(加密存储)
  16328. type: string
  16329. wskhinfo:
  16330. description: 开户申请信息(JSON)
  16331. type: string
  16332. required:
  16333. - userid
  16334. type: object
  16335. models.WRSConverTDetail:
  16336. properties:
  16337. convertratio:
  16338. description: 套保系数
  16339. type: number
  16340. deliverygoodscode:
  16341. description: 现货商品代码
  16342. type: string
  16343. deliverygoodsid:
  16344. description: 现货品种ID
  16345. type: integer
  16346. deliverygoodsname:
  16347. description: 现货商品名称
  16348. type: string
  16349. enumdicname:
  16350. description: 单位名称
  16351. type: string
  16352. goodsunitid:
  16353. description: 套保品种单位id
  16354. type: integer
  16355. middlegoodscode:
  16356. description: 套保品种代码
  16357. type: string
  16358. middlegoodsid:
  16359. description: 套保品种ID
  16360. type: integer
  16361. middlegoodsname:
  16362. description: 套保品种名称
  16363. type: string
  16364. modifytime:
  16365. description: 修改时间
  16366. type: string
  16367. wrstandardid:
  16368. description: 品类ID
  16369. type: integer
  16370. type: object
  16371. models.WRStandardInfo:
  16372. properties:
  16373. areauserid:
  16374. description: 所属机构
  16375. type: integer
  16376. convertfactor:
  16377. description: 标仓系数
  16378. type: number
  16379. createtime:
  16380. description: 创建时间
  16381. type: string
  16382. creatorid:
  16383. description: 创建人
  16384. type: integer
  16385. deliverygoodsid:
  16386. description: 品种ID
  16387. type: integer
  16388. deliverygoodsname:
  16389. description: 交割商品名称
  16390. type: string
  16391. factoryitemjson:
  16392. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16393. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16394. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16395. 逗号分隔'
  16396. type: string
  16397. isvalid:
  16398. description: 是否有效 - 0:无效 1:有效
  16399. type: integer
  16400. minivalue:
  16401. description: 最小变动值
  16402. type: integer
  16403. minivaluedp:
  16404. description: 最小变动值小数位
  16405. type: integer
  16406. realminivalue:
  16407. description: 实际最小变动值
  16408. type: integer
  16409. realminivaluedp:
  16410. description: 实际最小变动值小数位
  16411. type: integer
  16412. remark:
  16413. description: 备注
  16414. type: string
  16415. unitid:
  16416. description: 单位ID
  16417. type: integer
  16418. unitname:
  16419. description: 单位
  16420. type: string
  16421. updatetime:
  16422. description: 更新时间
  16423. type: string
  16424. updatorid:
  16425. description: 更新人
  16426. type: integer
  16427. wrsstatus:
  16428. description: 状态 - 作废 - 0:未激活 1:正常
  16429. type: integer
  16430. wrstandardcode:
  16431. description: 现货品类代码
  16432. type: string
  16433. wrstandardid:
  16434. description: 现货品类ID(SEQ_WRSTANDARD)
  16435. type: integer
  16436. wrstandardname:
  16437. description: 现货品类名称
  16438. type: string
  16439. required:
  16440. - wrstandardid
  16441. type: object
  16442. models.WRTradeBargainApply:
  16443. properties:
  16444. accountid:
  16445. description: 摘牌资金账号
  16446. type: integer
  16447. applyprice:
  16448. description: 申请价格(议价价格)
  16449. type: string
  16450. applyqty:
  16451. description: 摘牌数量(议价数量)
  16452. type: number
  16453. applyremark:
  16454. description: 申请备注
  16455. type: string
  16456. applystatus:
  16457. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16458. type: integer
  16459. applytime:
  16460. description: 申请时间(议价时间)
  16461. type: string
  16462. begindate:
  16463. description: 开始交易日(yyyymmdd)
  16464. type: string
  16465. buyorsell:
  16466. description: 买卖(挂牌类型) - 0:买 1:卖
  16467. type: integer
  16468. confirmremark:
  16469. description: 确认备注
  16470. type: string
  16471. confirmtime:
  16472. description: 确认时间
  16473. type: string
  16474. confirmuserid:
  16475. description: 确认人
  16476. type: integer
  16477. deliverygoodscode:
  16478. description: 品种代码
  16479. type: string
  16480. deliverygoodsid:
  16481. description: 品种ID
  16482. type: integer
  16483. deliverygoodsname:
  16484. description: 品种名称
  16485. type: string
  16486. deliverymonth:
  16487. description: 交收月
  16488. type: string
  16489. enddate:
  16490. description: 结束交易日(yyyymmdd)
  16491. type: string
  16492. enumdicname:
  16493. description: 单位名称
  16494. type: string
  16495. fixedprice:
  16496. description: 挂牌价格
  16497. type: number
  16498. handlestatus:
  16499. description: 处理状态
  16500. type: integer
  16501. marginvalue:
  16502. description: 履约保证金比例
  16503. type: number
  16504. marketid:
  16505. description: 市场ID
  16506. type: integer
  16507. matchaccountid:
  16508. description: 挂牌方资金账号
  16509. type: integer
  16510. matchuserid:
  16511. description: 挂牌方用户id
  16512. type: integer
  16513. matchusername:
  16514. description: 挂牌方用户名称(已脱敏)
  16515. type: string
  16516. minivalue:
  16517. description: 现货商品最小变动值
  16518. type: integer
  16519. optioncompare:
  16520. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16521. type: string
  16522. orderqty:
  16523. description: 挂牌数量
  16524. type: integer
  16525. refprice:
  16526. description: 参考价格
  16527. type: string
  16528. retcode:
  16529. description: 委托返回代码
  16530. type: integer
  16531. templatename:
  16532. description: 履约方式(履约模板名称)
  16533. type: string
  16534. tradedate:
  16535. description: 交易日(yyyyMMdd)
  16536. type: string
  16537. userid:
  16538. description: 摘牌人用户ID(议价人ID)
  16539. type: integer
  16540. username:
  16541. description: 议价人名字(已脱敏)
  16542. type: string
  16543. validtime:
  16544. description: 有效期限
  16545. type: string
  16546. warehouseid:
  16547. description: 仓库ID
  16548. type: integer
  16549. warehousename:
  16550. description: 仓库名称
  16551. type: string
  16552. wrbargainid:
  16553. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16554. type: string
  16555. wrfactortypeid:
  16556. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16557. type: string
  16558. wrfactortypename:
  16559. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16560. type: string
  16561. wrstandardcode:
  16562. description: 现货商品代码
  16563. type: string
  16564. wrstandardid:
  16565. description: 现货商品ID
  16566. type: integer
  16567. wrstandardname:
  16568. description: 商品名称
  16569. type: string
  16570. wrtradeorderid:
  16571. description: 关联委托单ID
  16572. type: string
  16573. wrtypename:
  16574. description: 商品
  16575. type: string
  16576. type: object
  16577. models.Warehouseinfo:
  16578. properties:
  16579. address:
  16580. description: 详细地址
  16581. type: string
  16582. areauserid:
  16583. description: 所属机构
  16584. type: integer
  16585. autoid:
  16586. description: 自增ID
  16587. type: integer
  16588. cityid:
  16589. description: 市
  16590. type: integer
  16591. contactname:
  16592. description: 联系人
  16593. type: string
  16594. contactnum:
  16595. description: 联系电话
  16596. type: string
  16597. countryid:
  16598. description: 国家
  16599. type: integer
  16600. createtime:
  16601. description: 创建时间
  16602. type: string
  16603. districtid:
  16604. description: 区
  16605. type: integer
  16606. hasvideo:
  16607. description: 是否有视频 - 0:无 1:有
  16608. type: integer
  16609. provinceid:
  16610. description: 省
  16611. type: integer
  16612. remark:
  16613. description: 审核备注
  16614. type: string
  16615. videourl:
  16616. description: 视频地址
  16617. type: string
  16618. warehousecode:
  16619. description: 仓库代码
  16620. type: string
  16621. warehousename:
  16622. description: 仓库名称
  16623. type: string
  16624. warehousestatus:
  16625. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16626. type: integer
  16627. warehousetype:
  16628. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16629. type: integer
  16630. required:
  16631. - autoid
  16632. - warehousecode
  16633. type: object
  16634. models.WrAverageTradePrice:
  16635. properties:
  16636. averageprice:
  16637. description: 成交均价
  16638. type: number
  16639. tradedate:
  16640. description: 交易日yyyymm
  16641. type: string
  16642. type: object
  16643. models.WrBrandAndYears:
  16644. properties:
  16645. brandlst:
  16646. description: 品牌列表
  16647. items:
  16648. $ref: '#/definitions/models.DgFactoryItem'
  16649. type: array
  16650. yearslst:
  16651. description: 年份列表
  16652. items:
  16653. $ref: '#/definitions/models.DgFactoryItem'
  16654. type: array
  16655. type: object
  16656. models.WrBsGoodsInfo:
  16657. properties:
  16658. buyorsell:
  16659. description: 买卖方向 0-买 1-卖
  16660. type: integer
  16661. goodsid:
  16662. description: 交易合约ID
  16663. type: integer
  16664. lstitem:
  16665. description: 商品信息项
  16666. items:
  16667. $ref: '#/definitions/models.WrTypeItem'
  16668. type: array
  16669. lststep:
  16670. description: 履约规则
  16671. items:
  16672. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16673. type: array
  16674. type: object
  16675. models.WrBuybackDetail:
  16676. properties:
  16677. buybackamount:
  16678. description: 回购金额
  16679. type: number
  16680. buybackqty:
  16681. description: 回购数量
  16682. type: number
  16683. buybackreleasemargin:
  16684. description: 回购释放保证金
  16685. type: number
  16686. buybacktime:
  16687. description: 回购时间
  16688. type: string
  16689. errordesc:
  16690. description: 错误描述
  16691. type: string
  16692. handlestatus:
  16693. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16694. type: integer
  16695. relatedwrid:
  16696. description: 关联仓单ID
  16697. type: integer
  16698. scfcontractid:
  16699. description: SCF合同ID
  16700. type: string
  16701. scfwrbuybackid:
  16702. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16703. type: integer
  16704. tradedate:
  16705. description: 交易日(yyyyMMdd)
  16706. type: string
  16707. type: object
  16708. models.WrClientAdSpaceConfig:
  16709. properties:
  16710. adspaceid:
  16711. description: 广告位ID
  16712. type: integer
  16713. adspacename:
  16714. description: 广告位名称
  16715. type: string
  16716. adspacetype:
  16717. description: 广告位类型 - 1:固定广告位
  16718. type: integer
  16719. areauserid:
  16720. description: 所属机构ID
  16721. type: integer
  16722. createdate:
  16723. description: 创建时间
  16724. type: string
  16725. imagepath:
  16726. description: 图片
  16727. type: string
  16728. modifierid:
  16729. description: 操作人
  16730. type: integer
  16731. recsize:
  16732. description: 推荐尺寸
  16733. type: string
  16734. title:
  16735. description: 标题
  16736. type: string
  16737. updatedate:
  16738. description: 更新时间
  16739. type: string
  16740. urlcontent:
  16741. description: 链接(地址\商品ID\功能菜单Key\appid)
  16742. type: string
  16743. urltype:
  16744. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16745. type: integer
  16746. type: object
  16747. models.WrDeliveryAvalidHoldLB:
  16748. properties:
  16749. accountid:
  16750. description: 资金账号
  16751. type: integer
  16752. avalidqty:
  16753. description: 数量(可点选数量)
  16754. type: number
  16755. deliverygoodsid:
  16756. description: 品种id
  16757. type: integer
  16758. enumdicname:
  16759. description: 单位名称
  16760. type: string
  16761. goodsid:
  16762. description: x合约商品id
  16763. type: integer
  16764. ladingbillid:
  16765. description: 提单id
  16766. type: string
  16767. pgoodscode:
  16768. description: p商品代码(点价合约)
  16769. type: string
  16770. pgoodsid:
  16771. description: p商品id(点价合约)
  16772. type: integer
  16773. pgoodsname:
  16774. description: p商品名称(点价合约)
  16775. type: string
  16776. pricemove:
  16777. description: 升贴水
  16778. type: number
  16779. subnum:
  16780. description: 提单子id
  16781. type: integer
  16782. userid:
  16783. description: 用户id
  16784. type: integer
  16785. username:
  16786. description: 仓单持有人
  16787. type: string
  16788. warehousecode:
  16789. description: 仓库代码
  16790. type: string
  16791. warehouseid:
  16792. description: 仓库id
  16793. type: integer
  16794. warehousename:
  16795. description: 仓库名称
  16796. type: string
  16797. wrfactortypeid:
  16798. description: 仓单要素id
  16799. type: string
  16800. wrstandardcode:
  16801. description: 品代码
  16802. type: string
  16803. wrstandardid:
  16804. description: 品类d
  16805. type: integer
  16806. wrstandardname:
  16807. description: 品类名称
  16808. type: string
  16809. wrtypename:
  16810. description: 商品
  16811. type: string
  16812. xgoodscode:
  16813. description: x合约代码
  16814. type: string
  16815. xgoodsname:
  16816. description: x合约名称
  16817. type: string
  16818. type: object
  16819. models.WrDeliveryDetail:
  16820. properties:
  16821. accountid:
  16822. description: 账号ID
  16823. type: integer
  16824. averageprice:
  16825. description: 交割均价 = 交割金额 / 交割数量
  16826. type: number
  16827. begindate:
  16828. description: 开始交易日(yyyymmdd)
  16829. type: string
  16830. buyorsell:
  16831. description: 方向 - 0:买 1:卖
  16832. type: integer
  16833. deliveryamount:
  16834. description: 货款金额(X总货款+P总货款)
  16835. type: number
  16836. deliveryid:
  16837. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16838. type: string
  16839. deliveryorderid:
  16840. description: 申报单号
  16841. type: string
  16842. deliverypricemove:
  16843. description: 升贴水(升贴水总额)
  16844. type: number
  16845. deliveryqty:
  16846. description: 交收数量(点选数量)
  16847. type: number
  16848. deliverystatus:
  16849. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16850. type: integer
  16851. deliverytime:
  16852. description: 交割时间
  16853. type: string
  16854. deliverytotalamount:
  16855. description: 交收金额
  16856. type: number
  16857. enddate:
  16858. description: 结束交易日(yyyymmdd)
  16859. type: string
  16860. enumdicname:
  16861. description: 单位名称
  16862. type: string
  16863. matchaccountid:
  16864. description: 对手账号ID
  16865. type: integer
  16866. matchusername:
  16867. description: 对手方名称(仓单持有人)
  16868. type: string
  16869. p1goodsremainamount:
  16870. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16871. type: number
  16872. pdeliverycloseqty:
  16873. description: p合约平仓数量
  16874. type: number
  16875. pdeliveryprice:
  16876. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16877. type: number
  16878. pgoodscode:
  16879. description: 商品代码
  16880. type: string
  16881. pgoodsid:
  16882. description: p点选合约id
  16883. type: integer
  16884. pgoodsname:
  16885. description: 商品名称
  16886. type: string
  16887. ppricemode:
  16888. description: 点价价格方式 - 1:商品价 2:固定值
  16889. type: integer
  16890. tradedate:
  16891. description: 交易日(yyyymmdd)
  16892. type: string
  16893. userid:
  16894. description: 用户id
  16895. type: integer
  16896. username:
  16897. description: 用户名称
  16898. type: string
  16899. warehousename:
  16900. description: 仓库名称
  16901. type: string
  16902. wrfactortypeid:
  16903. description: 仓单要素类型ID
  16904. type: string
  16905. wrtypename:
  16906. description: 商品
  16907. type: string
  16908. xdeliverycloseqty:
  16909. description: 合约数量
  16910. type: number
  16911. xgoodsamount:
  16912. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16913. type: number
  16914. xgoodscode:
  16915. description: 商品代码
  16916. type: string
  16917. xgoodsid:
  16918. description: x交易合约ID
  16919. type: integer
  16920. xgoodsname:
  16921. description: 商品名称
  16922. type: string
  16923. type: object
  16924. models.WrDeliveryGoodsSection:
  16925. properties:
  16926. dglst:
  16927. description: 板块商品列表
  16928. items:
  16929. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16930. type: array
  16931. imagepath:
  16932. description: 图片地址
  16933. type: string
  16934. orderindex:
  16935. description: 排序
  16936. type: integer
  16937. sectionid:
  16938. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16939. = 1的版块1 - 云融指数
  16940. type: integer
  16941. sectionname:
  16942. description: 版块名称
  16943. type: string
  16944. sectiontype:
  16945. description: 版块类型 - 1:指数版块 2:普通版块
  16946. type: integer
  16947. type: object
  16948. models.WrDeliveryGoodsSectionConfig:
  16949. properties:
  16950. deliverygoodscode:
  16951. description: 现货商品代码
  16952. type: string
  16953. deliverygoodsid:
  16954. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16955. type: integer
  16956. deliverygoodsname:
  16957. description: 现货商品名称
  16958. type: string
  16959. orderindex:
  16960. description: 排序
  16961. type: integer
  16962. type: object
  16963. models.WrDraftUserInfo:
  16964. properties:
  16965. address:
  16966. description: 地址
  16967. type: string
  16968. attachment1:
  16969. description: 附件1
  16970. type: string
  16971. attachment2:
  16972. description: 附件2
  16973. type: string
  16974. attachment3:
  16975. description: 附件3
  16976. type: string
  16977. attachment4:
  16978. description: 附件4
  16979. type: string
  16980. attachment5:
  16981. description: 附件5
  16982. type: string
  16983. bankaccount:
  16984. description: 银行帐号 (加密存储)
  16985. type: string
  16986. bankaccountname:
  16987. description: 收款人名称
  16988. type: string
  16989. bankcardfrontphotourl:
  16990. description: 银行卡正面照地址
  16991. type: string
  16992. bankid:
  16993. description: 银行编码
  16994. type: string
  16995. bankname:
  16996. description: 银行名称
  16997. type: string
  16998. birthday:
  16999. description: 生日(个人:年月日)
  17000. type: string
  17001. biznature:
  17002. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17003. type: integer
  17004. bizscope:
  17005. description: 企业经营范围(企业)
  17006. type: string
  17007. biztype:
  17008. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  17009. type: integer
  17010. cardbackphotourl:
  17011. description: 证件背面图片地址
  17012. type: string
  17013. cardfrontphotourl:
  17014. description: 证件正面图片地址
  17015. type: string
  17016. cardnum:
  17017. description: 证件号码(加密存储)
  17018. type: string
  17019. cardtypeid:
  17020. description: 证件类型ID
  17021. type: integer
  17022. cityid:
  17023. description: 市
  17024. type: integer
  17025. company:
  17026. description: 公司(个人)
  17027. type: string
  17028. contactcardbackphotourl:
  17029. description: 联系人证件背面图片地址
  17030. type: string
  17031. contactcardfrontphotourl:
  17032. description: 联系人证件正面图片地址
  17033. type: string
  17034. contactname:
  17035. description: 联系人
  17036. type: string
  17037. countryid:
  17038. description: 国家
  17039. type: integer
  17040. createtime:
  17041. description: 创建时间
  17042. type: string
  17043. creatorid:
  17044. description: 创建人
  17045. type: integer
  17046. creditquota:
  17047. description: 授信额度(金瑞)
  17048. type: number
  17049. customername:
  17050. description: 客户名称(企业名称)
  17051. type: string
  17052. districtid:
  17053. description: 地区
  17054. type: integer
  17055. email:
  17056. description: 邮件(加密存储)
  17057. type: string
  17058. fax:
  17059. description: 传真(加密存储)
  17060. type: string
  17061. halfbodyphotourl:
  17062. description: 半身照地址
  17063. type: string
  17064. hasencrypt:
  17065. description: 数据是否已加密 - 0:未加密 1:已加密
  17066. type: integer
  17067. headurl:
  17068. description: 头像地址
  17069. type: string
  17070. legalcardbackphotourl:
  17071. description: 法人身份证背面照地址
  17072. type: string
  17073. legalcardfrontphotourl:
  17074. description: 法人身份证正面照地址
  17075. type: string
  17076. legalpersonname:
  17077. description: 法人姓名(企业)
  17078. type: string
  17079. mobile:
  17080. description: 手机号码(加密存储)
  17081. type: string
  17082. mobile2:
  17083. description: 手机号码[明文-尚志]
  17084. type: string
  17085. modifierid:
  17086. description: 修改人
  17087. type: integer
  17088. modifiertime:
  17089. description: 修改时间
  17090. type: string
  17091. needinvoice:
  17092. description: 是否需要发票 - 0:不需要 1:需要
  17093. type: integer
  17094. nickname:
  17095. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17096. type: string
  17097. openmode:
  17098. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17099. 6:苹果手机端注册 7:PC交易端注册"
  17100. type: integer
  17101. otherurl:
  17102. description: 其它图片地址[使用分号分隔]
  17103. type: string
  17104. postalcode:
  17105. description: 邮政编码
  17106. type: string
  17107. provinceid:
  17108. description: 省
  17109. type: integer
  17110. proxystatementurl:
  17111. description: 授权委托书
  17112. type: string
  17113. qq:
  17114. description: QQ(加密存储
  17115. type: string
  17116. remark:
  17117. description: 备注
  17118. type: string
  17119. sex:
  17120. description: '用户性别 0: 女 1: 男'
  17121. type: integer
  17122. signpdfurl:
  17123. description: 签约pdf文件
  17124. type: string
  17125. taxpayernum:
  17126. description: 纳税人识别号
  17127. type: string
  17128. telphone:
  17129. description: 联系电话(加密存储)
  17130. type: string
  17131. userid:
  17132. description: 用户ID
  17133. type: integer
  17134. userinfotype:
  17135. description: 用户信息类型 - 1:个人 2:企业
  17136. type: integer
  17137. userstatus:
  17138. description: 用户状态 - 1:正常 2:注销
  17139. type: integer
  17140. usertype:
  17141. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17142. type: integer
  17143. wechat:
  17144. description: 微信(加密存储)
  17145. type: string
  17146. wskhinfo:
  17147. description: 开户申请信息(JSON)
  17148. type: string
  17149. type: object
  17150. models.WrFAProductDetail:
  17151. properties:
  17152. accountid:
  17153. description: 资金账号
  17154. type: integer
  17155. areauserid:
  17156. description: 金融机构ID
  17157. type: integer
  17158. financingdays:
  17159. description: 天数(天)
  17160. type: integer
  17161. interestminlen:
  17162. description: 最小起息天数
  17163. type: integer
  17164. interestrate:
  17165. description: 利率
  17166. type: number
  17167. interestratemode:
  17168. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17169. type: integer
  17170. interestsettlemode:
  17171. description: 结息方式 - 1:按日结息 3:按月结息
  17172. type: integer
  17173. interestsettlevalue:
  17174. description: 结息方式值
  17175. type: integer
  17176. isautoloan:
  17177. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17178. type: integer
  17179. loantag:
  17180. description: '放款标识: "放款快" 或者为空'
  17181. type: string
  17182. marginratio:
  17183. description: 保证金比率质押率 - [仓单质押]
  17184. type: number
  17185. productdetailid:
  17186. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17187. type: integer
  17188. productid:
  17189. description: 金融产品ID
  17190. type: integer
  17191. productname:
  17192. description: 产品名称
  17193. type: string
  17194. updatetime:
  17195. description: 更新时间
  17196. type: string
  17197. username:
  17198. description: 融出方
  17199. type: string
  17200. type: object
  17201. models.WrFactorTypeInfo:
  17202. properties:
  17203. deliverygoodscode:
  17204. description: 品种代码
  17205. type: string
  17206. deliverygoodsname:
  17207. description: 品种名称
  17208. type: string
  17209. dgfactoryitemid:
  17210. description: 选择项id
  17211. type: integer
  17212. dgfactoryitemtypeid:
  17213. description: 要素选择项ID (1-仓库 2-品牌)
  17214. type: integer
  17215. dgfactoryitemvalue:
  17216. description: 要素项值
  17217. type: string
  17218. itemtypename:
  17219. description: 要素项名称
  17220. type: string
  17221. optioncompare:
  17222. description: 选择比较串
  17223. type: string
  17224. warehouseid:
  17225. description: 仓库id
  17226. type: integer
  17227. wrfactortypeid:
  17228. description: 仓单要素ID
  17229. type: string
  17230. wrfactortypename:
  17231. description: 要素名称
  17232. type: string
  17233. wrfactortypename2:
  17234. description: 要素名称(不含仓库)
  17235. type: string
  17236. wrstandardcode:
  17237. description: 品类代码
  17238. type: string
  17239. wrstandardid:
  17240. description: 品类id
  17241. type: integer
  17242. wrstandardname:
  17243. description: 品类名称
  17244. type: string
  17245. type: object
  17246. models.WrFilterItem:
  17247. properties:
  17248. itemcode:
  17249. description: 代码
  17250. type: string
  17251. itemid:
  17252. description: 项id
  17253. type: integer
  17254. itemname:
  17255. description: 名称
  17256. type: string
  17257. itemtype:
  17258. description: 类型 1-品种 2-品类(商品) 3-仓库
  17259. type: integer
  17260. type: object
  17261. models.WrFinanceBuyApply:
  17262. properties:
  17263. applydate:
  17264. description: 申请时间
  17265. type: string
  17266. applystatus:
  17267. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17268. type: integer
  17269. applyuserid:
  17270. description: 申请人
  17271. type: integer
  17272. auditdate:
  17273. description: 审核时间
  17274. type: string
  17275. auditremark:
  17276. description: 审核备注
  17277. type: string
  17278. audituserid:
  17279. description: 审核人
  17280. type: integer
  17281. buyaccountid:
  17282. description: 买方资金账号
  17283. type: integer
  17284. buyorsell:
  17285. description: 买卖 - 0:买 1:卖
  17286. type: integer
  17287. buyuserid:
  17288. description: 买方用户ID
  17289. type: integer
  17290. buyusername:
  17291. description: 买方名称
  17292. type: string
  17293. buywrtradeorderid:
  17294. description: 融资方买委托单ID
  17295. type: string
  17296. deliverygoodscode:
  17297. description: 品种代码
  17298. type: string
  17299. deliverygoodsid:
  17300. description: 品种ID
  17301. type: integer
  17302. deliverygoodsname:
  17303. description: 品种名称
  17304. type: string
  17305. deliverymonth:
  17306. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17307. type: string
  17308. enumdicname:
  17309. description: 单位名称
  17310. type: string
  17311. financeaccountid:
  17312. description: 融资方资金帐户ID
  17313. type: integer
  17314. financeapplyid:
  17315. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17316. type: string
  17317. financeareauserid:
  17318. description: 融资方用户ID
  17319. type: string
  17320. financename:
  17321. description: 融出方名称
  17322. type: string
  17323. financetype:
  17324. description: 融资类型 1-融资回购
  17325. type: integer
  17326. financingdays:
  17327. description: 天数(天)
  17328. type: integer
  17329. freezebuymargin:
  17330. description: 冻结融资保证金(买方)
  17331. type: number
  17332. handleremark:
  17333. description: 处理备注
  17334. type: string
  17335. handlestatus:
  17336. description: 处理状态
  17337. type: integer
  17338. interestminlen:
  17339. description: 最小起息天数
  17340. type: integer
  17341. interestrate:
  17342. description: 利率
  17343. type: number
  17344. interestratemode:
  17345. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17346. type: integer
  17347. interestsettlemode:
  17348. description: 结息方式 - 1:按日结息 3:按月结息
  17349. type: integer
  17350. interestsettlevalue:
  17351. description: 结息方式值
  17352. type: integer
  17353. isautoloan:
  17354. description: 是否自动放款 - 0:手动 1:自动
  17355. type: integer
  17356. marginratio:
  17357. description: 保证金比率质押率 - [仓单质押]
  17358. type: number
  17359. marketid:
  17360. description: 市场ID
  17361. type: integer
  17362. minivalue:
  17363. description: 现货商品最小变动值
  17364. type: integer
  17365. optioncompare:
  17366. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17367. type: string
  17368. orderqty:
  17369. description: 委托数量(商品数量)
  17370. type: number
  17371. productdetailid:
  17372. description: 产品组合ID
  17373. type: integer
  17374. productid:
  17375. description: 金融产品ID
  17376. type: integer
  17377. productname:
  17378. description: 产品名称
  17379. type: string
  17380. remark:
  17381. description: 备注
  17382. type: string
  17383. scfcontractid:
  17384. description: 仓单回购合同ID
  17385. type: string
  17386. sellaccountid:
  17387. description: 卖方资金账号
  17388. type: integer
  17389. selluserid:
  17390. description: 卖方用户ID
  17391. type: integer
  17392. sellwrtradeorderid:
  17393. description: 卖方委托单ID
  17394. type: string
  17395. tradeamount:
  17396. description: 成交金额(借款金额)
  17397. type: number
  17398. tradedate:
  17399. description: 交易日(yyyyMMdd)
  17400. type: string
  17401. tradeprice:
  17402. description: 成交价格
  17403. type: number
  17404. warehouseid:
  17405. description: 仓库ID
  17406. type: integer
  17407. warehousename:
  17408. description: 仓库名称
  17409. type: string
  17410. wrfactortypeid:
  17411. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17412. type: string
  17413. wrfactortypename:
  17414. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17415. type: string
  17416. wrpricetype:
  17417. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17418. type: integer
  17419. wrstandardcode:
  17420. description: 现货商品代码
  17421. type: string
  17422. wrstandardid:
  17423. description: 现货商品ID
  17424. type: integer
  17425. wrstandardname:
  17426. description: 商品名称
  17427. type: string
  17428. wrtypename:
  17429. description: 商品
  17430. type: string
  17431. type: object
  17432. models.WrFriendApply:
  17433. properties:
  17434. applicantid:
  17435. description: 申请人
  17436. type: integer
  17437. applyname:
  17438. description: 申请人名称
  17439. type: string
  17440. applysrc:
  17441. description: 申请来源 - 1:管理端 2:终端
  17442. type: integer
  17443. applystatus:
  17444. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17445. type: integer
  17446. applytime:
  17447. description: 申请时间
  17448. type: string
  17449. auditname:
  17450. description: 审核人名称
  17451. type: string
  17452. auditorid:
  17453. description: 审核人
  17454. type: integer
  17455. auditremark:
  17456. description: 审核备注
  17457. type: string
  17458. auditsrc:
  17459. description: 审核来源 - 1:管理端 2:终端
  17460. type: integer
  17461. audittime:
  17462. description: 审核时间
  17463. type: string
  17464. friendapplyid:
  17465. description: 申请ID(SEQ_FRIENDAPPLY)
  17466. type: string
  17467. friendname:
  17468. description: 好友名字(已脱敏)
  17469. type: string
  17470. frienduserid:
  17471. description: 好友用户ID
  17472. type: string
  17473. remark:
  17474. description: 备注
  17475. type: string
  17476. userid:
  17477. description: 申请人用户ID
  17478. type: integer
  17479. type: object
  17480. models.WrFtDeliveryGoods:
  17481. properties:
  17482. deliverygoodscode:
  17483. description: 品种代码
  17484. type: string
  17485. deliverygoodsid:
  17486. description: 品种ID
  17487. type: integer
  17488. deliverygoodsname:
  17489. description: 品种名称
  17490. type: string
  17491. wdlst:
  17492. description: 商品列表
  17493. items:
  17494. $ref: '#/definitions/models.WrFtWrstandard'
  17495. type: array
  17496. type: object
  17497. models.WrFtWrstandard:
  17498. properties:
  17499. enumdicname:
  17500. description: 单位名称
  17501. type: string
  17502. minivalue:
  17503. description: 最小变动值
  17504. type: integer
  17505. wrstandardcode:
  17506. description: 现货商品代码
  17507. type: string
  17508. wrstandardid:
  17509. description: 现货商品ID
  17510. type: integer
  17511. wrstandardname:
  17512. description: 商品名称
  17513. type: string
  17514. type: object
  17515. models.WrGoodsInfo:
  17516. properties:
  17517. haswr:
  17518. description: 0:仓单预售 1:仓单贸易
  17519. type: integer
  17520. lstitem:
  17521. description: 商品信息项
  17522. items:
  17523. $ref: '#/definitions/models.WrTypeItem'
  17524. type: array
  17525. lststep:
  17526. description: 履约规则
  17527. items:
  17528. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17529. type: array
  17530. marketid:
  17531. description: 市场id
  17532. type: integer
  17533. type: object
  17534. models.WrGoodsPerformanceStep:
  17535. properties:
  17536. autoid:
  17537. description: AutoID
  17538. type: integer
  17539. isauto:
  17540. description: 是否自动 - 0:不自动 1:自动
  17541. type: integer
  17542. remark:
  17543. description: 备注
  17544. type: string
  17545. stepdate:
  17546. description: 天数信息(T+N)
  17547. type: string
  17548. stepdays:
  17549. description: 距离上一步天数
  17550. type: integer
  17551. stepindex:
  17552. description: 步骤序号
  17553. type: integer
  17554. stepinfo:
  17555. description: 步骤信息(步骤名称+步骤值)
  17556. type: string
  17557. steptypeid:
  17558. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17559. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17560. type: integer
  17561. steptypename:
  17562. description: 步骤名称
  17563. type: string
  17564. stepvalue:
  17565. description: 步骤值
  17566. type: number
  17567. templateid:
  17568. description: 履约计划模板ID
  17569. type: integer
  17570. type: object
  17571. models.WrHoldLB:
  17572. properties:
  17573. accountid:
  17574. description: 持有人帐户ID
  17575. type: integer
  17576. bannerpicurl:
  17577. description: Banner图
  17578. type: string
  17579. createtime:
  17580. description: 创建时间(过户时间)
  17581. type: string
  17582. deliverygoodscode:
  17583. description: 品种代码
  17584. type: string
  17585. deliverygoodsid:
  17586. description: 品种ID
  17587. type: integer
  17588. deliverygoodsname:
  17589. description: 品种名称
  17590. type: string
  17591. enableqty:
  17592. description: 可用数量
  17593. type: number
  17594. enumdicname:
  17595. description: 单位名称
  17596. type: string
  17597. freezerqty:
  17598. description: 冻结数量
  17599. type: number
  17600. ladingbillid:
  17601. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17602. type: string
  17603. minivalue:
  17604. description: 现货商品最小变动值
  17605. type: integer
  17606. optioncompare:
  17607. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17608. type: string
  17609. parentsubnum:
  17610. description: 拆分父子单号
  17611. type: integer
  17612. pledgeqty:
  17613. description: 质押数量
  17614. type: number
  17615. qty:
  17616. description: 数量
  17617. type: number
  17618. subnum:
  17619. description: 提单子单号
  17620. type: integer
  17621. thumurls:
  17622. description: 缩略图
  17623. type: string
  17624. tradedate:
  17625. description: 交易日(yyyyMMdd)
  17626. type: string
  17627. userid:
  17628. description: 持有人ID
  17629. type: integer
  17630. warehouseid:
  17631. description: 仓库ID
  17632. type: integer
  17633. warehousename:
  17634. description: 仓库名称
  17635. type: string
  17636. wrfactortypeid:
  17637. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17638. type: string
  17639. wrfactortypename:
  17640. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17641. type: string
  17642. wrholdeno:
  17643. description: 仓单编号
  17644. type: string
  17645. wrid:
  17646. description: 仓单变更ID
  17647. type: string
  17648. wrstandardcode:
  17649. description: 现货商品代码
  17650. type: string
  17651. wrstandardid:
  17652. description: 现货商品ID
  17653. type: integer
  17654. wrstandardname:
  17655. description: 商品名称
  17656. type: string
  17657. wrtypename:
  17658. description: 商品
  17659. type: string
  17660. type: object
  17661. models.WrMarketTradeConfig:
  17662. properties:
  17663. basisdownratio:
  17664. description: 浮动价基差下限比例(仓单贸易)
  17665. type: number
  17666. basisupratio:
  17667. description: 浮动价基差上限比例(仓单贸易)
  17668. type: number
  17669. buychargealgorithm:
  17670. description: 买方手续费收取方式 1:比率 2:固定
  17671. type: integer
  17672. buychargealgorithm2:
  17673. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17674. type: integer
  17675. buychargealgorithmvalue:
  17676. description: 买方手续费设置值(交易所部分)
  17677. type: number
  17678. buychargealgorithmvalue2:
  17679. description: 买方手续费设置值(会员部分)
  17680. type: number
  17681. buychargealgorithmvalue3:
  17682. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17683. type: number
  17684. buychargealgorithmvalue4:
  17685. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17686. type: number
  17687. buyfirstmarginalgorithm:
  17688. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17689. type: integer
  17690. buyfirstmarginvalue:
  17691. description: 买方出价保证金设置值 - [竞拍]
  17692. type: number
  17693. buymarginalgorithm:
  17694. description: 买方保证金方式 - 1:比率 2:固定
  17695. type: integer
  17696. buymarginvalue:
  17697. description: 买方保证金设置值
  17698. type: number
  17699. buyreleaseratio:
  17700. description: 买方释放比率[2:分步履约]
  17701. type: number
  17702. executemode:
  17703. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17704. type: integer
  17705. executeside:
  17706. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17707. type: integer
  17708. failedchargealgorithm:
  17709. description: 流拍手续费收取方式 1:比率 2:固定
  17710. type: integer
  17711. failedchargevalue:
  17712. description: 流拍手续费设置值
  17713. type: number
  17714. failedchargevalue2:
  17715. description: 流拍卖方手续费设置值
  17716. type: number
  17717. holddays:
  17718. description: 合同期限[2:分步履约]
  17719. type: integer
  17720. listingmode:
  17721. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17722. type: integer
  17723. marketid:
  17724. description: 市场ID-仓单贸易、竞拍、预售
  17725. type: integer
  17726. minqty:
  17727. description: 最小执行量[2:分步履约]
  17728. type: number
  17729. modifierid:
  17730. description: 修改人
  17731. type: integer
  17732. nowrquotaflag:
  17733. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17734. type: integer
  17735. performancetempid:
  17736. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17737. 立即执行(-1)
  17738. type: integer
  17739. performancetempid2:
  17740. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17741. 立即执行
  17742. type: integer
  17743. performancetempid2s:
  17744. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17745. - 履约方式: 立即执行
  17746. type: string
  17747. performancetempids:
  17748. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17749. - 履约方式: 立即执行(-1)
  17750. type: string
  17751. performanceway:
  17752. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17753. type: integer
  17754. sellchargealgorithm:
  17755. description: 卖方手续费收取方式 1:比率 2:固定
  17756. type: integer
  17757. sellchargealgorithm2:
  17758. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17759. type: integer
  17760. sellchargealgorithmvalue:
  17761. description: 卖方手续费设置值(交易所部分)
  17762. type: number
  17763. sellchargealgorithmvalue2:
  17764. description: 卖方手续费设置值(会员部分)
  17765. type: number
  17766. sellchargealgorithmvalue3:
  17767. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17768. type: number
  17769. sellchargealgorithmvalue4:
  17770. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17771. type: number
  17772. sellmarginalgorithm:
  17773. description: 卖方保证金方式 - 1:比率 2:固定
  17774. type: integer
  17775. sellmarginvalue:
  17776. description: 卖方保证金设置值
  17777. type: number
  17778. sellmarginvalue2:
  17779. description: 卖方保证金设置值(无仓单)
  17780. type: number
  17781. sellreleaseratio:
  17782. description: 卖方释放比率[2:分步履约]
  17783. type: number
  17784. updatetime:
  17785. description: 更新时间
  17786. type: string
  17787. type: object
  17788. models.WrOrderDetail:
  17789. properties:
  17790. accountid:
  17791. description: 交易账号(资金账号)
  17792. type: integer
  17793. allfriendsflag:
  17794. description: 是否全好友可见 - 0:否 1:是
  17795. type: integer
  17796. amount:
  17797. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17798. type: number
  17799. bannerpicurl:
  17800. description: Banner图
  17801. type: string
  17802. begindate:
  17803. description: 开始交易日(yyyymmdd)
  17804. type: string
  17805. buyorsell:
  17806. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17807. type: integer
  17808. canbargain:
  17809. description: 是否可议价 - 0:不可 1:可
  17810. type: integer
  17811. cancelqty:
  17812. description: 撤销数量
  17813. type: number
  17814. canpart:
  17815. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17816. type: integer
  17817. delistminqty:
  17818. description: 起摘数量
  17819. type: integer
  17820. deliverygoodscode:
  17821. description: 品种代码
  17822. type: string
  17823. deliverygoodsid:
  17824. description: 品种ID
  17825. type: integer
  17826. deliverygoodsname:
  17827. description: 品种名称
  17828. type: string
  17829. deliverymonth:
  17830. description: 交收月
  17831. type: string
  17832. enddate:
  17833. description: 结束交易日(yyyymmdd)
  17834. type: string
  17835. enumdicname:
  17836. description: 单位名称
  17837. type: string
  17838. fixedprice:
  17839. description: 固定价格 - [挂牌]
  17840. type: number
  17841. freezecharge:
  17842. description: 冻结手续费
  17843. type: number
  17844. freezemargin:
  17845. description: 冻结保证金(保证金)
  17846. type: number
  17847. futupricemove:
  17848. description: 期货升贴水
  17849. type: number
  17850. futushow:
  17851. description: 期货合约/升贴水
  17852. type: string
  17853. goodscode:
  17854. description: 期货合约
  17855. type: string
  17856. goodsid:
  17857. description: 期货商品id
  17858. type: integer
  17859. goodsname:
  17860. description: 商品名称
  17861. type: string
  17862. haswr:
  17863. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17864. type: integer
  17865. isspecified:
  17866. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17867. type: integer
  17868. ladingbillid:
  17869. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17870. type: string
  17871. marginvalue:
  17872. description: 保证金设置值(履约保证金)
  17873. type: number
  17874. marketid:
  17875. description: 市场ID
  17876. type: integer
  17877. matchusername:
  17878. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17879. type: string
  17880. minivalue:
  17881. description: 现货商品最小变动值
  17882. type: integer
  17883. optioncompare:
  17884. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17885. type: string
  17886. orderqty:
  17887. description: 委托数量
  17888. type: number
  17889. ordertime:
  17890. description: 委托时间(挂牌时间)
  17891. type: string
  17892. performancetemplateid:
  17893. description: 履约模板id
  17894. type: integer
  17895. pricemove:
  17896. description: 升贴水(浮动价时填写) - [挂牌]
  17897. type: number
  17898. taname:
  17899. description: 交易用户名称(资金账号名称)
  17900. type: string
  17901. thumurls:
  17902. description: 缩略图
  17903. type: string
  17904. tradedate:
  17905. description: 交易日(yyyyMMdd)
  17906. type: string
  17907. tradeprice:
  17908. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17909. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17910. type: number
  17911. tradeqty:
  17912. description: 成交数量
  17913. type: number
  17914. userid:
  17915. description: 用户ID
  17916. type: integer
  17917. validtime:
  17918. description: 挂牌有效期
  17919. type: string
  17920. validtype:
  17921. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17922. type: integer
  17923. warehouseid:
  17924. description: 仓库ID
  17925. type: integer
  17926. warehousename:
  17927. description: 仓库名称
  17928. type: string
  17929. wrfactortypeid:
  17930. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17931. type: string
  17932. wrfactortypename:
  17933. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17934. type: string
  17935. wrpricetype:
  17936. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17937. type: integer
  17938. wrstandardcode:
  17939. description: 现货商品代码
  17940. type: string
  17941. wrstandardid:
  17942. description: 现货商品ID
  17943. type: integer
  17944. wrstandardname:
  17945. description: 商品名称
  17946. type: string
  17947. wrtradeorderid:
  17948. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17949. type: string
  17950. wrtradeorderstatus:
  17951. 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:撤单解冻贷款失败
  17952. type: integer
  17953. wrtradetype:
  17954. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17955. type: integer
  17956. wrtypename:
  17957. description: 商品
  17958. type: string
  17959. type: object
  17960. models.WrOrderQuote:
  17961. properties:
  17962. bannerpicurl:
  17963. description: Banner图
  17964. type: string
  17965. buyprice:
  17966. description: 买价
  17967. type: number
  17968. buypricemove:
  17969. description: 买升贴水(基差)
  17970. type: number
  17971. buyqty:
  17972. description: 买量
  17973. type: number
  17974. deliverygoodscode:
  17975. description: 品种代码
  17976. type: string
  17977. deliverygoodsid:
  17978. description: 品种id
  17979. type: integer
  17980. deliverygoodsname:
  17981. description: 品种名称
  17982. type: string
  17983. deliverymonth:
  17984. description: 交收月
  17985. type: string
  17986. enumdicname:
  17987. description: 单位名称
  17988. type: string
  17989. goodscode:
  17990. description: 商品合约(浮动价列表才有)
  17991. type: string
  17992. goodsid:
  17993. description: 商品id(浮动价列表才有)
  17994. type: integer
  17995. minivalue:
  17996. description: 现货商品最小变动值
  17997. type: integer
  17998. pictureurls:
  17999. description: 详情图片(逗号分隔)
  18000. type: string
  18001. sellprice:
  18002. description: 卖价
  18003. type: number
  18004. sellpricemove:
  18005. description: 卖升贴水(基差)
  18006. type: number
  18007. sellqty:
  18008. description: 卖量
  18009. type: number
  18010. thumurls:
  18011. description: 缩略图片(1:1)(逗号分隔)
  18012. type: string
  18013. warehousecode:
  18014. description: 仓库代码
  18015. type: string
  18016. warehouseid:
  18017. description: 仓库id
  18018. type: integer
  18019. warehousename:
  18020. description: 仓库名称
  18021. type: string
  18022. wrfactortypeid:
  18023. description: 仓单要素id
  18024. type: string
  18025. wrfactortypename:
  18026. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18027. type: string
  18028. wrgoodsname:
  18029. description: 商品(商品名称+仓库要素名称 拼接)
  18030. type: string
  18031. wrstandardcode:
  18032. description: 商品代码
  18033. type: string
  18034. wrstandardid:
  18035. description: 商品id
  18036. type: integer
  18037. wrstandardname:
  18038. description: 商品名称
  18039. type: string
  18040. type: object
  18041. models.WrOrderQuoteDetail:
  18042. properties:
  18043. buyorsell:
  18044. description: 买卖 - 0:买 1:卖
  18045. type: integer
  18046. delistminqty:
  18047. description: 起摘数量
  18048. type: number
  18049. deliverymonth:
  18050. description: 交收月
  18051. type: string
  18052. enumdicname:
  18053. description: 单位名称
  18054. type: string
  18055. fixedprice:
  18056. description: 买(卖)价
  18057. type: number
  18058. marketid:
  18059. description: 市场id
  18060. type: integer
  18061. minivalue:
  18062. description: 现货商品最小变动值
  18063. type: integer
  18064. orderqty:
  18065. description: 买(卖)量(=委托量-成交量)
  18066. type: number
  18067. ordertime:
  18068. description: 委托时间
  18069. type: string
  18070. pricemove:
  18071. description: 买(卖)升贴水- 基差
  18072. type: number
  18073. userid:
  18074. description: 购买方(销售方)用户ID
  18075. type: integer
  18076. username:
  18077. description: 购买方(销售方)
  18078. type: string
  18079. wrtradeorderid:
  18080. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18081. type: string
  18082. type: object
  18083. models.WrOutInApply:
  18084. properties:
  18085. applyid:
  18086. description: 申请单id
  18087. type: string
  18088. applystatus:
  18089. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18090. 8:已撤销
  18091. type: integer
  18092. applytime:
  18093. description: 申请时间
  18094. type: string
  18095. applytype:
  18096. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18097. type: integer
  18098. bannerpicurl:
  18099. description: Banner图
  18100. type: string
  18101. begindate:
  18102. description: 开始交易日(yyyymmdd)
  18103. type: string
  18104. deliverygoodscode:
  18105. description: 品种代码
  18106. type: string
  18107. deliverygoodsid:
  18108. description: 品种ID
  18109. type: integer
  18110. deliverygoodsname:
  18111. description: 品种名称
  18112. type: string
  18113. enddate:
  18114. description: 结束交易日(yyyymmdd)
  18115. type: string
  18116. enumdicname:
  18117. description: 单位名称
  18118. type: string
  18119. expresscompany:
  18120. description: 物流公司
  18121. type: string
  18122. expressnum:
  18123. description: 物流单号
  18124. type: string
  18125. minivalue:
  18126. description: 现货商品最小变动值
  18127. type: integer
  18128. optioncompare:
  18129. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18130. type: string
  18131. qty:
  18132. description: 数量
  18133. type: integer
  18134. userid:
  18135. description: 用户id
  18136. type: integer
  18137. warehouseid:
  18138. description: 仓库ID
  18139. type: integer
  18140. warehousename:
  18141. description: 仓库名称
  18142. type: string
  18143. wrfactortypeid:
  18144. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18145. type: string
  18146. wrfactortypename:
  18147. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18148. type: string
  18149. wrstandardcode:
  18150. description: 现货商品代码
  18151. type: string
  18152. wrstandardid:
  18153. description: 现货商品ID
  18154. type: integer
  18155. wrstandardname:
  18156. description: 商品名称
  18157. type: string
  18158. wrtypename:
  18159. description: 商品
  18160. type: string
  18161. type: object
  18162. models.WrPerformancePlan:
  18163. properties:
  18164. activatemonth:
  18165. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18166. type: string
  18167. amount:
  18168. description: 履约金额(总金额)
  18169. type: number
  18170. begindate:
  18171. description: 开始交易日(yyyymmdd)
  18172. type: string
  18173. buyaccountid:
  18174. description: 买方账号
  18175. type: integer
  18176. buyerfreezeamount:
  18177. description: 履约冻结(买履约)
  18178. type: number
  18179. buyerfreezeamountremain:
  18180. description: 履约冻结剩余(买履约)
  18181. type: number
  18182. buyorsell:
  18183. description: 买卖方向 0-买 1-卖
  18184. type: integer
  18185. buypaidamount:
  18186. description: 买方已冻/已扣金额 (已付金额)
  18187. type: number
  18188. buyusername:
  18189. description: 买方名字
  18190. type: string
  18191. contractid:
  18192. description: 合同ID
  18193. type: integer
  18194. createtime:
  18195. description: 创建时间
  18196. type: string
  18197. creatorid:
  18198. description: 创建人
  18199. type: integer
  18200. curstepdeadline:
  18201. description: 当前步骤到期时间
  18202. type: string
  18203. curstepid:
  18204. description: 当前步骤ID
  18205. type: string
  18206. curstepname:
  18207. description: 当前步骤名称
  18208. type: string
  18209. deliverygoodscode:
  18210. description: 品种代码
  18211. type: string
  18212. deliverygoodsid:
  18213. description: 品种ID
  18214. type: integer
  18215. deliverygoodsname:
  18216. description: 品种名称
  18217. type: string
  18218. enddate:
  18219. description: 结束交易日(yyyymmdd)
  18220. type: string
  18221. enumdicname:
  18222. description: 单位名称
  18223. type: string
  18224. expressfee:
  18225. description: 运费
  18226. type: number
  18227. expressfeeconfirmed:
  18228. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18229. type: integer
  18230. hasovershort:
  18231. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18232. type: integer
  18233. haswr:
  18234. description: 类型 0-仓单预售 1-仓单贸易
  18235. type: integer
  18236. marketid:
  18237. description: 市场ID
  18238. type: integer
  18239. middleaccountid:
  18240. description: 中间商资金账号ID
  18241. type: integer
  18242. middleuserid:
  18243. description: 中间商用户ID
  18244. type: integer
  18245. minivalue:
  18246. description: 现货商品最小变动值
  18247. type: integer
  18248. optioncompare:
  18249. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18250. type: string
  18251. overshortamount:
  18252. description: 溢短金额
  18253. type: number
  18254. overshortqty:
  18255. description: 溢短数量
  18256. type: number
  18257. paymenttype:
  18258. description: 付款方式 - 1:冻结 2:扣款
  18259. type: integer
  18260. performanceplanid:
  18261. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18262. type: string
  18263. performancestatus:
  18264. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18265. 9:超时待处理 10:超时关闭
  18266. type: integer
  18267. performancetype:
  18268. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18269. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18270. type: integer
  18271. qty:
  18272. description: 履约数量
  18273. type: number
  18274. relatedorderid:
  18275. description: 关联单号(履约类型的关联单号)
  18276. type: string
  18277. remark:
  18278. description: 备注
  18279. type: string
  18280. sellaccountid:
  18281. description: 卖方账号
  18282. type: integer
  18283. sellerfreezeamount:
  18284. description: 履约冻结(卖履约)
  18285. type: number
  18286. sellerfreezeamountremain:
  18287. description: 履约冻结剩余(卖履约)
  18288. type: number
  18289. sellreceivedamount:
  18290. description: 卖方已收金额
  18291. type: number
  18292. sellusername:
  18293. description: 卖方名字
  18294. type: string
  18295. shipremark:
  18296. description: 发货备注[物流单号]
  18297. type: string
  18298. starttime:
  18299. description: 开始时间
  18300. type: string
  18301. steptypeid:
  18302. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18303. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18304. type: integer
  18305. typename:
  18306. description: 履约类型 名称
  18307. type: string
  18308. unpaidamount:
  18309. description: 剩余款(待支付金额)
  18310. type: number
  18311. userid:
  18312. description: 用户id
  18313. type: integer
  18314. warehouseid:
  18315. description: 仓库ID
  18316. type: integer
  18317. warehousename:
  18318. description: 仓库名称
  18319. type: string
  18320. wrfactortypeid:
  18321. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18322. type: string
  18323. wrfactortypename:
  18324. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18325. type: string
  18326. wrstandardcode:
  18327. description: 现货商品代码
  18328. type: string
  18329. wrstandardid:
  18330. description: 现货商品ID
  18331. type: integer
  18332. wrstandardname:
  18333. description: 商品名称
  18334. type: string
  18335. wrtransferuserid:
  18336. description: 仓单受让用户
  18337. type: integer
  18338. wrtypename:
  18339. description: 商品
  18340. type: string
  18341. required:
  18342. - userid
  18343. type: object
  18344. models.WrPerformancePlanStep:
  18345. properties:
  18346. delaydays:
  18347. description: 延期申请天数
  18348. type: integer
  18349. deliverygoodscode:
  18350. description: 品种代码
  18351. type: string
  18352. deliverygoodsid:
  18353. description: 品种ID
  18354. type: integer
  18355. deliverygoodsname:
  18356. description: 品种名称
  18357. type: string
  18358. endtime:
  18359. description: 结束日期
  18360. type: string
  18361. enumdicname:
  18362. description: 单位名称
  18363. type: string
  18364. executeside:
  18365. description: 步骤执行方 - 1:买方 2:卖方
  18366. type: integer
  18367. handlestatus:
  18368. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18369. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18370. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18371. type: integer
  18372. isauto:
  18373. description: 是否自动 - 0:不自动 1:自动
  18374. type: integer
  18375. islastreceivestep:
  18376. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18377. type: integer
  18378. minivalue:
  18379. description: 现货商品最小变动值
  18380. type: integer
  18381. optioncompare:
  18382. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18383. type: string
  18384. overdays:
  18385. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18386. type: integer
  18387. performancestepid:
  18388. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18389. type: string
  18390. planid:
  18391. description: 所属履约计划ID
  18392. type: string
  18393. realamount:
  18394. description: 实际完成金额
  18395. type: number
  18396. relatedorderid:
  18397. description: 关联单号
  18398. type: string
  18399. remaindays:
  18400. description: 剩余天数
  18401. type: integer
  18402. remark:
  18403. description: 错误备注
  18404. type: string
  18405. starttime:
  18406. description: 开始日期
  18407. type: string
  18408. stepamount:
  18409. description: 步骤金额
  18410. type: number
  18411. stepdays:
  18412. description: 距离上一步天数(分钟)
  18413. type: integer
  18414. stepindex:
  18415. description: 步骤序号
  18416. type: integer
  18417. steplanchtype:
  18418. description: 步骤启动类型 - 1:系统自动 2:手动
  18419. type: integer
  18420. stepremark:
  18421. description: 步骤备注
  18422. type: string
  18423. stepstatus:
  18424. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18425. type: integer
  18426. steptypeid:
  18427. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18428. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18429. type: integer
  18430. steptypename:
  18431. description: 步骤名称
  18432. type: string
  18433. stepvalue:
  18434. description: 步骤值
  18435. type: number
  18436. warehouseid:
  18437. description: 仓库ID
  18438. type: integer
  18439. warehousename:
  18440. description: 仓库名称
  18441. type: string
  18442. wrfactortypeid:
  18443. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18444. type: string
  18445. wrfactortypename:
  18446. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18447. type: string
  18448. wrstandardcode:
  18449. description: 现货商品代码
  18450. type: string
  18451. wrstandardid:
  18452. description: 现货商品ID
  18453. type: integer
  18454. wrstandardname:
  18455. description: 商品名称
  18456. type: string
  18457. wrtypename:
  18458. description: 商品
  18459. type: string
  18460. type: object
  18461. models.WrPerformanceStepType:
  18462. properties:
  18463. canauto:
  18464. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18465. type: integer
  18466. steptypeid:
  18467. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18468. type: integer
  18469. steptypename:
  18470. description: 步骤类型名称
  18471. type: string
  18472. type: object
  18473. models.WrPerformanceTemplateEx:
  18474. properties:
  18475. autoid:
  18476. description: AutoID 模板id
  18477. type: integer
  18478. createtime:
  18479. description: 创建时间
  18480. type: string
  18481. creatorid:
  18482. description: 创建人
  18483. type: integer
  18484. lstStep:
  18485. description: 步骤信息列表
  18486. items:
  18487. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18488. type: array
  18489. paymenttype:
  18490. description: 支付方式 - 1:冻结 2:扣款
  18491. type: integer
  18492. takemode:
  18493. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18494. type: integer
  18495. templatename:
  18496. description: 模板名称
  18497. type: string
  18498. templatetype:
  18499. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18500. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18501. type: integer
  18502. userid:
  18503. description: 所属用户
  18504. type: integer
  18505. type: object
  18506. models.WrPosition:
  18507. properties:
  18508. accountid:
  18509. description: 帐户ID
  18510. type: integer
  18511. buyexcuteqty:
  18512. description: 采购履约中数量
  18513. type: number
  18514. creditcurqty:
  18515. description: 授信当前数量(预售仓单:预售当前量)
  18516. type: number
  18517. creditenableqty:
  18518. description: '授信可用数量(预售仓单: 可用数量)'
  18519. type: number
  18520. creditfreezeqty:
  18521. description: '授信冻结数量(预售仓单: 当前数量)'
  18522. type: number
  18523. credittotalqty:
  18524. description: 授信总数量(预售仓单:预售总量)
  18525. type: number
  18526. credittradeqty:
  18527. description: 授信成交数量(预售仓单:成交总量)
  18528. type: number
  18529. deliverygoodscode:
  18530. description: 品种代码
  18531. type: string
  18532. deliverygoodsid:
  18533. description: 品种ID
  18534. type: integer
  18535. deliverygoodsname:
  18536. description: 品种名称
  18537. type: string
  18538. enalbeqty:
  18539. description: 可用数量
  18540. type: number
  18541. enumdicname:
  18542. description: 单位名称
  18543. type: string
  18544. freezeqty:
  18545. description: 总冻结数量
  18546. type: number
  18547. haswr:
  18548. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18549. type: integer
  18550. minivalue:
  18551. description: 现货商品最小变动值
  18552. type: integer
  18553. modifytime:
  18554. description: 修改时间(过户时间)
  18555. type: string
  18556. optioncompare:
  18557. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18558. type: string
  18559. pledgeqty:
  18560. description: 质押数量
  18561. type: number
  18562. querytype:
  18563. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18564. type: integer
  18565. sellexcuteqty:
  18566. description: 销售履约中数量
  18567. type: number
  18568. totalqty:
  18569. description: 总数量(库存数量)
  18570. type: number
  18571. warehouseid:
  18572. description: 仓库ID
  18573. type: integer
  18574. warehousename:
  18575. description: 仓库名称
  18576. type: string
  18577. wrfactortypeid:
  18578. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18579. type: string
  18580. wrfactortypename:
  18581. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18582. type: string
  18583. wrpositionid:
  18584. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18585. type: string
  18586. wrpositionno:
  18587. description: 仓单编号
  18588. type: string
  18589. wrstandardcode:
  18590. description: 现货商品代码
  18591. type: string
  18592. wrstandardid:
  18593. description: 现货商品ID
  18594. type: integer
  18595. wrstandardname:
  18596. description: 商品名称
  18597. type: string
  18598. wrtypename:
  18599. description: 商品
  18600. type: string
  18601. wruserid:
  18602. description: 持有人ID
  18603. type: integer
  18604. type: object
  18605. models.WrPreSaleInfo:
  18606. properties:
  18607. bannerpicurl:
  18608. description: Banner图
  18609. type: string
  18610. baseqty:
  18611. description: 中签基数
  18612. type: number
  18613. createtime:
  18614. description: 创建时间
  18615. type: string
  18616. deliverygoodsid:
  18617. description: 现货品种ID
  18618. type: integer
  18619. enddate:
  18620. description: 预售结束日期
  18621. type: string
  18622. enumdicname:
  18623. description: 单位名称
  18624. type: string
  18625. lotteryflag:
  18626. description: 摇号标识 - 0:未摇号 1:已摇号
  18627. type: integer
  18628. lotteryqty:
  18629. description: 摇号总量
  18630. type: number
  18631. luckyqty:
  18632. description: 已中签量
  18633. type: number
  18634. marketid:
  18635. description: 市场ID
  18636. type: integer
  18637. maxbuyqty:
  18638. description: 单人最大申购量
  18639. type: number
  18640. maxluckyqty:
  18641. description: 单人最大中签量
  18642. type: number
  18643. pictureurls:
  18644. description: 详情图片(逗号分隔)
  18645. type: string
  18646. placeqty:
  18647. description: 已配售量
  18648. type: number
  18649. presaleapplyid:
  18650. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18651. example: "0"
  18652. type: string
  18653. presaleqty:
  18654. description: 预售总量
  18655. type: number
  18656. presalestatus:
  18657. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18658. type: integer
  18659. sellaccountid:
  18660. description: 发行方资金账户ID
  18661. type: integer
  18662. selluserid:
  18663. description: 发行方用户ID
  18664. type: integer
  18665. sellwrtradeorderid:
  18666. description: 发行方卖委托单ID
  18667. type: string
  18668. startdate:
  18669. description: 预售开始日期
  18670. type: string
  18671. takestartdate:
  18672. description: 提货开始日期
  18673. type: string
  18674. thumurls:
  18675. description: 缩略图片(1:1)(逗号分隔)
  18676. type: string
  18677. tradedate:
  18678. description: 交易日
  18679. type: string
  18680. unitid:
  18681. description: 单位ID
  18682. type: integer
  18683. unitprice:
  18684. description: 商品单价
  18685. type: number
  18686. username:
  18687. description: 发行方用户名称
  18688. type: string
  18689. warehousecode:
  18690. description: 仓库代码(仓库简称)
  18691. type: string
  18692. warehouseid:
  18693. description: 仓库ID
  18694. type: integer
  18695. warehousename:
  18696. description: 仓库名称
  18697. type: string
  18698. wrfactortypeid:
  18699. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18700. example: "0"
  18701. type: string
  18702. wrstandardid:
  18703. description: 现货商品ID
  18704. type: integer
  18705. wrstandardname:
  18706. description: 现货商品名称
  18707. type: string
  18708. type: object
  18709. models.WrQuoteOrderMyq:
  18710. properties:
  18711. buyorsell:
  18712. description: 买卖 - 0:买 1:卖
  18713. type: integer
  18714. canbargain:
  18715. description: 是否可议价 - 0:不可 1:可
  18716. type: integer
  18717. canpart:
  18718. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18719. type: integer
  18720. delistminqty:
  18721. description: 起摘数量
  18722. type: number
  18723. deliverygoodscode:
  18724. description: 品种代码
  18725. type: string
  18726. deliverygoodsid:
  18727. description: 品种ID
  18728. type: integer
  18729. deliverygoodsname:
  18730. description: 品种名称
  18731. type: string
  18732. deliverymonth:
  18733. description: 交收月
  18734. type: string
  18735. enumdicname:
  18736. description: 单位名称
  18737. type: string
  18738. fixedprice:
  18739. description: 买(卖)价
  18740. type: number
  18741. goodscode:
  18742. description: 商品合约代码
  18743. type: string
  18744. marginflag:
  18745. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18746. type: integer
  18747. marginvalue:
  18748. description: 保证金设置值
  18749. type: number
  18750. minivalue:
  18751. description: 现货商品最小变动值
  18752. type: integer
  18753. orderqty:
  18754. description: 买(卖)量(=委托量-成交量)
  18755. type: number
  18756. ordertime:
  18757. description: 委托时间
  18758. type: string
  18759. performancetemplateid:
  18760. description: 履约模板id
  18761. type: integer
  18762. pricemove:
  18763. description: 买(卖)升贴水- 基差
  18764. type: number
  18765. templatename:
  18766. description: 履约模板名称
  18767. type: string
  18768. userid:
  18769. description: 购买方(销售方)用户ID
  18770. type: integer
  18771. username:
  18772. description: 购买方(销售方)
  18773. type: string
  18774. validtime:
  18775. description: 有效期限
  18776. type: string
  18777. validtype:
  18778. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18779. type: integer
  18780. warehousename:
  18781. description: 仓库名称
  18782. type: string
  18783. wrfactortypeid:
  18784. description: 仓单要素id
  18785. type: string
  18786. wrstandardcode:
  18787. description: 现货商品代码
  18788. type: string
  18789. wrstandardid:
  18790. description: 现货商品ID
  18791. type: integer
  18792. wrstandardname:
  18793. description: 商品名称
  18794. type: string
  18795. wrtradeorderid:
  18796. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18797. type: string
  18798. wrtypename:
  18799. description: 商品
  18800. type: string
  18801. type: object
  18802. models.WrReckonSpotGoodsTradeSum:
  18803. properties:
  18804. begindate:
  18805. description: 开始日期(结果含开始日期) yyyymmdd
  18806. type: string
  18807. enddate:
  18808. description: 结束日期(结果含结束日期) yyyymmdd
  18809. type: string
  18810. istoday:
  18811. description: 是否当日
  18812. type: boolean
  18813. marketid:
  18814. description: 市场ID
  18815. type: integer
  18816. price:
  18817. description: 价格 = 日成交金额 / 日成交数量
  18818. type: string
  18819. reckondate:
  18820. description: 日期 格式 yyyymmdd
  18821. type: string
  18822. tradeamount:
  18823. description: 日成交金额(当日单方向成交金额)
  18824. type: number
  18825. tradeqty:
  18826. description: 日成交数量(当日单方向成交数量)
  18827. type: number
  18828. wrstandardid:
  18829. description: 现货商品ID
  18830. type: integer
  18831. type: object
  18832. models.WrScfContract:
  18833. properties:
  18834. borroweruserid:
  18835. description: 借款用户ID
  18836. type: integer
  18837. buybackwrpositionqty:
  18838. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18839. type: number
  18840. closeinterest:
  18841. description: 已结利息 -> 已结费用
  18842. type: number
  18843. currisklevel:
  18844. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18845. type: integer
  18846. deadline:
  18847. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18848. type: string
  18849. deliverygoodscode:
  18850. description: 品种代码
  18851. type: string
  18852. deliverygoodsid:
  18853. description: 品种ID
  18854. type: integer
  18855. deliverygoodsname:
  18856. description: 品种名称
  18857. type: string
  18858. enumdicname:
  18859. description: 单位名称
  18860. type: string
  18861. financingdays:
  18862. description: 天数(天)
  18863. type: integer
  18864. initmargin:
  18865. description: 保证金 - [仓单回购]
  18866. type: number
  18867. interestamount:
  18868. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18869. type: number
  18870. interestdebt:
  18871. description: 利息欠款(记录负数) -> 费用欠款
  18872. type: number
  18873. interestminlen:
  18874. description: 最小起息天数
  18875. type: integer
  18876. interestrate:
  18877. description: 利率
  18878. type: number
  18879. interestratemode:
  18880. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18881. type: integer
  18882. interestsettlemode:
  18883. description: 结息方式 - 1:按日结息 3:按月结息
  18884. type: integer
  18885. interestsettlevalue:
  18886. description: 结息方式值
  18887. type: integer
  18888. isautoloan:
  18889. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18890. type: integer
  18891. lastcloseinterestday:
  18892. description: 最近结息日(yyyyMMdd)
  18893. type: string
  18894. lenderamount:
  18895. description: 贷款金额 -> 借款金额
  18896. type: number
  18897. lenderuserid:
  18898. description: 贷款方用户ID -> 融出方用户ID
  18899. type: integer
  18900. lenderusername:
  18901. description: 融出方
  18902. type: string
  18903. marginratio:
  18904. description: 保证金比率质押率 - [仓单质押]
  18905. type: number
  18906. marketid:
  18907. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18908. type: integer
  18909. minivalue:
  18910. description: 现货商品最小变动值
  18911. type: integer
  18912. optioncompare:
  18913. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18914. type: string
  18915. pricemove:
  18916. description: 估值升贴水值
  18917. type: number
  18918. productdetailid:
  18919. description: 产品组合ID
  18920. type: integer
  18921. productid:
  18922. description: 金融产品ID
  18923. type: integer
  18924. productname:
  18925. description: 产品名称
  18926. type: string
  18927. remainamount:
  18928. description: 合同剩余金额 -> 剩余金额
  18929. type: number
  18930. remainwrpositionqty:
  18931. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18932. type: number
  18933. remark:
  18934. description: 备注
  18935. type: string
  18936. scfcontractid:
  18937. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18938. type: string
  18939. scfcontractstatus:
  18940. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18941. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18942. type: integer
  18943. scfcontracttype:
  18944. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18945. type: integer
  18946. startinterestday:
  18947. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18948. type: string
  18949. totalinterest:
  18950. description: 已计利息 -> 已计费用
  18951. type: number
  18952. unpaidinterest:
  18953. description: 未结费用
  18954. type: number
  18955. updatetime:
  18956. description: 更新时间
  18957. type: string
  18958. warehouseid:
  18959. description: 仓库ID
  18960. type: integer
  18961. warehousename:
  18962. description: 仓库名称
  18963. type: string
  18964. wrfactortypeid:
  18965. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18966. type: string
  18967. wrfactortypename:
  18968. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18969. type: string
  18970. wrqty:
  18971. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18972. type: number
  18973. wrstandardcode:
  18974. description: 现货商品代码
  18975. type: string
  18976. wrstandardid:
  18977. description: 现货商品ID
  18978. type: integer
  18979. wrstandardname:
  18980. description: 商品名称
  18981. type: string
  18982. wrtypename:
  18983. description: 商品
  18984. type: string
  18985. type: object
  18986. models.WrScfContractInterest:
  18987. properties:
  18988. closeinterest:
  18989. description: 已结利息
  18990. type: number
  18991. closeintereststatus:
  18992. description: 结息状态 - 1:未结 2:已结
  18993. type: integer
  18994. closetime:
  18995. description: 结息时间
  18996. type: string
  18997. closetradedate:
  18998. description: 结息交易日
  18999. type: string
  19000. creatorid:
  19001. description: 操作人ID
  19002. type: integer
  19003. dayrate:
  19004. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  19005. type: number
  19006. interest:
  19007. description: 利息
  19008. type: number
  19009. interestamount:
  19010. description: 计息金额
  19011. type: number
  19012. interestday:
  19013. description: 计息日(yyyyMMdd)
  19014. type: string
  19015. scfcontractid:
  19016. description: SCF合同ID
  19017. type: string
  19018. scfcontractinterestid:
  19019. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  19020. type: integer
  19021. updatetime:
  19022. description: 更新时间
  19023. type: string
  19024. type: object
  19025. models.WrSearchUser:
  19026. properties:
  19027. userid:
  19028. description: 用户ID
  19029. type: integer
  19030. username:
  19031. description: 用户名称(已脱敏)
  19032. type: string
  19033. username2:
  19034. description: 用户名称(未脱敏)
  19035. type: string
  19036. usertype:
  19037. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19038. type: integer
  19039. required:
  19040. - username
  19041. type: object
  19042. models.WrSiteColumnDetail:
  19043. properties:
  19044. brief:
  19045. description: 简介
  19046. type: string
  19047. context:
  19048. description: 内容
  19049. type: string
  19050. coverimage:
  19051. description: 封面图片
  19052. type: string
  19053. creaedate:
  19054. description: 创建时间
  19055. type: string
  19056. id:
  19057. description: ID(SEQ_SITE_COLUMNDETAIL)
  19058. type: integer
  19059. istop:
  19060. description: 是否置顶 - 0:不置 1:置顶
  19061. type: integer
  19062. publishdate:
  19063. description: 发布日期
  19064. type: string
  19065. title:
  19066. description: 标题
  19067. type: string
  19068. updatedate:
  19069. description: 修改时间
  19070. type: string
  19071. type: object
  19072. models.WrSpecialMatchOrder:
  19073. properties:
  19074. amount:
  19075. description: 金额 = 数量 * 价格
  19076. type: number
  19077. buyorsell:
  19078. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19079. type: integer
  19080. cancelqty:
  19081. description: 撤销数量
  19082. type: number
  19083. deliverygoodscode:
  19084. description: 品种代码
  19085. type: string
  19086. deliverygoodsid:
  19087. description: 品种ID
  19088. type: integer
  19089. deliverygoodsname:
  19090. description: 品种名称
  19091. type: string
  19092. enumdicname:
  19093. description: 单位名称
  19094. type: string
  19095. fixedprice:
  19096. description: 固定价格(价格)
  19097. type: number
  19098. haswr:
  19099. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19100. type: integer
  19101. isspecified:
  19102. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19103. type: integer
  19104. marketid:
  19105. description: 市场ID
  19106. type: integer
  19107. matchuserid:
  19108. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19109. type: integer
  19110. matchusername:
  19111. description: 指定方
  19112. type: string
  19113. minivalue:
  19114. description: 现货商品最小变动值
  19115. type: integer
  19116. optioncompare:
  19117. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19118. type: string
  19119. orderqty:
  19120. description: 委托数量
  19121. type: number
  19122. ordertime:
  19123. description: 委托时间
  19124. type: string
  19125. pricemove:
  19126. description: 升贴水(浮动价时填写) - [挂牌]
  19127. type: number
  19128. tradedate:
  19129. description: 交易日(yyyyMMdd)
  19130. type: string
  19131. tradeprice:
  19132. description: 成交价格
  19133. type: number
  19134. tradeqty:
  19135. description: 成交数量
  19136. type: number
  19137. userid:
  19138. description: 用户ID
  19139. type: integer
  19140. username:
  19141. description: 发起方
  19142. type: string
  19143. warehouseid:
  19144. description: 仓库ID
  19145. type: integer
  19146. warehousename:
  19147. description: 仓库名称
  19148. type: string
  19149. wrfactortypeid:
  19150. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19151. type: string
  19152. wrfactortypename:
  19153. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19154. type: string
  19155. wrpricetype:
  19156. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19157. type: integer
  19158. wrstandardcode:
  19159. description: 现货商品代码
  19160. type: string
  19161. wrstandardid:
  19162. description: 现货商品ID
  19163. type: integer
  19164. wrstandardname:
  19165. description: 商品名称
  19166. type: string
  19167. wrtradeorderid:
  19168. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19169. type: string
  19170. wrtradeorderstatus:
  19171. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19172. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19173. type: integer
  19174. wrtradetype:
  19175. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19176. type: integer
  19177. wrtypename:
  19178. description: 商品
  19179. type: string
  19180. type: object
  19181. models.WrSpotGroupTradeSum:
  19182. properties:
  19183. deliverygoodscode:
  19184. description: 现货品种代码
  19185. type: string
  19186. deliverygoodsid:
  19187. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19188. type: integer
  19189. deliverygoodsname:
  19190. description: 现货品种名称
  19191. type: string
  19192. lastavgprice:
  19193. description: 上上个交易日价格(前2天价格)
  19194. type: string
  19195. lastreckondate:
  19196. description: 上上个交易日(前2天交易日)
  19197. type: string
  19198. reckondate:
  19199. description: 上个交易日(前1天交易日)
  19200. type: string
  19201. todayavgprice:
  19202. description: 上个交易日价格(前1天价格)
  19203. type: string
  19204. updown:
  19205. description: 涨跌
  19206. type: string
  19207. updownratio:
  19208. description: 涨幅(已格式化, 直接显示即可)
  19209. type: string
  19210. type: object
  19211. models.WrSpotGroupTradeSumDetail:
  19212. properties:
  19213. deliverygoodsid:
  19214. description: 现货商品id
  19215. type: integer
  19216. price:
  19217. description: 价格
  19218. type: number
  19219. reckondate:
  19220. description: 日期(yyymmdd, 如:20211031)
  19221. type: string
  19222. type: object
  19223. models.WrSpotGroupTradeSumEx:
  19224. properties:
  19225. lst:
  19226. description: 指数列表
  19227. items:
  19228. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19229. type: array
  19230. prereckondate:
  19231. description: 上上个交易日(yyymmdd)
  19232. type: string
  19233. reckondate:
  19234. description: 上个交易日(yyyymmdd)
  19235. type: string
  19236. type: object
  19237. models.WrStandardFactoryItem:
  19238. properties:
  19239. dgfactoryitemid:
  19240. description: 选择项id
  19241. type: integer
  19242. dgfactoryitemvalue:
  19243. description: 要素项值
  19244. type: string
  19245. warehouseid:
  19246. description: 仓库id
  19247. type: integer
  19248. type: object
  19249. models.WrStandardFactoryItemEx:
  19250. properties:
  19251. dgfactoryitemtypeid:
  19252. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19253. type: integer
  19254. itemlst:
  19255. description: 要素项列表
  19256. items:
  19257. $ref: '#/definitions/models.WrStandardFactoryItem'
  19258. type: array
  19259. itemtypename:
  19260. description: 要素项类型名称
  19261. type: string
  19262. wrstandardid:
  19263. description: 品类
  19264. type: integer
  19265. type: object
  19266. models.WrTradeDetail:
  19267. properties:
  19268. accountid:
  19269. description: 资金账号
  19270. type: integer
  19271. bannerpicurl:
  19272. description: Banner图
  19273. type: string
  19274. begindate:
  19275. description: 开始交易日(yyyymmdd)
  19276. type: string
  19277. buyorsell:
  19278. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19279. type: integer
  19280. chargevalue:
  19281. description: 手续费
  19282. type: number
  19283. deliverygoodscode:
  19284. description: 品种代码
  19285. type: string
  19286. deliverygoodsid:
  19287. description: 品种ID
  19288. type: integer
  19289. deliverygoodsname:
  19290. description: 品种名称
  19291. type: string
  19292. deliverymonth:
  19293. description: 交收月
  19294. type: string
  19295. enddate:
  19296. description: 结束交易日(yyyymmdd)
  19297. type: string
  19298. enumdicname:
  19299. description: 单位名称
  19300. type: string
  19301. haswr:
  19302. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19303. type: integer
  19304. marketid:
  19305. description: 市场ID
  19306. type: integer
  19307. matchaccountid:
  19308. description: 对手账号
  19309. type: integer
  19310. matchusername:
  19311. description: 对手方
  19312. type: string
  19313. minivalue:
  19314. description: 现货商品最小变动值
  19315. type: integer
  19316. optioncompare:
  19317. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19318. type: string
  19319. thumurls:
  19320. description: 缩略图
  19321. type: string
  19322. tradedate:
  19323. description: 交易日(yyyyMMdd)
  19324. type: string
  19325. tradeprice:
  19326. description: 成交价格
  19327. type: number
  19328. tradeqty:
  19329. description: 成交数量
  19330. type: number
  19331. tradetime:
  19332. description: 成交时间
  19333. type: string
  19334. userid:
  19335. description: 用户ID
  19336. type: integer
  19337. warehouseid:
  19338. description: 仓库ID
  19339. type: integer
  19340. warehousename:
  19341. description: 仓库名称
  19342. type: string
  19343. wrfactortypeid:
  19344. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19345. type: string
  19346. wrfactortypename:
  19347. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19348. type: string
  19349. wrstandardcode:
  19350. description: 现货商品代码
  19351. type: string
  19352. wrstandardid:
  19353. description: 现货商品ID
  19354. type: integer
  19355. wrstandardname:
  19356. description: 商品名称
  19357. type: string
  19358. wrtradedetailid:
  19359. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19360. type: string
  19361. wrtradetype:
  19362. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19363. type: integer
  19364. wrtypename:
  19365. description: 商品
  19366. type: string
  19367. type: object
  19368. models.WrTradeOrderDetail:
  19369. properties:
  19370. buyorsell:
  19371. description: 买卖方向 0-买 1-卖
  19372. type: integer
  19373. goodsid:
  19374. description: 商品id
  19375. type: integer
  19376. orderid:
  19377. description: 委托单号
  19378. type: string
  19379. orderprice:
  19380. description: 委托价格
  19381. type: number
  19382. orderqty:
  19383. description: 委托数量
  19384. type: integer
  19385. userid:
  19386. description: 用户id
  19387. type: integer
  19388. username:
  19389. description: 用户名称(已脱敏)
  19390. type: string
  19391. type: object
  19392. models.WrTypeItem:
  19393. properties:
  19394. name:
  19395. description: 名称
  19396. type: string
  19397. value:
  19398. description: 值
  19399. type: string
  19400. type: object
  19401. models.WrUserFriend:
  19402. properties:
  19403. friendname:
  19404. description: 朋友名称(已脱敏)
  19405. type: string
  19406. frienduserid:
  19407. description: 朋友id
  19408. type: integer
  19409. isfriend:
  19410. description: 是否好友 0-不是 1-是
  19411. type: integer
  19412. userid:
  19413. description: 用户id
  19414. type: integer
  19415. type: object
  19416. models.WrUserReceiptInfo:
  19417. properties:
  19418. address:
  19419. description: 地址[发票类型:企业]
  19420. type: string
  19421. autoid:
  19422. description: AutoID
  19423. type: integer
  19424. contactinfo:
  19425. description: 联系方式
  19426. type: string
  19427. idnum:
  19428. description: 身份证号码[发票类型:个人]
  19429. type: string
  19430. isdefault:
  19431. description: 是否默认地址 - 0:否 1:是
  19432. type: integer
  19433. receiptaccount:
  19434. description: 发票帐号[发票类型:企业]
  19435. type: string
  19436. receiptbank:
  19437. description: 发票开户行[发票类型:企业]
  19438. type: string
  19439. receipttype:
  19440. description: 发票类型 - 1:个人 2:企业
  19441. type: integer
  19442. taxpayerid:
  19443. description: 纳税人识别号
  19444. type: string
  19445. userid:
  19446. description: 用户ID
  19447. type: integer
  19448. username:
  19449. description: 户名(个人姓名或企业名称)
  19450. type: string
  19451. type: object
  19452. models.Wrtradetradequote:
  19453. properties:
  19454. begindate:
  19455. description: 开始日期(结果含开始日期) yyyymmdd
  19456. type: string
  19457. buyaccountid:
  19458. description: 买方账号ID
  19459. type: integer
  19460. buyuserid:
  19461. description: 买方用户ID
  19462. type: integer
  19463. deliverygoodsid:
  19464. description: 现货品种ID
  19465. type: integer
  19466. enddate:
  19467. description: 结束日期(结果含结束日期) yyyymmdd
  19468. type: string
  19469. marketid:
  19470. description: 市场ID
  19471. type: integer
  19472. sellaccountid:
  19473. description: 卖方账号ID
  19474. type: integer
  19475. selluserid:
  19476. description: 卖方用户ID
  19477. type: integer
  19478. tradeamount:
  19479. description: 成交金额
  19480. type: number
  19481. tradedate:
  19482. description: 交易日(yyyyMMdd)
  19483. type: string
  19484. tradeprice:
  19485. description: 成交价格
  19486. type: number
  19487. tradeqty:
  19488. description: 成交数量
  19489. type: integer
  19490. tradetime:
  19491. description: 成交时间
  19492. type: string
  19493. wrfactortypeid:
  19494. description: 仓单要素类型ID
  19495. type: integer
  19496. wrstandardid:
  19497. description: 现货商品ID
  19498. type: integer
  19499. wrtradedetailid:
  19500. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19501. type: string
  19502. type: object
  19503. models.XHBRAND:
  19504. properties:
  19505. brandid:
  19506. description: 品牌id
  19507. type: integer
  19508. brandname:
  19509. description: 品牌名称
  19510. type: string
  19511. isvalid:
  19512. description: 是否有效 0-无效 1-有效
  19513. type: integer
  19514. type: object
  19515. models.XHDeliveryGoods:
  19516. properties:
  19517. areauserid:
  19518. description: 所属机构
  19519. type: integer
  19520. bdlst:
  19521. description: 品牌列表
  19522. items:
  19523. $ref: '#/definitions/models.XHBRAND'
  19524. type: array
  19525. deliverygoodscode:
  19526. description: 现货品种代码
  19527. type: string
  19528. deliverygoodsid:
  19529. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19530. type: integer
  19531. deliverygoodsname:
  19532. description: 现货品种名称
  19533. type: string
  19534. dgstatus:
  19535. description: 品种状态 - 作废 - 0:未激活 1:正常
  19536. type: integer
  19537. filterSubEmpty:
  19538. description: 过滤下级为空的
  19539. type: integer
  19540. isvalid:
  19541. description: 是否有效 - 0:无效 1:有效
  19542. type: integer
  19543. remark:
  19544. description: 备注
  19545. type: string
  19546. unitid:
  19547. description: 单位id(目前看,数据库中是空值)
  19548. type: integer
  19549. wdlst:
  19550. description: 品类(现货商品)列表
  19551. items:
  19552. $ref: '#/definitions/models.XHWrstandard'
  19553. type: array
  19554. type: object
  19555. models.XHMiddleGoods:
  19556. properties:
  19557. GPLST:
  19558. description: 期货品种列表
  19559. items:
  19560. $ref: '#/definitions/models.TBGoodsGroup'
  19561. type: array
  19562. convertratio:
  19563. description: 拆算系数
  19564. type: number
  19565. costratio:
  19566. description: 成本权重
  19567. type: number
  19568. deliverygoodsid:
  19569. description: 现货商品id
  19570. type: integer
  19571. enumdicname:
  19572. description: 单位名称
  19573. type: string
  19574. middlegoodscode:
  19575. description: 套保品种代码
  19576. type: string
  19577. middlegoodsid:
  19578. description: 套保品种id
  19579. type: integer
  19580. middlegoodsname:
  19581. description: 套保品种名称
  19582. type: string
  19583. unitid:
  19584. description: 单位id
  19585. type: integer
  19586. type: object
  19587. models.XHWrstandard:
  19588. properties:
  19589. bannerpicurl:
  19590. description: banner图
  19591. type: string
  19592. deliverygoodsid:
  19593. description: 品种ID
  19594. type: integer
  19595. enumdicname:
  19596. description: 单位名称
  19597. type: string
  19598. mglst:
  19599. description: 套保品列表
  19600. items:
  19601. $ref: '#/definitions/models.XHMiddleGoods'
  19602. type: array
  19603. pictureurls:
  19604. description: 详情图片(逗号分隔)
  19605. type: string
  19606. thumurls:
  19607. description: 缩略图片(1:1)(逗号分隔)
  19608. type: string
  19609. unitid:
  19610. description: 单位id
  19611. type: integer
  19612. vatrate:
  19613. description: 增值税率
  19614. type: number
  19615. wrstandardcode:
  19616. description: 现货商品代码
  19617. type: string
  19618. wrstandardid:
  19619. description: 现货商品ID(SEQ_WRSTANDARD)
  19620. type: integer
  19621. wrstandardname:
  19622. description: 现货商品名称
  19623. type: string
  19624. type: object
  19625. models.XhcpSellBackApplyEx:
  19626. properties:
  19627. applyremark:
  19628. description: 申请备注
  19629. type: string
  19630. expirytype:
  19631. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19632. type: integer
  19633. goodsspec:
  19634. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19635. type: integer
  19636. holeflag:
  19637. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19638. type: integer
  19639. isunopened:
  19640. description: 是否原封 - 1:否 2:是
  19641. type: integer
  19642. mpflag:
  19643. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19644. type: integer
  19645. openflag:
  19646. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19647. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19648. type: integer
  19649. phonenum:
  19650. description: 联系电话
  19651. type: string
  19652. userid:
  19653. description: 所属用户ID
  19654. type: integer
  19655. zpflag:
  19656. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19657. type: integer
  19658. required:
  19659. - userid
  19660. type: object
  19661. models.Xhcpsellbackapply:
  19662. properties:
  19663. applyid:
  19664. description: 申请人
  19665. type: integer
  19666. applyremark:
  19667. description: 申请备注
  19668. type: string
  19669. applysrc:
  19670. description: 申请来源 - 1:管理端 2:终端
  19671. type: integer
  19672. applystatus:
  19673. description: 申请状态 - 1:待确认 2:已处理
  19674. type: integer
  19675. applytime:
  19676. description: 申请时间
  19677. type: string
  19678. auditremark:
  19679. description: 审核备注
  19680. type: string
  19681. auditsrc:
  19682. description: 审核来源 - 1:管理端 2:终端
  19683. type: integer
  19684. expirytype:
  19685. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19686. type: integer
  19687. goodsspec:
  19688. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19689. type: integer
  19690. holeflag:
  19691. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19692. type: integer
  19693. isunopened:
  19694. description: 是否原封 - 1:否 2:是
  19695. type: integer
  19696. mpflag:
  19697. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19698. type: integer
  19699. openflag:
  19700. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19701. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19702. type: integer
  19703. phonenum:
  19704. description: 联系电话
  19705. type: string
  19706. sellbackapplyid:
  19707. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19708. type: string
  19709. userid:
  19710. description: 所属用户ID
  19711. type: integer
  19712. zpflag:
  19713. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19714. type: integer
  19715. required:
  19716. - userid
  19717. type: object
  19718. order.QueryHisTradeDetailRsp:
  19719. properties:
  19720. accountid:
  19721. description: 账户ID[报价币种]
  19722. type: integer
  19723. advanceratio:
  19724. description: 首付比率
  19725. type: number
  19726. buildtype:
  19727. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19728. type: integer
  19729. buyorsell:
  19730. description: 方向 - 0:买 1:卖
  19731. type: integer
  19732. charge:
  19733. description: 手续费
  19734. type: number
  19735. closecharge:
  19736. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19737. type: number
  19738. closeexchagechargevalue:
  19739. description: 平仓交易所手续费设置值
  19740. type: number
  19741. closefeealgorithm:
  19742. description: 平仓手续费收取方式 1:比率 2:固定
  19743. type: integer
  19744. closememberchargevalue:
  19745. description: 平仓会员手续费设置值
  19746. type: number
  19747. closepl:
  19748. description: 平仓盈亏
  19749. type: number
  19750. closepl2:
  19751. description: 平仓盈亏[逐笔]
  19752. type: number
  19753. closeqty:
  19754. description: 平仓数量(先建后平操作 需要记录)
  19755. type: number
  19756. creditamount:
  19757. description: 授信金额
  19758. type: number
  19759. decimalplace:
  19760. description: 商品报价小数位
  19761. type: integer
  19762. enumdicname:
  19763. description: 单位名称
  19764. type: string
  19765. gcaccountid:
  19766. description: 账户ID[合约币种]
  19767. type: integer
  19768. goodscode:
  19769. description: 商品代码
  19770. type: string
  19771. goodsid:
  19772. description: 商品ID
  19773. type: integer
  19774. goodsname:
  19775. description: 商品名称
  19776. type: string
  19777. goodunitid:
  19778. description: 商品单位id
  19779. type: integer
  19780. histradedate:
  19781. description: 历史交易日
  19782. type: string
  19783. intclosepl:
  19784. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19785. type: integer
  19786. isconfirmexercise:
  19787. description: 是否确认行权- 0:否 1:是
  19788. type: integer
  19789. ismain:
  19790. description: 是否主单 - 0:不是 1:是
  19791. type: integer
  19792. ispreexercise:
  19793. description: 是否预申报- 0:否 1:是
  19794. type: integer
  19795. isreckoned:
  19796. description: 是否结算 - 0:未结算 1:已结算
  19797. type: integer
  19798. isvaliddata:
  19799. description: 是否有效 - 0:无效 1:有效
  19800. type: integer
  19801. listingselecttype:
  19802. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19803. type: integer
  19804. marketid:
  19805. description: 市场ID
  19806. type: integer
  19807. marketname:
  19808. description: 市场名称
  19809. type: string
  19810. matchaccountid:
  19811. description: 对手账号id
  19812. type: integer
  19813. memberuserid:
  19814. description: 会员id 个人投资者 需要填写
  19815. type: integer
  19816. opencharge:
  19817. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19818. type: number
  19819. openexchagechargevalue:
  19820. description: 建仓交易所手续费设置值
  19821. type: number
  19822. openfeealgorithm:
  19823. description: 建仓手续费收取方式 1:比率 2:固定
  19824. type: integer
  19825. openmemberchargevalue:
  19826. description: 建仓会员手续费设置值
  19827. type: number
  19828. openqty:
  19829. description: 开仓数量(先建后平操作 需要记录)
  19830. type: number
  19831. optiontype:
  19832. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19833. type: integer
  19834. orderid:
  19835. description: 委托单号
  19836. type: string
  19837. payamount:
  19838. description: 支付金额(付款金额)
  19839. type: number
  19840. performanceplanid:
  19841. description: 履约计划ID[期权]
  19842. type: integer
  19843. performancestatus:
  19844. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19845. type: integer
  19846. preexerciseprice:
  19847. description: 预申报价格
  19848. type: number
  19849. premium:
  19850. description: 权利金 - [持仓单的权利金]
  19851. type: number
  19852. qtydecimalplace:
  19853. description: 商品报价小数位
  19854. type: integer
  19855. recvamount:
  19856. description: 到账金额 = 成交金额 - 手续费
  19857. type: number
  19858. relatedouttradeid:
  19859. description: 关联外部成交单ID
  19860. type: integer
  19861. status:
  19862. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19863. type: integer
  19864. totalamount:
  19865. description: 订单总额 = 成交金额 + 手续费
  19866. type: number
  19867. tradeamount:
  19868. description: 成交金额[账户币种,用于所有权]
  19869. type: number
  19870. tradedate:
  19871. description: 交易日(yyyyMMdd)
  19872. type: string
  19873. tradeid:
  19874. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19875. type: string
  19876. trademode:
  19877. description: 交易模式
  19878. type: integer
  19879. tradeprice:
  19880. description: 成交价格
  19881. type: number
  19882. tradeproperty:
  19883. description: 交易属性
  19884. type: integer
  19885. tradeqty:
  19886. description: 成交数量
  19887. type: number
  19888. tradetime:
  19889. description: 成交时间
  19890. type: string
  19891. tradetype:
  19892. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19893. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19894. type: integer
  19895. required:
  19896. - accountid
  19897. - buyorsell
  19898. - goodsid
  19899. - histradedate
  19900. - marketid
  19901. - memberuserid
  19902. - orderid
  19903. - tradeamount
  19904. - tradedate
  19905. - tradeid
  19906. - tradeprice
  19907. - tradeqty
  19908. - tradetime
  19909. type: object
  19910. order.QueryHisTradeOrderDetailRsp:
  19911. properties:
  19912. accountid:
  19913. description: 账户ID[报价币种]
  19914. type: integer
  19915. buildtype:
  19916. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19917. type: integer
  19918. buyorsell:
  19919. description: 买卖 - 0:买 1:卖
  19920. type: integer
  19921. cancelorderid:
  19922. description: 撤单单号(撤单时填写)
  19923. type: string
  19924. cancelqty:
  19925. description: 撤单数量
  19926. type: number
  19927. clientordertime:
  19928. description: 客户端委托时间
  19929. type: string
  19930. clientticket:
  19931. description: 客户端流水号
  19932. type: string
  19933. clienttype:
  19934. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19935. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19936. type: integer
  19937. closeexchagechargevalue:
  19938. description: 平仓交易所手续费设置值
  19939. type: number
  19940. closefeealgorithm:
  19941. description: 平仓手续费收取方式 1:比率 2:固定
  19942. type: integer
  19943. closefreezecharge:
  19944. description: 平仓冻结手续费(先建后平操作,需要记录)
  19945. type: number
  19946. closememberchargevalue:
  19947. description: 平仓会员手续费设置值
  19948. type: number
  19949. closeqty:
  19950. description: 平仓数量(先建后平操作 需要记录)
  19951. type: number
  19952. closetradeqty:
  19953. description: 平仓成交数量(先建后平操作,需要记录)
  19954. type: number
  19955. closeunfreezecharge:
  19956. description: 平仓解冻手续费(先建后平操作,需要记录)
  19957. type: number
  19958. decimalplace:
  19959. description: 商品报价小数位
  19960. type: integer
  19961. delistingtype:
  19962. description: 摘牌类型 - 1:价格最优 2:点选成交
  19963. type: integer
  19964. enumdicname:
  19965. description: 单位名称
  19966. type: string
  19967. freezecharge:
  19968. description: 冻结手续费
  19969. type: number
  19970. freezemargin:
  19971. description: 冻结保证金(冻结交易金额)
  19972. type: number
  19973. gcaccountid:
  19974. description: 账户ID[合约币种]
  19975. type: integer
  19976. goodscode:
  19977. description: 商品代码
  19978. type: string
  19979. goodsid:
  19980. description: 商品ID
  19981. type: integer
  19982. goodsname:
  19983. description: 商品名称
  19984. type: string
  19985. goodunitid:
  19986. description: 商品单位id
  19987. type: integer
  19988. histradedate:
  19989. description: 历史交易日
  19990. type: string
  19991. isconfirmexercise:
  19992. description: 是否确认行权- 0:否 1:是
  19993. type: integer
  19994. ispreexercise:
  19995. description: 是否预申报- 0:否 1:是
  19996. type: integer
  19997. isvaliddata:
  19998. description: 是否有效 - 0:无效 1:有效
  19999. type: integer
  20000. listingselecttype:
  20001. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20002. type: integer
  20003. marginalgorithm:
  20004. description: 保证金收取方式 1:比率 2:固定
  20005. type: integer
  20006. marginvalue:
  20007. description: 即市保证金设置值
  20008. type: number
  20009. marketid:
  20010. description: 市场ID
  20011. type: integer
  20012. marketmaxsub:
  20013. description: 市价最大偏移范围
  20014. type: number
  20015. marketname:
  20016. description: 市场名称
  20017. type: string
  20018. memberuserid:
  20019. description: 所属会员UserID
  20020. type: integer
  20021. openexchagechargevalue:
  20022. description: 建仓交易所手续费设置值
  20023. type: number
  20024. openfeealgorithm:
  20025. description: 建仓手续费收取方式 1:比率 2:固定
  20026. type: integer
  20027. openfreezecharge:
  20028. description: 开仓冻结手续费(先建后平操作,需要记录)
  20029. type: number
  20030. openmemberchargevalue:
  20031. description: 建仓会员手续费设置值
  20032. type: number
  20033. openqty:
  20034. description: 开仓数量(先建后平操作,需要记录)
  20035. type: number
  20036. opentradeqty:
  20037. description: 开仓成交数量(先建后平操作,需要记录)
  20038. type: number
  20039. openunfreezecharge:
  20040. description: 开仓解冻手续费(先建后平操作,需要记录)
  20041. type: number
  20042. operatetype:
  20043. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20044. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20045. 15:管理端协议转让
  20046. type: integer
  20047. operatorid:
  20048. description: 登录账号(LoginID)
  20049. type: integer
  20050. optiontype:
  20051. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20052. type: integer
  20053. orderid:
  20054. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20055. type: string
  20056. orderprice:
  20057. description: 委托价格
  20058. type: number
  20059. orderqty:
  20060. description: 委托数量
  20061. type: number
  20062. ordersrc:
  20063. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20064. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20065. type: integer
  20066. orderstatus:
  20067. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20068. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20069. 16:成交失败违约(荷兰式竞拍专用)
  20070. type: integer
  20071. ordertime:
  20072. description: 委托时间
  20073. type: string
  20074. preexerciseprice:
  20075. description: 预申报价格
  20076. type: number
  20077. premium:
  20078. description: 权利金
  20079. type: number
  20080. preorderid:
  20081. description: 关联预埋单号(止盈止损单时填写)
  20082. type: string
  20083. pricemode:
  20084. description: '取价方式 - 1:市价 2: 限价'
  20085. type: integer
  20086. qtydecimalplace:
  20087. description: 成交量小数位
  20088. type: integer
  20089. quoteid:
  20090. description: 报价单ID
  20091. type: integer
  20092. relatedid:
  20093. description: 关联单号(交割单)
  20094. type: string
  20095. retcode:
  20096. description: 错误代码
  20097. type: integer
  20098. sessionid:
  20099. description: 会话ID
  20100. type: integer
  20101. tradedate:
  20102. description: 交易日(yyyyMMdd)
  20103. type: string
  20104. trademode:
  20105. description: 交易模式
  20106. type: integer
  20107. tradeproperty:
  20108. description: 交易属性
  20109. type: integer
  20110. tradeqty:
  20111. description: 成交数量
  20112. type: number
  20113. unfreezecharge:
  20114. description: 解冻手续费
  20115. type: number
  20116. unfreezemargin:
  20117. description: 解冻保证金
  20118. type: number
  20119. updatetime:
  20120. description: 更新时间
  20121. type: string
  20122. uuid:
  20123. description: 发起端唯一id
  20124. type: string
  20125. validtime:
  20126. description: 有效期限
  20127. type: string
  20128. validtype:
  20129. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20130. type: integer
  20131. volumetype:
  20132. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20133. type: integer
  20134. required:
  20135. - accountid
  20136. - buildtype
  20137. - buyorsell
  20138. - goodsid
  20139. - histradedate
  20140. - marketid
  20141. - memberuserid
  20142. - operatetype
  20143. - orderid
  20144. - orderqty
  20145. - ordertime
  20146. - pricemode
  20147. - tradedate
  20148. - validtype
  20149. type: object
  20150. order.QueryTradeDetailRsp:
  20151. properties:
  20152. accountid:
  20153. description: 账户ID[报价币种]
  20154. type: integer
  20155. advanceratio:
  20156. description: 首付比率
  20157. type: number
  20158. buildtype:
  20159. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20160. type: integer
  20161. buyorsell:
  20162. description: 方向 - 0:买 1:卖
  20163. type: integer
  20164. charge:
  20165. description: 手续费
  20166. type: number
  20167. closecharge:
  20168. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20169. type: number
  20170. closeexchagechargevalue:
  20171. description: 平仓交易所手续费设置值
  20172. type: number
  20173. closefeealgorithm:
  20174. description: 平仓手续费收取方式 1:比率 2:固定
  20175. type: integer
  20176. closememberchargevalue:
  20177. description: 平仓会员手续费设置值
  20178. type: number
  20179. closepl:
  20180. description: 平仓盈亏
  20181. type: number
  20182. closepl2:
  20183. description: 平仓盈亏[逐笔]
  20184. type: number
  20185. closeqty:
  20186. description: 平仓数量(先建后平操作 需要记录)
  20187. type: number
  20188. creditamount:
  20189. description: 授信金额
  20190. type: number
  20191. decimalplace:
  20192. description: 商品报价小数位
  20193. type: integer
  20194. enumdicname:
  20195. description: 单位名称
  20196. type: string
  20197. gcaccountid:
  20198. description: 账户ID[合约币种]
  20199. type: integer
  20200. goodscode:
  20201. description: 商品代码
  20202. type: string
  20203. goodsid:
  20204. description: 商品ID
  20205. type: integer
  20206. goodsname:
  20207. description: 商品名称
  20208. type: string
  20209. goodunitid:
  20210. description: 商品单位id
  20211. type: integer
  20212. intclosepl:
  20213. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20214. type: integer
  20215. isconfirmexercise:
  20216. description: 是否确认行权- 0:否 1:是
  20217. type: integer
  20218. ismain:
  20219. description: 是否主单 - 0:不是 1:是
  20220. type: integer
  20221. ispreexercise:
  20222. description: 是否预申报- 0:否 1:是
  20223. type: integer
  20224. isreckoned:
  20225. description: 是否结算 - 0:未结算 1:已结算
  20226. type: integer
  20227. listingselecttype:
  20228. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20229. type: integer
  20230. marketid:
  20231. description: 市场ID
  20232. type: integer
  20233. marketname:
  20234. description: 市场名称
  20235. type: string
  20236. matchaccountid:
  20237. description: 对手账号id
  20238. type: integer
  20239. memberuserid:
  20240. description: 会员id 个人投资者 需要填写
  20241. type: integer
  20242. opencharge:
  20243. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20244. type: number
  20245. openexchagechargevalue:
  20246. description: 建仓交易所手续费设置值
  20247. type: number
  20248. openfeealgorithm:
  20249. description: 建仓手续费收取方式 1:比率 2:固定
  20250. type: integer
  20251. openmemberchargevalue:
  20252. description: 建仓会员手续费设置值
  20253. type: number
  20254. openqty:
  20255. description: 开仓数量(先建后平操作 需要记录)
  20256. type: number
  20257. optiontype:
  20258. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20259. type: integer
  20260. orderid:
  20261. description: 委托单号
  20262. type: string
  20263. payamount:
  20264. description: 支付金额(付款金额)
  20265. type: number
  20266. performanceplanid:
  20267. description: 履约计划ID[期权]
  20268. type: integer
  20269. performancestatus:
  20270. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20271. type: integer
  20272. preexerciseprice:
  20273. description: 预申报价格
  20274. type: number
  20275. premium:
  20276. description: 权利金 - [持仓单的权利金]
  20277. type: number
  20278. qtydecimalplace:
  20279. description: 商品报价小数位
  20280. type: integer
  20281. recvamount:
  20282. description: 到账金额 = 成交金额 - 手续费
  20283. type: number
  20284. relatedouttradeid:
  20285. description: 关联外部成交单ID
  20286. type: integer
  20287. status:
  20288. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20289. type: integer
  20290. totalamount:
  20291. description: 订单总额 = 成交金额 + 手续费
  20292. type: number
  20293. tradeamount:
  20294. description: 成交金额[账户币种,用于所有权]
  20295. type: number
  20296. tradedate:
  20297. description: 交易日(yyyyMMdd)
  20298. type: string
  20299. tradeid:
  20300. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20301. type: string
  20302. trademode:
  20303. description: 交易模式
  20304. type: integer
  20305. tradeprice:
  20306. description: 成交价格
  20307. type: number
  20308. tradeproperty:
  20309. description: 交易属性
  20310. type: integer
  20311. tradeqty:
  20312. description: 成交数量
  20313. type: number
  20314. tradetime:
  20315. description: 成交时间
  20316. type: string
  20317. tradetype:
  20318. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20319. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20320. type: integer
  20321. required:
  20322. - accountid
  20323. - buyorsell
  20324. - goodsid
  20325. - marketid
  20326. - memberuserid
  20327. - orderid
  20328. - tradeamount
  20329. - tradedate
  20330. - tradeid
  20331. - tradeprice
  20332. - tradeqty
  20333. - tradetime
  20334. type: object
  20335. order.QueryTradeOrderDetailRsp:
  20336. properties:
  20337. accountid:
  20338. description: 账户ID[报价币种]
  20339. type: integer
  20340. buildtype:
  20341. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20342. type: integer
  20343. buyorsell:
  20344. description: 买卖 - 0:买 1:卖
  20345. type: integer
  20346. cancelorderid:
  20347. description: 撤单单号(撤单时填写)
  20348. type: string
  20349. cancelqty:
  20350. description: 撤单数量
  20351. type: number
  20352. clienttype:
  20353. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20354. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20355. type: integer
  20356. closefreezecharge:
  20357. description: 平仓冻结手续费(先建后平操作,需要记录)
  20358. type: number
  20359. closeqty:
  20360. description: 平仓数量(先建后平操作 需要记录)
  20361. type: number
  20362. closetradeqty:
  20363. description: 平仓成交数量(先建后平操作,需要记录)
  20364. type: number
  20365. closeunfreezecharge:
  20366. description: 平仓解冻手续费(先建后平操作,需要记录)
  20367. type: number
  20368. decimalplace:
  20369. description: 商品报价小数位
  20370. type: integer
  20371. delistingtype:
  20372. description: 摘牌类型 - 1:价格最优 2:点选成交
  20373. type: integer
  20374. enableqty:
  20375. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20376. type: number
  20377. enumdicname:
  20378. description: 单位名称
  20379. type: string
  20380. freezecharge:
  20381. description: 冻结手续费
  20382. type: number
  20383. freezemargin:
  20384. description: 冻结保证金(冻结交易金额)
  20385. type: number
  20386. goodscode:
  20387. description: 商品代码
  20388. type: string
  20389. goodsid:
  20390. description: 商品ID
  20391. type: integer
  20392. goodsname:
  20393. description: 商品名称
  20394. type: string
  20395. goodunitid:
  20396. description: 商品单位id
  20397. type: integer
  20398. listingselecttype:
  20399. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20400. type: integer
  20401. marketid:
  20402. description: 市场ID
  20403. type: integer
  20404. marketname:
  20405. description: 市场名称
  20406. type: string
  20407. openfreezecharge:
  20408. description: 开仓冻结手续费(先建后平操作,需要记录)
  20409. type: number
  20410. openqty:
  20411. description: 开仓数量(先建后平操作,需要记录)
  20412. type: number
  20413. opentradeqty:
  20414. description: 开仓成交数量(先建后平操作,需要记录)
  20415. type: number
  20416. openunfreezecharge:
  20417. description: 开仓解冻手续费(先建后平操作,需要记录)
  20418. type: number
  20419. operatetype:
  20420. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20421. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20422. 15:管理端协议转让
  20423. type: integer
  20424. operatorid:
  20425. description: 登录账号(LoginID)
  20426. type: integer
  20427. orderid:
  20428. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20429. type: string
  20430. orderprice:
  20431. description: 委托价格
  20432. type: number
  20433. orderqty:
  20434. description: 委托数量
  20435. type: number
  20436. ordersrc:
  20437. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20438. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20439. type: integer
  20440. orderstatus:
  20441. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20442. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20443. 16:成交失败违约(荷兰式竞拍专用)
  20444. type: integer
  20445. ordertime:
  20446. description: 委托时间
  20447. type: string
  20448. preorderid:
  20449. description: 关联预埋单号(止盈止损单时填写)
  20450. type: string
  20451. pricemode:
  20452. description: '取价方式 - 1:市价 2: 限价'
  20453. type: integer
  20454. qtydecimalplace:
  20455. description: 商品报价小数位
  20456. type: integer
  20457. relatedid:
  20458. description: 关联单号(交割单)
  20459. type: string
  20460. tradedate:
  20461. description: 交易日(yyyyMMdd)
  20462. type: string
  20463. trademode:
  20464. description: 交易模式
  20465. type: integer
  20466. tradeqty:
  20467. description: 成交数量
  20468. type: number
  20469. unfreezecharge:
  20470. description: 解冻手续费
  20471. type: number
  20472. unfreezemargin:
  20473. description: 解冻保证金
  20474. type: number
  20475. validtime:
  20476. description: 有效期限
  20477. type: string
  20478. validtype:
  20479. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20480. type: integer
  20481. volumetype:
  20482. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20483. type: integer
  20484. required:
  20485. - accountid
  20486. - buildtype
  20487. - buyorsell
  20488. - goodsid
  20489. - marketid
  20490. - operatetype
  20491. - orderqty
  20492. - ordertime
  20493. - pricemode
  20494. - tradedate
  20495. - validtype
  20496. type: object
  20497. order.QueryTradePositionRsp:
  20498. properties:
  20499. accountid:
  20500. description: 资金账户
  20501. type: integer
  20502. agreeunit:
  20503. description: 合约单位
  20504. type: number
  20505. averageprice:
  20506. description: 持仓均价
  20507. type: number
  20508. buyorsell:
  20509. description: 方向 - 0:买 1:卖
  20510. type: integer
  20511. closetotalqty:
  20512. description: 平仓总数量
  20513. type: number
  20514. curholderamount:
  20515. description: 当前持仓总金额[商品币种]
  20516. type: number
  20517. curpositionqty:
  20518. description: 当前持仓总数量
  20519. type: number
  20520. currencyid:
  20521. description: 报价货币ID
  20522. type: integer
  20523. curtdposition:
  20524. description: 期末今日头寸
  20525. type: number
  20526. decimalplace:
  20527. description: 报价小数位
  20528. type: integer
  20529. enableqty:
  20530. description: 可用量
  20531. type: number
  20532. fretdposition:
  20533. description: 冻结今日头寸
  20534. type: number
  20535. frozenqty:
  20536. description: 持仓冻结数量
  20537. type: number
  20538. goodscode:
  20539. description: 商品代码
  20540. type: string
  20541. goodsid:
  20542. description: 商品Id
  20543. type: integer
  20544. goodsname:
  20545. description: 商品名称
  20546. type: string
  20547. goodunit:
  20548. description: 报价单位
  20549. type: string
  20550. goodunitid:
  20551. description: 报价单位ID
  20552. type: integer
  20553. holderamount:
  20554. description: 期初持仓总金额[商品币种]
  20555. type: number
  20556. lastprice:
  20557. description: 最新价
  20558. type: number
  20559. marketamount:
  20560. description: 市值
  20561. type: number
  20562. marketid:
  20563. description: 所属市场ID
  20564. type: integer
  20565. openreqqty:
  20566. description: 开仓申请数量(用于比较最大持仓数量)
  20567. type: number
  20568. opentotalqty:
  20569. description: 开仓总数量
  20570. type: number
  20571. otherfrozenqty:
  20572. description: 持仓其他冻结数量(交割冻结)
  20573. type: number
  20574. positionpl:
  20575. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20576. * 合约单位
  20577. type: number
  20578. positionplrate:
  20579. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20580. type: number
  20581. positionqty:
  20582. description: 期初持仓数量
  20583. type: number
  20584. qtydecimalplace:
  20585. description: 成交量小数位
  20586. type: integer
  20587. refgoodscode:
  20588. description: 参考商品代码
  20589. type: string
  20590. refgoodsid:
  20591. description: 参考商品ID
  20592. type: integer
  20593. tnqty:
  20594. description: T+N冻结总量
  20595. type: number
  20596. tnusedqty:
  20597. description: T+N使用量(可以使用T+N的冻结数量)
  20598. type: number
  20599. trademode:
  20600. description: 交易模式
  20601. type: integer
  20602. tradeproperty:
  20603. description: 交易属性
  20604. type: integer
  20605. usedmargin:
  20606. description: 占用保证金[商品币种]
  20607. type: number
  20608. required:
  20609. - goodsid
  20610. type: object
  20611. pb.GoodsMarginCfgStruct:
  20612. properties:
  20613. CustomerTypeID:
  20614. description: 投资者客户类型
  20615. type: integer
  20616. GoodsID:
  20617. description: 商品ID
  20618. type: integer
  20619. IsDefault:
  20620. description: 是否默认标志位
  20621. type: integer
  20622. LockMarginValue:
  20623. description: 锁仓保证金
  20624. type: number
  20625. MarginAlgorithm:
  20626. description: 保证金计算方式
  20627. type: integer
  20628. MarketMarginValue:
  20629. description: 即市保证金值
  20630. type: number
  20631. RealMarginAlgorithm:
  20632. description: 实付保证金计算方式
  20633. type: integer
  20634. RealMarginValue:
  20635. description: 实付比例
  20636. type: number
  20637. ReckonMarginValue:
  20638. description: 结算保证金值
  20639. type: number
  20640. type: object
  20641. quote.HistoryData:
  20642. properties:
  20643. c:
  20644. description: 收盘价
  20645. type: number
  20646. f:
  20647. description: 是否补充数据
  20648. type: boolean
  20649. h:
  20650. description: 最高价
  20651. type: number
  20652. hv:
  20653. description: 持仓量
  20654. type: integer
  20655. l:
  20656. description: 最低价
  20657. type: number
  20658. o:
  20659. description: 开盘价
  20660. type: number
  20661. s:
  20662. description: 结算价,日线周期(包括)以上才有
  20663. type: number
  20664. ts:
  20665. description: 时间
  20666. type: string
  20667. tt:
  20668. description: 总金额
  20669. type: number
  20670. tv:
  20671. description: 总量(成交量)
  20672. type: integer
  20673. type: object
  20674. quote.HistoryTikData:
  20675. properties:
  20676. AV:
  20677. description: 卖量
  20678. type: integer
  20679. Ask:
  20680. description: 卖价
  20681. type: number
  20682. BV:
  20683. description: 买量
  20684. type: integer
  20685. Bid:
  20686. description: 买价
  20687. type: number
  20688. HI:
  20689. description: 单笔持仓
  20690. type: integer
  20691. HV:
  20692. description: 持仓量
  20693. type: integer
  20694. PE:
  20695. description: 现价
  20696. type: number
  20697. TDR:
  20698. description: 交易方向,0:买 1:卖
  20699. type: integer
  20700. TK:
  20701. description: 交易类型
  20702. type: integer
  20703. TS:
  20704. description: 行情时间文本
  20705. type: string
  20706. TT:
  20707. description: 现金额
  20708. type: number
  20709. Vol:
  20710. description: 现量
  20711. type: integer
  20712. type: object
  20713. quote.QueryQuoteDayRsp:
  20714. properties:
  20715. ask:
  20716. description: 卖1
  20717. type: number
  20718. ask2:
  20719. description: 卖2
  20720. type: number
  20721. ask3:
  20722. description: 卖3
  20723. type: number
  20724. ask4:
  20725. description: 卖4
  20726. type: number
  20727. ask5:
  20728. description: 卖5
  20729. type: number
  20730. ask6:
  20731. description: 卖6
  20732. type: number
  20733. ask7:
  20734. description: 卖7
  20735. type: number
  20736. ask8:
  20737. description: 卖8
  20738. type: number
  20739. ask9:
  20740. description: 卖9
  20741. type: number
  20742. ask10:
  20743. description: 卖10
  20744. type: number
  20745. askorderid:
  20746. description: 卖单号1
  20747. type: integer
  20748. askorderid2:
  20749. description: 卖单号2
  20750. type: integer
  20751. askorderid3:
  20752. description: 卖单号3
  20753. type: integer
  20754. askorderid4:
  20755. description: 卖单号4
  20756. type: integer
  20757. askorderid5:
  20758. description: 卖单号5
  20759. type: integer
  20760. askordervolume:
  20761. description: 卖单量1
  20762. type: integer
  20763. askordervolume2:
  20764. description: 卖单量2
  20765. type: integer
  20766. askordervolume3:
  20767. description: 卖单量3
  20768. type: integer
  20769. askordervolume4:
  20770. description: 卖单量4
  20771. type: integer
  20772. askordervolume5:
  20773. description: 卖单量5
  20774. type: integer
  20775. askordervolume6:
  20776. description: 卖单量6
  20777. type: integer
  20778. askordervolume7:
  20779. description: 卖单量7
  20780. type: integer
  20781. askordervolume8:
  20782. description: 卖单量8
  20783. type: integer
  20784. askordervolume9:
  20785. description: 卖单量9
  20786. type: integer
  20787. askordervolume10:
  20788. description: 卖单量10
  20789. type: integer
  20790. askqueueinfo:
  20791. description: 大利市卖港股用
  20792. type: string
  20793. askvolume:
  20794. description: 卖量1
  20795. type: integer
  20796. askvolume2:
  20797. description: 卖量2
  20798. type: integer
  20799. askvolume3:
  20800. description: 卖量3
  20801. type: integer
  20802. askvolume4:
  20803. description: 卖量4
  20804. type: integer
  20805. askvolume5:
  20806. description: 卖量5
  20807. type: integer
  20808. askvolume6:
  20809. description: 卖量6
  20810. type: integer
  20811. askvolume7:
  20812. description: 卖量7
  20813. type: integer
  20814. askvolume8:
  20815. description: 卖量8
  20816. type: integer
  20817. askvolume9:
  20818. description: 卖量9
  20819. type: integer
  20820. askvolume10:
  20821. description: 卖量10
  20822. type: integer
  20823. averageprice:
  20824. description: 均价
  20825. type: number
  20826. bid:
  20827. description: 买1
  20828. type: number
  20829. bid2:
  20830. description: 买2
  20831. type: number
  20832. bid3:
  20833. description: 买3
  20834. type: number
  20835. bid4:
  20836. description: 买4
  20837. type: number
  20838. bid5:
  20839. description: 买5
  20840. type: number
  20841. bid6:
  20842. description: 买6
  20843. type: number
  20844. bid7:
  20845. description: 买7
  20846. type: number
  20847. bid8:
  20848. description: 买8
  20849. type: number
  20850. bid9:
  20851. description: 买9
  20852. type: number
  20853. bid10:
  20854. description: 买10
  20855. type: number
  20856. bidorderid:
  20857. description: 买单号1
  20858. type: integer
  20859. bidorderid2:
  20860. description: 买单号2
  20861. type: integer
  20862. bidorderid3:
  20863. description: 买单号3
  20864. type: integer
  20865. bidorderid4:
  20866. description: 买单号4
  20867. type: integer
  20868. bidorderid5:
  20869. description: 买单号5
  20870. type: integer
  20871. bidordervolume:
  20872. description: 买单量1
  20873. type: integer
  20874. bidordervolume2:
  20875. description: 买单量2
  20876. type: integer
  20877. bidordervolume3:
  20878. description: 买单量3
  20879. type: integer
  20880. bidordervolume4:
  20881. description: 买单量4
  20882. type: integer
  20883. bidordervolume5:
  20884. description: 买单量5
  20885. type: integer
  20886. bidordervolume6:
  20887. description: 买单量6
  20888. type: integer
  20889. bidordervolume7:
  20890. description: 买单量7
  20891. type: integer
  20892. bidordervolume8:
  20893. description: 买单量8
  20894. type: integer
  20895. bidordervolume9:
  20896. description: 买单量9
  20897. type: integer
  20898. bidordervolume10:
  20899. description: 买单量10
  20900. type: integer
  20901. bidqueueinfo:
  20902. description: 大利市买港股用
  20903. type: string
  20904. bidvolume:
  20905. description: 买量1
  20906. type: integer
  20907. bidvolume2:
  20908. description: 买量2
  20909. type: integer
  20910. bidvolume3:
  20911. description: 买量3
  20912. type: integer
  20913. bidvolume4:
  20914. description: 买量4
  20915. type: integer
  20916. bidvolume5:
  20917. description: 买量5
  20918. type: integer
  20919. bidvolume6:
  20920. description: 买量6
  20921. type: integer
  20922. bidvolume7:
  20923. description: 买量7
  20924. type: integer
  20925. bidvolume8:
  20926. description: 买量8
  20927. type: integer
  20928. bidvolume9:
  20929. description: 买量9
  20930. type: integer
  20931. bidvolume10:
  20932. description: 买量10
  20933. type: integer
  20934. calloptionpremiums:
  20935. description: 认购期权1
  20936. type: integer
  20937. calloptionpremiums2:
  20938. description: 认购期权2
  20939. type: integer
  20940. calloptionpremiums3:
  20941. description: 认购期权3
  20942. type: integer
  20943. calloptionpremiums4:
  20944. description: 认购期权4
  20945. type: integer
  20946. calloptionpremiums5:
  20947. description: 认购期权5
  20948. type: integer
  20949. cleartime:
  20950. description: 清盘时间
  20951. type: integer
  20952. exchangecode:
  20953. description: 交易所代码
  20954. type: integer
  20955. exchangedate:
  20956. description: 交易日
  20957. type: integer
  20958. goodscode:
  20959. description: 商品代码
  20960. type: string
  20961. grepmarketprice:
  20962. description: 暗盘价 港股专用
  20963. type: number
  20964. highest:
  20965. description: 最高价
  20966. type: number
  20967. holdincrement:
  20968. description: 单笔持仓
  20969. type: integer
  20970. holdvolume:
  20971. description: 持仓
  20972. type: integer
  20973. iep:
  20974. description: 平衡价 港股专用
  20975. type: number
  20976. iev:
  20977. description: 平衡量 港股专用
  20978. type: number
  20979. inventory:
  20980. description: 库存
  20981. type: integer
  20982. iscleared:
  20983. description: 是否清盘标志
  20984. type: integer
  20985. issettled:
  20986. description: 是否结算标志
  20987. type: integer
  20988. last:
  20989. description: 最新价
  20990. type: number
  20991. lastlot:
  20992. description: 最新成交手数
  20993. type: integer
  20994. lasttime:
  20995. description: 行情时间(只有现价变化行情时间才变化)
  20996. type: string
  20997. lastturnover:
  20998. description: 最新成交金额
  20999. type: number
  21000. lastvolume:
  21001. description: 最新成交量
  21002. type: integer
  21003. limitdown:
  21004. description: 跌停价
  21005. type: number
  21006. limitup:
  21007. description: 涨停价
  21008. type: number
  21009. lowest:
  21010. description: 最低价
  21011. type: number
  21012. nontotalholdervolume:
  21013. description: 非交易持仓量
  21014. type: integer
  21015. nontotallot:
  21016. description: 非交易总手数
  21017. type: integer
  21018. nontotalturnover:
  21019. description: 非交易总金额
  21020. type: integer
  21021. nontotalvolume:
  21022. description: 非交易总量
  21023. type: integer
  21024. opened:
  21025. description: 开盘价
  21026. type: number
  21027. opentime:
  21028. description: 开盘时间
  21029. type: string
  21030. orderid:
  21031. description: 序号
  21032. type: integer
  21033. preclose:
  21034. description: 昨收
  21035. type: number
  21036. preholdvolume:
  21037. description: 昨持仓
  21038. type: integer
  21039. presettle:
  21040. description: 昨结价
  21041. type: number
  21042. publictradetype:
  21043. description: 公共交易标志类型 港股专用
  21044. type: string
  21045. putoptionpremiums:
  21046. description: 认沽期权1
  21047. type: integer
  21048. putoptionpremiums2:
  21049. description: 认沽期权2
  21050. type: integer
  21051. putoptionpremiums3:
  21052. description: 认沽期权3
  21053. type: integer
  21054. putoptionpremiums4:
  21055. description: 认沽期权4
  21056. type: integer
  21057. putoptionpremiums5:
  21058. description: 认沽期权5
  21059. type: integer
  21060. settle:
  21061. description: 结算价
  21062. type: number
  21063. strikeprice:
  21064. description: 发行价
  21065. type: number
  21066. totalaskvolume:
  21067. description: 内盘
  21068. type: integer
  21069. totalbidvolume:
  21070. description: 外盘
  21071. type: integer
  21072. totallot:
  21073. description: 总手数
  21074. type: integer
  21075. totalturnover:
  21076. description: 总金额
  21077. type: number
  21078. totalvolume:
  21079. description: 总量
  21080. type: integer
  21081. utclasttime:
  21082. description: utc的行情时间
  21083. type: string
  21084. type: object
  21085. quote.QueryTSDataRsp:
  21086. properties:
  21087. Count:
  21088. description: 交易日应有数据个数
  21089. type: integer
  21090. decimalPlace:
  21091. description: 小数位
  21092. type: integer
  21093. endTime:
  21094. description: 结束时间
  21095. type: string
  21096. goodsCode:
  21097. description: 商品代码
  21098. type: string
  21099. historyDatas:
  21100. description: 历史数据
  21101. items:
  21102. $ref: '#/definitions/quote.HistoryData'
  21103. type: array
  21104. outGoodsCode:
  21105. description: 外部商品代码
  21106. type: string
  21107. preSettle:
  21108. description: 昨结价
  21109. type: number
  21110. runSteps:
  21111. description: 交易日开休市计划
  21112. items:
  21113. $ref: '#/definitions/quote.TSDataRunStep'
  21114. type: array
  21115. startTime:
  21116. description: 开始时间
  21117. type: string
  21118. tradeDate:
  21119. description: 交易日
  21120. type: string
  21121. type: object
  21122. quote.TSDataRunStep:
  21123. properties:
  21124. end:
  21125. description: 真实结束时间
  21126. type: string
  21127. endflag:
  21128. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21129. type: integer
  21130. endtime:
  21131. description: 结束时间(HH:mm)
  21132. type: string
  21133. endweekday:
  21134. description: 结束周几
  21135. type: integer
  21136. groupid:
  21137. description: 分组ID
  21138. type: integer
  21139. runstep:
  21140. description: 运行阶段 - 2:连续交易
  21141. type: integer
  21142. sectionid:
  21143. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21144. 结束时间=结算时间 结束周几=结算周几
  21145. type: integer
  21146. start:
  21147. description: 真实开始时间
  21148. type: string
  21149. startflag:
  21150. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21151. type: integer
  21152. starttime:
  21153. description: 起始时间(HH:mm)
  21154. type: string
  21155. startweekday:
  21156. description: 起始周几
  21157. type: integer
  21158. tradeweekday:
  21159. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21160. type: integer
  21161. type: object
  21162. szdz.QueryConvertLogRsp:
  21163. properties:
  21164. accountid:
  21165. description: 资金账户ID
  21166. type: integer
  21167. clientticket:
  21168. description: 客户端流水号
  21169. type: string
  21170. converttype:
  21171. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21172. type: integer
  21173. createtime:
  21174. description: 记账时间
  21175. type: string
  21176. daymaxvalue:
  21177. description: 配置当日最大转入限制
  21178. type: number
  21179. daymaxvalue2:
  21180. description: 配置当日最大转入限制(转入)
  21181. type: number
  21182. goodscode:
  21183. description: 商品代码
  21184. type: string
  21185. goodsname:
  21186. description: 商品名称
  21187. type: string
  21188. handlestatus:
  21189. description: 处理状态
  21190. type: integer
  21191. innergoodsid:
  21192. description: 内部商品ID
  21193. type: integer
  21194. inratio:
  21195. description: 配置转入比值
  21196. type: integer
  21197. invalue:
  21198. description: 目标值
  21199. type: number
  21200. logid:
  21201. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21202. type: integer
  21203. mobile:
  21204. description: 手机号码(加密存储)
  21205. type: string
  21206. outergoodscode:
  21207. description: 外部商品代码[JD\PD]
  21208. type: string
  21209. outratio:
  21210. description: 配置转出比值
  21211. type: integer
  21212. outvalue:
  21213. description: 源值
  21214. type: number
  21215. pddecimalplace:
  21216. description: PD小数位
  21217. type: integer
  21218. qty:
  21219. description: 数量
  21220. type: string
  21221. remark:
  21222. description: 备注
  21223. type: string
  21224. sessionid:
  21225. description: 会话ID
  21226. type: integer
  21227. timemaxvalue:
  21228. description: 配置单次最大转入限制
  21229. type: number
  21230. timemaxvalue2:
  21231. description: 配置单次最大转入限制(转入)
  21232. type: number
  21233. timeminvalue:
  21234. description: 配置单次最小数量限制
  21235. type: number
  21236. timeminvalue2:
  21237. description: 配置单次最小数量限制(转入)
  21238. type: number
  21239. tradedate:
  21240. description: 交易日(yyyyMMdd)
  21241. type: string
  21242. userid:
  21243. description: 用户ID
  21244. type: integer
  21245. required:
  21246. - logid
  21247. type: object
  21248. szdz.QueryGoodsPickupRsp:
  21249. properties:
  21250. accountid:
  21251. description: 账户ID
  21252. type: integer
  21253. address:
  21254. description: 提货人详细地址
  21255. type: string
  21256. auditer:
  21257. description: 审核人
  21258. type: integer
  21259. audittime:
  21260. description: 审核时间
  21261. type: string
  21262. cardnum:
  21263. description: 提货人证件号码
  21264. type: string
  21265. cardtypeid:
  21266. description: 提货人证件类型
  21267. type: integer
  21268. checkremark:
  21269. description: 审核备注
  21270. type: string
  21271. goodscode:
  21272. description: 商品代码
  21273. type: string
  21274. goodsid:
  21275. description: 商品ID
  21276. type: integer
  21277. goodsname:
  21278. description: 商品名称
  21279. type: string
  21280. handlestatus:
  21281. description: 处理状态
  21282. type: integer
  21283. marketid:
  21284. description: 市场ID
  21285. type: integer
  21286. phonenum:
  21287. description: 提货人联系方式
  21288. type: string
  21289. qty:
  21290. description: 提货数量
  21291. type: number
  21292. recivername:
  21293. description: 提货人姓名
  21294. type: string
  21295. reqtime:
  21296. description: 更新时间
  21297. type: string
  21298. takemode:
  21299. description: 提货方式 - 2:自提 3:配送
  21300. type: integer
  21301. takeorderid:
  21302. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21303. type: string
  21304. takeorderstatus:
  21305. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21306. type: integer
  21307. takeremark:
  21308. description: 提货备注
  21309. type: string
  21310. tradedate:
  21311. description: 交易日(yyyyMMdd)
  21312. type: string
  21313. userid:
  21314. description: 用户ID
  21315. type: integer
  21316. required:
  21317. - takeorderid
  21318. type: object
  21319. szdz.QueryRecieptOrderRsp:
  21320. properties:
  21321. accountName:
  21322. description: 所属账号名称(已脱敏)
  21323. type: string
  21324. accountid:
  21325. description: 资金账号
  21326. type: integer
  21327. buyorsell:
  21328. description: 方向 - 0:买 1:卖
  21329. type: integer
  21330. enableqty:
  21331. description: 可摘数量
  21332. type: integer
  21333. goodscode:
  21334. description: 商品代码
  21335. type: string
  21336. goodsid:
  21337. description: 商品ID
  21338. type: integer
  21339. goodsname:
  21340. description: 商品名称
  21341. type: string
  21342. orderid:
  21343. description: 委托单号
  21344. type: string
  21345. orderprice:
  21346. description: 委托价格
  21347. type: number
  21348. ordertime:
  21349. description: 委托时间
  21350. type: string
  21351. tradedate:
  21352. description: 交易日(yyyyMMdd)
  21353. type: string
  21354. required:
  21355. - ordertime
  21356. type: object
  21357. szdz.QuerySZDZTradePositionRsp:
  21358. properties:
  21359. accountid:
  21360. description: 账号Id
  21361. type: integer
  21362. agreeunit:
  21363. description: 合约单位
  21364. type: number
  21365. averageprice:
  21366. description: 持仓均价
  21367. type: number
  21368. buyorsell:
  21369. description: 方向 - 0:买 1:卖
  21370. type: integer
  21371. closetotalqty:
  21372. description: 平仓总数量
  21373. type: integer
  21374. curholderamount:
  21375. description: 当前持仓总金额
  21376. type: number
  21377. curpositionqty:
  21378. description: 当前持仓总数量
  21379. type: integer
  21380. currencyid:
  21381. description: 报价货币ID
  21382. type: integer
  21383. curtdposition:
  21384. description: 期末今日头寸
  21385. type: integer
  21386. decimalplace:
  21387. description: 报价小数位
  21388. type: integer
  21389. enableqty:
  21390. description: 可用量
  21391. type: integer
  21392. fretdposition:
  21393. description: 冻结今日头寸
  21394. type: integer
  21395. frozenqty:
  21396. description: 持仓冻结数量
  21397. type: integer
  21398. goodscode:
  21399. description: 商品代码(内部)
  21400. type: string
  21401. goodsid:
  21402. description: 商品Id
  21403. type: integer
  21404. goodsname:
  21405. description: 商品名称
  21406. type: string
  21407. goodunit:
  21408. description: 报价单位
  21409. type: string
  21410. goodunitid:
  21411. description: 报价单位ID
  21412. type: integer
  21413. holderamount:
  21414. description: 期初持仓总金额
  21415. type: number
  21416. marketid:
  21417. description: 市场ID
  21418. type: integer
  21419. openreqqty:
  21420. description: 开仓申请数量
  21421. type: integer
  21422. opentotalqty:
  21423. description: 开仓总数量
  21424. type: integer
  21425. otherfrozenqty:
  21426. description: 持仓其他冻结数量(交割冻结)
  21427. type: integer
  21428. positionqty:
  21429. description: 期初持仓数量
  21430. type: integer
  21431. szdz3freezqty:
  21432. description: 尚志大宗转换冻结总数量
  21433. type: integer
  21434. tnqty:
  21435. description: T+N冻结总量
  21436. type: integer
  21437. tnusedqty:
  21438. description: T+N使用量
  21439. type: integer
  21440. trademode:
  21441. description: 交易模式
  21442. type: integer
  21443. usedmargin:
  21444. description: 占用保证金
  21445. type: number
  21446. type: object
  21447. taaccount.QueryAmountLogRsp:
  21448. properties:
  21449. OPERATETYPENAME:
  21450. description: 资金操作类型名称
  21451. type: string
  21452. accountid:
  21453. description: 资金账户ID
  21454. type: integer
  21455. agoodscode:
  21456. description: 竞拍商品代码
  21457. type: string
  21458. agoodsname:
  21459. description: 竞拍商品名称
  21460. type: string
  21461. amount:
  21462. description: 资金金额
  21463. type: number
  21464. amountadjusttype:
  21465. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21466. type: integer
  21467. autoid:
  21468. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21469. type: integer
  21470. balance:
  21471. description: 期初余额
  21472. type: number
  21473. businesscode:
  21474. description: 业务编号
  21475. type: integer
  21476. createtime:
  21477. description: 发生时间
  21478. type: string
  21479. currencyid:
  21480. description: 币种ID
  21481. type: integer
  21482. currentbalance:
  21483. description: 期末余额(变动后金额)
  21484. type: number
  21485. dgoodscode:
  21486. description: 交割商品代码
  21487. type: string
  21488. dgoodsname:
  21489. description: 交割商品名称
  21490. type: string
  21491. goodscode:
  21492. description: 商品代码
  21493. type: string
  21494. goodsid:
  21495. description: 商品ID
  21496. type: integer
  21497. goodsname:
  21498. description: 商品名称
  21499. type: string
  21500. marketid:
  21501. description: 市场ID
  21502. type: integer
  21503. marketname:
  21504. description: 市场名称
  21505. type: string
  21506. moneyticket:
  21507. description: 资金流水号:银行端流水号
  21508. type: integer
  21509. operatetype:
  21510. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21511. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21512. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21513. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21514. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21515. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21516. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21517. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21518. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21519. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21520. type: integer
  21521. relationorderid:
  21522. description: 关联单号
  21523. type: string
  21524. remark:
  21525. description: 备注
  21526. type: string
  21527. trademode:
  21528. description: 交易模式
  21529. type: integer
  21530. required:
  21531. - accountid
  21532. - amount
  21533. - amountadjusttype
  21534. - autoid
  21535. - balance
  21536. - createtime
  21537. - currentbalance
  21538. - operatetype
  21539. type: object
  21540. taaccount.QueryHisAmountLogRsp:
  21541. properties:
  21542. OPERATETYPENAME:
  21543. description: 资金操作类型名称
  21544. type: string
  21545. accountid:
  21546. description: 资金账户ID
  21547. type: integer
  21548. agoodscode:
  21549. description: 竞拍商品代码
  21550. type: string
  21551. agoodsname:
  21552. description: 竞拍商品名称
  21553. type: string
  21554. amount:
  21555. description: 资金金额
  21556. type: number
  21557. amountadjusttype:
  21558. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21559. type: integer
  21560. autoid:
  21561. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21562. type: integer
  21563. balance:
  21564. description: 期初余额
  21565. type: number
  21566. businesscode:
  21567. description: 业务编号
  21568. type: integer
  21569. createtime:
  21570. description: 发生时间
  21571. type: string
  21572. currencyid:
  21573. description: 币种ID
  21574. type: integer
  21575. currentbalance:
  21576. description: 期末余额(变动后金额)
  21577. type: number
  21578. dgoodscode:
  21579. description: 交割商品代码
  21580. type: string
  21581. dgoodsname:
  21582. description: 交割商品名称
  21583. type: string
  21584. goodscode:
  21585. description: 商品代码
  21586. type: string
  21587. goodsid:
  21588. description: 商品ID
  21589. type: integer
  21590. goodsname:
  21591. description: 商品名称
  21592. type: string
  21593. histradedate:
  21594. description: 历史交易日
  21595. type: string
  21596. isvaliddata:
  21597. description: 是否有效 - 0:无效 1:有效
  21598. type: integer
  21599. marketid:
  21600. description: 市场ID
  21601. type: integer
  21602. marketname:
  21603. description: 市场名称
  21604. type: string
  21605. moneyticket:
  21606. description: 资金流水号:银行端流水号
  21607. type: integer
  21608. operatetype:
  21609. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21610. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21611. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21612. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21613. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21614. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21615. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21616. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21617. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21618. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21619. type: integer
  21620. relationorderid:
  21621. description: 关联单号
  21622. type: string
  21623. remark:
  21624. description: 备注
  21625. type: string
  21626. trademode:
  21627. description: 交易模式
  21628. type: integer
  21629. required:
  21630. - accountid
  21631. - amount
  21632. - amountadjusttype
  21633. - autoid
  21634. - balance
  21635. - createtime
  21636. - currentbalance
  21637. - histradedate
  21638. - operatetype
  21639. type: object
  21640. trade.QueryRecieptOrderRsp:
  21641. properties:
  21642. accountName:
  21643. description: 所属账号名称(已脱敏)
  21644. type: string
  21645. accountid:
  21646. description: 资金账号
  21647. type: integer
  21648. buyorsell:
  21649. description: 方向 - 0:买 1:卖
  21650. type: integer
  21651. enableqty:
  21652. description: 可摘数量
  21653. type: integer
  21654. goodscode:
  21655. description: 商品代码
  21656. type: string
  21657. goodsid:
  21658. description: 商品ID
  21659. type: integer
  21660. goodsname:
  21661. description: 商品名称
  21662. type: string
  21663. orderid:
  21664. description: 委托单号
  21665. type: string
  21666. orderprice:
  21667. description: 委托价格
  21668. type: number
  21669. ordertime:
  21670. description: 委托时间
  21671. type: string
  21672. tradedate:
  21673. description: 交易日(yyyyMMdd)
  21674. type: string
  21675. required:
  21676. - ordertime
  21677. type: object
  21678. user.LoginQueryRsp:
  21679. properties:
  21680. areaRoles:
  21681. description: 所属角色信息
  21682. items:
  21683. $ref: '#/definitions/models.Arearole'
  21684. type: array
  21685. externalExchanges:
  21686. description: 外部交易所
  21687. items:
  21688. $ref: '#/definitions/models.Externalexchange'
  21689. type: array
  21690. goodsgroups:
  21691. description: 商品组
  21692. items:
  21693. $ref: '#/definitions/models.Goodsgroup'
  21694. type: array
  21695. loginAccount:
  21696. $ref: '#/definitions/models.Loginaccount'
  21697. description: 登录账号
  21698. markets:
  21699. description: 市场
  21700. items:
  21701. $ref: '#/definitions/models.Market'
  21702. type: array
  21703. systemParams:
  21704. description: 系统参数
  21705. items:
  21706. $ref: '#/definitions/models.Systemparam'
  21707. type: array
  21708. userAccount:
  21709. $ref: '#/definitions/models.Useraccount'
  21710. description: 用户账号
  21711. userInfo:
  21712. $ref: '#/definitions/models.Userinfo'
  21713. description: 用户信息
  21714. username:
  21715. description: 用户姓名
  21716. type: string
  21717. type: object
  21718. info:
  21719. contact: {}
  21720. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21721. termsOfService: http://www.muchinfo.cn
  21722. title: MTP2.0 查询服务 API
  21723. version: "1.0"
  21724. paths:
  21725. /CPTrade/QueryCPTradeMyBidInfos:
  21726. get:
  21727. parameters:
  21728. - description: 资金账户
  21729. in: query
  21730. name: accountid
  21731. required: true
  21732. type: integer
  21733. - description: 预售市场ID
  21734. in: query
  21735. name: marketid
  21736. type: integer
  21737. - description: 预售商品ID
  21738. in: query
  21739. name: goodsid
  21740. type: integer
  21741. produces:
  21742. - application/json
  21743. responses:
  21744. "200":
  21745. description: OK
  21746. schema:
  21747. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21748. "500":
  21749. description: Internal Server Error
  21750. schema:
  21751. $ref: '#/definitions/app.Response'
  21752. security:
  21753. - ApiKeyAuth: []
  21754. summary: 查询产能预售我的出价信息
  21755. tags:
  21756. - 产能预售
  21757. /CPTrade/QueryCPTradeOrderDetail:
  21758. get:
  21759. parameters:
  21760. - description: 预售商品ID
  21761. in: query
  21762. name: goodsid
  21763. type: integer
  21764. - description: 预售市场ID
  21765. in: query
  21766. name: marketid
  21767. type: integer
  21768. - description: 预售商品ID列表 - 格式:1,2,3
  21769. in: query
  21770. name: goodsids
  21771. type: string
  21772. produces:
  21773. - application/json
  21774. responses:
  21775. "200":
  21776. description: OK
  21777. schema:
  21778. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21779. "500":
  21780. description: Internal Server Error
  21781. schema:
  21782. $ref: '#/definitions/app.Response'
  21783. security:
  21784. - ApiKeyAuth: []
  21785. summary: 查询产能预售委托单信息
  21786. tags:
  21787. - 产能预售
  21788. /CPTrade/QueryMyCPTradeGoods:
  21789. get:
  21790. parameters:
  21791. - description: 资金账户
  21792. in: query
  21793. name: accountid
  21794. required: true
  21795. type: integer
  21796. produces:
  21797. - application/json
  21798. responses:
  21799. "200":
  21800. description: OK
  21801. schema:
  21802. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21803. "500":
  21804. description: Internal Server Error
  21805. schema:
  21806. $ref: '#/definitions/app.Response'
  21807. security:
  21808. - ApiKeyAuth: []
  21809. summary: 查询我的预售信息
  21810. tags:
  21811. - 产能预售
  21812. /CPTrade/QueryPositionCancel:
  21813. get:
  21814. parameters:
  21815. - description: 账户ID
  21816. in: query
  21817. name: userid
  21818. required: true
  21819. type: integer
  21820. - description: 注销ID
  21821. in: query
  21822. name: cancelid
  21823. type: integer
  21824. - description: 资金账户ID
  21825. in: query
  21826. name: accountid
  21827. type: integer
  21828. produces:
  21829. - application/json
  21830. responses:
  21831. "200":
  21832. description: OK
  21833. schema:
  21834. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  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/QueryPreasleApply:
  21845. get:
  21846. parameters:
  21847. - description: 账户ID
  21848. in: query
  21849. name: userid
  21850. required: true
  21851. type: integer
  21852. - description: 申请ID
  21853. in: query
  21854. name: applyid
  21855. type: integer
  21856. - description: 资金账户ID
  21857. in: query
  21858. name: accountid
  21859. type: integer
  21860. produces:
  21861. - application/json
  21862. responses:
  21863. "200":
  21864. description: OK
  21865. schema:
  21866. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21867. "500":
  21868. description: Internal Server Error
  21869. schema:
  21870. $ref: '#/definitions/app.Response'
  21871. security:
  21872. - ApiKeyAuth: []
  21873. summary: 查询产能预售申请信息
  21874. tags:
  21875. - 产能预售
  21876. /CPTrade/QueryPresaleGoodsEx:
  21877. get:
  21878. parameters:
  21879. - description: 预售商品ID
  21880. in: query
  21881. name: goodsid
  21882. type: integer
  21883. - description: 预售市场ID
  21884. in: query
  21885. name: marketid
  21886. type: integer
  21887. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21888. in: query
  21889. name: presalemode
  21890. type: integer
  21891. - description: 预售商品ID列表 - 格式:1,2,3
  21892. in: query
  21893. name: goodsids
  21894. type: string
  21895. - description: 预售商品代码
  21896. in: query
  21897. name: goodscode
  21898. type: string
  21899. produces:
  21900. - application/json
  21901. responses:
  21902. "200":
  21903. description: OK
  21904. schema:
  21905. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21906. "500":
  21907. description: Internal Server Error
  21908. schema:
  21909. $ref: '#/definitions/app.Response'
  21910. security:
  21911. - ApiKeyAuth: []
  21912. summary: 查询产能预售商品扩展信息
  21913. tags:
  21914. - 产能预售
  21915. /CPTrade/QueryUserGoodsData:
  21916. get:
  21917. parameters:
  21918. - description: 资金账户ID
  21919. in: query
  21920. name: accountid
  21921. required: true
  21922. type: integer
  21923. produces:
  21924. - application/json
  21925. responses:
  21926. "200":
  21927. description: OK
  21928. schema:
  21929. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21930. "500":
  21931. description: Internal Server Error
  21932. schema:
  21933. $ref: '#/definitions/app.Response'
  21934. security:
  21935. - ApiKeyAuth: []
  21936. summary: 查询远期订单信息
  21937. tags:
  21938. - 产能预售
  21939. /Common/GetAllEnums:
  21940. get:
  21941. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21942. parameters:
  21943. - description: 起始自增ID
  21944. in: query
  21945. name: autoid
  21946. type: integer
  21947. produces:
  21948. - application/json
  21949. responses:
  21950. "200":
  21951. description: OK
  21952. schema:
  21953. $ref: '#/definitions/models.Enumdicitem'
  21954. "500":
  21955. description: Internal Server Error
  21956. schema:
  21957. $ref: '#/definitions/app.Response'
  21958. summary: 获取所有枚举信息
  21959. tags:
  21960. - 通用服务
  21961. /Common/GetClientMenus:
  21962. get:
  21963. parameters:
  21964. - description: 登录账号
  21965. in: query
  21966. name: loginID
  21967. required: true
  21968. type: integer
  21969. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21970. in: query
  21971. name: clientType
  21972. type: integer
  21973. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21974. in: query
  21975. name: name
  21976. type: string
  21977. produces:
  21978. - application/json
  21979. responses:
  21980. "200":
  21981. description: OK
  21982. schema:
  21983. items:
  21984. $ref: '#/definitions/common.ClientMenu'
  21985. type: array
  21986. "500":
  21987. description: Internal Server Error
  21988. schema:
  21989. $ref: '#/definitions/app.Response'
  21990. security:
  21991. - ApiKeyAuth: []
  21992. summary: 获取交易端菜单
  21993. tags:
  21994. - 通用服务
  21995. /Common/GetDivisions:
  21996. get:
  21997. produces:
  21998. - application/json
  21999. responses:
  22000. "200":
  22001. description: OK
  22002. schema:
  22003. $ref: '#/definitions/models.Division'
  22004. "500":
  22005. description: Internal Server Error
  22006. schema:
  22007. $ref: '#/definitions/app.Response'
  22008. summary: 查询区域信息
  22009. tags:
  22010. - 通用服务
  22011. /Common/GetPCWebMenus:
  22012. get:
  22013. parameters:
  22014. - description: 登录账号
  22015. in: query
  22016. name: loginID
  22017. required: true
  22018. type: integer
  22019. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  22020. in: query
  22021. name: name
  22022. type: string
  22023. produces:
  22024. - application/json
  22025. responses:
  22026. "200":
  22027. description: OK
  22028. schema:
  22029. items:
  22030. $ref: '#/definitions/common.PCWebMenu'
  22031. type: array
  22032. "500":
  22033. description: Internal Server Error
  22034. schema:
  22035. $ref: '#/definitions/app.Response'
  22036. security:
  22037. - ApiKeyAuth: []
  22038. summary: 获取PCWeb交易端菜单
  22039. tags:
  22040. - 通用服务
  22041. /Common/GetServerTime:
  22042. get:
  22043. produces:
  22044. - application/json
  22045. responses:
  22046. "200":
  22047. description: OK
  22048. schema:
  22049. $ref: '#/definitions/app.Response'
  22050. "500":
  22051. description: Internal Server Error
  22052. schema:
  22053. $ref: '#/definitions/app.Response'
  22054. summary: 获取服务器时间
  22055. tags:
  22056. - 通用服务
  22057. /Common/NoticeReaded:
  22058. post:
  22059. parameters:
  22060. - description: 登录账号
  22061. in: query
  22062. name: loginID
  22063. required: true
  22064. type: integer
  22065. - description: 通知公告ID
  22066. in: query
  22067. name: noticeID
  22068. required: true
  22069. type: integer
  22070. produces:
  22071. - application/json
  22072. responses:
  22073. "200":
  22074. description: OK
  22075. schema:
  22076. $ref: '#/definitions/app.Response'
  22077. "500":
  22078. description: Internal Server Error
  22079. schema:
  22080. $ref: '#/definitions/app.Response'
  22081. security:
  22082. - ApiKeyAuth: []
  22083. summary: 通知公告设置已读请求
  22084. tags:
  22085. - 通用服务
  22086. /Common/QueryErrorInfos:
  22087. get:
  22088. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22089. parameters:
  22090. - description: 起始行号前索引
  22091. in: query
  22092. name: rowNumber
  22093. type: string
  22094. produces:
  22095. - application/json
  22096. responses:
  22097. "200":
  22098. description: OK
  22099. schema:
  22100. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22101. "500":
  22102. description: Internal Server Error
  22103. schema:
  22104. $ref: '#/definitions/app.Response'
  22105. summary: 获取数据库错误信息
  22106. tags:
  22107. - 通用服务
  22108. /Common/QueryImageConfigs:
  22109. get:
  22110. parameters:
  22111. - description: 用户id
  22112. in: query
  22113. name: userId
  22114. type: integer
  22115. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22116. in: query
  22117. name: imageType
  22118. type: integer
  22119. produces:
  22120. - application/json
  22121. responses:
  22122. "200":
  22123. description: OK
  22124. schema:
  22125. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22126. "500":
  22127. description: Internal Server Error
  22128. schema:
  22129. $ref: '#/definitions/app.Response'
  22130. summary: 查询轮播图配置信息
  22131. tags:
  22132. - 通用服务
  22133. /Common/QueryNotice:
  22134. get:
  22135. parameters:
  22136. - description: 页码
  22137. in: query
  22138. name: page
  22139. type: integer
  22140. - description: 每页条数
  22141. in: query
  22142. name: pagesize
  22143. type: integer
  22144. - description: 登录账号
  22145. in: query
  22146. name: loginID
  22147. required: true
  22148. type: integer
  22149. - description: 消息类型 - 1:公告通知 2:系统消息
  22150. in: query
  22151. name: msgType
  22152. type: integer
  22153. - description: 是否只获取未读信息
  22154. in: query
  22155. name: onlyUnRead
  22156. type: boolean
  22157. - description: 自增ID,传入后会返回这个ID后面的记录
  22158. in: query
  22159. name: lastID
  22160. type: integer
  22161. produces:
  22162. - application/json
  22163. responses:
  22164. "200":
  22165. description: OK
  22166. schema:
  22167. $ref: '#/definitions/common.QueryNoticeRsp'
  22168. "500":
  22169. description: Internal Server Error
  22170. schema:
  22171. $ref: '#/definitions/app.Response'
  22172. security:
  22173. - ApiKeyAuth: []
  22174. summary: 通知公告系统消息查询
  22175. tags:
  22176. - 通用服务
  22177. /Common/QueryProvincesAndCities:
  22178. get:
  22179. parameters:
  22180. - description: 省ID
  22181. in: query
  22182. name: provinceID
  22183. type: integer
  22184. produces:
  22185. - application/json
  22186. responses:
  22187. "200":
  22188. description: OK
  22189. schema:
  22190. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22191. "500":
  22192. description: Internal Server Error
  22193. schema:
  22194. $ref: '#/definitions/app.Response'
  22195. summary: 查询省市信息(不包括区)
  22196. tags:
  22197. - 通用服务
  22198. /Common/QueryTableDefine:
  22199. get:
  22200. parameters:
  22201. - description: 表key
  22202. in: query
  22203. name: tableKey
  22204. type: string
  22205. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22206. in: query
  22207. name: tableType
  22208. type: integer
  22209. produces:
  22210. - application/json
  22211. responses:
  22212. "200":
  22213. description: OK
  22214. schema:
  22215. $ref: '#/definitions/common.QueryTableDefineRsp'
  22216. "500":
  22217. description: Internal Server Error
  22218. schema:
  22219. $ref: '#/definitions/app.Response'
  22220. summary: 查询交易端列表头信息
  22221. tags:
  22222. - 通用服务
  22223. /Common/QueryTraderMenu:
  22224. get:
  22225. parameters:
  22226. - description: 登录账号
  22227. in: query
  22228. name: loginid
  22229. required: true
  22230. type: integer
  22231. produces:
  22232. - application/json
  22233. responses:
  22234. "200":
  22235. description: OK
  22236. schema:
  22237. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22238. "500":
  22239. description: Internal Server Error
  22240. schema:
  22241. $ref: '#/definitions/app.Response'
  22242. summary: 查询交易端菜单
  22243. tags:
  22244. - 通用服务
  22245. /Delivery/QueryDeliveryRelation:
  22246. get:
  22247. parameters:
  22248. - description: 商品ID
  22249. in: query
  22250. name: goodsid
  22251. type: integer
  22252. - description: 品种ID
  22253. in: query
  22254. name: deliverygoodsid
  22255. type: integer
  22256. - description: 市场ID
  22257. in: query
  22258. name: marketid
  22259. type: integer
  22260. produces:
  22261. - application/json
  22262. responses:
  22263. "200":
  22264. description: OK
  22265. schema:
  22266. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22267. "500":
  22268. description: Internal Server Error
  22269. schema:
  22270. $ref: '#/definitions/app.Response'
  22271. security:
  22272. - ApiKeyAuth: []
  22273. summary: 查询商品交割关系表
  22274. tags:
  22275. - 交割服务
  22276. /Ermcp/GetErmcpGoods:
  22277. get:
  22278. parameters:
  22279. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22280. in: query
  22281. name: userid
  22282. type: integer
  22283. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22284. in: query
  22285. name: lastUpdateTime
  22286. type: string
  22287. produces:
  22288. - application/json
  22289. responses:
  22290. "200":
  22291. description: OK
  22292. schema:
  22293. $ref: '#/definitions/models.ErmcpGoods'
  22294. "500":
  22295. description: Internal Server Error
  22296. schema:
  22297. $ref: '#/definitions/app.Response'
  22298. security:
  22299. - ApiKeyAuth: []
  22300. summary: 查询企业风管期货商品信息
  22301. tags:
  22302. - 企业风险管理(app)
  22303. /Ermcp/GetErmcpGoodsSortByPosition:
  22304. get:
  22305. parameters:
  22306. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22307. in: query
  22308. name: sortIndex
  22309. type: string
  22310. produces:
  22311. - application/json
  22312. responses:
  22313. "200":
  22314. description: OK
  22315. schema:
  22316. $ref: '#/definitions/models.Goodssortbypreposition'
  22317. "500":
  22318. description: Internal Server Error
  22319. schema:
  22320. $ref: '#/definitions/app.Response'
  22321. security:
  22322. - ApiKeyAuth: []
  22323. summary: 查询企业风管期货主力、次主力商品信息
  22324. tags:
  22325. - 企业风险管理(app)
  22326. /Ermcp/GetErmcpOutAccountStatus:
  22327. get:
  22328. parameters:
  22329. - description: 登录账号
  22330. in: query
  22331. name: loginID
  22332. required: true
  22333. type: integer
  22334. produces:
  22335. - application/json
  22336. responses:
  22337. "200":
  22338. description: OK
  22339. schema:
  22340. $ref: '#/definitions/models.Hedgemarketopenlog'
  22341. "500":
  22342. description: Internal Server Error
  22343. schema:
  22344. $ref: '#/definitions/app.Response'
  22345. security:
  22346. - ApiKeyAuth: []
  22347. summary: 获取目标登录账号当前对冲账号在线状态
  22348. tags:
  22349. - 企业风险管理(app)
  22350. /Ermcp/GetErmcpRoleFuncMenuLists:
  22351. get:
  22352. parameters:
  22353. - description: 登录账号
  22354. in: query
  22355. name: loginID
  22356. required: true
  22357. type: integer
  22358. produces:
  22359. - application/json
  22360. responses:
  22361. "200":
  22362. description: OK
  22363. schema:
  22364. $ref: '#/definitions/models.Funcmenulist'
  22365. "500":
  22366. description: Internal Server Error
  22367. schema:
  22368. $ref: '#/definitions/app.Response'
  22369. security:
  22370. - ApiKeyAuth: []
  22371. summary: 获取企业风管终端权限
  22372. tags:
  22373. - 企业风险管理(app)
  22374. /Ermcp/QueryAccMgrBizGroupSet:
  22375. get:
  22376. parameters:
  22377. - description: 用户ID
  22378. in: query
  22379. name: userid
  22380. required: true
  22381. type: integer
  22382. - description: 现货商品id
  22383. in: query
  22384. name: deliverygoodsid
  22385. type: integer
  22386. produces:
  22387. - application/json
  22388. responses:
  22389. "200":
  22390. description: OK
  22391. schema:
  22392. items:
  22393. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22394. type: array
  22395. "500":
  22396. description: Internal Server Error
  22397. schema:
  22398. $ref: '#/definitions/app.Response'
  22399. security:
  22400. - ApiKeyAuth: []
  22401. summary: 查询业务类型分组(账户管理/账户设置)
  22402. tags:
  22403. - 企业风险管理(app)
  22404. /Ermcp/QueryAccMgrLoginUser:
  22405. get:
  22406. parameters:
  22407. - description: 用户ID
  22408. in: query
  22409. name: userid
  22410. required: true
  22411. type: integer
  22412. - description: 用户类型 2-机构 7-企业成员
  22413. in: query
  22414. name: usertype
  22415. type: integer
  22416. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22417. in: query
  22418. name: querytype
  22419. required: true
  22420. type: integer
  22421. produces:
  22422. - application/json
  22423. responses:
  22424. "200":
  22425. description: OK
  22426. schema:
  22427. items:
  22428. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22429. type: array
  22430. "500":
  22431. description: Internal Server Error
  22432. schema:
  22433. $ref: '#/definitions/app.Response'
  22434. security:
  22435. - ApiKeyAuth: []
  22436. summary: 查询账户管理登录账号(账户管理/登录账号)
  22437. tags:
  22438. - 企业风险管理(app)
  22439. /Ermcp/QueryAccMgrMainAccountInfo:
  22440. get:
  22441. parameters:
  22442. - description: 用户ID
  22443. in: query
  22444. name: userid
  22445. type: integer
  22446. - description: 主账号id
  22447. in: query
  22448. name: accountid
  22449. type: integer
  22450. produces:
  22451. - application/json
  22452. responses:
  22453. "200":
  22454. description: OK
  22455. schema:
  22456. items:
  22457. $ref: '#/definitions/models.MainAccountInfo'
  22458. type: array
  22459. "500":
  22460. description: Internal Server Error
  22461. schema:
  22462. $ref: '#/definitions/app.Response'
  22463. security:
  22464. - ApiKeyAuth: []
  22465. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22466. tags:
  22467. - 企业风险管理(app)
  22468. /Ermcp/QueryAccMgrRole:
  22469. get:
  22470. parameters:
  22471. - description: 用户ID
  22472. in: query
  22473. name: userid
  22474. required: true
  22475. type: integer
  22476. produces:
  22477. - application/json
  22478. responses:
  22479. "200":
  22480. description: OK
  22481. schema:
  22482. items:
  22483. $ref: '#/definitions/models.ErmcpRole'
  22484. type: array
  22485. "500":
  22486. description: Internal Server Error
  22487. schema:
  22488. $ref: '#/definitions/app.Response'
  22489. security:
  22490. - ApiKeyAuth: []
  22491. summary: 查询账户管理角色设置(账户管理/角色设置)
  22492. tags:
  22493. - 企业风险管理(app)
  22494. /Ermcp/QueryAccMgrRoleMenu:
  22495. get:
  22496. parameters:
  22497. - description: 用户ID
  22498. in: query
  22499. name: userid
  22500. required: true
  22501. type: integer
  22502. - description: 角色id(可多个,逗号隔开)
  22503. in: query
  22504. name: roleid
  22505. type: string
  22506. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22507. in: query
  22508. name: menutype
  22509. type: integer
  22510. produces:
  22511. - application/json
  22512. responses:
  22513. "200":
  22514. description: OK
  22515. schema:
  22516. items:
  22517. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22518. type: array
  22519. "500":
  22520. description: Internal Server Error
  22521. schema:
  22522. $ref: '#/definitions/app.Response'
  22523. security:
  22524. - ApiKeyAuth: []
  22525. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22526. tags:
  22527. - 企业风险管理(app)
  22528. /Ermcp/QueryAccMgrTaAccountInfo:
  22529. get:
  22530. parameters:
  22531. - description: 用户ID
  22532. in: query
  22533. name: userid
  22534. required: true
  22535. type: integer
  22536. - description: 账号id
  22537. in: query
  22538. name: accountid
  22539. type: integer
  22540. produces:
  22541. - application/json
  22542. responses:
  22543. "200":
  22544. description: OK
  22545. schema:
  22546. items:
  22547. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22548. type: array
  22549. "500":
  22550. description: Internal Server Error
  22551. schema:
  22552. $ref: '#/definitions/app.Response'
  22553. security:
  22554. - ApiKeyAuth: []
  22555. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22556. tags:
  22557. - 企业风险管理(app)
  22558. /Ermcp/QueryAccMgrTaaccount:
  22559. get:
  22560. parameters:
  22561. - description: 用户ID
  22562. in: query
  22563. name: userid
  22564. required: true
  22565. type: integer
  22566. produces:
  22567. - application/json
  22568. responses:
  22569. "200":
  22570. description: OK
  22571. schema:
  22572. items:
  22573. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22574. type: array
  22575. "500":
  22576. description: Internal Server Error
  22577. schema:
  22578. $ref: '#/definitions/app.Response'
  22579. security:
  22580. - ApiKeyAuth: []
  22581. summary: 查询账户管理期货账号(账户管理/期货账号)
  22582. tags:
  22583. - 企业风险管理(app)
  22584. /Ermcp/QueryAvaildGoodsGroup:
  22585. get:
  22586. parameters:
  22587. - description: 所属机构ID
  22588. in: query
  22589. name: userid
  22590. required: true
  22591. type: integer
  22592. produces:
  22593. - application/json
  22594. responses:
  22595. "200":
  22596. description: OK
  22597. schema:
  22598. items:
  22599. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22600. type: array
  22601. "500":
  22602. description: Internal Server Error
  22603. schema:
  22604. $ref: '#/definitions/app.Response'
  22605. security:
  22606. - ApiKeyAuth: []
  22607. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22608. tags:
  22609. - 企业风险管理(app)
  22610. /Ermcp/QueryBusinessDj:
  22611. get:
  22612. parameters:
  22613. - description: 用户ID
  22614. in: query
  22615. name: UserId
  22616. required: true
  22617. type: integer
  22618. - description: 用户类型 2-机构 7-企业成员
  22619. in: query
  22620. name: usertype
  22621. type: integer
  22622. - description: 现货合同ID, 不填则查所有
  22623. in: query
  22624. name: relatedid
  22625. type: string
  22626. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22627. in: query
  22628. name: applystatus
  22629. type: string
  22630. produces:
  22631. - application/json
  22632. responses:
  22633. "200":
  22634. description: OK
  22635. schema:
  22636. items:
  22637. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22638. type: array
  22639. "500":
  22640. description: Internal Server Error
  22641. schema:
  22642. $ref: '#/definitions/app.Response'
  22643. security:
  22644. - ApiKeyAuth: []
  22645. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22646. tags:
  22647. - 企业风险管理(app)
  22648. /Ermcp/QueryBusinessFp:
  22649. get:
  22650. parameters:
  22651. - description: 用户ID
  22652. in: query
  22653. name: UserId
  22654. required: true
  22655. type: integer
  22656. - description: 用户类型 2-机构 7-企业成员
  22657. in: query
  22658. name: usertype
  22659. type: integer
  22660. - description: 现货合同ID, 不填则查所有
  22661. in: query
  22662. name: relatedid
  22663. type: string
  22664. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22665. in: query
  22666. name: applystatus
  22667. type: string
  22668. produces:
  22669. - application/json
  22670. responses:
  22671. "200":
  22672. description: OK
  22673. schema:
  22674. items:
  22675. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22676. type: array
  22677. "500":
  22678. description: Internal Server Error
  22679. schema:
  22680. $ref: '#/definitions/app.Response'
  22681. security:
  22682. - ApiKeyAuth: []
  22683. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22684. tags:
  22685. - 企业风险管理(app)
  22686. /Ermcp/QueryBusinessJs:
  22687. get:
  22688. parameters:
  22689. - description: 用户ID
  22690. in: query
  22691. name: UserId
  22692. required: true
  22693. type: integer
  22694. - description: 用户类型 2-机构 7-企业成员
  22695. in: query
  22696. name: usertype
  22697. type: integer
  22698. - description: 现货合同ID, 不填则查所有
  22699. in: query
  22700. name: relatedid
  22701. type: string
  22702. - description: 操作申请id
  22703. in: query
  22704. name: operateapplyid
  22705. type: string
  22706. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22707. in: query
  22708. name: applystatus
  22709. type: string
  22710. produces:
  22711. - application/json
  22712. responses:
  22713. "200":
  22714. description: OK
  22715. schema:
  22716. items:
  22717. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22718. type: array
  22719. "500":
  22720. description: Internal Server Error
  22721. schema:
  22722. $ref: '#/definitions/app.Response'
  22723. security:
  22724. - ApiKeyAuth: []
  22725. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22726. tags:
  22727. - 企业风险管理(app)
  22728. /Ermcp/QueryBusinessJsEx:
  22729. get:
  22730. parameters:
  22731. - description: 用户ID
  22732. in: query
  22733. name: UserId
  22734. required: true
  22735. type: integer
  22736. - description: 用户类型 2-机构 7-企业成员
  22737. in: query
  22738. name: usertype
  22739. type: integer
  22740. - description: 现货合同ID, 不填则查所有
  22741. in: query
  22742. name: relatedid
  22743. type: string
  22744. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22745. in: query
  22746. name: applystatus
  22747. type: string
  22748. produces:
  22749. - application/json
  22750. responses:
  22751. "200":
  22752. description: OK
  22753. schema:
  22754. items:
  22755. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22756. type: array
  22757. "500":
  22758. description: Internal Server Error
  22759. schema:
  22760. $ref: '#/definitions/app.Response'
  22761. security:
  22762. - ApiKeyAuth: []
  22763. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22764. tags:
  22765. - 企业风险管理(app)
  22766. /Ermcp/QueryBusinessKx:
  22767. get:
  22768. parameters:
  22769. - description: 用户ID
  22770. in: query
  22771. name: UserId
  22772. required: true
  22773. type: integer
  22774. - description: 用户类型 2-机构 7-企业成员
  22775. in: query
  22776. name: usertype
  22777. type: integer
  22778. - description: 现货合同ID, 不填则查所有
  22779. in: query
  22780. name: relatedid
  22781. type: string
  22782. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22783. in: query
  22784. name: applystatus
  22785. type: string
  22786. produces:
  22787. - application/json
  22788. responses:
  22789. "200":
  22790. description: OK
  22791. schema:
  22792. items:
  22793. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22794. type: array
  22795. "500":
  22796. description: Internal Server Error
  22797. schema:
  22798. $ref: '#/definitions/app.Response'
  22799. security:
  22800. - ApiKeyAuth: []
  22801. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22802. tags:
  22803. - 企业风险管理(app)
  22804. /Ermcp/QueryChangeLog:
  22805. get:
  22806. parameters:
  22807. - description: 合同ID
  22808. in: query
  22809. name: RelatedId
  22810. required: true
  22811. type: string
  22812. produces:
  22813. - application/json
  22814. responses:
  22815. "200":
  22816. description: OK
  22817. schema:
  22818. items:
  22819. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22820. type: array
  22821. "500":
  22822. description: Internal Server Error
  22823. schema:
  22824. $ref: '#/definitions/app.Response'
  22825. security:
  22826. - ApiKeyAuth: []
  22827. summary: 查询变更记录
  22828. tags:
  22829. - 企业风险管理(app)
  22830. /Ermcp/QueryErmcpHisOrderDetails:
  22831. get:
  22832. parameters:
  22833. - description: 资金账户ID
  22834. in: query
  22835. name: accountID
  22836. required: true
  22837. type: integer
  22838. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22839. in: query
  22840. name: startDate
  22841. type: string
  22842. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22843. in: query
  22844. name: endDate
  22845. type: string
  22846. produces:
  22847. - application/json
  22848. responses:
  22849. "200":
  22850. description: OK
  22851. schema:
  22852. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22853. "500":
  22854. description: Internal Server Error
  22855. schema:
  22856. $ref: '#/definitions/app.Response'
  22857. security:
  22858. - ApiKeyAuth: []
  22859. summary: 获取企业风管期货历史委托单信息
  22860. tags:
  22861. - 企业风险管理(app)
  22862. /Ermcp/QueryErmcpHisTradeDetails:
  22863. get:
  22864. parameters:
  22865. - description: 资金账户ID
  22866. in: query
  22867. name: accountID
  22868. required: true
  22869. type: integer
  22870. - description: 商品ID
  22871. in: query
  22872. name: goodsID
  22873. type: integer
  22874. - description: 买卖方向,0:买 1:卖
  22875. in: query
  22876. name: buyOrSell
  22877. type: integer
  22878. - description: 关联委托单号
  22879. in: query
  22880. name: orderID
  22881. type: integer
  22882. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22883. in: query
  22884. name: startDate
  22885. type: string
  22886. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22887. in: query
  22888. name: endDate
  22889. type: string
  22890. produces:
  22891. - application/json
  22892. responses:
  22893. "200":
  22894. description: OK
  22895. schema:
  22896. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. security:
  22902. - ApiKeyAuth: []
  22903. summary: 获取企业风管期货历史成交单信息
  22904. tags:
  22905. - 企业风险管理(app)
  22906. /Ermcp/QueryErmcpInnerHolderDetails:
  22907. get:
  22908. parameters:
  22909. - description: 资金账户ID
  22910. in: query
  22911. name: accountID
  22912. required: true
  22913. type: integer
  22914. - description: 商品ID
  22915. in: query
  22916. name: goodsID
  22917. type: integer
  22918. - description: 买卖方向,0:买 1:卖
  22919. in: query
  22920. name: buyOrSell
  22921. type: integer
  22922. produces:
  22923. - application/json
  22924. responses:
  22925. "200":
  22926. description: OK
  22927. schema:
  22928. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22929. "500":
  22930. description: Internal Server Error
  22931. schema:
  22932. $ref: '#/definitions/app.Response'
  22933. security:
  22934. - ApiKeyAuth: []
  22935. summary: 获取企业风管期货内部持仓单信息
  22936. tags:
  22937. - 企业风险管理(app)
  22938. /Ermcp/QueryErmcpOrderDetails:
  22939. get:
  22940. parameters:
  22941. - description: 资金账户ID
  22942. in: query
  22943. name: accountID
  22944. required: true
  22945. type: integer
  22946. produces:
  22947. - application/json
  22948. responses:
  22949. "200":
  22950. description: OK
  22951. schema:
  22952. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22953. "500":
  22954. description: Internal Server Error
  22955. schema:
  22956. $ref: '#/definitions/app.Response'
  22957. security:
  22958. - ApiKeyAuth: []
  22959. summary: 获取企业风管期货委托单信息
  22960. tags:
  22961. - 企业风险管理(app)
  22962. /Ermcp/QueryErmcpTradeDetails:
  22963. get:
  22964. parameters:
  22965. - description: 资金账户ID
  22966. in: query
  22967. name: accountID
  22968. required: true
  22969. type: integer
  22970. - description: 商品ID
  22971. in: query
  22972. name: goodsID
  22973. type: integer
  22974. - description: 买卖方向,0:买 1:卖
  22975. in: query
  22976. name: buyOrSell
  22977. type: integer
  22978. - description: 关联委托单号
  22979. in: query
  22980. name: orderID
  22981. type: integer
  22982. produces:
  22983. - application/json
  22984. responses:
  22985. "200":
  22986. description: OK
  22987. schema:
  22988. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22989. "500":
  22990. description: Internal Server Error
  22991. schema:
  22992. $ref: '#/definitions/app.Response'
  22993. security:
  22994. - ApiKeyAuth: []
  22995. summary: 获取企业风管期货成交单信息
  22996. tags:
  22997. - 企业风险管理(app)
  22998. /Ermcp/QueryErmcpTradePosition:
  22999. get:
  23000. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  23001. parameters:
  23002. - description: 资金账户ID
  23003. in: query
  23004. name: accountID
  23005. required: true
  23006. type: integer
  23007. - description: 所属市场ID
  23008. in: query
  23009. name: marketID
  23010. type: integer
  23011. produces:
  23012. - application/json
  23013. responses:
  23014. "200":
  23015. description: OK
  23016. schema:
  23017. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  23018. "500":
  23019. description: Internal Server Error
  23020. schema:
  23021. $ref: '#/definitions/app.Response'
  23022. security:
  23023. - ApiKeyAuth: []
  23024. summary: 获取企业风管期货持仓头寸信息
  23025. tags:
  23026. - 企业风险管理(app)
  23027. /Ermcp/QueryExposureDetail:
  23028. get:
  23029. parameters:
  23030. - description: 所属机构ID
  23031. in: query
  23032. name: areaUserId
  23033. required: true
  23034. type: integer
  23035. - description: 套保商品
  23036. in: query
  23037. name: middleGoodsId
  23038. required: true
  23039. type: integer
  23040. produces:
  23041. - application/json
  23042. responses:
  23043. "200":
  23044. description: OK
  23045. schema:
  23046. items:
  23047. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  23048. type: array
  23049. "500":
  23050. description: Internal Server Error
  23051. schema:
  23052. $ref: '#/definitions/app.Response'
  23053. security:
  23054. - ApiKeyAuth: []
  23055. summary: 查询敞口现货明细
  23056. tags:
  23057. - 企业风险管理(app)
  23058. /Ermcp/QueryExposureGoods:
  23059. get:
  23060. parameters:
  23061. - description: 套保商品id
  23062. in: query
  23063. name: middlegoodsid
  23064. required: true
  23065. type: integer
  23066. produces:
  23067. - application/json
  23068. responses:
  23069. "200":
  23070. description: OK
  23071. schema:
  23072. items:
  23073. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  23074. type: array
  23075. "500":
  23076. description: Internal Server Error
  23077. schema:
  23078. $ref: '#/definitions/app.Response'
  23079. security:
  23080. - ApiKeyAuth: []
  23081. summary: 查询敞口主力合约
  23082. tags:
  23083. - 企业风险管理(app)
  23084. /Ermcp/QueryExposureHedgePosition:
  23085. get:
  23086. parameters:
  23087. - description: 用户id
  23088. in: query
  23089. name: userid
  23090. required: true
  23091. type: integer
  23092. produces:
  23093. - application/json
  23094. responses:
  23095. "200":
  23096. description: OK
  23097. schema:
  23098. items:
  23099. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23100. type: array
  23101. "500":
  23102. description: Internal Server Error
  23103. schema:
  23104. $ref: '#/definitions/app.Response'
  23105. security:
  23106. - ApiKeyAuth: []
  23107. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23108. tags:
  23109. - 企业风险管理(app)
  23110. /Ermcp/QueryExposureHedgePositionDetail:
  23111. get:
  23112. parameters:
  23113. - description: 所属机构ID
  23114. in: query
  23115. name: userid
  23116. required: true
  23117. type: integer
  23118. - description: 商品id
  23119. in: query
  23120. name: goodsId
  23121. required: true
  23122. type: integer
  23123. produces:
  23124. - application/json
  23125. responses:
  23126. "200":
  23127. description: OK
  23128. schema:
  23129. items:
  23130. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23131. type: array
  23132. "500":
  23133. description: Internal Server Error
  23134. schema:
  23135. $ref: '#/definitions/app.Response'
  23136. security:
  23137. - ApiKeyAuth: []
  23138. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23139. tags:
  23140. - 企业风险管理(app)
  23141. /Ermcp/QueryExposureSpot:
  23142. get:
  23143. parameters:
  23144. - description: 所属机构ID
  23145. in: query
  23146. name: areaUserId
  23147. required: true
  23148. type: integer
  23149. produces:
  23150. - application/json
  23151. responses:
  23152. "200":
  23153. description: OK
  23154. schema:
  23155. items:
  23156. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23157. type: array
  23158. "500":
  23159. description: Internal Server Error
  23160. schema:
  23161. $ref: '#/definitions/app.Response'
  23162. security:
  23163. - ApiKeyAuth: []
  23164. summary: 查询敞口现货头寸(敞口/现货头寸)
  23165. tags:
  23166. - 企业风险管理(app)
  23167. /Ermcp/QueryExposureSpotDetail:
  23168. get:
  23169. parameters:
  23170. - description: 所属机构ID
  23171. in: query
  23172. name: areaUserId
  23173. required: true
  23174. type: integer
  23175. - description: 现货品种ID
  23176. in: query
  23177. name: wrstandardId
  23178. required: true
  23179. type: integer
  23180. produces:
  23181. - application/json
  23182. responses:
  23183. "200":
  23184. description: OK
  23185. schema:
  23186. items:
  23187. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23188. type: array
  23189. "500":
  23190. description: Internal Server Error
  23191. schema:
  23192. $ref: '#/definitions/app.Response'
  23193. security:
  23194. - ApiKeyAuth: []
  23195. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23196. tags:
  23197. - 企业风险管理(app)
  23198. /Ermcp/QueryFuturesCompany:
  23199. get:
  23200. produces:
  23201. - application/json
  23202. responses:
  23203. "200":
  23204. description: OK
  23205. schema:
  23206. items:
  23207. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23208. type: array
  23209. "500":
  23210. description: Internal Server Error
  23211. schema:
  23212. $ref: '#/definitions/app.Response'
  23213. security:
  23214. - ApiKeyAuth: []
  23215. summary: 查询期货公司
  23216. tags:
  23217. - 企业风险管理(app)
  23218. /Ermcp/QueryGGConvertConfig:
  23219. get:
  23220. parameters:
  23221. - description: 品种id(不填则查所有)
  23222. in: query
  23223. name: goodsgroupid
  23224. type: integer
  23225. produces:
  23226. - application/json
  23227. responses:
  23228. "200":
  23229. description: OK
  23230. schema:
  23231. items:
  23232. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23233. type: array
  23234. "500":
  23235. description: Internal Server Error
  23236. schema:
  23237. $ref: '#/definitions/app.Response'
  23238. security:
  23239. - ApiKeyAuth: []
  23240. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23241. tags:
  23242. - 企业风险管理(app)
  23243. /Ermcp/QueryGoodsBrand:
  23244. get:
  23245. parameters:
  23246. - description: 用户ID
  23247. in: query
  23248. name: userid
  23249. required: true
  23250. type: integer
  23251. - description: 现货商品ID
  23252. in: query
  23253. name: wrstandardid
  23254. type: integer
  23255. produces:
  23256. - application/json
  23257. responses:
  23258. "200":
  23259. description: OK
  23260. schema:
  23261. items:
  23262. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23263. type: array
  23264. "500":
  23265. description: Internal Server Error
  23266. schema:
  23267. $ref: '#/definitions/app.Response'
  23268. security:
  23269. - ApiKeyAuth: []
  23270. summary: 查询商品品牌
  23271. tags:
  23272. - 企业风险管理(app)
  23273. /Ermcp/QueryGoodsModel:
  23274. get:
  23275. parameters:
  23276. - description: 用户ID
  23277. in: query
  23278. name: userid
  23279. required: true
  23280. type: integer
  23281. produces:
  23282. - application/json
  23283. responses:
  23284. "200":
  23285. description: OK
  23286. schema:
  23287. items:
  23288. $ref: '#/definitions/models.ErmcpGoodsModel'
  23289. type: array
  23290. "500":
  23291. description: Internal Server Error
  23292. schema:
  23293. $ref: '#/definitions/app.Response'
  23294. security:
  23295. - ApiKeyAuth: []
  23296. summary: 查询商品型号
  23297. tags:
  23298. - 企业风险管理(app)
  23299. /Ermcp/QueryHisExposure:
  23300. get:
  23301. parameters:
  23302. - description: 用户id
  23303. in: query
  23304. name: userid
  23305. required: true
  23306. type: integer
  23307. - description: 每个品种记录数
  23308. in: query
  23309. name: lastNum
  23310. required: true
  23311. type: integer
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. items:
  23319. $ref: '#/definitions/ermcp.HisExposureRsp'
  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/QueryMiddleGoods:
  23331. get:
  23332. parameters:
  23333. - description: 所属机构ID
  23334. in: query
  23335. name: userid
  23336. required: true
  23337. type: integer
  23338. - description: 状态 0-停用 1-正常
  23339. in: query
  23340. name: status
  23341. required: true
  23342. type: integer
  23343. produces:
  23344. - application/json
  23345. responses:
  23346. "200":
  23347. description: OK
  23348. schema:
  23349. items:
  23350. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23351. type: array
  23352. "500":
  23353. description: Internal Server Error
  23354. schema:
  23355. $ref: '#/definitions/app.Response'
  23356. security:
  23357. - ApiKeyAuth: []
  23358. summary: 查询套保品种(菜单:套保品种)
  23359. tags:
  23360. - 企业风险管理(app)
  23361. /Ermcp/QueryMiddleGoodsChangeLog:
  23362. get:
  23363. parameters:
  23364. - description: 所属机构ID
  23365. in: query
  23366. name: userid
  23367. required: true
  23368. type: integer
  23369. - description: 套保品种id
  23370. in: query
  23371. name: middlegoodsid
  23372. required: true
  23373. type: integer
  23374. produces:
  23375. - application/json
  23376. responses:
  23377. "200":
  23378. description: OK
  23379. schema:
  23380. items:
  23381. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  23382. type: array
  23383. "500":
  23384. description: Internal Server Error
  23385. schema:
  23386. $ref: '#/definitions/app.Response'
  23387. security:
  23388. - ApiKeyAuth: []
  23389. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  23390. tags:
  23391. - 企业风险管理(app)
  23392. /Ermcp/QueryMiddleGoodsDetail:
  23393. get:
  23394. parameters:
  23395. - description: 所属机构ID
  23396. in: query
  23397. name: userid
  23398. required: true
  23399. type: integer
  23400. - description: 套保品种id
  23401. in: query
  23402. name: middlegoodsid
  23403. type: integer
  23404. produces:
  23405. - application/json
  23406. responses:
  23407. "200":
  23408. description: OK
  23409. schema:
  23410. items:
  23411. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23412. type: array
  23413. "500":
  23414. description: Internal Server Error
  23415. schema:
  23416. $ref: '#/definitions/app.Response'
  23417. security:
  23418. - ApiKeyAuth: []
  23419. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23420. tags:
  23421. - 企业风险管理(app)
  23422. /Ermcp/QueryPendingAuditInfo:
  23423. get:
  23424. parameters:
  23425. - description: 用户ID
  23426. in: query
  23427. name: UserId
  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.PendingAuditCntRsp'
  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/QueryRealtimeExposure:
  23449. get:
  23450. parameters:
  23451. - description: 所属机构ID
  23452. in: query
  23453. name: userid
  23454. required: true
  23455. type: integer
  23456. produces:
  23457. - application/json
  23458. responses:
  23459. "200":
  23460. description: OK
  23461. schema:
  23462. items:
  23463. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23464. type: array
  23465. "500":
  23466. description: Internal Server Error
  23467. schema:
  23468. $ref: '#/definitions/app.Response'
  23469. security:
  23470. - ApiKeyAuth: []
  23471. summary: 查询实时敞口
  23472. tags:
  23473. - 企业风险管理(app)
  23474. /Ermcp/QueryRealtimeExposurePosition:
  23475. get:
  23476. parameters:
  23477. - description: 用户id
  23478. in: query
  23479. name: userid
  23480. required: true
  23481. type: integer
  23482. - description: 套保商品ID
  23483. in: query
  23484. name: middleGoodsId
  23485. required: true
  23486. type: integer
  23487. produces:
  23488. - application/json
  23489. responses:
  23490. "200":
  23491. description: OK
  23492. schema:
  23493. items:
  23494. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23495. type: array
  23496. "500":
  23497. description: Internal Server Error
  23498. schema:
  23499. $ref: '#/definitions/app.Response'
  23500. security:
  23501. - ApiKeyAuth: []
  23502. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23503. tags:
  23504. - 企业风险管理(app)
  23505. /Ermcp/QueryRoleMenu:
  23506. get:
  23507. parameters:
  23508. - description: 登录ID
  23509. in: query
  23510. name: loginid
  23511. required: true
  23512. type: integer
  23513. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23514. in: query
  23515. name: menutype
  23516. type: integer
  23517. produces:
  23518. - application/json
  23519. responses:
  23520. "200":
  23521. description: OK
  23522. schema:
  23523. items:
  23524. $ref: '#/definitions/models.RoleMenu'
  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/QueryTradeConfigTMP:
  23536. get:
  23537. parameters:
  23538. - description: 所属机构id
  23539. in: query
  23540. name: areauserid
  23541. type: integer
  23542. produces:
  23543. - application/json
  23544. responses:
  23545. "200":
  23546. description: OK
  23547. schema:
  23548. items:
  23549. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23550. type: array
  23551. "500":
  23552. description: Internal Server Error
  23553. schema:
  23554. $ref: '#/definitions/app.Response'
  23555. security:
  23556. - ApiKeyAuth: []
  23557. summary: 查询交易模板配置
  23558. tags:
  23559. - 企业风险管理(app)
  23560. /Ermcp/QueryUserInfo:
  23561. get:
  23562. parameters:
  23563. - description: 所属机构用户ID
  23564. in: query
  23565. name: MemberUserID
  23566. required: true
  23567. type: integer
  23568. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23569. in: query
  23570. name: queryType
  23571. required: true
  23572. type: integer
  23573. produces:
  23574. - application/json
  23575. responses:
  23576. "200":
  23577. description: OK
  23578. schema:
  23579. items:
  23580. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23581. type: array
  23582. "500":
  23583. description: Internal Server Error
  23584. schema:
  23585. $ref: '#/definitions/app.Response'
  23586. security:
  23587. - ApiKeyAuth: []
  23588. summary: 查询客户资料
  23589. tags:
  23590. - 企业风险管理(app)
  23591. /Ermcp/QueryWarehouseInfo:
  23592. get:
  23593. parameters:
  23594. - description: 用户ID
  23595. in: query
  23596. name: userid
  23597. required: true
  23598. type: integer
  23599. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23600. in: query
  23601. name: status
  23602. type: string
  23603. produces:
  23604. - application/json
  23605. responses:
  23606. "200":
  23607. description: OK
  23608. schema:
  23609. items:
  23610. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23611. type: array
  23612. "500":
  23613. description: Internal Server Error
  23614. schema:
  23615. $ref: '#/definitions/app.Response'
  23616. security:
  23617. - ApiKeyAuth: []
  23618. summary: 查询仓库信息
  23619. tags:
  23620. - 企业风险管理(app)
  23621. /Ermcp3/QryAreaExpourseContractDetail:
  23622. get:
  23623. parameters:
  23624. - description: 用户ID
  23625. in: query
  23626. name: userid
  23627. required: true
  23628. type: integer
  23629. - description: 套保商品id
  23630. in: query
  23631. name: middlegoodsid
  23632. required: true
  23633. type: integer
  23634. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23635. in: query
  23636. name: cycletype
  23637. required: true
  23638. type: integer
  23639. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23640. 全(0)【原值】
  23641. in: query
  23642. name: cycletime
  23643. required: true
  23644. type: string
  23645. produces:
  23646. - application/json
  23647. responses:
  23648. "200":
  23649. description: OK
  23650. schema:
  23651. items:
  23652. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23653. type: array
  23654. "500":
  23655. description: Internal Server Error
  23656. schema:
  23657. $ref: '#/definitions/app.Response'
  23658. security:
  23659. - ApiKeyAuth: []
  23660. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23661. tags:
  23662. - 企业风险管理v3(app)
  23663. /Ermcp3/QryAreaExpourseFutuDetail:
  23664. get:
  23665. parameters:
  23666. - description: 用户ID
  23667. in: query
  23668. name: userid
  23669. required: true
  23670. type: integer
  23671. - description: 套保商品id
  23672. in: query
  23673. name: middlegoodsid
  23674. required: true
  23675. type: integer
  23676. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23677. in: query
  23678. name: cycletype
  23679. required: true
  23680. type: integer
  23681. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23682. 全(0)【原值】
  23683. in: query
  23684. name: cycletime
  23685. required: true
  23686. type: string
  23687. produces:
  23688. - application/json
  23689. responses:
  23690. "200":
  23691. description: OK
  23692. schema:
  23693. items:
  23694. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23695. type: array
  23696. "500":
  23697. description: Internal Server Error
  23698. schema:
  23699. $ref: '#/definitions/app.Response'
  23700. security:
  23701. - ApiKeyAuth: []
  23702. summary: 查询敞口期货明细(敞口报表/期货明细)
  23703. tags:
  23704. - 企业风险管理v3(app)
  23705. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23706. get:
  23707. parameters:
  23708. - description: 用户ID
  23709. in: query
  23710. name: userid
  23711. required: true
  23712. type: integer
  23713. - description: 套保商品id
  23714. in: query
  23715. name: middlegoodsid
  23716. required: true
  23717. type: integer
  23718. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23719. in: query
  23720. name: cycletype
  23721. required: true
  23722. type: integer
  23723. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23724. 全(0)【原值】
  23725. in: query
  23726. name: cycletime
  23727. required: true
  23728. type: string
  23729. produces:
  23730. - application/json
  23731. responses:
  23732. "200":
  23733. description: OK
  23734. schema:
  23735. items:
  23736. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23737. type: array
  23738. "500":
  23739. description: Internal Server Error
  23740. schema:
  23741. $ref: '#/definitions/app.Response'
  23742. security:
  23743. - ApiKeyAuth: []
  23744. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23745. tags:
  23746. - 企业风险管理v3(app)
  23747. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23748. get:
  23749. parameters:
  23750. - description: 用户ID
  23751. in: query
  23752. name: userid
  23753. required: true
  23754. type: integer
  23755. - description: 套保商品id
  23756. in: query
  23757. name: middlegoodsid
  23758. required: true
  23759. type: integer
  23760. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23761. in: query
  23762. name: cycletype
  23763. required: true
  23764. type: integer
  23765. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23766. 全(0)【原值】
  23767. in: query
  23768. name: cycletime
  23769. required: true
  23770. type: string
  23771. produces:
  23772. - application/json
  23773. responses:
  23774. "200":
  23775. description: OK
  23776. schema:
  23777. items:
  23778. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23779. type: array
  23780. "500":
  23781. description: Internal Server Error
  23782. schema:
  23783. $ref: '#/definitions/app.Response'
  23784. security:
  23785. - ApiKeyAuth: []
  23786. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23787. tags:
  23788. - 企业风险管理v3(app)
  23789. /Ermcp3/QryAreaExpourseReport:
  23790. get:
  23791. parameters:
  23792. - description: 用户ID
  23793. in: query
  23794. name: userid
  23795. required: true
  23796. type: integer
  23797. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23798. in: query
  23799. name: querytype
  23800. required: true
  23801. type: integer
  23802. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23803. in: query
  23804. name: cycletype
  23805. required: true
  23806. type: integer
  23807. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23808. 全(0)【原值】
  23809. in: query
  23810. name: cycletime
  23811. required: true
  23812. type: string
  23813. produces:
  23814. - application/json
  23815. responses:
  23816. "200":
  23817. description: OK
  23818. schema:
  23819. items:
  23820. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23821. type: array
  23822. "500":
  23823. description: Internal Server Error
  23824. schema:
  23825. $ref: '#/definitions/app.Response'
  23826. security:
  23827. - ApiKeyAuth: []
  23828. summary: 查询敞口报表
  23829. tags:
  23830. - 企业风险管理v3(app)
  23831. /Ermcp3/QryAreaSpotplReport:
  23832. get:
  23833. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23834. parameters:
  23835. - description: 用户ID
  23836. in: query
  23837. name: userid
  23838. required: true
  23839. type: integer
  23840. - description: 查询类型 1-报表 2-报表明细
  23841. in: query
  23842. name: querytype
  23843. required: true
  23844. type: integer
  23845. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23846. in: query
  23847. name: cycletype
  23848. required: true
  23849. type: integer
  23850. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23851. 全(0)【原值】
  23852. in: query
  23853. name: cycletime
  23854. required: true
  23855. type: string
  23856. - description: 现货品种id(明细必填)
  23857. in: query
  23858. name: deliverygoodsid
  23859. type: integer
  23860. - description: 币种id(明细必填)
  23861. in: query
  23862. name: currencyid
  23863. type: integer
  23864. - description: 日/周/月报表汇总维度 1:品种+品类
  23865. in: query
  23866. name: sumflag
  23867. type: integer
  23868. produces:
  23869. - application/json
  23870. responses:
  23871. "200":
  23872. description: OK
  23873. schema:
  23874. items:
  23875. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23876. type: array
  23877. "500":
  23878. description: Internal Server Error
  23879. schema:
  23880. $ref: '#/definitions/app.Response'
  23881. security:
  23882. - ApiKeyAuth: []
  23883. summary: 查询现货报表
  23884. tags:
  23885. - 企业风险管理v3(app)
  23886. /Ermcp3/QryAreaStockReport:
  23887. get:
  23888. parameters:
  23889. - description: 用户ID
  23890. in: query
  23891. name: userid
  23892. required: true
  23893. type: integer
  23894. - description: 查询类型 1-报表 2-报表明细
  23895. in: query
  23896. name: querytype
  23897. required: true
  23898. type: integer
  23899. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23900. in: query
  23901. name: cycletype
  23902. required: true
  23903. type: integer
  23904. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23905. 全(0)【原值】
  23906. in: query
  23907. name: cycletime
  23908. required: true
  23909. type: string
  23910. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23911. in: query
  23912. name: sumfields
  23913. type: string
  23914. - description: 品种ID
  23915. in: query
  23916. name: deliverygoodsid
  23917. type: integer
  23918. - description: 品类ID
  23919. in: query
  23920. name: wrstandardid
  23921. type: integer
  23922. - description: 品牌ID
  23923. in: query
  23924. name: spotgoodsbrandid
  23925. type: integer
  23926. - description: 仓库ID
  23927. in: query
  23928. name: warehouseinfoid
  23929. type: integer
  23930. produces:
  23931. - application/json
  23932. responses:
  23933. "200":
  23934. description: OK
  23935. schema:
  23936. items:
  23937. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23938. type: array
  23939. "500":
  23940. description: Internal Server Error
  23941. schema:
  23942. $ref: '#/definitions/app.Response'
  23943. security:
  23944. - ApiKeyAuth: []
  23945. summary: 查询库存报表
  23946. tags:
  23947. - 企业风险管理v3(app)
  23948. /Ermcp3/QryAreaSumPL:
  23949. get:
  23950. parameters:
  23951. - description: 用户ID
  23952. in: query
  23953. name: userid
  23954. required: true
  23955. type: integer
  23956. - description: 查询类型 1-报表 2-报表明细
  23957. in: query
  23958. name: querytype
  23959. required: true
  23960. type: integer
  23961. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23962. in: query
  23963. name: cycletype
  23964. required: true
  23965. type: integer
  23966. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23967. 全(0)【原值】
  23968. in: query
  23969. name: cycletime
  23970. required: true
  23971. type: string
  23972. - description: 币种id(明细必填)
  23973. in: query
  23974. name: currencyid
  23975. type: integer
  23976. produces:
  23977. - application/json
  23978. responses:
  23979. "200":
  23980. description: OK
  23981. schema:
  23982. items:
  23983. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23984. type: array
  23985. "500":
  23986. description: Internal Server Error
  23987. schema:
  23988. $ref: '#/definitions/app.Response'
  23989. security:
  23990. - ApiKeyAuth: []
  23991. summary: 查询汇总损益表
  23992. tags:
  23993. - 企业风险管理v3(app)
  23994. /Ermcp3/QryFinanceReport:
  23995. get:
  23996. parameters:
  23997. - description: 用户ID
  23998. in: query
  23999. name: userid
  24000. required: true
  24001. type: integer
  24002. - description: 查询类型 1-报表 2-报表明细
  24003. in: query
  24004. name: querytype
  24005. required: true
  24006. type: integer
  24007. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24008. in: query
  24009. name: cycletype
  24010. required: true
  24011. type: integer
  24012. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24013. 全(0)【原值】
  24014. in: query
  24015. name: cycletime
  24016. required: true
  24017. type: string
  24018. - description: 币种id(报表明细必填)
  24019. in: query
  24020. name: currencyid
  24021. type: integer
  24022. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  24023. in: query
  24024. name: sumfields
  24025. type: string
  24026. produces:
  24027. - application/json
  24028. responses:
  24029. "200":
  24030. description: OK
  24031. schema:
  24032. items:
  24033. $ref: '#/definitions/models.Ermcp3FinanceReport'
  24034. type: array
  24035. "500":
  24036. description: Internal Server Error
  24037. schema:
  24038. $ref: '#/definitions/app.Response'
  24039. security:
  24040. - ApiKeyAuth: []
  24041. summary: 查询财务报表
  24042. tags:
  24043. - 企业风险管理v3(app)
  24044. /Ermcp3/QrySCMiddleGoodsReport:
  24045. get:
  24046. parameters:
  24047. - description: 用户ID
  24048. in: query
  24049. name: userid
  24050. required: true
  24051. type: integer
  24052. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24053. in: query
  24054. name: cycletype
  24055. required: true
  24056. type: integer
  24057. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24058. 全(0)【原值】
  24059. in: query
  24060. name: cycletime
  24061. required: true
  24062. type: string
  24063. - description: 合同id
  24064. in: query
  24065. name: spotcontractid
  24066. type: integer
  24067. - description: 套保品种id
  24068. in: query
  24069. name: middlegoodsid
  24070. type: integer
  24071. - description: 现货品种id
  24072. in: query
  24073. name: deliverygoodsid
  24074. type: integer
  24075. - description: 现货商品id
  24076. in: query
  24077. name: wrstandardid
  24078. type: integer
  24079. - description: 合同编号(模糊匹配)
  24080. in: query
  24081. name: contractno
  24082. type: string
  24083. produces:
  24084. - application/json
  24085. responses:
  24086. "200":
  24087. description: OK
  24088. schema:
  24089. items:
  24090. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24091. type: array
  24092. "500":
  24093. description: Internal Server Error
  24094. schema:
  24095. $ref: '#/definitions/app.Response'
  24096. security:
  24097. - ApiKeyAuth: []
  24098. summary: 查询定价报表
  24099. tags:
  24100. - 企业风险管理v3(app)
  24101. /Ermcp3/QryTaFutureDataReport:
  24102. get:
  24103. parameters:
  24104. - description: 用户ID
  24105. in: query
  24106. name: userid
  24107. required: true
  24108. type: integer
  24109. - description: 查询类型 1-报表 2-报表明细
  24110. in: query
  24111. name: querytype
  24112. required: true
  24113. type: integer
  24114. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24115. in: query
  24116. name: cycletype
  24117. required: true
  24118. type: integer
  24119. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24120. 全(0)【原值】
  24121. in: query
  24122. name: cycletime
  24123. required: true
  24124. type: string
  24125. - description: 币种id(查明细必填)
  24126. in: query
  24127. name: currencyid
  24128. type: integer
  24129. - description: 品种id(查明细必填)
  24130. in: query
  24131. name: goodsgroupid
  24132. type: integer
  24133. - description: 商品id(查明细必填)
  24134. in: query
  24135. name: goodsid
  24136. type: integer
  24137. - description: 买卖方向(查明细必填)
  24138. in: query
  24139. name: buyorsell
  24140. type: integer
  24141. produces:
  24142. - application/json
  24143. responses:
  24144. "200":
  24145. description: OK
  24146. schema:
  24147. items:
  24148. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24149. type: array
  24150. "500":
  24151. description: Internal Server Error
  24152. schema:
  24153. $ref: '#/definitions/app.Response'
  24154. security:
  24155. - ApiKeyAuth: []
  24156. summary: 查询期货报表
  24157. tags:
  24158. - 企业风险管理v3(app)
  24159. /Ermcp3/QueryAreaStock:
  24160. get:
  24161. parameters:
  24162. - description: 用户ID
  24163. in: query
  24164. name: userid
  24165. required: true
  24166. type: integer
  24167. produces:
  24168. - application/json
  24169. responses:
  24170. "200":
  24171. description: OK
  24172. schema:
  24173. items:
  24174. $ref: '#/definitions/models.Ermcp3AreaStock'
  24175. type: array
  24176. "500":
  24177. description: Internal Server Error
  24178. schema:
  24179. $ref: '#/definitions/app.Response'
  24180. security:
  24181. - ApiKeyAuth: []
  24182. summary: 查询机构库存(库存管理/当前库存)
  24183. tags:
  24184. - 企业风险管理v3(app)
  24185. /Ermcp3/QueryAreaStockApply:
  24186. get:
  24187. parameters:
  24188. - description: 用户ID
  24189. in: query
  24190. name: userid
  24191. required: true
  24192. type: integer
  24193. - description: 用户类型 2-机构 7-企业成员
  24194. in: query
  24195. name: usertype
  24196. type: integer
  24197. - description: 现货商品ID
  24198. in: query
  24199. name: deliverygoodsid
  24200. type: integer
  24201. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24202. in: query
  24203. name: inouttype
  24204. type: string
  24205. - description: 合同ID
  24206. in: query
  24207. name: spotcontractid
  24208. type: integer
  24209. - description: 品类ID
  24210. in: query
  24211. name: wrstandardid
  24212. type: integer
  24213. - description: 品牌ID
  24214. in: query
  24215. name: spotgoodsbrandid
  24216. type: integer
  24217. - description: 仓库ID
  24218. in: query
  24219. name: warehouseinfoid
  24220. type: integer
  24221. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24222. in: query
  24223. name: applystatus
  24224. type: string
  24225. produces:
  24226. - application/json
  24227. responses:
  24228. "200":
  24229. description: OK
  24230. schema:
  24231. items:
  24232. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24233. type: array
  24234. "500":
  24235. description: Internal Server Error
  24236. schema:
  24237. $ref: '#/definitions/app.Response'
  24238. security:
  24239. - ApiKeyAuth: []
  24240. summary: 查询库存申请(出入库记录|库存审核)
  24241. tags:
  24242. - 企业风险管理v3(app)
  24243. /Ermcp3/QueryAreaStockApplySum:
  24244. get:
  24245. parameters:
  24246. - description: 合同ID
  24247. in: query
  24248. name: spotcontractid
  24249. required: true
  24250. type: integer
  24251. produces:
  24252. - application/json
  24253. responses:
  24254. "200":
  24255. description: OK
  24256. schema:
  24257. items:
  24258. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24259. type: array
  24260. "500":
  24261. description: Internal Server Error
  24262. schema:
  24263. $ref: '#/definitions/app.Response'
  24264. security:
  24265. - ApiKeyAuth: []
  24266. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24267. tags:
  24268. - 企业风险管理v3(app)
  24269. /Ermcp3/QueryDGFactoryItem:
  24270. get:
  24271. parameters:
  24272. - description: 用户id
  24273. in: query
  24274. name: userid
  24275. type: integer
  24276. - description: 用户类型 2-机构 7-企业成员
  24277. in: query
  24278. name: usertype
  24279. type: integer
  24280. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24281. in: query
  24282. name: dgfactoryitemid
  24283. type: integer
  24284. - description: 现货品种ID
  24285. in: query
  24286. name: deliverygoodsid
  24287. type: integer
  24288. - description: 要素项类型
  24289. in: query
  24290. name: dgfactoryitemtypeid
  24291. type: integer
  24292. - description: 顺序
  24293. in: query
  24294. name: orderindex
  24295. type: integer
  24296. produces:
  24297. - application/json
  24298. responses:
  24299. "200":
  24300. description: OK
  24301. schema:
  24302. items:
  24303. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24304. type: array
  24305. "500":
  24306. description: Internal Server Error
  24307. schema:
  24308. $ref: '#/definitions/app.Response'
  24309. security:
  24310. - ApiKeyAuth: []
  24311. summary: 查询品种要素定义项
  24312. tags:
  24313. - 企业风险管理v3(app)
  24314. /Ermcp3/QueryDeliveryGoods:
  24315. get:
  24316. parameters:
  24317. - description: 用户id
  24318. in: query
  24319. name: userid
  24320. required: true
  24321. type: integer
  24322. - description: 用户类型 2-机构 7-企业成员
  24323. in: query
  24324. name: usertype
  24325. type: integer
  24326. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24327. in: query
  24328. name: excludecfg
  24329. type: integer
  24330. produces:
  24331. - application/json
  24332. responses:
  24333. "200":
  24334. description: OK
  24335. schema:
  24336. items:
  24337. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24338. type: array
  24339. "500":
  24340. description: Internal Server Error
  24341. schema:
  24342. $ref: '#/definitions/app.Response'
  24343. security:
  24344. - ApiKeyAuth: []
  24345. summary: 查询现货商品
  24346. tags:
  24347. - 企业风险管理v3(app)
  24348. /Ermcp3/QueryDeliveryGoodsDetail:
  24349. get:
  24350. parameters:
  24351. - description: 用户id
  24352. in: query
  24353. name: userid
  24354. required: true
  24355. type: integer
  24356. - description: 用户类型 2-机构 7-企业成员
  24357. in: query
  24358. name: usertype
  24359. type: integer
  24360. - description: 现货商品id
  24361. in: query
  24362. name: deliverygoodsid
  24363. type: integer
  24364. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24365. in: query
  24366. name: filtersubempty
  24367. type: integer
  24368. produces:
  24369. - application/json
  24370. responses:
  24371. "200":
  24372. description: OK
  24373. schema:
  24374. items:
  24375. $ref: '#/definitions/models.XHDeliveryGoods'
  24376. type: array
  24377. "500":
  24378. description: Internal Server Error
  24379. schema:
  24380. $ref: '#/definitions/app.Response'
  24381. security:
  24382. - ApiKeyAuth: []
  24383. summary: 查询现货商品详情
  24384. tags:
  24385. - 企业风险管理v3(app)
  24386. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24387. get:
  24388. parameters:
  24389. - description: 合同id
  24390. in: query
  24391. name: spotcontractid
  24392. required: true
  24393. type: string
  24394. produces:
  24395. - application/json
  24396. responses:
  24397. "200":
  24398. description: OK
  24399. schema:
  24400. items:
  24401. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24402. type: array
  24403. "500":
  24404. description: Internal Server Error
  24405. schema:
  24406. $ref: '#/definitions/app.Response'
  24407. security:
  24408. - ApiKeyAuth: []
  24409. summary: 查询现货合同期现配置信息
  24410. tags:
  24411. - 企业风险管理v3(app)
  24412. /Ermcp3/QueryExposureDetail:
  24413. get:
  24414. parameters:
  24415. - description: 用户id
  24416. in: query
  24417. name: userid
  24418. required: true
  24419. type: integer
  24420. - description: 用户类型 2-机构 7-企业成员
  24421. in: query
  24422. name: usertype
  24423. type: integer
  24424. - description: 套保商品
  24425. in: query
  24426. name: middlegoodsid
  24427. required: true
  24428. type: integer
  24429. produces:
  24430. - application/json
  24431. responses:
  24432. "200":
  24433. description: OK
  24434. schema:
  24435. items:
  24436. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24437. type: array
  24438. "500":
  24439. description: Internal Server Error
  24440. schema:
  24441. $ref: '#/definitions/app.Response'
  24442. security:
  24443. - ApiKeyAuth: []
  24444. summary: 查询敞口现货明细
  24445. tags:
  24446. - 企业风险管理v3(app)
  24447. /Ermcp3/QueryExposureSpot:
  24448. get:
  24449. parameters:
  24450. - description: 用户id
  24451. in: query
  24452. name: userid
  24453. required: true
  24454. type: integer
  24455. - description: 用户类型 2-机构 7-企业成员
  24456. in: query
  24457. name: usertype
  24458. type: integer
  24459. produces:
  24460. - application/json
  24461. responses:
  24462. "200":
  24463. description: OK
  24464. schema:
  24465. items:
  24466. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24467. type: array
  24468. "500":
  24469. description: Internal Server Error
  24470. schema:
  24471. $ref: '#/definitions/app.Response'
  24472. security:
  24473. - ApiKeyAuth: []
  24474. summary: 查询敞口现货头寸(敞口/现货头寸)
  24475. tags:
  24476. - 企业风险管理v3(app)
  24477. /Ermcp3/QueryExposureSpotDetail:
  24478. get:
  24479. parameters:
  24480. - description: 用户id
  24481. in: query
  24482. name: userid
  24483. required: true
  24484. type: integer
  24485. - description: 用户类型 2-机构 7-企业成员
  24486. in: query
  24487. name: usertype
  24488. type: integer
  24489. - description: 现货商品ID
  24490. in: query
  24491. name: wrstandardid
  24492. required: true
  24493. type: integer
  24494. produces:
  24495. - application/json
  24496. responses:
  24497. "200":
  24498. description: OK
  24499. schema:
  24500. items:
  24501. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24502. type: array
  24503. "500":
  24504. description: Internal Server Error
  24505. schema:
  24506. $ref: '#/definitions/app.Response'
  24507. security:
  24508. - ApiKeyAuth: []
  24509. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24510. tags:
  24511. - 企业风险管理v3(app)
  24512. /Ermcp3/QueryGoodsGroup:
  24513. get:
  24514. parameters:
  24515. - description: 用户id
  24516. in: query
  24517. name: userid
  24518. required: true
  24519. type: integer
  24520. - description: 用户类型 2-机构 7-企业成员
  24521. in: query
  24522. name: usertype
  24523. type: integer
  24524. - description: 排除套保品中已关联的商品组 1-排除
  24525. in: query
  24526. name: excludecfg
  24527. type: integer
  24528. produces:
  24529. - application/json
  24530. responses:
  24531. "200":
  24532. description: OK
  24533. schema:
  24534. items:
  24535. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  24536. type: array
  24537. "500":
  24538. description: Internal Server Error
  24539. schema:
  24540. $ref: '#/definitions/app.Response'
  24541. security:
  24542. - ApiKeyAuth: []
  24543. summary: 查询期货商品组
  24544. tags:
  24545. - 企业风险管理v3(app)
  24546. /Ermcp3/QueryGoodsWrstandard:
  24547. get:
  24548. parameters:
  24549. - description: 用户id
  24550. in: query
  24551. name: userid
  24552. required: true
  24553. type: integer
  24554. - description: 用户类型 2-机构 7-企业成员
  24555. in: query
  24556. name: usertype
  24557. type: integer
  24558. - description: 现货商品id
  24559. in: query
  24560. name: deliverygoodsid
  24561. type: integer
  24562. produces:
  24563. - application/json
  24564. responses:
  24565. "200":
  24566. description: OK
  24567. schema:
  24568. items:
  24569. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24570. type: array
  24571. "500":
  24572. description: Internal Server Error
  24573. schema:
  24574. $ref: '#/definitions/app.Response'
  24575. security:
  24576. - ApiKeyAuth: []
  24577. summary: 查询商品品类
  24578. tags:
  24579. - 企业风险管理v3(app)
  24580. /Ermcp3/QueryGoodsbrand:
  24581. get:
  24582. parameters:
  24583. - description: 用户id
  24584. in: query
  24585. name: userid
  24586. required: true
  24587. type: integer
  24588. - description: 用户类型 2-机构 7-企业成员
  24589. in: query
  24590. name: usertype
  24591. type: integer
  24592. produces:
  24593. - application/json
  24594. responses:
  24595. "200":
  24596. description: OK
  24597. schema:
  24598. items:
  24599. $ref: '#/definitions/models.Ermcp3Brand'
  24600. type: array
  24601. "500":
  24602. description: Internal Server Error
  24603. schema:
  24604. $ref: '#/definitions/app.Response'
  24605. security:
  24606. - ApiKeyAuth: []
  24607. summary: 查询商品品牌
  24608. tags:
  24609. - 企业风险管理v3(app)
  24610. /Ermcp3/QueryHPMiddleGoods:
  24611. get:
  24612. parameters:
  24613. - description: 用户ID(填登录用户的userid)
  24614. in: query
  24615. name: userid
  24616. required: true
  24617. type: integer
  24618. - description: 买卖方向 0-买 1-卖
  24619. in: query
  24620. name: buyorsell
  24621. required: true
  24622. type: integer
  24623. - description: 商品组id
  24624. in: query
  24625. name: goodsgroupid
  24626. required: true
  24627. type: integer
  24628. - description: 套保计划编号(模糊匹配)
  24629. in: query
  24630. name: hedgeplanno
  24631. type: string
  24632. - description: 现货商品名称(模糊匹配)
  24633. in: query
  24634. name: wrstandardname
  24635. type: string
  24636. produces:
  24637. - application/json
  24638. responses:
  24639. "200":
  24640. description: OK
  24641. schema:
  24642. items:
  24643. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24644. type: array
  24645. "500":
  24646. description: Internal Server Error
  24647. schema:
  24648. $ref: '#/definitions/app.Response'
  24649. security:
  24650. - ApiKeyAuth: []
  24651. summary: 查询可关联套保计划
  24652. tags:
  24653. - 企业风险管理v3(app)
  24654. /Ermcp3/QueryHedgePlan:
  24655. get:
  24656. parameters:
  24657. - description: 用户ID
  24658. in: query
  24659. name: userid
  24660. required: true
  24661. type: integer
  24662. - description: 用户类型 2-机构 7-企业成员
  24663. in: query
  24664. name: usertype
  24665. type: integer
  24666. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24667. in: query
  24668. name: hedgeplanstatus
  24669. required: true
  24670. type: string
  24671. produces:
  24672. - application/json
  24673. responses:
  24674. "200":
  24675. description: OK
  24676. schema:
  24677. items:
  24678. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24679. type: array
  24680. "500":
  24681. description: Internal Server Error
  24682. schema:
  24683. $ref: '#/definitions/app.Response'
  24684. security:
  24685. - ApiKeyAuth: []
  24686. summary: 查询套保计划
  24687. tags:
  24688. - 企业风险管理v3(app)
  24689. /Ermcp3/QueryInnerTradeLink:
  24690. get:
  24691. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24692. parameters:
  24693. - description: 外部成交单号
  24694. in: query
  24695. name: outtradeid
  24696. required: true
  24697. type: integer
  24698. produces:
  24699. - application/json
  24700. responses:
  24701. "200":
  24702. description: OK
  24703. schema:
  24704. items:
  24705. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24706. type: array
  24707. "500":
  24708. description: Internal Server Error
  24709. schema:
  24710. $ref: '#/definitions/app.Response'
  24711. security:
  24712. - ApiKeyAuth: []
  24713. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24714. tags:
  24715. - 企业风险管理v3(app)
  24716. /Ermcp3/QueryMiddleGoodsDetail:
  24717. get:
  24718. parameters:
  24719. - description: 用户id
  24720. in: query
  24721. name: userid
  24722. required: true
  24723. type: integer
  24724. - description: 用户类型 2-机构 7-企业成员
  24725. in: query
  24726. name: usertype
  24727. type: integer
  24728. - description: 套保品种id
  24729. in: query
  24730. name: middlegoodsid
  24731. type: integer
  24732. produces:
  24733. - application/json
  24734. responses:
  24735. "200":
  24736. description: OK
  24737. schema:
  24738. items:
  24739. $ref: '#/definitions/models.TBMiddleGoods'
  24740. type: array
  24741. "500":
  24742. description: Internal Server Error
  24743. schema:
  24744. $ref: '#/definitions/app.Response'
  24745. security:
  24746. - ApiKeyAuth: []
  24747. summary: 查询套保品种详情(套保品种/商品详情)
  24748. tags:
  24749. - 企业风险管理v3(app)
  24750. /Ermcp3/QueryOutTradeLink:
  24751. get:
  24752. description: 页面 app 现货->期现关联->外部成交单关联
  24753. parameters:
  24754. - description: 用户ID(填登录用户的userid)
  24755. in: query
  24756. name: userid
  24757. required: true
  24758. type: integer
  24759. - description: 外部订单号(模糊匹配)
  24760. in: query
  24761. name: outtradeid
  24762. type: string
  24763. - description: 合约名称/代码(模糊匹配)
  24764. in: query
  24765. name: goodsname
  24766. type: string
  24767. - description: 关联状态 0-未关联 1-已关联
  24768. in: query
  24769. name: hasinnerorder
  24770. type: integer
  24771. produces:
  24772. - application/json
  24773. responses:
  24774. "200":
  24775. description: OK
  24776. schema:
  24777. items:
  24778. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24779. type: array
  24780. "500":
  24781. description: Internal Server Error
  24782. schema:
  24783. $ref: '#/definitions/app.Response'
  24784. security:
  24785. - ApiKeyAuth: []
  24786. summary: 查询外部成交单关联
  24787. tags:
  24788. - 企业风险管理v3(app)
  24789. /Ermcp3/QueryPaAreaAuditCfg:
  24790. get:
  24791. parameters:
  24792. - description: 用户id
  24793. in: query
  24794. name: userid
  24795. required: true
  24796. type: integer
  24797. produces:
  24798. - application/json
  24799. responses:
  24800. "200":
  24801. description: OK
  24802. schema:
  24803. items:
  24804. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24805. type: array
  24806. "500":
  24807. description: Internal Server Error
  24808. schema:
  24809. $ref: '#/definitions/app.Response'
  24810. security:
  24811. - ApiKeyAuth: []
  24812. summary: 查询审核设置
  24813. tags:
  24814. - 企业风险管理v3(app)
  24815. /Ermcp3/QueryPaAreaSubject:
  24816. get:
  24817. parameters:
  24818. - description: 用户id
  24819. in: query
  24820. name: userid
  24821. required: true
  24822. type: integer
  24823. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24824. in: query
  24825. name: subjectid
  24826. type: integer
  24827. - description: 主体类型 - 1:交易主体 2:业务部门
  24828. in: query
  24829. name: subjecttype
  24830. type: integer
  24831. - description: '主体状态 - 1:正常 2: 停用'
  24832. in: query
  24833. name: subjectstatus
  24834. type: integer
  24835. produces:
  24836. - application/json
  24837. responses:
  24838. "200":
  24839. description: OK
  24840. schema:
  24841. items:
  24842. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24843. type: array
  24844. "500":
  24845. description: Internal Server Error
  24846. schema:
  24847. $ref: '#/definitions/app.Response'
  24848. security:
  24849. - ApiKeyAuth: []
  24850. summary: 查询交易主体
  24851. tags:
  24852. - 企业风险管理v3(app)
  24853. /Ermcp3/QueryPaTradeLink:
  24854. get:
  24855. description: 页面 app 现货->期现关联->期现单据关联
  24856. parameters:
  24857. - description: 用户ID
  24858. in: query
  24859. name: userid
  24860. required: true
  24861. type: integer
  24862. produces:
  24863. - application/json
  24864. responses:
  24865. "200":
  24866. description: OK
  24867. schema:
  24868. items:
  24869. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24870. type: array
  24871. "500":
  24872. description: Internal Server Error
  24873. schema:
  24874. $ref: '#/definitions/app.Response'
  24875. security:
  24876. - ApiKeyAuth: []
  24877. summary: 查询期现单据关联
  24878. tags:
  24879. - 企业风险管理v3(app)
  24880. /Ermcp3/QueryPaTradeLinkDetail:
  24881. get:
  24882. description: 页面 app 现货->期现关联->关联记录
  24883. parameters:
  24884. - description: 用户ID(填登录用户的userid)
  24885. in: query
  24886. name: userid
  24887. required: true
  24888. type: integer
  24889. - description: 关联状态 1:成功 2:失败 3:解绑
  24890. in: query
  24891. name: linkstatus
  24892. type: integer
  24893. - description: 期货订单号(模糊匹配)
  24894. in: query
  24895. name: tradeid
  24896. type: string
  24897. - description: 现货编号(模糊匹配)
  24898. in: query
  24899. name: contractno
  24900. type: string
  24901. - description: 期货账户(模糊匹配)
  24902. in: query
  24903. name: taname
  24904. type: string
  24905. produces:
  24906. - application/json
  24907. responses:
  24908. "200":
  24909. description: OK
  24910. schema:
  24911. items:
  24912. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24913. type: array
  24914. "500":
  24915. description: Internal Server Error
  24916. schema:
  24917. $ref: '#/definitions/app.Response'
  24918. security:
  24919. - ApiKeyAuth: []
  24920. summary: 查询期现关联记录
  24921. tags:
  24922. - 企业风险管理v3(app)
  24923. /Ermcp3/QueryParamChangeApp:
  24924. get:
  24925. description: |-
  24926. 原型页面:
  24927. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24928. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24929. parameters:
  24930. - description: 用户ID
  24931. in: query
  24932. name: userid
  24933. required: true
  24934. type: integer
  24935. - description: 现货品种id
  24936. in: query
  24937. name: deliverygoodsid
  24938. type: integer
  24939. - description: 现货商品id
  24940. in: query
  24941. name: wrstandardid
  24942. type: integer
  24943. - description: 套保商品id
  24944. in: query
  24945. name: middlegoodsid
  24946. type: integer
  24947. - description: 操作类型 1:新增 2:修改
  24948. in: query
  24949. name: operatetype
  24950. type: integer
  24951. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24952. in: query
  24953. name: paramchangetype
  24954. type: integer
  24955. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24956. in: query
  24957. name: ftstatus
  24958. type: string
  24959. produces:
  24960. - application/json
  24961. responses:
  24962. "200":
  24963. description: OK
  24964. schema:
  24965. items:
  24966. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24967. type: array
  24968. "500":
  24969. description: Internal Server Error
  24970. schema:
  24971. $ref: '#/definitions/app.Response'
  24972. security:
  24973. - ApiKeyAuth: []
  24974. summary: 查询现货商品参数变更申请(流水)
  24975. tags:
  24976. - 企业风险管理v3(app)
  24977. /Ermcp3/QueryRootUserAccount:
  24978. get:
  24979. parameters:
  24980. - description: 用户ID
  24981. in: query
  24982. name: userid
  24983. required: true
  24984. type: integer
  24985. produces:
  24986. - application/json
  24987. responses:
  24988. "200":
  24989. description: OK
  24990. schema:
  24991. items:
  24992. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24993. type: array
  24994. "500":
  24995. description: Internal Server Error
  24996. schema:
  24997. $ref: '#/definitions/app.Response'
  24998. security:
  24999. - ApiKeyAuth: []
  25000. summary: 查询顶级用户信息
  25001. tags:
  25002. - 企业风险管理v3(app)
  25003. /Ermcp3/QuerySCMiddleGoods:
  25004. get:
  25005. description: |-
  25006. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  25007. 现货编号 即 合同编号
  25008. parameters:
  25009. - description: 用户ID(填登录用户的userid)
  25010. in: query
  25011. name: userid
  25012. required: true
  25013. type: integer
  25014. - description: 买卖方向 0-买 1-卖
  25015. in: query
  25016. name: buyorsell
  25017. required: true
  25018. type: integer
  25019. - description: 商品组id
  25020. in: query
  25021. name: goodsgroupid
  25022. required: true
  25023. type: integer
  25024. - description: 业务类型 1:套保 2:套利
  25025. in: query
  25026. name: biztype
  25027. type: integer
  25028. - description: 现货编号(模糊匹配)
  25029. in: query
  25030. name: contractno
  25031. type: string
  25032. - description: 对手方(模糊匹配)
  25033. in: query
  25034. name: customername
  25035. type: string
  25036. - description: 现货商品名称(模糊匹配)
  25037. in: query
  25038. name: wrstandardname
  25039. type: string
  25040. produces:
  25041. - application/json
  25042. responses:
  25043. "200":
  25044. description: OK
  25045. schema:
  25046. items:
  25047. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  25048. type: array
  25049. "500":
  25050. description: Internal Server Error
  25051. schema:
  25052. $ref: '#/definitions/app.Response'
  25053. security:
  25054. - ApiKeyAuth: []
  25055. summary: 查询现货订单
  25056. tags:
  25057. - 企业风险管理v3(app)
  25058. /Ermcp3/QuerySpotContract:
  25059. get:
  25060. parameters:
  25061. - description: 用户id(当指定contractid, userid可不填)
  25062. in: query
  25063. name: userid
  25064. required: true
  25065. type: integer
  25066. - description: 用户类型 2-机构 7-企业成员
  25067. in: query
  25068. name: usertype
  25069. type: integer
  25070. - description: 合同类型 1-采购, -1-销售
  25071. in: query
  25072. name: contracttype
  25073. type: integer
  25074. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  25075. in: query
  25076. name: querytype
  25077. type: string
  25078. - description: 合同ID(SpotContractId)
  25079. in: query
  25080. name: contractid
  25081. type: string
  25082. - description: 合同编号(模糊匹配)
  25083. in: query
  25084. name: contractno
  25085. type: string
  25086. - description: 商品名称(模糊匹配)
  25087. in: query
  25088. name: wrstandardname
  25089. type: string
  25090. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25091. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25092. in: query
  25093. name: status
  25094. type: string
  25095. - description: 是否只查今日的合同 1-查今日合同
  25096. in: query
  25097. name: istoday
  25098. type: integer
  25099. produces:
  25100. - application/json
  25101. responses:
  25102. "200":
  25103. description: OK
  25104. schema:
  25105. items:
  25106. $ref: '#/definitions/models.Ermcp3Contract'
  25107. type: array
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 查询现货合同
  25115. tags:
  25116. - 企业风险管理v3(app)
  25117. /Ermcp3/QuerySpotContractBS:
  25118. get:
  25119. parameters:
  25120. - description: 用户id
  25121. in: query
  25122. name: userid
  25123. required: true
  25124. type: integer
  25125. - description: 用户类型 2-机构 7-企业成员
  25126. in: query
  25127. name: usertype
  25128. type: integer
  25129. - description: 合同类型 1-采购, -1-销售
  25130. in: query
  25131. name: contracttype
  25132. required: true
  25133. type: integer
  25134. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25135. in: query
  25136. name: querytype
  25137. type: integer
  25138. - description: 合同ID(SpotContractId)
  25139. in: query
  25140. name: contractid
  25141. type: string
  25142. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25143. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25144. in: query
  25145. name: status
  25146. type: string
  25147. - description: 是否只查今日的合同 1-查今日合同
  25148. in: query
  25149. name: istoday
  25150. type: integer
  25151. produces:
  25152. - application/json
  25153. responses:
  25154. "200":
  25155. description: OK
  25156. schema:
  25157. items:
  25158. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25159. type: array
  25160. "500":
  25161. description: Internal Server Error
  25162. schema:
  25163. $ref: '#/definitions/app.Response'
  25164. security:
  25165. - ApiKeyAuth: []
  25166. summary: 查询合同(采购/销售)
  25167. tags:
  25168. - 企业风险管理v3(app)
  25169. /Ermcp3/QuerySpotGoodsPrice:
  25170. get:
  25171. parameters:
  25172. - description: 用户ID
  25173. in: query
  25174. name: userid
  25175. required: true
  25176. type: integer
  25177. produces:
  25178. - application/json
  25179. responses:
  25180. "200":
  25181. description: OK
  25182. schema:
  25183. items:
  25184. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25185. type: array
  25186. "500":
  25187. description: Internal Server Error
  25188. schema:
  25189. $ref: '#/definitions/app.Response'
  25190. security:
  25191. - ApiKeyAuth: []
  25192. summary: 查询现货市价(现货市价)
  25193. tags:
  25194. - 企业风险管理v3(app)
  25195. /Ermcp3/QuerySpotGoodsPriceLog:
  25196. get:
  25197. parameters:
  25198. - description: 用户ID
  25199. in: query
  25200. name: userid
  25201. required: true
  25202. type: integer
  25203. - description: 现货商品ID
  25204. in: query
  25205. name: deliverygoodsid
  25206. required: true
  25207. type: integer
  25208. - description: 品牌ID
  25209. in: query
  25210. name: brandid
  25211. type: integer
  25212. - description: 品类ID
  25213. in: query
  25214. name: wrstandardid
  25215. type: integer
  25216. produces:
  25217. - application/json
  25218. responses:
  25219. "200":
  25220. description: OK
  25221. schema:
  25222. items:
  25223. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25224. type: array
  25225. "500":
  25226. description: Internal Server Error
  25227. schema:
  25228. $ref: '#/definitions/app.Response'
  25229. security:
  25230. - ApiKeyAuth: []
  25231. summary: 查询现货市价详情(现货市价/详情)
  25232. tags:
  25233. - 企业风险管理v3(app)
  25234. /Ermcp3/QuerySubTaaccount:
  25235. get:
  25236. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25237. parameters:
  25238. - description: 母账号id
  25239. in: query
  25240. name: parentaccountid
  25241. type: integer
  25242. - description: 母账号代码
  25243. in: query
  25244. name: parentaccountcode
  25245. type: string
  25246. produces:
  25247. - application/json
  25248. responses:
  25249. "200":
  25250. description: OK
  25251. schema:
  25252. items:
  25253. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25254. type: array
  25255. "500":
  25256. description: Internal Server Error
  25257. schema:
  25258. $ref: '#/definitions/app.Response'
  25259. security:
  25260. - ApiKeyAuth: []
  25261. summary: 查询期货子账户
  25262. tags:
  25263. - 企业风险管理v3(app)
  25264. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25265. get:
  25266. parameters:
  25267. - description: 套期项目ID
  25268. in: query
  25269. name: hedgeditemid
  25270. required: true
  25271. type: integer
  25272. produces:
  25273. - application/json
  25274. responses:
  25275. "200":
  25276. description: OK
  25277. schema:
  25278. items:
  25279. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  25280. type: array
  25281. "500":
  25282. description: Internal Server Error
  25283. schema:
  25284. $ref: '#/definitions/app.Response'
  25285. security:
  25286. - ApiKeyAuth: []
  25287. summary: 现货成交明细查询
  25288. tags:
  25289. - 企业风险管理v8
  25290. /Ermcp8/QueryERMCP2HedgedItemspot:
  25291. get:
  25292. parameters:
  25293. - description: 套期项目ID
  25294. in: query
  25295. name: hedgeditemid
  25296. required: true
  25297. type: integer
  25298. produces:
  25299. - application/json
  25300. responses:
  25301. "200":
  25302. description: OK
  25303. schema:
  25304. items:
  25305. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  25306. type: array
  25307. "500":
  25308. description: Internal Server Error
  25309. schema:
  25310. $ref: '#/definitions/app.Response'
  25311. security:
  25312. - ApiKeyAuth: []
  25313. summary: 套期计划明细查询
  25314. tags:
  25315. - 企业风险管理v8
  25316. /Ermcp8/QueryERMCPJRLinkPos:
  25317. get:
  25318. parameters:
  25319. - description: 套期项目ID
  25320. in: query
  25321. name: hedgeditemid
  25322. required: true
  25323. type: integer
  25324. produces:
  25325. - application/json
  25326. responses:
  25327. "200":
  25328. description: OK
  25329. schema:
  25330. items:
  25331. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25332. type: array
  25333. "500":
  25334. description: Internal Server Error
  25335. schema:
  25336. $ref: '#/definitions/app.Response'
  25337. security:
  25338. - ApiKeyAuth: []
  25339. summary: 期货持仓明细查询
  25340. tags:
  25341. - 企业风险管理v8
  25342. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25343. get:
  25344. parameters:
  25345. - description: 套期项目ID
  25346. in: query
  25347. name: hedgeditemid
  25348. required: true
  25349. type: integer
  25350. produces:
  25351. - application/json
  25352. responses:
  25353. "200":
  25354. description: OK
  25355. schema:
  25356. items:
  25357. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25358. type: array
  25359. "500":
  25360. description: Internal Server Error
  25361. schema:
  25362. $ref: '#/definitions/app.Response'
  25363. security:
  25364. - ApiKeyAuth: []
  25365. summary: 期货成交单明细查询
  25366. tags:
  25367. - 企业风险管理v8
  25368. /Ermcp8/QueryErmcp2AreaExposure:
  25369. get:
  25370. parameters:
  25371. - description: 用户ID
  25372. in: query
  25373. name: userid
  25374. required: true
  25375. type: string
  25376. produces:
  25377. - application/json
  25378. responses:
  25379. "200":
  25380. description: OK
  25381. schema:
  25382. items:
  25383. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25384. type: array
  25385. "500":
  25386. description: Internal Server Error
  25387. schema:
  25388. $ref: '#/definitions/app.Response'
  25389. security:
  25390. - ApiKeyAuth: []
  25391. summary: 企业敞口查询
  25392. tags:
  25393. - 企业风险管理v8
  25394. /Ermcp8/QueryErmcp2HedgedItem:
  25395. get:
  25396. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25397. parameters:
  25398. - description: 用户ID
  25399. in: query
  25400. name: userid
  25401. required: true
  25402. type: string
  25403. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25404. in: query
  25405. name: hedgedtype
  25406. type: integer
  25407. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25408. in: query
  25409. name: hedgeditemstatus
  25410. type: integer
  25411. produces:
  25412. - application/json
  25413. responses:
  25414. "200":
  25415. description: OK
  25416. schema:
  25417. items:
  25418. $ref: '#/definitions/models.Ermcp2hedgeditem'
  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/QueryErmcp2HedgedItemsDetail:
  25430. get:
  25431. parameters:
  25432. - description: 用户ID
  25433. in: query
  25434. name: userid
  25435. required: true
  25436. type: integer
  25437. - description: 套保品种ID
  25438. in: query
  25439. name: middlegoodsid
  25440. required: true
  25441. type: integer
  25442. produces:
  25443. - application/json
  25444. responses:
  25445. "200":
  25446. description: OK
  25447. schema:
  25448. items:
  25449. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25450. type: array
  25451. "500":
  25452. description: Internal Server Error
  25453. schema:
  25454. $ref: '#/definitions/app.Response'
  25455. security:
  25456. - ApiKeyAuth: []
  25457. summary: 敞口明细 - 计划变动明细
  25458. tags:
  25459. - 企业风险管理v8
  25460. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25461. get:
  25462. parameters:
  25463. - description: 用户ID
  25464. in: query
  25465. name: userid
  25466. required: true
  25467. type: integer
  25468. - description: 套保品种ID
  25469. in: query
  25470. name: middlegoodsid
  25471. required: true
  25472. type: integer
  25473. produces:
  25474. - application/json
  25475. responses:
  25476. "200":
  25477. description: OK
  25478. schema:
  25479. items:
  25480. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25481. type: array
  25482. "500":
  25483. description: Internal Server Error
  25484. schema:
  25485. $ref: '#/definitions/app.Response'
  25486. security:
  25487. - ApiKeyAuth: []
  25488. summary: 敞口明细 - 现货变动明细查询
  25489. tags:
  25490. - 企业风险管理v8
  25491. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25492. get:
  25493. parameters:
  25494. - description: 用户ID
  25495. in: query
  25496. name: userid
  25497. required: true
  25498. type: integer
  25499. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25500. in: query
  25501. name: spottype
  25502. required: true
  25503. type: integer
  25504. produces:
  25505. - application/json
  25506. responses:
  25507. "200":
  25508. description: OK
  25509. schema:
  25510. items:
  25511. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  25512. type: array
  25513. "500":
  25514. description: Internal Server Error
  25515. schema:
  25516. $ref: '#/definitions/app.Response'
  25517. security:
  25518. - ApiKeyAuth: []
  25519. summary: 可关联项目查询
  25520. tags:
  25521. - 企业风险管理v8
  25522. /Ermcp8/QueryErmcp8HedgeditemReport:
  25523. get:
  25524. parameters:
  25525. - description: 用户ID
  25526. in: query
  25527. name: userid
  25528. required: true
  25529. type: integer
  25530. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25531. in: query
  25532. name: cycletype
  25533. type: integer
  25534. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25535. 全(0)【原值】
  25536. in: query
  25537. name: cycletime
  25538. required: true
  25539. type: string
  25540. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25541. in: query
  25542. name: hedgedtype
  25543. type: integer
  25544. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25545. in: query
  25546. name: hedgeditemstatus
  25547. type: integer
  25548. - description: 项目编号,模糊查询
  25549. in: query
  25550. name: hedgeditemnum
  25551. type: string
  25552. - description: 现货商品ID
  25553. in: query
  25554. name: wrstandardid
  25555. type: integer
  25556. produces:
  25557. - application/json
  25558. responses:
  25559. "200":
  25560. description: OK
  25561. schema:
  25562. items:
  25563. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25564. type: array
  25565. "500":
  25566. description: Internal Server Error
  25567. schema:
  25568. $ref: '#/definitions/app.Response'
  25569. security:
  25570. - ApiKeyAuth: []
  25571. summary: 套期项目报表查询
  25572. tags:
  25573. - 企业风险管理v8
  25574. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25575. get:
  25576. parameters:
  25577. - description: 用户ID
  25578. in: query
  25579. name: userid
  25580. required: true
  25581. type: string
  25582. produces:
  25583. - application/json
  25584. responses:
  25585. "200":
  25586. description: OK
  25587. schema:
  25588. items:
  25589. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25590. type: array
  25591. "500":
  25592. description: Internal Server Error
  25593. schema:
  25594. $ref: '#/definitions/app.Response'
  25595. security:
  25596. - ApiKeyAuth: []
  25597. summary: 查询执行中项目查询信息
  25598. tags:
  25599. - 企业风险管理v8
  25600. /Ermcp8/QueryInternalEnableTradeDetail:
  25601. get:
  25602. parameters:
  25603. - description: 企业ID
  25604. in: query
  25605. name: areauserid
  25606. required: true
  25607. type: integer
  25608. - description: 期货合约ID
  25609. in: query
  25610. name: goodsid
  25611. required: true
  25612. type: integer
  25613. produces:
  25614. - application/json
  25615. responses:
  25616. "200":
  25617. description: OK
  25618. schema:
  25619. items:
  25620. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25621. type: array
  25622. "500":
  25623. description: Internal Server Error
  25624. schema:
  25625. $ref: '#/definitions/app.Response'
  25626. security:
  25627. - ApiKeyAuth: []
  25628. summary: 内部成交单可关联项目查询
  25629. tags:
  25630. - 企业风险管理v8
  25631. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25632. get:
  25633. parameters:
  25634. - description: 用户编号
  25635. in: query
  25636. name: userid
  25637. required: true
  25638. type: integer
  25639. - description: 起始日期(格式yyyymmdd)
  25640. in: query
  25641. name: begindate
  25642. type: string
  25643. - description: 终止日期(格式yyyymmdd)
  25644. in: query
  25645. name: enddate
  25646. type: string
  25647. - description: 合约代码
  25648. in: query
  25649. name: goodscode
  25650. type: string
  25651. - description: 合约名称
  25652. in: query
  25653. name: goodsname
  25654. type: string
  25655. - description: 成交单号
  25656. in: query
  25657. name: tradeid
  25658. type: integer
  25659. - description: 方向 - 0:买 1:卖
  25660. in: query
  25661. name: buyorsell
  25662. type: integer
  25663. - description: 套期主体
  25664. in: query
  25665. name: accountname
  25666. type: string
  25667. produces:
  25668. - application/json
  25669. responses:
  25670. "200":
  25671. description: OK
  25672. schema:
  25673. items:
  25674. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25675. type: array
  25676. "500":
  25677. description: Internal Server Error
  25678. schema:
  25679. $ref: '#/definitions/app.Response'
  25680. security:
  25681. - ApiKeyAuth: []
  25682. summary: 内部未关联成交单查询
  25683. tags:
  25684. - 企业风险管理v8
  25685. /Ermcp8/QueryPatradeLinkDetail:
  25686. get:
  25687. parameters:
  25688. - description: 用户ID
  25689. in: query
  25690. name: userid
  25691. required: true
  25692. type: integer
  25693. - description: 套保品种ID
  25694. in: query
  25695. name: middlegoodsid
  25696. required: true
  25697. type: integer
  25698. produces:
  25699. - application/json
  25700. responses:
  25701. "200":
  25702. description: OK
  25703. schema:
  25704. items:
  25705. $ref: '#/definitions/models.Patradelinkdetail'
  25706. type: array
  25707. "500":
  25708. description: Internal Server Error
  25709. schema:
  25710. $ref: '#/definitions/app.Response'
  25711. security:
  25712. - ApiKeyAuth: []
  25713. summary: 敞口明细 - 期货变动明细
  25714. tags:
  25715. - 企业风险管理v8
  25716. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25717. get:
  25718. parameters:
  25719. - description: 企业ID
  25720. in: query
  25721. name: areauserid
  25722. required: true
  25723. type: integer
  25724. - description: 计划类型 - 1:采购 -1:销售
  25725. in: query
  25726. name: contracttype
  25727. type: integer
  25728. - description: 计划编号,模糊查询
  25729. in: query
  25730. name: hedgeplanno
  25731. type: string
  25732. - description: 现货商品,模糊查询
  25733. in: query
  25734. name: wrstandardname
  25735. type: string
  25736. produces:
  25737. - application/json
  25738. responses:
  25739. "200":
  25740. description: OK
  25741. schema:
  25742. items:
  25743. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25744. type: array
  25745. "500":
  25746. description: Internal Server Error
  25747. schema:
  25748. $ref: '#/definitions/app.Response'
  25749. security:
  25750. - ApiKeyAuth: []
  25751. summary: 未关联购销计划
  25752. tags:
  25753. - 企业风险管理v8
  25754. /Ermcp8/QueryUnLinkSpotContract:
  25755. get:
  25756. parameters:
  25757. - description: 用户ID
  25758. in: query
  25759. name: userid
  25760. required: true
  25761. type: integer
  25762. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25763. in: query
  25764. name: pricetype
  25765. type: integer
  25766. - description: 合同编号, 模拟查询
  25767. in: query
  25768. name: contractno
  25769. type: string
  25770. - description: 对手方, 模拟查询
  25771. in: query
  25772. name: customername
  25773. type: string
  25774. - description: 项合同类型 - 1:采购 -1:销售
  25775. in: query
  25776. name: contracttype
  25777. type: integer
  25778. produces:
  25779. - application/json
  25780. responses:
  25781. "200":
  25782. description: OK
  25783. schema:
  25784. items:
  25785. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25786. type: array
  25787. "500":
  25788. description: Internal Server Error
  25789. schema:
  25790. $ref: '#/definitions/app.Response'
  25791. security:
  25792. - ApiKeyAuth: []
  25793. summary: 未关联合同查询
  25794. tags:
  25795. - 企业风险管理v8
  25796. /Erms2/QueryArbitrageStrategy:
  25797. get:
  25798. parameters:
  25799. - description: 账户ID
  25800. in: query
  25801. name: userid
  25802. required: true
  25803. type: integer
  25804. - description: 商品组ID(品种ID)
  25805. in: query
  25806. name: goodsgroupid
  25807. type: string
  25808. produces:
  25809. - application/json
  25810. responses:
  25811. "200":
  25812. description: OK
  25813. schema:
  25814. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25815. "500":
  25816. description: Internal Server Error
  25817. schema:
  25818. $ref: '#/definitions/app.Response'
  25819. security:
  25820. - ApiKeyAuth: []
  25821. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25822. tags:
  25823. - 风险管理
  25824. /Erms2/QueryInnerTradeDetail:
  25825. get:
  25826. parameters:
  25827. - description: 资金账户
  25828. in: query
  25829. name: accountid
  25830. required: true
  25831. type: integer
  25832. produces:
  25833. - application/json
  25834. responses:
  25835. "200":
  25836. description: OK
  25837. schema:
  25838. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25839. "500":
  25840. description: Internal Server Error
  25841. schema:
  25842. $ref: '#/definitions/app.Response'
  25843. security:
  25844. - ApiKeyAuth: []
  25845. summary: 查询内部成交单信息
  25846. tags:
  25847. - 风险管理
  25848. /Erms2/QuerySpotContract:
  25849. get:
  25850. parameters:
  25851. - description: 策略申请ID
  25852. in: query
  25853. name: asapplyid
  25854. required: true
  25855. type: integer
  25856. - description: 现货合同ID
  25857. in: query
  25858. name: spotcontractid
  25859. type: integer
  25860. produces:
  25861. - application/json
  25862. responses:
  25863. "200":
  25864. description: OK
  25865. schema:
  25866. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  25867. "500":
  25868. description: Internal Server Error
  25869. schema:
  25870. $ref: '#/definitions/app.Response'
  25871. security:
  25872. - ApiKeyAuth: []
  25873. summary: 查询现货合同表信息(指定策略ID、未结束的)
  25874. tags:
  25875. - 风险管理
  25876. /Erms3/AddErms2ASApply:
  25877. post:
  25878. parameters:
  25879. - description: 申请参数
  25880. in: body
  25881. name: jsonBody
  25882. required: true
  25883. schema:
  25884. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  25885. produces:
  25886. - application/json
  25887. responses:
  25888. "200":
  25889. description: OK
  25890. schema:
  25891. $ref: '#/definitions/app.Response'
  25892. "500":
  25893. description: Internal Server Error
  25894. schema:
  25895. $ref: '#/definitions/app.Response'
  25896. security:
  25897. - ApiKeyAuth: []
  25898. summary: 新增期现套利业务申请
  25899. tags:
  25900. - 风险管理v3
  25901. /Erms3/AddErms2SpotTradeApply:
  25902. post:
  25903. parameters:
  25904. - description: 申请参数
  25905. in: body
  25906. name: jsonBody
  25907. required: true
  25908. schema:
  25909. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  25910. produces:
  25911. - application/json
  25912. responses:
  25913. "200":
  25914. description: OK
  25915. schema:
  25916. $ref: '#/definitions/app.Response'
  25917. "500":
  25918. description: Internal Server Error
  25919. schema:
  25920. $ref: '#/definitions/app.Response'
  25921. security:
  25922. - ApiKeyAuth: []
  25923. summary: 新增现货贸易业务申请
  25924. tags:
  25925. - 风险管理v3
  25926. /Erms3/AddSpotContractApply:
  25927. post:
  25928. parameters:
  25929. - description: 申请参数
  25930. in: body
  25931. name: jsonBody
  25932. required: true
  25933. schema:
  25934. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  25935. produces:
  25936. - application/json
  25937. responses:
  25938. "200":
  25939. description: OK
  25940. schema:
  25941. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  25942. "500":
  25943. description: Internal Server Error
  25944. schema:
  25945. $ref: '#/definitions/app.Response'
  25946. security:
  25947. - ApiKeyAuth: []
  25948. summary: 新增现货合同申请
  25949. tags:
  25950. - 风险管理v3
  25951. /Erms3/AddUserInfoApply:
  25952. post:
  25953. parameters:
  25954. - description: 用户信息
  25955. in: body
  25956. name: jsonBody
  25957. required: true
  25958. schema:
  25959. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  25960. produces:
  25961. - application/json
  25962. responses:
  25963. "200":
  25964. description: OK
  25965. schema:
  25966. $ref: '#/definitions/app.Response'
  25967. "500":
  25968. description: Internal Server Error
  25969. schema:
  25970. $ref: '#/definitions/app.Response'
  25971. security:
  25972. - ApiKeyAuth: []
  25973. summary: 新增客户申请
  25974. tags:
  25975. - 风险管理v3
  25976. /Erms3/DeleteUserInfoApply:
  25977. get:
  25978. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  25979. parameters:
  25980. - description: 用户ID
  25981. in: query
  25982. name: userID
  25983. required: true
  25984. type: integer
  25985. produces:
  25986. - application/json
  25987. responses:
  25988. "200":
  25989. description: OK
  25990. schema:
  25991. $ref: '#/definitions/app.Response'
  25992. "500":
  25993. description: Internal Server Error
  25994. schema:
  25995. $ref: '#/definitions/app.Response'
  25996. security:
  25997. - ApiKeyAuth: []
  25998. summary: 删除客户申请
  25999. tags:
  26000. - 风险管理v3
  26001. /Erms3/ModifyUserInfoApply:
  26002. post:
  26003. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  26004. int, "userstate": 2 }'
  26005. parameters:
  26006. - description: 用户信息
  26007. in: body
  26008. name: jsonBody
  26009. required: true
  26010. schema:
  26011. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  26012. produces:
  26013. - application/json
  26014. responses:
  26015. "200":
  26016. description: OK
  26017. schema:
  26018. $ref: '#/definitions/app.Response'
  26019. "500":
  26020. description: Internal Server Error
  26021. schema:
  26022. $ref: '#/definitions/app.Response'
  26023. security:
  26024. - ApiKeyAuth: []
  26025. summary: 修改客户申请
  26026. tags:
  26027. - 风险管理v3
  26028. /Erms3/QueryBusinessInfo:
  26029. get:
  26030. parameters:
  26031. - description: 资金账号ID列表,用逗号分隔
  26032. in: query
  26033. name: accountids
  26034. required: true
  26035. type: string
  26036. - description: 状态,0为未结束 1为已结束
  26037. in: query
  26038. name: status
  26039. required: true
  26040. type: integer
  26041. produces:
  26042. - application/json
  26043. responses:
  26044. "200":
  26045. description: OK
  26046. schema:
  26047. items:
  26048. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  26049. type: array
  26050. "500":
  26051. description: Internal Server Error
  26052. schema:
  26053. $ref: '#/definitions/app.Response'
  26054. security:
  26055. - ApiKeyAuth: []
  26056. summary: 查询业务表单数据
  26057. tags:
  26058. - 风险管理v3
  26059. /Erms3/QueryPendingAuditContract:
  26060. get:
  26061. parameters:
  26062. - description: 资金账号ID列表,逗号隔开
  26063. in: query
  26064. name: accountids
  26065. required: true
  26066. type: string
  26067. - description: 合同类型 1-采购 -1-销售
  26068. in: query
  26069. name: contracttype
  26070. required: true
  26071. type: integer
  26072. - description: 合同模式 1-普通 2-回购
  26073. in: query
  26074. name: contractmode
  26075. required: true
  26076. type: integer
  26077. produces:
  26078. - application/json
  26079. responses:
  26080. "200":
  26081. description: OK
  26082. schema:
  26083. items:
  26084. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26085. type: array
  26086. "500":
  26087. description: Internal Server Error
  26088. schema:
  26089. $ref: '#/definitions/app.Response'
  26090. security:
  26091. - ApiKeyAuth: []
  26092. summary: 查询待审核合同
  26093. tags:
  26094. - 风险管理v3
  26095. /Erms3/QueryPendingBusiness:
  26096. get:
  26097. parameters:
  26098. - description: 资金账号ID列表,逗号隔开
  26099. in: query
  26100. name: accountids
  26101. required: true
  26102. type: string
  26103. produces:
  26104. - application/json
  26105. responses:
  26106. "200":
  26107. description: OK
  26108. schema:
  26109. items:
  26110. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26111. type: array
  26112. "500":
  26113. description: Internal Server Error
  26114. schema:
  26115. $ref: '#/definitions/app.Response'
  26116. security:
  26117. - ApiKeyAuth: []
  26118. summary: 查询待审核基差贸易业务
  26119. tags:
  26120. - 风险管理v3
  26121. /Erms3/QuerySpotContractAppleForm:
  26122. get:
  26123. parameters:
  26124. - description: 登录账号
  26125. in: query
  26126. name: loginID
  26127. required: true
  26128. type: integer
  26129. produces:
  26130. - application/json
  26131. responses:
  26132. "200":
  26133. description: OK
  26134. schema:
  26135. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26136. "500":
  26137. description: Internal Server Error
  26138. schema:
  26139. $ref: '#/definitions/app.Response'
  26140. security:
  26141. - ApiKeyAuth: []
  26142. summary: 查询合同申请表单数据
  26143. tags:
  26144. - 风险管理v3
  26145. /Erms3/QuerySpotContractDetail:
  26146. get:
  26147. parameters:
  26148. - description: 资金账号ID列表,用逗号分隔
  26149. in: query
  26150. name: accountids
  26151. required: true
  26152. type: string
  26153. - description: 合同类型,1为采购合同 -1为销售合同
  26154. in: query
  26155. name: contracttype
  26156. required: true
  26157. type: integer
  26158. - description: 合同模式,1为普通合同 2为回购销售合同
  26159. in: query
  26160. name: contractmode
  26161. required: true
  26162. type: integer
  26163. - description: 状态,0为履约中 1为已完成
  26164. in: query
  26165. name: status
  26166. required: true
  26167. type: integer
  26168. produces:
  26169. - application/json
  26170. responses:
  26171. "200":
  26172. description: OK
  26173. schema:
  26174. items:
  26175. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26176. type: array
  26177. "500":
  26178. description: Internal Server Error
  26179. schema:
  26180. $ref: '#/definitions/app.Response'
  26181. security:
  26182. - ApiKeyAuth: []
  26183. summary: 查询合同详细信息
  26184. tags:
  26185. - 风险管理v3
  26186. /Erms3/QueryUserInfoApplies:
  26187. get:
  26188. parameters:
  26189. - description: 页码
  26190. in: query
  26191. name: page
  26192. type: integer
  26193. - description: 每页条数
  26194. in: query
  26195. name: pagesize
  26196. type: integer
  26197. - description: 客户名称,支持模糊查询
  26198. in: query
  26199. name: userName
  26200. type: string
  26201. produces:
  26202. - application/json
  26203. responses:
  26204. "200":
  26205. description: OK
  26206. schema:
  26207. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26208. "500":
  26209. description: Internal Server Error
  26210. schema:
  26211. $ref: '#/definitions/app.Response'
  26212. security:
  26213. - ApiKeyAuth: []
  26214. summary: 客户申请信息查询
  26215. tags:
  26216. - 风险管理v3
  26217. /Erms3/QueryUserInfos:
  26218. get:
  26219. parameters:
  26220. - description: 页码
  26221. in: query
  26222. name: page
  26223. type: integer
  26224. - description: 每页条数
  26225. in: query
  26226. name: pagesize
  26227. type: integer
  26228. - description: 客户名称,支持模糊查询
  26229. in: query
  26230. name: userName
  26231. type: string
  26232. produces:
  26233. - application/json
  26234. responses:
  26235. "200":
  26236. description: OK
  26237. schema:
  26238. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26239. "500":
  26240. description: Internal Server Error
  26241. schema:
  26242. $ref: '#/definitions/app.Response'
  26243. security:
  26244. - ApiKeyAuth: []
  26245. summary: 客户信息查询
  26246. tags:
  26247. - 风险管理v3
  26248. /HSBY/GetHsbyMyCount:
  26249. get:
  26250. description: 说明: 不包括已完成的数量。
  26251. parameters:
  26252. - description: 资金账户列表,格式:1,2,3
  26253. in: query
  26254. name: accountIDs
  26255. required: true
  26256. type: string
  26257. produces:
  26258. - application/json
  26259. responses:
  26260. "200":
  26261. description: OK
  26262. schema:
  26263. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26264. "500":
  26265. description: Internal Server Error
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. security:
  26269. - ApiKeyAuth: []
  26270. summary: 获取我的订单与包裹数量
  26271. tags:
  26272. - 定制【海商报业】
  26273. /HSBY/QueryClientFixedADConfigs:
  26274. get:
  26275. produces:
  26276. - application/json
  26277. responses:
  26278. "200":
  26279. description: OK
  26280. schema:
  26281. $ref: '#/definitions/models.Clientfixedadconfig'
  26282. "500":
  26283. description: Internal Server Error
  26284. schema:
  26285. $ref: '#/definitions/app.Response'
  26286. security:
  26287. - ApiKeyAuth: []
  26288. summary: 获取终端固定广告配置
  26289. tags:
  26290. - 定制【海商报业】
  26291. /HSBY/QueryHsbyBuyMyTradeDetail:
  26292. get:
  26293. parameters:
  26294. - description: 页码
  26295. in: query
  26296. name: page
  26297. type: integer
  26298. - description: 每页条数
  26299. in: query
  26300. name: pagesize
  26301. type: integer
  26302. - description: 资金账户列表,格式:1,2,3
  26303. in: query
  26304. name: accountIDs
  26305. required: true
  26306. type: string
  26307. produces:
  26308. - application/json
  26309. responses:
  26310. "200":
  26311. description: OK
  26312. schema:
  26313. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26314. "500":
  26315. description: Internal Server Error
  26316. schema:
  26317. $ref: '#/definitions/app.Response'
  26318. security:
  26319. - ApiKeyAuth: []
  26320. summary: 查询"我的订单 - 已完成"单据信息
  26321. tags:
  26322. - 定制【海商报业】
  26323. /HSBY/QueryHsbyGoodsOrderDetails:
  26324. get:
  26325. description: 说明:查询结果已按委托价格和委托时间排序
  26326. parameters:
  26327. - description: 商品ID
  26328. in: query
  26329. name: goodsID
  26330. required: true
  26331. type: integer
  26332. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26333. in: query
  26334. name: accountIDs
  26335. type: string
  26336. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26337. in: query
  26338. name: buyOrSell
  26339. type: integer
  26340. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26341. in: query
  26342. name: price
  26343. type: number
  26344. - description: 档位,不传则默认为3档
  26345. in: query
  26346. name: speed
  26347. type: integer
  26348. produces:
  26349. - application/json
  26350. responses:
  26351. "200":
  26352. description: OK
  26353. schema:
  26354. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26355. "500":
  26356. description: Internal Server Error
  26357. schema:
  26358. $ref: '#/definitions/app.Response'
  26359. security:
  26360. - ApiKeyAuth: []
  26361. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26362. tags:
  26363. - 定制【海商报业】
  26364. /HSBY/QueryHsbyListingGoodsDetail:
  26365. get:
  26366. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26367. parameters:
  26368. - description: 商品ID
  26369. in: query
  26370. name: goodsID
  26371. required: true
  26372. type: integer
  26373. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26374. in: query
  26375. name: accountID
  26376. type: integer
  26377. produces:
  26378. - application/json
  26379. responses:
  26380. "200":
  26381. description: OK
  26382. schema:
  26383. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26384. "500":
  26385. description: Internal Server Error
  26386. schema:
  26387. $ref: '#/definitions/app.Response'
  26388. security:
  26389. - ApiKeyAuth: []
  26390. summary: 查询二级市场(挂牌点选)商品信息详情
  26391. tags:
  26392. - 定制【海商报业】
  26393. /HSBY/QueryHsbyMarketGoodsDetail:
  26394. get:
  26395. parameters:
  26396. - description: 委托单号
  26397. in: query
  26398. name: orderID
  26399. required: true
  26400. type: integer
  26401. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26402. in: query
  26403. name: accountID
  26404. type: integer
  26405. produces:
  26406. - application/json
  26407. responses:
  26408. "200":
  26409. description: OK
  26410. schema:
  26411. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26412. "500":
  26413. description: Internal Server Error
  26414. schema:
  26415. $ref: '#/definitions/app.Response'
  26416. security:
  26417. - ApiKeyAuth: []
  26418. summary: 查询三级市场(商城)商品信息详情
  26419. tags:
  26420. - 定制【海商报业】
  26421. /HSBY/QueryHsbyMarketGoodses:
  26422. get:
  26423. parameters:
  26424. - description: 页码
  26425. in: query
  26426. name: page
  26427. type: integer
  26428. - description: 每页条数
  26429. in: query
  26430. name: pagesize
  26431. type: integer
  26432. - description: 市场ID列表,格式:1,2,3
  26433. in: query
  26434. name: marketIDs
  26435. required: true
  26436. type: string
  26437. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26438. in: query
  26439. name: accountID
  26440. required: true
  26441. type: integer
  26442. - description: 类别ID
  26443. in: query
  26444. name: categoryID
  26445. type: integer
  26446. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26447. in: query
  26448. name: goodsIDs
  26449. type: string
  26450. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26451. in: query
  26452. name: couponTypeID
  26453. type: integer
  26454. produces:
  26455. - application/json
  26456. responses:
  26457. "200":
  26458. description: OK
  26459. schema:
  26460. $ref: '#/definitions/models.HsbyMarketGoods'
  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/QueryHsbyMarkets:
  26471. get:
  26472. produces:
  26473. - application/json
  26474. responses:
  26475. "200":
  26476. description: OK
  26477. schema:
  26478. $ref: '#/definitions/models.HsbyMarketInfo'
  26479. "500":
  26480. description: Internal Server Error
  26481. schema:
  26482. $ref: '#/definitions/app.Response'
  26483. security:
  26484. - ApiKeyAuth: []
  26485. summary: 查询海商报业相关市场信息
  26486. tags:
  26487. - 定制【海商报业】
  26488. /HSBY/QueryHsbyMyBuyOrderDetails:
  26489. get:
  26490. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26491. parameters:
  26492. - description: 资金账户列表,格式:1,2,3
  26493. in: query
  26494. name: accountIDs
  26495. required: true
  26496. type: string
  26497. produces:
  26498. - application/json
  26499. responses:
  26500. "200":
  26501. description: OK
  26502. schema:
  26503. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26504. "500":
  26505. description: Internal Server Error
  26506. schema:
  26507. $ref: '#/definitions/app.Response'
  26508. security:
  26509. - ApiKeyAuth: []
  26510. summary: 查询“我的订单”信息
  26511. tags:
  26512. - 定制【海商报业】
  26513. /HSBY/QueryHsbyMyGoods:
  26514. get:
  26515. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26516. parameters:
  26517. - description: 资金账户列表,格式:1,2,3
  26518. in: query
  26519. name: accountIDs
  26520. required: true
  26521. type: string
  26522. produces:
  26523. - application/json
  26524. responses:
  26525. "200":
  26526. description: OK
  26527. schema:
  26528. $ref: '#/definitions/models.HsbyMyGoods'
  26529. "500":
  26530. description: Internal Server Error
  26531. schema:
  26532. $ref: '#/definitions/app.Response'
  26533. security:
  26534. - ApiKeyAuth: []
  26535. summary: 查询“我的商品”信息
  26536. tags:
  26537. - 定制【海商报业】
  26538. /HSBY/QueryHsbyMyPackages:
  26539. get:
  26540. parameters:
  26541. - description: 资金账户列表,格式:1,2,3
  26542. in: query
  26543. name: accountIDs
  26544. required: true
  26545. type: string
  26546. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26547. in: query
  26548. name: takeOrderStatus
  26549. type: integer
  26550. produces:
  26551. - application/json
  26552. responses:
  26553. "200":
  26554. description: OK
  26555. schema:
  26556. $ref: '#/definitions/models.HsbyMyPackage'
  26557. "500":
  26558. description: Internal Server Error
  26559. schema:
  26560. $ref: '#/definitions/app.Response'
  26561. security:
  26562. - ApiKeyAuth: []
  26563. summary: 查询我的包裹信息
  26564. tags:
  26565. - 定制【海商报业】
  26566. /HSBY/QueryHsbyPreGoodsDetail:
  26567. get:
  26568. parameters:
  26569. - description: 商品ID
  26570. in: query
  26571. name: goodsID
  26572. required: true
  26573. type: integer
  26574. - description: 资金账户,主要用于获取预售商品购买上限
  26575. in: query
  26576. name: accountID
  26577. type: integer
  26578. produces:
  26579. - application/json
  26580. responses:
  26581. "200":
  26582. description: OK
  26583. schema:
  26584. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26585. "500":
  26586. description: Internal Server Error
  26587. schema:
  26588. $ref: '#/definitions/app.Response'
  26589. security:
  26590. - ApiKeyAuth: []
  26591. summary: 查询一级市场(预售)商品信息详情
  26592. tags:
  26593. - 定制【海商报业】
  26594. /HSBY/QueryHsbyPreGoodses:
  26595. get:
  26596. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26597. parameters:
  26598. - description: 页码
  26599. in: query
  26600. name: page
  26601. type: integer
  26602. - description: 每页条数
  26603. in: query
  26604. name: pagesize
  26605. type: integer
  26606. - description: 市场ID列表,格式:1,2,3
  26607. in: query
  26608. name: marketIDs
  26609. required: true
  26610. type: string
  26611. - description: 目的地(省)ID
  26612. in: query
  26613. name: descProvinceID
  26614. type: integer
  26615. - description: 目的地(市)ID
  26616. in: query
  26617. name: descCityID
  26618. type: integer
  26619. produces:
  26620. - application/json
  26621. responses:
  26622. "200":
  26623. description: OK
  26624. schema:
  26625. $ref: '#/definitions/models.HsbyPreGoods'
  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/QueryHsbySellMyDetails:
  26636. get:
  26637. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26638. parameters:
  26639. - description: 页码
  26640. in: query
  26641. name: page
  26642. type: integer
  26643. - description: 每页条数
  26644. in: query
  26645. name: pagesize
  26646. type: integer
  26647. - description: 资金账户列表,格式:1,2,3
  26648. in: query
  26649. name: accountIDs
  26650. required: true
  26651. type: string
  26652. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26653. in: query
  26654. name: orderType
  26655. type: integer
  26656. produces:
  26657. - application/json
  26658. responses:
  26659. "200":
  26660. description: OK
  26661. schema:
  26662. $ref: '#/definitions/models.HsbySellMyDetail'
  26663. "500":
  26664. description: Internal Server Error
  26665. schema:
  26666. $ref: '#/definitions/app.Response'
  26667. security:
  26668. - ApiKeyAuth: []
  26669. summary: 查询"我的闲置"单据信息
  26670. tags:
  26671. - 定制【海商报业】
  26672. /HSBY/QueryHsbyTopGoodses:
  26673. get:
  26674. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26675. parameters:
  26676. - description: 页码
  26677. in: query
  26678. name: page
  26679. type: integer
  26680. - description: 每页条数
  26681. in: query
  26682. name: pagesize
  26683. type: integer
  26684. - description: 市场ID列表,格式:1,2,3
  26685. in: query
  26686. name: marketIDs
  26687. required: true
  26688. type: string
  26689. - description: 目的地(省)ID
  26690. in: query
  26691. name: descProvinceID
  26692. type: integer
  26693. - description: 目的地(市)ID
  26694. in: query
  26695. name: descCityID
  26696. type: integer
  26697. produces:
  26698. - application/json
  26699. responses:
  26700. "200":
  26701. description: OK
  26702. schema:
  26703. $ref: '#/definitions/models.HsbyTopGoods'
  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/QueryHsbyVisitorMarketGoodsDetail:
  26714. get:
  26715. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26716. parameters:
  26717. - description: 商品ID
  26718. in: query
  26719. name: goodsID
  26720. required: true
  26721. type: integer
  26722. produces:
  26723. - application/json
  26724. responses:
  26725. "200":
  26726. description: OK
  26727. schema:
  26728. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26729. "500":
  26730. description: Internal Server Error
  26731. schema:
  26732. $ref: '#/definitions/app.Response'
  26733. security:
  26734. - ApiKeyAuth: []
  26735. summary: 查询游客三级市场(商城)商品信息详情
  26736. tags:
  26737. - 定制【海商报业】
  26738. /HSBY/QueryHsbyVisitorMarketGoodses:
  26739. get:
  26740. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26741. parameters:
  26742. - description: 页码
  26743. in: query
  26744. name: page
  26745. type: integer
  26746. - description: 每页条数
  26747. in: query
  26748. name: pagesize
  26749. type: integer
  26750. - description: 市场ID列表,格式:1,2,3
  26751. in: query
  26752. name: marketIDs
  26753. required: true
  26754. type: string
  26755. - description: 类别ID
  26756. in: query
  26757. name: categoryID
  26758. type: integer
  26759. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26760. in: query
  26761. name: goodsIDs
  26762. type: string
  26763. produces:
  26764. - application/json
  26765. responses:
  26766. "200":
  26767. description: OK
  26768. schema:
  26769. $ref: '#/definitions/models.HsbyMarketGoods'
  26770. "500":
  26771. description: Internal Server Error
  26772. schema:
  26773. $ref: '#/definitions/app.Response'
  26774. security:
  26775. - ApiKeyAuth: []
  26776. summary: 查询游客特卖商品列表(三级商城)
  26777. tags:
  26778. - 定制【海商报业】
  26779. /HSBY/QueryMyCollectionOrders:
  26780. get:
  26781. parameters:
  26782. - description: 页码
  26783. in: query
  26784. name: page
  26785. type: integer
  26786. - description: 每页条数
  26787. in: query
  26788. name: pagesize
  26789. type: integer
  26790. - description: 资金账户,格式:1,2,3
  26791. in: query
  26792. name: accountIDs
  26793. required: true
  26794. type: string
  26795. produces:
  26796. - application/json
  26797. responses:
  26798. "200":
  26799. description: OK
  26800. schema:
  26801. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26802. "500":
  26803. description: Internal Server Error
  26804. schema:
  26805. $ref: '#/definitions/app.Response'
  26806. security:
  26807. - ApiKeyAuth: []
  26808. summary: 我的闲置中收款信息查询
  26809. tags:
  26810. - 定制【海商报业】
  26811. /HSBY/QueryMyCouponHolds:
  26812. get:
  26813. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26814. parameters:
  26815. - description: 资金账户列表,格式:1,2,3
  26816. in: query
  26817. name: accountIDs
  26818. required: true
  26819. type: string
  26820. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26821. in: query
  26822. name: holdStatus
  26823. type: string
  26824. produces:
  26825. - application/json
  26826. responses:
  26827. "200":
  26828. description: OK
  26829. schema:
  26830. $ref: '#/definitions/models.MyCouponHold'
  26831. "500":
  26832. description: Internal Server Error
  26833. schema:
  26834. $ref: '#/definitions/app.Response'
  26835. security:
  26836. - ApiKeyAuth: []
  26837. summary: 我的优惠卷持仓查询
  26838. tags:
  26839. - 定制【海商报业】
  26840. /HSBY/QueryMyCoupons:
  26841. get:
  26842. parameters:
  26843. - description: 资金账户列表,格式:1,2,3
  26844. in: query
  26845. name: accountIDs
  26846. required: true
  26847. type: string
  26848. - description: 商品ID, 一般与sellUserID配套传入
  26849. in: query
  26850. name: goodsID
  26851. type: integer
  26852. - description: 卖方UserID
  26853. in: query
  26854. name: sellUserID
  26855. type: integer
  26856. produces:
  26857. - application/json
  26858. responses:
  26859. "200":
  26860. description: OK
  26861. schema:
  26862. $ref: '#/definitions/models.MyCoupon'
  26863. "500":
  26864. description: Internal Server Error
  26865. schema:
  26866. $ref: '#/definitions/app.Response'
  26867. security:
  26868. - ApiKeyAuth: []
  26869. summary: 我的优惠卷查询
  26870. tags:
  26871. - 定制【海商报业】
  26872. /HSBY/QueryMyPayOrders:
  26873. get:
  26874. parameters:
  26875. - description: 页码
  26876. in: query
  26877. name: page
  26878. type: integer
  26879. - description: 每页条数
  26880. in: query
  26881. name: pagesize
  26882. type: integer
  26883. - description: 资金账户列表,格式:1,2,3
  26884. in: query
  26885. name: accountIDs
  26886. required: true
  26887. type: string
  26888. - description: 买方委托单号
  26889. in: query
  26890. name: buyOrderID
  26891. type: integer
  26892. - description: 卖方委托单号
  26893. in: query
  26894. name: sellOrderID
  26895. type: integer
  26896. produces:
  26897. - application/json
  26898. responses:
  26899. "200":
  26900. description: OK
  26901. schema:
  26902. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  26903. "500":
  26904. description: Internal Server Error
  26905. schema:
  26906. $ref: '#/definitions/app.Response'
  26907. security:
  26908. - ApiKeyAuth: []
  26909. summary: 获取我的订单中待付款信息
  26910. tags:
  26911. - 定制【海商报业】
  26912. /HSBY/QueryMyUsedCoupon:
  26913. get:
  26914. parameters:
  26915. - description: 资金账户列表,格式:1,2,3
  26916. in: query
  26917. name: accountIDs
  26918. required: true
  26919. type: string
  26920. produces:
  26921. - application/json
  26922. responses:
  26923. "200":
  26924. description: OK
  26925. schema:
  26926. $ref: '#/definitions/models.MyUsedCoupon'
  26927. "500":
  26928. description: Internal Server Error
  26929. schema:
  26930. $ref: '#/definitions/app.Response'
  26931. security:
  26932. - ApiKeyAuth: []
  26933. summary: 已使用优惠卷查询
  26934. tags:
  26935. - 定制【海商报业】
  26936. /HSBY/QueryProvincesAndCities:
  26937. get:
  26938. description: 查询结果只包括二级市场商品已关连的省市信息。
  26939. parameters:
  26940. - description: 省ID
  26941. in: query
  26942. name: provinceID
  26943. type: integer
  26944. produces:
  26945. - application/json
  26946. responses:
  26947. "200":
  26948. description: OK
  26949. schema:
  26950. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  26951. "500":
  26952. description: Internal Server Error
  26953. schema:
  26954. $ref: '#/definitions/app.Response'
  26955. security:
  26956. - ApiKeyAuth: []
  26957. summary: 查询省市信息(不包括区)
  26958. tags:
  26959. - 定制【海商报业】
  26960. /HSBY/SetHsbyMyPackagesStatus:
  26961. post:
  26962. parameters:
  26963. - description: 提货单号
  26964. in: query
  26965. name: takeOrderID
  26966. required: true
  26967. type: string
  26968. - description: 资金账号
  26969. in: query
  26970. name: accountID
  26971. required: true
  26972. type: integer
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. $ref: '#/definitions/app.Response'
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 设置我的包裹已收货状态
  26987. tags:
  26988. - 定制【海商报业】
  26989. /Market/GetAllExExchanges:
  26990. get:
  26991. produces:
  26992. - application/json
  26993. responses:
  26994. "200":
  26995. description: OK
  26996. schema:
  26997. $ref: '#/definitions/models.Goods'
  26998. "500":
  26999. description: Internal Server Error
  27000. schema:
  27001. $ref: '#/definitions/app.Response'
  27002. security:
  27003. - ApiKeyAuth: []
  27004. summary: 获取所有外部交易所信息
  27005. tags:
  27006. - 通用市场
  27007. /Market/QueryGoodsesByLoginID:
  27008. get:
  27009. parameters:
  27010. - description: 登录账号
  27011. in: query
  27012. name: loginID
  27013. required: true
  27014. type: integer
  27015. - description: 市场ID列表,格式:1,2,3
  27016. in: query
  27017. name: marketIDs
  27018. type: string
  27019. produces:
  27020. - application/json
  27021. responses:
  27022. "200":
  27023. description: OK
  27024. schema:
  27025. $ref: '#/definitions/models.Goods'
  27026. "500":
  27027. description: Internal Server Error
  27028. schema:
  27029. $ref: '#/definitions/app.Response'
  27030. security:
  27031. - ApiKeyAuth: []
  27032. summary: 获取登录账号有权限的商品信息
  27033. tags:
  27034. - 通用市场
  27035. /Market/QueryMarketRun:
  27036. get:
  27037. parameters:
  27038. - description: 市场ID,不传返回所有
  27039. in: query
  27040. name: marketID
  27041. type: integer
  27042. produces:
  27043. - application/json
  27044. responses:
  27045. "200":
  27046. description: OK
  27047. schema:
  27048. $ref: '#/definitions/models.Marketrun'
  27049. "500":
  27050. description: Internal Server Error
  27051. schema:
  27052. $ref: '#/definitions/app.Response'
  27053. security:
  27054. - ApiKeyAuth: []
  27055. summary: 查询市场运行信息
  27056. tags:
  27057. - 通用市场
  27058. /Market/QueryMarketsByLoginID:
  27059. get:
  27060. parameters:
  27061. - description: 登录账号
  27062. in: query
  27063. name: loginID
  27064. required: true
  27065. type: integer
  27066. produces:
  27067. - application/json
  27068. responses:
  27069. "200":
  27070. description: OK
  27071. schema:
  27072. $ref: '#/definitions/models.Market'
  27073. "500":
  27074. description: Internal Server Error
  27075. schema:
  27076. $ref: '#/definitions/app.Response'
  27077. security:
  27078. - ApiKeyAuth: []
  27079. summary: 获取登录账号有权限的市场信息
  27080. tags:
  27081. - 通用市场
  27082. /Order/QueryHisTradeDetail:
  27083. get:
  27084. parameters:
  27085. - description: 资金账户 - 格式:1,2,3
  27086. in: query
  27087. name: accountID
  27088. required: true
  27089. type: string
  27090. - description: 成交单号
  27091. in: query
  27092. name: tradeID
  27093. type: integer
  27094. - description: 委托单号
  27095. in: query
  27096. name: orderID
  27097. type: integer
  27098. - description: 商品ID
  27099. in: query
  27100. name: goodsID
  27101. type: integer
  27102. - description: 交易模式 - 格式:1,2,3
  27103. in: query
  27104. name: tradeMode
  27105. type: string
  27106. - description: 委托单据类型
  27107. in: query
  27108. name: buildType
  27109. type: integer
  27110. - description: 成交类别 - 格式:1,2,3
  27111. in: query
  27112. name: tradeType
  27113. type: string
  27114. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27115. in: query
  27116. name: startDate
  27117. type: string
  27118. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27119. in: query
  27120. name: endDate
  27121. type: string
  27122. produces:
  27123. - application/json
  27124. responses:
  27125. "200":
  27126. description: OK
  27127. schema:
  27128. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27129. "500":
  27130. description: Internal Server Error
  27131. schema:
  27132. $ref: '#/definitions/app.Response'
  27133. security:
  27134. - ApiKeyAuth: []
  27135. summary: 历史成交单查询(合约市场)
  27136. tags:
  27137. - 通用单据
  27138. /Order/QueryHisTradeOrderDetail:
  27139. get:
  27140. parameters:
  27141. - description: 资金账户 - 格式:1,2,3
  27142. in: query
  27143. name: accountID
  27144. required: true
  27145. type: string
  27146. - description: 交易模式 - 格式:1,2,3
  27147. in: query
  27148. name: tradeMode
  27149. type: string
  27150. - description: 委托状态 - 格式:1,2,3
  27151. in: query
  27152. name: orderStatus
  27153. type: string
  27154. - description: 委托单号
  27155. in: query
  27156. name: orderID
  27157. type: integer
  27158. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27159. in: query
  27160. name: startDate
  27161. type: string
  27162. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27163. in: query
  27164. name: endDate
  27165. type: string
  27166. produces:
  27167. - application/json
  27168. responses:
  27169. "200":
  27170. description: OK
  27171. schema:
  27172. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27173. "500":
  27174. description: Internal Server Error
  27175. schema:
  27176. $ref: '#/definitions/app.Response'
  27177. security:
  27178. - ApiKeyAuth: []
  27179. summary: 历史委托单查询请求(合约市场)
  27180. tags:
  27181. - 通用单据
  27182. /Order/QueryTradeDetail:
  27183. get:
  27184. parameters:
  27185. - description: 资金账户 - 格式:1,2,3
  27186. in: query
  27187. name: accountID
  27188. required: true
  27189. type: string
  27190. - description: 成交单号
  27191. in: query
  27192. name: tradeID
  27193. type: integer
  27194. - description: 委托单号
  27195. in: query
  27196. name: orderID
  27197. type: integer
  27198. - description: 交易模式 - 格式:1,2,3
  27199. in: query
  27200. name: tradeMode
  27201. type: string
  27202. - description: 委托单据类型
  27203. in: query
  27204. name: buildType
  27205. type: integer
  27206. - description: 成交类别 - 格式:1,2,3
  27207. in: query
  27208. name: tradeType
  27209. type: string
  27210. - description: 商品ID
  27211. in: query
  27212. name: goodsID
  27213. type: integer
  27214. produces:
  27215. - application/json
  27216. responses:
  27217. "200":
  27218. description: OK
  27219. schema:
  27220. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27221. "500":
  27222. description: Internal Server Error
  27223. schema:
  27224. $ref: '#/definitions/app.Response'
  27225. security:
  27226. - ApiKeyAuth: []
  27227. summary: 成交单查询(合约市场)
  27228. tags:
  27229. - 通用单据
  27230. /Order/QueryTradeHolderDetail:
  27231. get:
  27232. parameters:
  27233. - description: 用户id
  27234. in: query
  27235. name: userid
  27236. type: integer
  27237. - description: 资金账号, 格式 1,2,3
  27238. in: query
  27239. name: accids
  27240. type: string
  27241. - description: 交易模式, 格式 1,2,3
  27242. in: query
  27243. name: trademodes
  27244. type: string
  27245. - description: 市场id, 格式 1,2,3
  27246. in: query
  27247. name: marketids
  27248. type: string
  27249. - description: 商品id
  27250. in: query
  27251. name: goodsid
  27252. type: integer
  27253. - description: 买卖方向 0-买 1-卖
  27254. in: query
  27255. name: buyorsell
  27256. type: integer
  27257. produces:
  27258. - application/json
  27259. responses:
  27260. "200":
  27261. description: OK
  27262. schema:
  27263. items:
  27264. $ref: '#/definitions/models.TradeHolderDetail'
  27265. type: array
  27266. "500":
  27267. description: Internal Server Error
  27268. schema:
  27269. $ref: '#/definitions/app.Response'
  27270. security:
  27271. - ApiKeyAuth: []
  27272. summary: 查询持仓明细
  27273. tags:
  27274. - 通用单据
  27275. /Order/QueryTradeOrderDetail:
  27276. get:
  27277. parameters:
  27278. - description: 资金账户 - 格式:1,2,3
  27279. in: query
  27280. name: accountID
  27281. required: true
  27282. type: string
  27283. - description: 交易模式 - 格式:1,2,3
  27284. in: query
  27285. name: tradeMode
  27286. type: string
  27287. - description: 委托状态 - 格式:1,2,3
  27288. in: query
  27289. name: orderStatus
  27290. type: string
  27291. - description: 委托单号
  27292. in: query
  27293. name: orderID
  27294. type: integer
  27295. produces:
  27296. - application/json
  27297. responses:
  27298. "200":
  27299. description: OK
  27300. schema:
  27301. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27302. "500":
  27303. description: Internal Server Error
  27304. schema:
  27305. $ref: '#/definitions/app.Response'
  27306. security:
  27307. - ApiKeyAuth: []
  27308. summary: 委托单查询请求(合约市场)
  27309. tags:
  27310. - 通用单据
  27311. /Order/QueryTradePosition:
  27312. get:
  27313. parameters:
  27314. - description: 资金账户 - 格式:1,2,3
  27315. in: query
  27316. name: accountID
  27317. required: true
  27318. type: string
  27319. - description: 交易模式 - 格式:1,2,3
  27320. in: query
  27321. name: tradeMode
  27322. type: string
  27323. produces:
  27324. - application/json
  27325. responses:
  27326. "200":
  27327. description: OK
  27328. schema:
  27329. $ref: '#/definitions/order.QueryTradePositionRsp'
  27330. "500":
  27331. description: Internal Server Error
  27332. schema:
  27333. $ref: '#/definitions/app.Response'
  27334. security:
  27335. - ApiKeyAuth: []
  27336. summary: 持仓汇总查询(合约市场)
  27337. tags:
  27338. - 通用单据
  27339. /Qhj/QueryAccountInOutApply:
  27340. get:
  27341. parameters:
  27342. - description: 用户ID
  27343. in: query
  27344. name: userid
  27345. required: true
  27346. type: integer
  27347. - description: 申请起始日期(格式yyyymmdd)
  27348. in: query
  27349. name: begindate
  27350. type: string
  27351. - description: 申请截止日期(格式yyyymmdd)
  27352. in: query
  27353. name: enddate
  27354. type: string
  27355. - description: 模糊搜索名称
  27356. in: query
  27357. name: likename
  27358. type: string
  27359. produces:
  27360. - application/json
  27361. responses:
  27362. "200":
  27363. description: OK
  27364. schema:
  27365. items:
  27366. $ref: '#/definitions/models.QhjAccountOutInApply'
  27367. type: array
  27368. "500":
  27369. description: Internal Server Error
  27370. schema:
  27371. $ref: '#/definitions/app.Response'
  27372. security:
  27373. - ApiKeyAuth: []
  27374. summary: 查询充值提现
  27375. tags:
  27376. - 大连千海金
  27377. /Qhj/QueryAreaFinanceConfig:
  27378. get:
  27379. parameters:
  27380. - description: 机构用户ID 其他做市关系,都设置为 1
  27381. in: query
  27382. name: userid
  27383. type: integer
  27384. produces:
  27385. - application/json
  27386. responses:
  27387. "200":
  27388. description: OK
  27389. schema:
  27390. items:
  27391. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27392. type: array
  27393. "500":
  27394. description: Internal Server Error
  27395. schema:
  27396. $ref: '#/definitions/app.Response'
  27397. security:
  27398. - ApiKeyAuth: []
  27399. summary: 查询企业配置表
  27400. tags:
  27401. - 大连千海金
  27402. /Qhj/QueryBankAccountSign:
  27403. get:
  27404. parameters:
  27405. - description: 用户ID
  27406. in: query
  27407. name: userid
  27408. required: true
  27409. type: integer
  27410. produces:
  27411. - application/json
  27412. responses:
  27413. "200":
  27414. description: OK
  27415. schema:
  27416. items:
  27417. $ref: '#/definitions/models.QhjBankAccountSign'
  27418. type: array
  27419. "500":
  27420. description: Internal Server Error
  27421. schema:
  27422. $ref: '#/definitions/app.Response'
  27423. security:
  27424. - ApiKeyAuth: []
  27425. summary: 查询签约银行信息(提现账户管理)
  27426. tags:
  27427. - 大连千海金
  27428. /Qhj/QueryBankInfo:
  27429. get:
  27430. produces:
  27431. - application/json
  27432. responses:
  27433. "200":
  27434. description: OK
  27435. schema:
  27436. items:
  27437. $ref: '#/definitions/models.QhjBankInfo'
  27438. type: array
  27439. "500":
  27440. description: Internal Server Error
  27441. schema:
  27442. $ref: '#/definitions/app.Response'
  27443. security:
  27444. - ApiKeyAuth: []
  27445. summary: 查询开户行
  27446. tags:
  27447. - 大连千海金
  27448. /Qhj/QueryBrokerApply:
  27449. get:
  27450. parameters:
  27451. - description: 所属机构ID
  27452. in: query
  27453. name: userid
  27454. type: integer
  27455. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27456. in: query
  27457. name: filterstatus
  27458. type: string
  27459. produces:
  27460. - application/json
  27461. responses:
  27462. "200":
  27463. description: OK
  27464. schema:
  27465. items:
  27466. $ref: '#/definitions/models.QhjBrokerApply'
  27467. type: array
  27468. "500":
  27469. description: Internal Server Error
  27470. schema:
  27471. $ref: '#/definitions/app.Response'
  27472. security:
  27473. - ApiKeyAuth: []
  27474. summary: 查询经纪人申请
  27475. tags:
  27476. - 大连千海金
  27477. /Qhj/QueryBrokerApplyEx:
  27478. get:
  27479. parameters:
  27480. - description: 所属机构ID
  27481. in: query
  27482. name: userid
  27483. type: integer
  27484. produces:
  27485. - application/json
  27486. responses:
  27487. "200":
  27488. description: OK
  27489. schema:
  27490. items:
  27491. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27492. type: array
  27493. "500":
  27494. description: Internal Server Error
  27495. schema:
  27496. $ref: '#/definitions/app.Response'
  27497. security:
  27498. - ApiKeyAuth: []
  27499. summary: 查询经纪人信息和申请记录
  27500. tags:
  27501. - 大连千海金
  27502. /Qhj/QueryBrokerRewardLog:
  27503. get:
  27504. parameters:
  27505. - description: 用户ID
  27506. in: query
  27507. name: userid
  27508. required: true
  27509. type: integer
  27510. - description: 开始交易日(yyyymmdd)
  27511. in: query
  27512. name: begindate
  27513. type: string
  27514. - description: 结束交易日(yyyymmdd)
  27515. in: query
  27516. name: enddate
  27517. type: string
  27518. produces:
  27519. - application/json
  27520. responses:
  27521. "200":
  27522. description: OK
  27523. schema:
  27524. items:
  27525. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27526. type: array
  27527. "500":
  27528. description: Internal Server Error
  27529. schema:
  27530. $ref: '#/definitions/app.Response'
  27531. security:
  27532. - ApiKeyAuth: []
  27533. summary: 查询奖励流水(我的奖励)
  27534. tags:
  27535. - 大连千海金
  27536. /Qhj/QueryContract:
  27537. get:
  27538. parameters:
  27539. - description: 用户ID
  27540. in: query
  27541. name: userid
  27542. type: integer
  27543. - description: scf合同id
  27544. in: query
  27545. name: scfcontractid
  27546. type: integer
  27547. produces:
  27548. - application/json
  27549. responses:
  27550. "200":
  27551. description: OK
  27552. schema:
  27553. items:
  27554. $ref: '#/definitions/models.QhjContract'
  27555. type: array
  27556. "500":
  27557. description: Internal Server Error
  27558. schema:
  27559. $ref: '#/definitions/app.Response'
  27560. security:
  27561. - ApiKeyAuth: []
  27562. summary: 查询融资明细(合同)
  27563. tags:
  27564. - 大连千海金
  27565. /Qhj/QueryContractLog:
  27566. get:
  27567. parameters:
  27568. - description: scf合同id
  27569. in: query
  27570. name: scfcontractid
  27571. required: true
  27572. type: integer
  27573. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27574. in: query
  27575. name: amounttype
  27576. type: string
  27577. produces:
  27578. - application/json
  27579. responses:
  27580. "200":
  27581. description: OK
  27582. schema:
  27583. items:
  27584. $ref: '#/definitions/models.QhjContractLog'
  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/QueryCusBankSignBank:
  27596. get:
  27597. produces:
  27598. - application/json
  27599. responses:
  27600. "200":
  27601. description: OK
  27602. schema:
  27603. items:
  27604. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27605. type: array
  27606. "500":
  27607. description: Internal Server Error
  27608. schema:
  27609. $ref: '#/definitions/app.Response'
  27610. security:
  27611. - ApiKeyAuth: []
  27612. summary: 查询托管银行
  27613. tags:
  27614. - 大连千海金
  27615. /Qhj/QueryCustomerInfo:
  27616. get:
  27617. parameters:
  27618. - description: 用户ID
  27619. in: query
  27620. name: userid
  27621. required: true
  27622. type: integer
  27623. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27624. in: query
  27625. name: querytype
  27626. required: true
  27627. type: integer
  27628. - description: 客户类型 1-个人 2-企业
  27629. in: query
  27630. name: userinfotype
  27631. type: integer
  27632. - description: 客户名称(模糊匹配)
  27633. in: query
  27634. name: customername
  27635. type: string
  27636. - description: 昵称(模糊匹配)
  27637. in: query
  27638. name: nickname
  27639. type: string
  27640. - description: 是否包含子级 1-包含
  27641. in: query
  27642. name: includesub
  27643. type: integer
  27644. produces:
  27645. - application/json
  27646. responses:
  27647. "200":
  27648. description: OK
  27649. schema:
  27650. items:
  27651. $ref: '#/definitions/models.QhjCustomer'
  27652. type: array
  27653. "500":
  27654. description: Internal Server Error
  27655. schema:
  27656. $ref: '#/definitions/app.Response'
  27657. security:
  27658. - ApiKeyAuth: []
  27659. summary: 查询客户资料
  27660. tags:
  27661. - 大连千海金
  27662. /Qhj/QueryGoodsEx:
  27663. get:
  27664. parameters:
  27665. - description: 商品id
  27666. in: query
  27667. name: goodsid
  27668. type: integer
  27669. produces:
  27670. - application/json
  27671. responses:
  27672. "200":
  27673. description: OK
  27674. schema:
  27675. items:
  27676. $ref: '#/definitions/models.Qhjgoodsex'
  27677. type: array
  27678. "500":
  27679. description: Internal Server Error
  27680. schema:
  27681. $ref: '#/definitions/app.Response'
  27682. security:
  27683. - ApiKeyAuth: []
  27684. summary: 交易商品扩展表
  27685. tags:
  27686. - 大连千海金
  27687. /Qhj/QueryMyTeam:
  27688. get:
  27689. parameters:
  27690. - description: 用户ID
  27691. in: query
  27692. name: userid
  27693. required: true
  27694. type: integer
  27695. produces:
  27696. - application/json
  27697. responses:
  27698. "200":
  27699. description: OK
  27700. schema:
  27701. items:
  27702. $ref: '#/definitions/models.QhjMyTeamEx'
  27703. type: array
  27704. "500":
  27705. description: Internal Server Error
  27706. schema:
  27707. $ref: '#/definitions/app.Response'
  27708. security:
  27709. - ApiKeyAuth: []
  27710. summary: 查询我的团队
  27711. tags:
  27712. - 大连千海金
  27713. /Qhj/QueryMyTeamOrder:
  27714. get:
  27715. parameters:
  27716. - description: 页码
  27717. in: query
  27718. name: page
  27719. type: integer
  27720. - description: 每页条数
  27721. in: query
  27722. name: pagesize
  27723. type: integer
  27724. - description: 用户ID
  27725. in: query
  27726. name: userid
  27727. required: true
  27728. type: integer
  27729. - description: 交易模式
  27730. in: query
  27731. name: trademode
  27732. type: integer
  27733. - description: 名称(模糊搜索账户)
  27734. in: query
  27735. name: filtername
  27736. type: string
  27737. produces:
  27738. - application/json
  27739. responses:
  27740. "200":
  27741. description: OK
  27742. schema:
  27743. items:
  27744. $ref: '#/definitions/models.QhjTeamOrder'
  27745. type: array
  27746. "500":
  27747. description: Internal Server Error
  27748. schema:
  27749. $ref: '#/definitions/app.Response'
  27750. security:
  27751. - ApiKeyAuth: []
  27752. summary: 查询团队订单(我的团队/团队订单)
  27753. tags:
  27754. - 大连千海金
  27755. /Qhj/QueryParentAreaList:
  27756. get:
  27757. parameters:
  27758. - description: 用户ID
  27759. in: query
  27760. name: userid
  27761. required: true
  27762. type: integer
  27763. produces:
  27764. - application/json
  27765. responses:
  27766. "200":
  27767. description: OK
  27768. schema:
  27769. items:
  27770. $ref: '#/definitions/models.QhjParentAreaList'
  27771. type: array
  27772. "500":
  27773. description: Internal Server Error
  27774. schema:
  27775. $ref: '#/definitions/app.Response'
  27776. security:
  27777. - ApiKeyAuth: []
  27778. summary: 查询所属机构列表
  27779. tags:
  27780. - 大连千海金
  27781. /Qhj/QueryPayOrder:
  27782. get:
  27783. parameters:
  27784. - description: 资金账号id
  27785. in: query
  27786. name: accountid
  27787. required: true
  27788. type: integer
  27789. - description: 成交单号
  27790. in: query
  27791. name: tradeid
  27792. type: integer
  27793. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27794. in: query
  27795. name: payflag
  27796. type: string
  27797. produces:
  27798. - application/json
  27799. responses:
  27800. "200":
  27801. description: OK
  27802. schema:
  27803. items:
  27804. $ref: '#/definitions/models.QhjPayOrder'
  27805. type: array
  27806. "500":
  27807. description: Internal Server Error
  27808. schema:
  27809. $ref: '#/definitions/app.Response'
  27810. security:
  27811. - ApiKeyAuth: []
  27812. summary: 查询待付款单据
  27813. tags:
  27814. - 大连千海金
  27815. /Qhj/QueryPickArea:
  27816. get:
  27817. parameters:
  27818. - description: 用户ID
  27819. in: query
  27820. name: userid
  27821. type: integer
  27822. produces:
  27823. - application/json
  27824. responses:
  27825. "200":
  27826. description: OK
  27827. schema:
  27828. items:
  27829. $ref: '#/definitions/models.QhjPickArea'
  27830. type: array
  27831. "500":
  27832. description: Internal Server Error
  27833. schema:
  27834. $ref: '#/definitions/app.Response'
  27835. security:
  27836. - ApiKeyAuth: []
  27837. summary: 查询提货门店
  27838. tags:
  27839. - 大连千海金
  27840. /Qhj/QueryPickGoods:
  27841. get:
  27842. parameters:
  27843. - description: 交易商品id
  27844. in: query
  27845. name: goodsid
  27846. required: true
  27847. type: integer
  27848. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27849. in: query
  27850. name: status
  27851. type: string
  27852. produces:
  27853. - application/json
  27854. responses:
  27855. "200":
  27856. description: OK
  27857. schema:
  27858. items:
  27859. $ref: '#/definitions/models.QhjPickGoods'
  27860. type: array
  27861. "500":
  27862. description: Internal Server Error
  27863. schema:
  27864. $ref: '#/definitions/app.Response'
  27865. security:
  27866. - ApiKeyAuth: []
  27867. summary: 查询提货商品
  27868. tags:
  27869. - 大连千海金
  27870. /Qhj/QueryRSTriggerLog:
  27871. get:
  27872. parameters:
  27873. - description: 用户ID
  27874. in: query
  27875. name: userid
  27876. type: integer
  27877. - description: 定投策略id
  27878. in: query
  27879. name: regularlystrategyid
  27880. type: integer
  27881. - description: 商品id
  27882. in: query
  27883. name: goodsid
  27884. type: integer
  27885. - description: 开始交易日(yyyymmdd)
  27886. in: query
  27887. name: begindate
  27888. type: string
  27889. - description: 结束交易日(yyyymmdd)
  27890. in: query
  27891. name: enddate
  27892. type: string
  27893. - description: 名称(模糊搜索账户)
  27894. in: query
  27895. name: filtername
  27896. type: string
  27897. produces:
  27898. - application/json
  27899. responses:
  27900. "200":
  27901. description: OK
  27902. schema:
  27903. items:
  27904. $ref: '#/definitions/models.QhjRSTriggerLog'
  27905. type: array
  27906. "500":
  27907. description: Internal Server Error
  27908. schema:
  27909. $ref: '#/definitions/app.Response'
  27910. security:
  27911. - ApiKeyAuth: []
  27912. summary: 查询定投记录(定投管理/详情/定投记录)
  27913. tags:
  27914. - 大连千海金
  27915. /Qhj/QueryRStrategy:
  27916. get:
  27917. parameters:
  27918. - description: 用户ID
  27919. in: query
  27920. name: userid
  27921. type: integer
  27922. - description: 商品id
  27923. in: query
  27924. name: goodsid
  27925. type: integer
  27926. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  27927. in: query
  27928. name: status
  27929. type: string
  27930. - description: 名称(模糊搜索账户)
  27931. in: query
  27932. name: filtername
  27933. type: string
  27934. produces:
  27935. - application/json
  27936. responses:
  27937. "200":
  27938. description: OK
  27939. schema:
  27940. items:
  27941. $ref: '#/definitions/models.QhjRStrategy'
  27942. type: array
  27943. "500":
  27944. description: Internal Server Error
  27945. schema:
  27946. $ref: '#/definitions/app.Response'
  27947. security:
  27948. - ApiKeyAuth: []
  27949. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  27950. tags:
  27951. - 大连千海金
  27952. /Qhj/QueryReckonPriceLog:
  27953. get:
  27954. parameters:
  27955. - description: 商品ID
  27956. in: query
  27957. name: goodsid
  27958. type: integer
  27959. - description: 交易日 格式(yyyymmdd)
  27960. in: query
  27961. name: tradedate
  27962. type: string
  27963. produces:
  27964. - application/json
  27965. responses:
  27966. "200":
  27967. description: OK
  27968. schema:
  27969. items:
  27970. $ref: '#/definitions/models.QhjReckonPriceLog'
  27971. type: array
  27972. "500":
  27973. description: Internal Server Error
  27974. schema:
  27975. $ref: '#/definitions/app.Response'
  27976. security:
  27977. - ApiKeyAuth: []
  27978. summary: 查询定投价(结算价)
  27979. tags:
  27980. - 大连千海金
  27981. /Qhj/QueryScoreLog:
  27982. get:
  27983. parameters:
  27984. - description: 用户ID
  27985. in: query
  27986. name: userid
  27987. required: true
  27988. type: integer
  27989. - description: 开始交易日(yyyymmdd)
  27990. in: query
  27991. name: begindate
  27992. type: string
  27993. - description: 结束交易日(yyyymmdd)
  27994. in: query
  27995. name: enddate
  27996. type: string
  27997. - description: 最近多少条
  27998. in: query
  27999. name: lastnum
  28000. type: integer
  28001. produces:
  28002. - application/json
  28003. responses:
  28004. "200":
  28005. description: OK
  28006. schema:
  28007. items:
  28008. $ref: '#/definitions/models.QhjScoreLog'
  28009. type: array
  28010. "500":
  28011. description: Internal Server Error
  28012. schema:
  28013. $ref: '#/definitions/app.Response'
  28014. security:
  28015. - ApiKeyAuth: []
  28016. summary: 查询积分流水(我的积分)
  28017. tags:
  28018. - 大连千海金
  28019. /Qhj/QuerySiteColumnDetail:
  28020. get:
  28021. parameters:
  28022. - description: 用户ID
  28023. in: query
  28024. name: userid
  28025. required: true
  28026. type: integer
  28027. produces:
  28028. - application/json
  28029. responses:
  28030. "200":
  28031. description: OK
  28032. schema:
  28033. items:
  28034. $ref: '#/definitions/models.QhjSiteColumnDetail'
  28035. type: array
  28036. "500":
  28037. description: Internal Server Error
  28038. schema:
  28039. $ref: '#/definitions/app.Response'
  28040. security:
  28041. - ApiKeyAuth: []
  28042. summary: 查询资讯
  28043. tags:
  28044. - 大连千海金
  28045. /Qhj/QueryTradeGoodsPickup:
  28046. get:
  28047. parameters:
  28048. - description: 用户ID
  28049. in: query
  28050. name: userid
  28051. required: true
  28052. type: integer
  28053. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  28054. 7:已拒绝 8:已撤销
  28055. in: query
  28056. name: takeorderstatus
  28057. type: integer
  28058. produces:
  28059. - application/json
  28060. responses:
  28061. "200":
  28062. description: OK
  28063. schema:
  28064. items:
  28065. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  28066. type: array
  28067. "500":
  28068. description: Internal Server Error
  28069. schema:
  28070. $ref: '#/definitions/app.Response'
  28071. security:
  28072. - ApiKeyAuth: []
  28073. summary: 查询提货
  28074. tags:
  28075. - 大连千海金
  28076. /Qhj/QueryUserCollectConfig:
  28077. get:
  28078. parameters:
  28079. - description: 用户ID
  28080. in: query
  28081. name: userid
  28082. required: true
  28083. type: integer
  28084. produces:
  28085. - application/json
  28086. responses:
  28087. "200":
  28088. description: OK
  28089. schema:
  28090. items:
  28091. $ref: '#/definitions/models.UserCollectConfig'
  28092. type: array
  28093. "500":
  28094. description: Internal Server Error
  28095. schema:
  28096. $ref: '#/definitions/app.Response'
  28097. security:
  28098. - ApiKeyAuth: []
  28099. summary: 查询提现账户设置
  28100. tags:
  28101. - 大连千海金
  28102. /Qhj/QueryUserReceiveInfo:
  28103. get:
  28104. parameters:
  28105. - description: 用户ID
  28106. in: query
  28107. name: userid
  28108. required: true
  28109. type: integer
  28110. produces:
  28111. - application/json
  28112. responses:
  28113. "200":
  28114. description: OK
  28115. schema:
  28116. items:
  28117. $ref: '#/definitions/models.UserReceiveInfo'
  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. /QhjMgr/QueryAccountInOutApply:
  28129. get:
  28130. parameters:
  28131. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28132. in: query
  28133. name: querytype
  28134. required: true
  28135. type: integer
  28136. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28137. in: query
  28138. name: applystatus
  28139. type: integer
  28140. - description: 申请起始日期(格式yyyymmdd)
  28141. in: query
  28142. name: begindate
  28143. type: string
  28144. - description: 申请截止日期(格式yyyymmdd)
  28145. in: query
  28146. name: enddate
  28147. type: string
  28148. - description: 模糊搜索名称
  28149. in: query
  28150. name: likename
  28151. type: string
  28152. produces:
  28153. - application/json
  28154. responses:
  28155. "200":
  28156. description: OK
  28157. schema:
  28158. items:
  28159. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  28160. type: array
  28161. "500":
  28162. description: Internal Server Error
  28163. schema:
  28164. $ref: '#/definitions/app.Response'
  28165. security:
  28166. - ApiKeyAuth: []
  28167. summary: 查询充值提现
  28168. tags:
  28169. - 大连千海金(PCWeb)
  28170. /QhjMgr/QueryBrokerApply:
  28171. get:
  28172. parameters:
  28173. - description: 所属机构ID
  28174. in: query
  28175. name: userid
  28176. type: integer
  28177. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28178. in: query
  28179. name: filterstatus
  28180. type: string
  28181. - description: 名称(模糊匹配)
  28182. in: query
  28183. name: filtername
  28184. type: string
  28185. - description: 是否包含子级 1-包含
  28186. in: query
  28187. name: includesub
  28188. type: integer
  28189. produces:
  28190. - application/json
  28191. responses:
  28192. "200":
  28193. description: OK
  28194. schema:
  28195. items:
  28196. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28197. type: array
  28198. "500":
  28199. description: Internal Server Error
  28200. schema:
  28201. $ref: '#/definitions/app.Response'
  28202. security:
  28203. - ApiKeyAuth: []
  28204. summary: 查询经纪人申请
  28205. tags:
  28206. - 大连千海金(PCWeb)
  28207. /QhjMgr/QueryBrokerRewardReport:
  28208. get:
  28209. parameters:
  28210. - description: 所属机构ID
  28211. in: query
  28212. name: userid
  28213. required: true
  28214. type: integer
  28215. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28216. in: query
  28217. name: cycletype
  28218. required: true
  28219. type: integer
  28220. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28221. in: query
  28222. name: cycletime
  28223. required: true
  28224. type: string
  28225. - description: 名称(模糊匹配)
  28226. in: query
  28227. name: filtername
  28228. type: string
  28229. - description: 是否包含子级 1-包含
  28230. in: query
  28231. name: includesub
  28232. type: integer
  28233. produces:
  28234. - application/json
  28235. responses:
  28236. "200":
  28237. description: OK
  28238. schema:
  28239. items:
  28240. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28241. type: array
  28242. "500":
  28243. description: Internal Server Error
  28244. schema:
  28245. $ref: '#/definitions/app.Response'
  28246. security:
  28247. - ApiKeyAuth: []
  28248. summary: 查询经纪人奖励报表(废弃)
  28249. tags:
  28250. - 大连千海金(PCWeb)
  28251. /QhjMgr/QueryContract:
  28252. get:
  28253. parameters:
  28254. - description: 用户ID
  28255. in: query
  28256. name: userid
  28257. type: integer
  28258. - description: 商品id
  28259. in: query
  28260. name: goodsid
  28261. type: integer
  28262. - description: 名称(模糊搜索账户)
  28263. in: query
  28264. name: filtername
  28265. type: string
  28266. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28267. in: query
  28268. name: risklevel
  28269. type: string
  28270. - description: 开始交易日(yyyymmdd)
  28271. in: query
  28272. name: begindate
  28273. type: string
  28274. - description: 结束交易日(yyyymmdd)
  28275. in: query
  28276. name: enddate
  28277. type: string
  28278. produces:
  28279. - application/json
  28280. responses:
  28281. "200":
  28282. description: OK
  28283. schema:
  28284. items:
  28285. $ref: '#/definitions/models.QhjMgrContract'
  28286. type: array
  28287. "500":
  28288. description: Internal Server Error
  28289. schema:
  28290. $ref: '#/definitions/app.Response'
  28291. security:
  28292. - ApiKeyAuth: []
  28293. summary: 查询融资信息(合同)
  28294. tags:
  28295. - 大连千海金(PCWeb)
  28296. /QhjMgr/QueryCustomerInfo:
  28297. get:
  28298. parameters:
  28299. - description: 用户ID
  28300. in: query
  28301. name: userid
  28302. required: true
  28303. type: integer
  28304. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28305. in: query
  28306. name: querytype
  28307. required: true
  28308. type: integer
  28309. - description: 客户类型 1-个人 2-企业
  28310. in: query
  28311. name: userinfotype
  28312. type: integer
  28313. - description: 客户名称(模糊匹配)
  28314. in: query
  28315. name: customername
  28316. type: string
  28317. - description: 昵称(模糊匹配)
  28318. in: query
  28319. name: nickname
  28320. type: string
  28321. - description: 所属客户经理(模糊匹配)
  28322. in: query
  28323. name: brokername
  28324. type: string
  28325. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28326. 如0503 -5月3日)
  28327. in: query
  28328. name: birthday
  28329. type: string
  28330. - description: 是否包含子级 1-包含
  28331. in: query
  28332. name: includesub
  28333. type: integer
  28334. produces:
  28335. - application/json
  28336. responses:
  28337. "200":
  28338. description: OK
  28339. schema:
  28340. items:
  28341. $ref: '#/definitions/models.QhjMgrCustomer'
  28342. type: array
  28343. "500":
  28344. description: Internal Server Error
  28345. schema:
  28346. $ref: '#/definitions/app.Response'
  28347. security:
  28348. - ApiKeyAuth: []
  28349. summary: 查询客户资料
  28350. tags:
  28351. - 大连千海金(PCWeb)
  28352. /QhjMgr/QueryPickGoods:
  28353. get:
  28354. parameters:
  28355. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28356. in: query
  28357. name: status
  28358. type: string
  28359. produces:
  28360. - application/json
  28361. responses:
  28362. "200":
  28363. description: OK
  28364. schema:
  28365. items:
  28366. $ref: '#/definitions/models.QhjMgrPickGoods'
  28367. type: array
  28368. "500":
  28369. description: Internal Server Error
  28370. schema:
  28371. $ref: '#/definitions/app.Response'
  28372. security:
  28373. - ApiKeyAuth: []
  28374. summary: 查询提货商品
  28375. tags:
  28376. - 大连千海金(PCWeb)
  28377. /QhjMgr/QuerySubArea:
  28378. get:
  28379. parameters:
  28380. - description: 用户ID
  28381. in: query
  28382. name: userid
  28383. required: true
  28384. type: integer
  28385. produces:
  28386. - application/json
  28387. responses:
  28388. "200":
  28389. description: OK
  28390. schema:
  28391. items:
  28392. $ref: '#/definitions/models.QhjMgrSubArea'
  28393. type: array
  28394. "500":
  28395. description: Internal Server Error
  28396. schema:
  28397. $ref: '#/definitions/app.Response'
  28398. security:
  28399. - ApiKeyAuth: []
  28400. summary: 查询子机构列表
  28401. tags:
  28402. - 大连千海金(PCWeb)
  28403. /QhjMgr/QueryTradeDetail:
  28404. get:
  28405. parameters:
  28406. - description: 用户ID
  28407. in: query
  28408. name: userid
  28409. required: true
  28410. type: integer
  28411. - description: 用户类型 1-个人 2-企业
  28412. in: query
  28413. name: userinfotype
  28414. type: integer
  28415. - description: 交易模式
  28416. in: query
  28417. name: trademode
  28418. type: integer
  28419. - description: 商品id
  28420. in: query
  28421. name: goodsid
  28422. type: integer
  28423. - description: 名称(模糊搜索账户)
  28424. in: query
  28425. name: filtername
  28426. type: string
  28427. - description: 开始交易日(yyyymmdd)
  28428. in: query
  28429. name: begindate
  28430. type: string
  28431. - description: 结束交易日(yyyymmdd)
  28432. in: query
  28433. name: enddate
  28434. type: string
  28435. - description: 是否包含子级 1-包含
  28436. in: query
  28437. name: includesub
  28438. type: integer
  28439. produces:
  28440. - application/json
  28441. responses:
  28442. "200":
  28443. description: OK
  28444. schema:
  28445. items:
  28446. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28447. type: array
  28448. "500":
  28449. description: Internal Server Error
  28450. schema:
  28451. $ref: '#/definitions/app.Response'
  28452. security:
  28453. - ApiKeyAuth: []
  28454. summary: 查询成交明细
  28455. tags:
  28456. - 大连千海金(PCWeb)
  28457. /QhjMgr/QueryTradeOrderDetail:
  28458. get:
  28459. parameters:
  28460. - description: 用户ID
  28461. in: query
  28462. name: userid
  28463. required: true
  28464. type: integer
  28465. - description: 用户类型 1-个人 2-企业
  28466. in: query
  28467. name: userinfotype
  28468. type: integer
  28469. - description: 交易模式
  28470. in: query
  28471. name: trademode
  28472. type: integer
  28473. - description: 商品id
  28474. in: query
  28475. name: goodsid
  28476. type: integer
  28477. - description: 名称(模糊搜索账户)
  28478. in: query
  28479. name: filtername
  28480. type: string
  28481. - description: 开始交易日(yyyymmdd)
  28482. in: query
  28483. name: begindate
  28484. type: string
  28485. - description: 结束交易日(yyyymmdd)
  28486. in: query
  28487. name: enddate
  28488. type: string
  28489. - description: 是否包含子级 1-包含
  28490. in: query
  28491. name: includesub
  28492. type: integer
  28493. produces:
  28494. - application/json
  28495. responses:
  28496. "200":
  28497. description: OK
  28498. schema:
  28499. items:
  28500. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28501. type: array
  28502. "500":
  28503. description: Internal Server Error
  28504. schema:
  28505. $ref: '#/definitions/app.Response'
  28506. security:
  28507. - ApiKeyAuth: []
  28508. summary: 查询委托明细
  28509. tags:
  28510. - 大连千海金(PCWeb)
  28511. /QhjMgr/QueryTradePayOrder:
  28512. get:
  28513. parameters:
  28514. - description: 用户ID
  28515. in: query
  28516. name: userid
  28517. required: true
  28518. type: integer
  28519. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28520. in: query
  28521. name: payflag
  28522. type: string
  28523. - description: 用户类型 1-个人 2-企业
  28524. in: query
  28525. name: userinfotype
  28526. type: integer
  28527. - description: 交易模式
  28528. in: query
  28529. name: trademode
  28530. type: integer
  28531. - description: 商品id
  28532. in: query
  28533. name: goodsid
  28534. type: integer
  28535. - description: 名称(模糊搜索账户)
  28536. in: query
  28537. name: filtername
  28538. type: string
  28539. - description: 开始交易日(yyyymmdd)
  28540. in: query
  28541. name: begindate
  28542. type: string
  28543. - description: 结束交易日(yyyymmdd)
  28544. in: query
  28545. name: enddate
  28546. type: string
  28547. - description: 是否包含子级 1-包含
  28548. in: query
  28549. name: includesub
  28550. type: integer
  28551. produces:
  28552. - application/json
  28553. responses:
  28554. "200":
  28555. description: OK
  28556. schema:
  28557. items:
  28558. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28559. type: array
  28560. "500":
  28561. description: Internal Server Error
  28562. schema:
  28563. $ref: '#/definitions/app.Response'
  28564. security:
  28565. - ApiKeyAuth: []
  28566. summary: 查询待付款单
  28567. tags:
  28568. - 大连千海金(PCWeb)
  28569. /QhjMgr/QueryTradePosition:
  28570. get:
  28571. parameters:
  28572. - description: 用户ID
  28573. in: query
  28574. name: userid
  28575. required: true
  28576. type: integer
  28577. - description: 用户类型 1-个人 2-企业
  28578. in: query
  28579. name: userinfotype
  28580. type: integer
  28581. - description: 交易模式
  28582. in: query
  28583. name: trademode
  28584. type: integer
  28585. - description: 商品id
  28586. in: query
  28587. name: goodsid
  28588. type: integer
  28589. - description: 名称(模糊搜索账户)
  28590. in: query
  28591. name: filtername
  28592. type: string
  28593. - description: 是否包含子级 1-包含
  28594. in: query
  28595. name: includesub
  28596. type: integer
  28597. produces:
  28598. - application/json
  28599. responses:
  28600. "200":
  28601. description: OK
  28602. schema:
  28603. items:
  28604. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28605. type: array
  28606. "500":
  28607. description: Internal Server Error
  28608. schema:
  28609. $ref: '#/definitions/app.Response'
  28610. security:
  28611. - ApiKeyAuth: []
  28612. summary: 查询持仓汇总
  28613. tags:
  28614. - 大连千海金(PCWeb)
  28615. /QhjSys/QueryAgreementChangeLog:
  28616. get:
  28617. parameters:
  28618. - description: 协议ID
  28619. in: query
  28620. name: agreementid
  28621. type: integer
  28622. - description: 协议版本号
  28623. in: query
  28624. name: agreementversion
  28625. type: integer
  28626. - description: 协议类型 - 1:注册 2:登录 3:交易
  28627. in: query
  28628. name: agreementtype
  28629. type: integer
  28630. - description: 协议编号(模糊匹配)
  28631. in: query
  28632. name: agreementno
  28633. type: string
  28634. - description: 协议名称(模糊匹配)
  28635. in: query
  28636. name: agreementname
  28637. type: string
  28638. produces:
  28639. - application/json
  28640. responses:
  28641. "200":
  28642. description: OK
  28643. schema:
  28644. items:
  28645. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28646. type: array
  28647. "500":
  28648. description: Internal Server Error
  28649. schema:
  28650. $ref: '#/definitions/app.Response'
  28651. security:
  28652. - ApiKeyAuth: []
  28653. summary: 查询协议配置变更流水
  28654. tags:
  28655. - 大连千海金(协议和签约信息)
  28656. /QhjSys/QueryAgreementConfig:
  28657. get:
  28658. parameters:
  28659. - description: 协议ID
  28660. in: query
  28661. name: agreementid
  28662. type: integer
  28663. - description: 协议版本号
  28664. in: query
  28665. name: agreementversion
  28666. type: integer
  28667. - description: 协议类型 - 1:注册 2:登录 3:交易
  28668. in: query
  28669. name: agreementtype
  28670. type: integer
  28671. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28672. in: query
  28673. name: isvalid
  28674. type: integer
  28675. - description: 协议编号(模糊匹配)
  28676. in: query
  28677. name: agreementno
  28678. type: string
  28679. - description: 协议名称(模糊匹配)
  28680. in: query
  28681. name: agreementname
  28682. type: string
  28683. produces:
  28684. - application/json
  28685. responses:
  28686. "200":
  28687. description: OK
  28688. schema:
  28689. items:
  28690. $ref: '#/definitions/models.QhjAgreementConfig'
  28691. type: array
  28692. "500":
  28693. description: Internal Server Error
  28694. schema:
  28695. $ref: '#/definitions/app.Response'
  28696. security:
  28697. - ApiKeyAuth: []
  28698. summary: 查询协议配置
  28699. tags:
  28700. - 大连千海金(协议和签约信息)
  28701. /QhjSys/QueryCustomerSignStatus:
  28702. get:
  28703. parameters:
  28704. - description: 客户ID
  28705. in: query
  28706. name: userid
  28707. type: integer
  28708. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28709. in: query
  28710. name: nodetype
  28711. type: integer
  28712. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28713. in: query
  28714. name: goodsid
  28715. type: integer
  28716. - description: 创建交易日(yyyyMMdd)
  28717. in: query
  28718. name: tradedate
  28719. type: string
  28720. - description: 用户名称(模糊匹配)
  28721. in: query
  28722. name: username
  28723. type: string
  28724. produces:
  28725. - application/json
  28726. responses:
  28727. "200":
  28728. description: OK
  28729. schema:
  28730. items:
  28731. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28732. type: array
  28733. "500":
  28734. description: Internal Server Error
  28735. schema:
  28736. $ref: '#/definitions/app.Response'
  28737. security:
  28738. - ApiKeyAuth: []
  28739. summary: 查询客户协议签约状态
  28740. tags:
  28741. - 大连千海金(协议和签约信息)
  28742. /QhjSys/QueryNodeAgreementConfig:
  28743. get:
  28744. parameters:
  28745. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28746. in: query
  28747. name: configid
  28748. type: integer
  28749. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28750. in: query
  28751. name: nodetype
  28752. type: integer
  28753. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28754. in: query
  28755. name: goodsid
  28756. type: integer
  28757. - description: 协议ID
  28758. in: query
  28759. name: agreementid
  28760. type: integer
  28761. - description: 协议类型 - 1:注册 2:登录 3:交易
  28762. in: query
  28763. name: agreementtype
  28764. type: integer
  28765. - description: 协议版本号
  28766. in: query
  28767. name: agreementversion
  28768. type: integer
  28769. - description: 协议编号(模糊匹配)
  28770. in: query
  28771. name: agreementno
  28772. type: string
  28773. - description: 协议名称(模糊匹配)
  28774. in: query
  28775. name: agreementname
  28776. type: string
  28777. produces:
  28778. - application/json
  28779. responses:
  28780. "200":
  28781. description: OK
  28782. schema:
  28783. items:
  28784. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28785. type: array
  28786. "500":
  28787. description: Internal Server Error
  28788. schema:
  28789. $ref: '#/definitions/app.Response'
  28790. security:
  28791. - ApiKeyAuth: []
  28792. summary: 查询协议节点配置
  28793. tags:
  28794. - 大连千海金(协议和签约信息)
  28795. /QhjSys/QueryQhjCustomerSignLog:
  28796. get:
  28797. parameters:
  28798. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28799. in: query
  28800. name: logid
  28801. type: integer
  28802. - description: 客户ID
  28803. in: query
  28804. name: userid
  28805. type: integer
  28806. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28807. in: query
  28808. name: nodetype
  28809. type: integer
  28810. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28811. in: query
  28812. name: goodsid
  28813. type: integer
  28814. - description: 协议ID
  28815. in: query
  28816. name: agreementid
  28817. type: integer
  28818. - description: 用户名称(模糊匹配)
  28819. in: query
  28820. name: username
  28821. type: string
  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.QhjCustomerSignLog'
  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/QueryUserNodeCfgAndStatus:
  28849. get:
  28850. parameters:
  28851. - description: 客户ID
  28852. in: query
  28853. name: userid
  28854. type: integer
  28855. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28856. in: query
  28857. name: configid
  28858. type: integer
  28859. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28860. in: query
  28861. name: nodetype
  28862. type: string
  28863. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28864. in: query
  28865. name: goodsid
  28866. type: integer
  28867. - description: 协议ID
  28868. in: query
  28869. name: agreementid
  28870. type: integer
  28871. - description: 协议类型 - 1:注册 2:登录 3:交易
  28872. in: query
  28873. name: agreementtype
  28874. type: integer
  28875. - description: 协议版本号
  28876. in: query
  28877. name: agreementversion
  28878. type: integer
  28879. - description: 协议编号(模糊匹配)
  28880. in: query
  28881. name: agreementno
  28882. type: string
  28883. - description: 协议名称(模糊匹配)
  28884. in: query
  28885. name: agreementname
  28886. type: string
  28887. produces:
  28888. - application/json
  28889. responses:
  28890. "200":
  28891. description: OK
  28892. schema:
  28893. items:
  28894. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  28895. type: array
  28896. "500":
  28897. description: Internal Server Error
  28898. schema:
  28899. $ref: '#/definitions/app.Response'
  28900. security:
  28901. - ApiKeyAuth: []
  28902. summary: 查询用户协议节点配置和状态
  28903. tags:
  28904. - 大连千海金(协议和签约信息)
  28905. /Quote/QueryHistoryDatas:
  28906. get:
  28907. parameters:
  28908. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  28909. 日线 12:周线 13:月线 14:年线'
  28910. in: query
  28911. name: cycleType
  28912. required: true
  28913. type: integer
  28914. - description: 商品代码
  28915. in: query
  28916. name: goodsCode
  28917. required: true
  28918. type: string
  28919. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28920. in: query
  28921. name: startTime
  28922. type: string
  28923. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28924. in: query
  28925. name: endTime
  28926. type: string
  28927. - description: 条数
  28928. in: query
  28929. name: count
  28930. type: integer
  28931. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28932. in: query
  28933. name: isAsc
  28934. type: boolean
  28935. produces:
  28936. - application/json
  28937. responses:
  28938. "200":
  28939. description: OK
  28940. schema:
  28941. $ref: '#/definitions/quote.HistoryData'
  28942. "500":
  28943. description: Internal Server Error
  28944. schema:
  28945. $ref: '#/definitions/app.Response'
  28946. security:
  28947. - ApiKeyAuth: []
  28948. summary: 查询行情历史数据
  28949. tags:
  28950. - 行情服务
  28951. /Quote/QueryHistoryTikDatas:
  28952. get:
  28953. parameters:
  28954. - description: 商品代码
  28955. in: query
  28956. name: goodsCode
  28957. required: true
  28958. type: string
  28959. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28960. in: query
  28961. name: startTime
  28962. type: string
  28963. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28964. in: query
  28965. name: endTime
  28966. type: string
  28967. - description: 条数
  28968. in: query
  28969. name: count
  28970. type: integer
  28971. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28972. in: query
  28973. name: isAsc
  28974. type: boolean
  28975. produces:
  28976. - application/json
  28977. responses:
  28978. "200":
  28979. description: OK
  28980. schema:
  28981. $ref: '#/definitions/quote.HistoryTikData'
  28982. "500":
  28983. description: Internal Server Error
  28984. schema:
  28985. $ref: '#/definitions/app.Response'
  28986. security:
  28987. - ApiKeyAuth: []
  28988. summary: 查询行情Tik数据
  28989. tags:
  28990. - 行情服务
  28991. /Quote/QueryQuoteDay:
  28992. get:
  28993. parameters:
  28994. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  28995. in: query
  28996. name: goodsCodes
  28997. type: string
  28998. produces:
  28999. - application/json
  29000. responses:
  29001. "200":
  29002. description: OK
  29003. schema:
  29004. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  29005. "500":
  29006. description: Internal Server Error
  29007. schema:
  29008. $ref: '#/definitions/app.Response'
  29009. security:
  29010. - ApiKeyAuth: []
  29011. summary: 获取商品盘面信息
  29012. tags:
  29013. - 行情服务
  29014. /Quote/QueryTSData:
  29015. get:
  29016. parameters:
  29017. - description: 商品代码
  29018. in: query
  29019. name: goodsCode
  29020. required: true
  29021. type: string
  29022. produces:
  29023. - application/json
  29024. responses:
  29025. "200":
  29026. description: OK
  29027. schema:
  29028. $ref: '#/definitions/quote.QueryTSDataRsp'
  29029. "500":
  29030. description: Internal Server Error
  29031. schema:
  29032. $ref: '#/definitions/app.Response'
  29033. security:
  29034. - ApiKeyAuth: []
  29035. summary: 分时图数据查询
  29036. tags:
  29037. - 行情服务
  29038. /SZDZ/QueryConvertConfig:
  29039. get:
  29040. parameters:
  29041. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  29042. 6:交易转花生米(不设置)
  29043. in: query
  29044. name: convertType
  29045. type: integer
  29046. - description: 外部商品代码[JD\PD]
  29047. in: query
  29048. name: outerGoodsCode
  29049. type: string
  29050. - description: 内部商品ID列表[交易],格式:1,2,3
  29051. in: query
  29052. name: innerGoodsIDs
  29053. type: string
  29054. produces:
  29055. - application/json
  29056. responses:
  29057. "200":
  29058. description: OK
  29059. schema:
  29060. $ref: '#/definitions/models.Szdz3convertconfig'
  29061. "500":
  29062. description: Internal Server Error
  29063. schema:
  29064. $ref: '#/definitions/app.Response'
  29065. security:
  29066. - ApiKeyAuth: []
  29067. summary: 查询交易系统转换设置
  29068. tags:
  29069. - 定制【尚志大宗】
  29070. /SZDZ/QueryConvertLog:
  29071. get:
  29072. parameters:
  29073. - description: 资金账户 - 格式:1,2,3
  29074. in: query
  29075. name: accountID
  29076. required: true
  29077. type: string
  29078. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29079. in: query
  29080. name: startDate
  29081. type: string
  29082. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29083. in: query
  29084. name: endDate
  29085. type: string
  29086. produces:
  29087. - application/json
  29088. responses:
  29089. "200":
  29090. description: OK
  29091. schema:
  29092. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29093. "500":
  29094. description: Internal Server Error
  29095. schema:
  29096. $ref: '#/definitions/app.Response'
  29097. security:
  29098. - ApiKeyAuth: []
  29099. summary: 交易系统转换流水查询
  29100. tags:
  29101. - 定制【尚志大宗】
  29102. /SZDZ/QueryGoodsPickup:
  29103. get:
  29104. parameters:
  29105. - description: 资金账户 - 格式:1,2,3
  29106. in: query
  29107. name: accountID
  29108. required: true
  29109. type: string
  29110. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29111. in: query
  29112. name: takeOrderStatus
  29113. type: integer
  29114. produces:
  29115. - application/json
  29116. responses:
  29117. "200":
  29118. description: OK
  29119. schema:
  29120. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29121. "500":
  29122. description: Internal Server Error
  29123. schema:
  29124. $ref: '#/definitions/app.Response'
  29125. security:
  29126. - ApiKeyAuth: []
  29127. summary: 商品提货单查询
  29128. tags:
  29129. - 定制【尚志大宗】
  29130. /SZDZ/QueryRecieptOrder:
  29131. get:
  29132. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29133. parameters:
  29134. - description: 页码
  29135. in: query
  29136. name: page
  29137. type: integer
  29138. - description: 每页条数
  29139. in: query
  29140. name: pagesize
  29141. type: integer
  29142. - description: 商品ID
  29143. in: query
  29144. name: goodsID
  29145. required: true
  29146. type: integer
  29147. - description: 所属账户名称
  29148. in: query
  29149. name: accountName
  29150. type: string
  29151. - description: 市场ID
  29152. in: query
  29153. name: marketID
  29154. type: integer
  29155. - description: 方向 - 0:买 1:卖
  29156. in: query
  29157. name: buyorsell
  29158. required: true
  29159. type: integer
  29160. produces:
  29161. - application/json
  29162. responses:
  29163. "200":
  29164. description: OK
  29165. schema:
  29166. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29167. "500":
  29168. description: Internal Server Error
  29169. schema:
  29170. $ref: '#/definitions/app.Response'
  29171. security:
  29172. - ApiKeyAuth: []
  29173. summary: 点选挂牌委托单据查询(摘牌大厅)
  29174. tags:
  29175. - 定制【尚志大宗】
  29176. /SZDZ/QuerySZDZTradePosition:
  29177. get:
  29178. parameters:
  29179. - description: 资金账户
  29180. in: query
  29181. name: accountID
  29182. required: true
  29183. type: integer
  29184. produces:
  29185. - application/json
  29186. responses:
  29187. "200":
  29188. description: OK
  29189. schema:
  29190. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29191. "500":
  29192. description: Internal Server Error
  29193. schema:
  29194. $ref: '#/definitions/app.Response'
  29195. security:
  29196. - ApiKeyAuth: []
  29197. summary: 持仓汇总查询(尚志大宗)
  29198. tags:
  29199. - 定制【尚志大宗】
  29200. /SZDZ/SearchWhite:
  29201. get:
  29202. parameters:
  29203. - description: 用户ID
  29204. in: query
  29205. name: userID
  29206. required: true
  29207. type: integer
  29208. produces:
  29209. - application/json
  29210. responses:
  29211. "200":
  29212. description: OK
  29213. schema:
  29214. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29215. "500":
  29216. description: Internal Server Error
  29217. schema:
  29218. $ref: '#/definitions/app.Response'
  29219. security:
  29220. - ApiKeyAuth: []
  29221. summary: 搜索白名单
  29222. tags:
  29223. - 定制【尚志大宗】
  29224. /Search/SearchGoodses:
  29225. get:
  29226. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29227. parameters:
  29228. - description: 检索内容
  29229. in: query
  29230. name: content
  29231. required: true
  29232. type: string
  29233. - description: 交易模式,格式:1,2,3
  29234. in: query
  29235. name: tradeModes
  29236. type: string
  29237. produces:
  29238. - application/json
  29239. responses:
  29240. "200":
  29241. description: OK
  29242. schema:
  29243. $ref: '#/definitions/models.SearchGoods'
  29244. "500":
  29245. description: Internal Server Error
  29246. schema:
  29247. $ref: '#/definitions/app.Response'
  29248. summary: 检索商品信息
  29249. tags:
  29250. - 检索服务
  29251. /TaAccount/GetTaAccounts:
  29252. get:
  29253. parameters:
  29254. - description: 登录账户
  29255. in: query
  29256. name: loginID
  29257. required: true
  29258. type: integer
  29259. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29260. in: query
  29261. name: taAccountType
  29262. type: integer
  29263. produces:
  29264. - application/json
  29265. responses:
  29266. "200":
  29267. description: OK
  29268. schema:
  29269. $ref: '#/definitions/models.Taaccount'
  29270. "500":
  29271. description: Internal Server Error
  29272. schema:
  29273. $ref: '#/definitions/app.Response'
  29274. security:
  29275. - ApiKeyAuth: []
  29276. summary: 获取资金账户信息
  29277. tags:
  29278. - 资金账户
  29279. /TaAccount/QueryAmountLog:
  29280. get:
  29281. parameters:
  29282. - description: 页码
  29283. in: query
  29284. name: page
  29285. type: integer
  29286. - description: 每页条数
  29287. in: query
  29288. name: pagesize
  29289. type: integer
  29290. - description: 资金账户 - 格式:1,2,3
  29291. in: query
  29292. name: accountID
  29293. required: true
  29294. type: string
  29295. - description: 资金操作类型 - 格式:1,2,3
  29296. in: query
  29297. name: OperateType
  29298. type: string
  29299. produces:
  29300. - application/json
  29301. responses:
  29302. "200":
  29303. description: OK
  29304. schema:
  29305. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29306. "500":
  29307. description: Internal Server Error
  29308. schema:
  29309. $ref: '#/definitions/app.Response'
  29310. security:
  29311. - ApiKeyAuth: []
  29312. summary: 资金流水查询(当前)
  29313. tags:
  29314. - 资金账户
  29315. /TaAccount/QueryHisAmountLog:
  29316. get:
  29317. parameters:
  29318. - description: 页码
  29319. in: query
  29320. name: page
  29321. type: integer
  29322. - description: 每页条数
  29323. in: query
  29324. name: pagesize
  29325. type: integer
  29326. - description: 资金账户 - 格式:1,2,3
  29327. in: query
  29328. name: accountID
  29329. required: true
  29330. type: string
  29331. - description: 资金操作类型 - 格式:1,2,3
  29332. in: query
  29333. name: OperateType
  29334. type: string
  29335. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29336. in: query
  29337. name: startDate
  29338. type: string
  29339. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29340. in: query
  29341. name: endDate
  29342. type: string
  29343. produces:
  29344. - application/json
  29345. responses:
  29346. "200":
  29347. description: OK
  29348. schema:
  29349. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29350. "500":
  29351. description: Internal Server Error
  29352. schema:
  29353. $ref: '#/definitions/app.Response'
  29354. security:
  29355. - ApiKeyAuth: []
  29356. summary: 资金流水查询(历史)
  29357. tags:
  29358. - 资金账户
  29359. /TaAccount/QueryRelatedTaAccount:
  29360. get:
  29361. parameters:
  29362. - description: 关联UserID
  29363. in: query
  29364. name: relateduserid
  29365. required: true
  29366. type: integer
  29367. produces:
  29368. - application/json
  29369. responses:
  29370. "200":
  29371. description: OK
  29372. schema:
  29373. items:
  29374. $ref: '#/definitions/models.RelatedTaAccount'
  29375. type: array
  29376. "500":
  29377. description: Internal Server Error
  29378. schema:
  29379. $ref: '#/definitions/app.Response'
  29380. security:
  29381. - ApiKeyAuth: []
  29382. summary: 查询关联资金账户信息
  29383. tags:
  29384. - 资金账户
  29385. /Tjmd/QueryQuoteGoodsList:
  29386. get:
  29387. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29388. parameters:
  29389. - description: 用户类型
  29390. in: query
  29391. name: usertype
  29392. required: true
  29393. type: integer
  29394. - description: 市场id, 格式 1,2,3
  29395. in: query
  29396. name: marketids
  29397. type: string
  29398. - description: 商品组id
  29399. in: query
  29400. name: goodsgroupid
  29401. type: integer
  29402. - description: 商品id
  29403. in: query
  29404. name: goodsid
  29405. type: integer
  29406. produces:
  29407. - application/json
  29408. responses:
  29409. "200":
  29410. description: OK
  29411. schema:
  29412. items:
  29413. $ref: '#/definitions/models.TjmdQuoteGoods'
  29414. type: array
  29415. "500":
  29416. description: Internal Server Error
  29417. schema:
  29418. $ref: '#/definitions/app.Response'
  29419. security:
  29420. - ApiKeyAuth: []
  29421. summary: 查询掉期报价列表
  29422. tags:
  29423. - 天津麦顿
  29424. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29425. get:
  29426. parameters:
  29427. - description: 成交单号
  29428. in: query
  29429. name: tradeid
  29430. required: true
  29431. type: string
  29432. produces:
  29433. - application/json
  29434. responses:
  29435. "200":
  29436. description: OK
  29437. schema:
  29438. items:
  29439. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29440. type: array
  29441. "500":
  29442. description: Internal Server Error
  29443. schema:
  29444. $ref: '#/definitions/app.Response'
  29445. security:
  29446. - ApiKeyAuth: []
  29447. summary: 掉期商品订单详情(交易确认书)
  29448. tags:
  29449. - 天津麦顿
  29450. /Tjmd/QueryTjmdMarketSection:
  29451. get:
  29452. produces:
  29453. - application/json
  29454. responses:
  29455. "200":
  29456. description: OK
  29457. schema:
  29458. items:
  29459. $ref: '#/definitions/models.TjmdMarketSection'
  29460. type: array
  29461. "500":
  29462. description: Internal Server Error
  29463. schema:
  29464. $ref: '#/definitions/app.Response'
  29465. security:
  29466. - ApiKeyAuth: []
  29467. summary: 查询市场板块
  29468. tags:
  29469. - 天津麦顿
  29470. /Tjmd/QueryTjmdTodayAccountMargin:
  29471. get:
  29472. parameters:
  29473. - description: 市场id
  29474. in: query
  29475. name: marketid
  29476. type: string
  29477. - description: 商品id
  29478. in: query
  29479. name: goodsid
  29480. type: string
  29481. - description: 资金账号
  29482. in: query
  29483. name: accountid
  29484. type: string
  29485. produces:
  29486. - application/json
  29487. responses:
  29488. "200":
  29489. description: OK
  29490. schema:
  29491. items:
  29492. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29493. type: array
  29494. "500":
  29495. description: Internal Server Error
  29496. schema:
  29497. $ref: '#/definitions/app.Response'
  29498. security:
  29499. - ApiKeyAuth: []
  29500. summary: 查询今日账户保证金配置
  29501. tags:
  29502. - 天津麦顿
  29503. /Tjmd/QueryTjmdTradeOrderDetail:
  29504. get:
  29505. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29506. parameters:
  29507. - description: 页码
  29508. in: query
  29509. name: page
  29510. type: integer
  29511. - description: 每页条数
  29512. in: query
  29513. name: pagesize
  29514. type: integer
  29515. - description: 用户id
  29516. in: query
  29517. name: userid
  29518. required: true
  29519. type: integer
  29520. - description: 用户类型
  29521. in: query
  29522. name: usertype
  29523. required: true
  29524. type: integer
  29525. - description: 市场id, 格式 1,2,3
  29526. in: query
  29527. name: marketids
  29528. type: string
  29529. - description: 商品id
  29530. in: query
  29531. name: goodsid
  29532. required: true
  29533. type: integer
  29534. - description: 买卖方向 0-买 1-卖
  29535. in: query
  29536. name: buyorsell
  29537. required: true
  29538. type: integer
  29539. produces:
  29540. - application/json
  29541. responses:
  29542. "200":
  29543. description: OK
  29544. schema:
  29545. items:
  29546. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29547. type: array
  29548. "500":
  29549. description: Internal Server Error
  29550. schema:
  29551. $ref: '#/definitions/app.Response'
  29552. security:
  29553. - ApiKeyAuth: []
  29554. summary: 查询掉期买卖大厅
  29555. tags:
  29556. - 天津麦顿
  29557. /Tjmd/QueryTjmdTransferApply:
  29558. get:
  29559. parameters:
  29560. - description: 类型 1-我的申请 2-对方申请
  29561. in: query
  29562. name: applytype
  29563. required: true
  29564. type: integer
  29565. - description: 市场id, 格式 1,2,3
  29566. in: query
  29567. name: marketids
  29568. type: string
  29569. - description: 资金账号, 格式 25000000001,25000000003
  29570. in: query
  29571. name: accountids
  29572. type: string
  29573. - description: 开始交易日(yyyymmdd)
  29574. in: query
  29575. name: begindate
  29576. type: string
  29577. - description: 结束交易日(yyyymmdd)
  29578. in: query
  29579. name: enddate
  29580. type: string
  29581. produces:
  29582. - application/json
  29583. responses:
  29584. "200":
  29585. description: OK
  29586. schema:
  29587. items:
  29588. $ref: '#/definitions/models.TjmdTransferApply'
  29589. type: array
  29590. "500":
  29591. description: Internal Server Error
  29592. schema:
  29593. $ref: '#/definitions/app.Response'
  29594. security:
  29595. - ApiKeyAuth: []
  29596. summary: 查询掉期协议单
  29597. tags:
  29598. - 天津麦顿
  29599. /Trade/QueryRecieptOrder:
  29600. get:
  29601. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29602. parameters:
  29603. - description: 页码
  29604. in: query
  29605. name: page
  29606. type: integer
  29607. - description: 每页条数
  29608. in: query
  29609. name: pagesize
  29610. type: integer
  29611. - description: 商品ID
  29612. in: query
  29613. name: goodsID
  29614. required: true
  29615. type: integer
  29616. - description: 所属账户名称
  29617. in: query
  29618. name: accountName
  29619. type: string
  29620. - description: 市场ID
  29621. in: query
  29622. name: marketID
  29623. type: integer
  29624. - description: 方向 - 0:买 1:卖
  29625. in: query
  29626. name: buyorsell
  29627. required: true
  29628. type: integer
  29629. produces:
  29630. - application/json
  29631. responses:
  29632. "200":
  29633. description: OK
  29634. schema:
  29635. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29636. "500":
  29637. description: Internal Server Error
  29638. schema:
  29639. $ref: '#/definitions/app.Response'
  29640. security:
  29641. - ApiKeyAuth: []
  29642. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29643. tags:
  29644. - 通用交易
  29645. /User/AddMessageBoard:
  29646. post:
  29647. parameters:
  29648. - description: 用户ID
  29649. in: query
  29650. name: userID
  29651. required: true
  29652. type: integer
  29653. - description: 留言信息
  29654. in: query
  29655. name: message
  29656. required: true
  29657. type: string
  29658. - description: 联系电话
  29659. in: query
  29660. name: contactNum
  29661. required: true
  29662. type: string
  29663. produces:
  29664. - application/json
  29665. responses:
  29666. "200":
  29667. description: OK
  29668. schema:
  29669. $ref: '#/definitions/app.Response'
  29670. "500":
  29671. description: Internal Server Error
  29672. schema:
  29673. $ref: '#/definitions/app.Response'
  29674. security:
  29675. - ApiKeyAuth: []
  29676. summary: 添加用户留言板信息
  29677. tags:
  29678. - 用户信息
  29679. /User/AddUserFavoriteGoods:
  29680. post:
  29681. parameters:
  29682. - description: 用户ID
  29683. in: query
  29684. name: userID
  29685. required: true
  29686. type: integer
  29687. - description: 商品ID
  29688. in: query
  29689. name: goodsID
  29690. required: true
  29691. type: integer
  29692. produces:
  29693. - application/json
  29694. responses:
  29695. "200":
  29696. description: OK
  29697. schema:
  29698. $ref: '#/definitions/app.Response'
  29699. "500":
  29700. description: Internal Server Error
  29701. schema:
  29702. $ref: '#/definitions/app.Response'
  29703. security:
  29704. - ApiKeyAuth: []
  29705. summary: 添加用户商品收藏信息
  29706. tags:
  29707. - 用户信息
  29708. /User/GetLoginID:
  29709. get:
  29710. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29711. parameters:
  29712. - description: 登录代码
  29713. in: query
  29714. name: username
  29715. required: true
  29716. type: string
  29717. produces:
  29718. - application/json
  29719. responses:
  29720. "200":
  29721. description: OK
  29722. schema:
  29723. $ref: '#/definitions/app.Response'
  29724. "500":
  29725. description: Internal Server Error
  29726. schema:
  29727. $ref: '#/definitions/app.Response'
  29728. summary: 获取登录ID
  29729. tags:
  29730. - 用户信息
  29731. /User/GetUserAccount:
  29732. get:
  29733. parameters:
  29734. - description: 用户ID
  29735. in: query
  29736. name: userID
  29737. required: true
  29738. type: integer
  29739. produces:
  29740. - application/json
  29741. responses:
  29742. "200":
  29743. description: OK
  29744. schema:
  29745. $ref: '#/definitions/models.Useraccount'
  29746. "500":
  29747. description: Internal Server Error
  29748. schema:
  29749. $ref: '#/definitions/app.Response'
  29750. security:
  29751. - ApiKeyAuth: []
  29752. summary: 获取用户账号信息
  29753. tags:
  29754. - 用户信息
  29755. /User/GetUserAuthStatus:
  29756. get:
  29757. parameters:
  29758. - description: 用户ID
  29759. in: query
  29760. name: userID
  29761. required: true
  29762. type: integer
  29763. produces:
  29764. - application/json
  29765. responses:
  29766. "200":
  29767. description: OK
  29768. schema:
  29769. $ref: '#/definitions/app.Response'
  29770. "500":
  29771. description: Internal Server Error
  29772. schema:
  29773. $ref: '#/definitions/app.Response'
  29774. security:
  29775. - ApiKeyAuth: []
  29776. summary: 获取用户实名认证状态
  29777. tags:
  29778. - 用户信息
  29779. /User/LoginQuery:
  29780. get:
  29781. parameters:
  29782. - description: 登录账号
  29783. in: query
  29784. name: loginID
  29785. required: true
  29786. type: integer
  29787. produces:
  29788. - application/json
  29789. responses:
  29790. "200":
  29791. description: OK
  29792. schema:
  29793. $ref: '#/definitions/user.LoginQueryRsp'
  29794. "500":
  29795. description: Internal Server Error
  29796. schema:
  29797. $ref: '#/definitions/app.Response'
  29798. security:
  29799. - ApiKeyAuth: []
  29800. summary: 账户登录后信息查询
  29801. tags:
  29802. - 用户信息
  29803. /User/QueryMessageBoard:
  29804. get:
  29805. parameters:
  29806. - description: 用户ID
  29807. in: query
  29808. name: userID
  29809. required: true
  29810. type: integer
  29811. produces:
  29812. - application/json
  29813. responses:
  29814. "200":
  29815. description: OK
  29816. schema:
  29817. $ref: '#/definitions/models.Messageboard'
  29818. "500":
  29819. description: Internal Server Error
  29820. schema:
  29821. $ref: '#/definitions/app.Response'
  29822. security:
  29823. - ApiKeyAuth: []
  29824. summary: 获取用户留言板信息
  29825. tags:
  29826. - 用户信息
  29827. /User/QueryUserFavoriteGoodses:
  29828. get:
  29829. parameters:
  29830. - description: 用户ID
  29831. in: query
  29832. name: userID
  29833. required: true
  29834. type: integer
  29835. produces:
  29836. - application/json
  29837. responses:
  29838. "200":
  29839. description: OK
  29840. schema:
  29841. $ref: '#/definitions/models.Userfavoritegoods'
  29842. "500":
  29843. description: Internal Server Error
  29844. schema:
  29845. $ref: '#/definitions/app.Response'
  29846. security:
  29847. - ApiKeyAuth: []
  29848. summary: 获取用户商品收藏信息
  29849. tags:
  29850. - 用户信息
  29851. /User/QueryUserInfo:
  29852. get:
  29853. parameters:
  29854. - description: 用户ID
  29855. in: query
  29856. name: userID
  29857. required: true
  29858. type: integer
  29859. - description: 是否解密
  29860. in: query
  29861. name: isDecrypt
  29862. type: boolean
  29863. produces:
  29864. - application/json
  29865. responses:
  29866. "200":
  29867. description: OK
  29868. schema:
  29869. $ref: '#/definitions/models.Userinfo'
  29870. "500":
  29871. description: Internal Server Error
  29872. schema:
  29873. $ref: '#/definitions/app.Response'
  29874. security:
  29875. - ApiKeyAuth: []
  29876. summary: 获取用户信息
  29877. tags:
  29878. - 用户信息
  29879. /User/QueryUserReferNum:
  29880. get:
  29881. parameters:
  29882. - description: 用户ID
  29883. in: query
  29884. name: userID
  29885. required: true
  29886. type: integer
  29887. produces:
  29888. - application/json
  29889. responses:
  29890. "200":
  29891. description: OK
  29892. schema:
  29893. $ref: '#/definitions/app.Response'
  29894. "500":
  29895. description: Internal Server Error
  29896. schema:
  29897. $ref: '#/definitions/app.Response'
  29898. summary: 获取用户邀请码
  29899. tags:
  29900. - 用户信息
  29901. /User/RemoveUserFavoriteGoods:
  29902. post:
  29903. parameters:
  29904. - description: 用户ID
  29905. in: query
  29906. name: userID
  29907. required: true
  29908. type: integer
  29909. - description: 商品ID
  29910. in: query
  29911. name: goodsID
  29912. required: true
  29913. type: integer
  29914. produces:
  29915. - application/json
  29916. responses:
  29917. "200":
  29918. description: OK
  29919. schema:
  29920. $ref: '#/definitions/app.Response'
  29921. "500":
  29922. description: Internal Server Error
  29923. schema:
  29924. $ref: '#/definitions/app.Response'
  29925. security:
  29926. - ApiKeyAuth: []
  29927. summary: 移除用户商品收藏信息
  29928. tags:
  29929. - 用户信息
  29930. /User/UpdateUserAccountStatus:
  29931. post:
  29932. parameters:
  29933. - description: 用户ID
  29934. in: query
  29935. name: userID
  29936. required: true
  29937. type: integer
  29938. - description: 账户状态 - 4:正常 6:注销(停用)
  29939. in: query
  29940. name: accountStatus
  29941. required: true
  29942. type: integer
  29943. produces:
  29944. - application/json
  29945. responses:
  29946. "200":
  29947. description: OK
  29948. schema:
  29949. $ref: '#/definitions/app.Response'
  29950. "500":
  29951. description: Internal Server Error
  29952. schema:
  29953. $ref: '#/definitions/app.Response'
  29954. security:
  29955. - ApiKeyAuth: []
  29956. summary: 更新用户状态
  29957. tags:
  29958. - 用户信息
  29959. /WRTrade/GetAllDeliveryGoods:
  29960. get:
  29961. produces:
  29962. - application/json
  29963. responses:
  29964. "200":
  29965. description: OK
  29966. schema:
  29967. $ref: '#/definitions/app.Response'
  29968. "500":
  29969. description: Internal Server Error
  29970. schema:
  29971. $ref: '#/definitions/app.Response'
  29972. security:
  29973. - ApiKeyAuth: []
  29974. summary: 获取带仓单分类的种类信息
  29975. tags:
  29976. - 仓单贸易
  29977. - 仓单贸易
  29978. /WrTrade2/InsertXhcpSellBackApply:
  29979. post:
  29980. parameters:
  29981. - description: 回收申请
  29982. in: body
  29983. name: jsonBody
  29984. required: true
  29985. schema:
  29986. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  29987. produces:
  29988. - application/json
  29989. responses:
  29990. "200":
  29991. description: OK
  29992. schema:
  29993. $ref: '#/definitions/app.Response'
  29994. "500":
  29995. description: Internal Server Error
  29996. schema:
  29997. $ref: '#/definitions/app.Response'
  29998. security:
  29999. - ApiKeyAuth: []
  30000. summary: 新增回收申请(新会陈皮)
  30001. tags:
  30002. - 仓单贸易v2
  30003. /WrTrade2/QueryDeliveryGoodsSection:
  30004. get:
  30005. produces:
  30006. - application/json
  30007. responses:
  30008. "200":
  30009. description: OK
  30010. schema:
  30011. items:
  30012. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  30013. type: array
  30014. "500":
  30015. description: Internal Server Error
  30016. schema:
  30017. $ref: '#/definitions/app.Response'
  30018. security:
  30019. - ApiKeyAuth: []
  30020. summary: 查询板块(分类)
  30021. tags:
  30022. - 仓单贸易v2
  30023. /WrTrade2/QueryFaProductDetail:
  30024. get:
  30025. description: 页面 买卖大厅 -> 选择融资方案
  30026. parameters:
  30027. - description: 仓单要素id
  30028. in: query
  30029. name: wrfactortypeid
  30030. required: true
  30031. type: integer
  30032. produces:
  30033. - application/json
  30034. responses:
  30035. "200":
  30036. description: OK
  30037. schema:
  30038. items:
  30039. $ref: '#/definitions/models.WrFAProductDetail'
  30040. type: array
  30041. "500":
  30042. description: Internal Server Error
  30043. schema:
  30044. $ref: '#/definitions/app.Response'
  30045. security:
  30046. - ApiKeyAuth: []
  30047. summary: 查询融资产品列表
  30048. tags:
  30049. - 仓单贸易v2
  30050. /WrTrade2/QueryFilterItem:
  30051. get:
  30052. parameters:
  30053. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  30054. in: query
  30055. name: itype
  30056. required: true
  30057. type: string
  30058. produces:
  30059. - application/json
  30060. responses:
  30061. "200":
  30062. description: OK
  30063. schema:
  30064. items:
  30065. $ref: '#/definitions/models.WrFilterItem'
  30066. type: array
  30067. "500":
  30068. description: Internal Server Error
  30069. schema:
  30070. $ref: '#/definitions/app.Response'
  30071. security:
  30072. - ApiKeyAuth: []
  30073. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  30074. tags:
  30075. - 仓单贸易v2
  30076. /WrTrade2/QueryFtDeliveryGoods:
  30077. get:
  30078. produces:
  30079. - application/json
  30080. responses:
  30081. "200":
  30082. description: OK
  30083. schema:
  30084. items:
  30085. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30086. type: array
  30087. "500":
  30088. description: Internal Server Error
  30089. schema:
  30090. $ref: '#/definitions/app.Response'
  30091. security:
  30092. - ApiKeyAuth: []
  30093. summary: 查询品种品类筛选框列表
  30094. tags:
  30095. - 仓单贸易v2
  30096. /WrTrade2/QueryHoldLB:
  30097. get:
  30098. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30099. parameters:
  30100. - description: 资金账号
  30101. in: query
  30102. name: accountid
  30103. required: true
  30104. type: integer
  30105. - description: 仓库id
  30106. in: query
  30107. name: warehouseid
  30108. type: integer
  30109. - description: 品种id
  30110. in: query
  30111. name: deliverygoodsid
  30112. type: integer
  30113. - description: 品类id
  30114. in: query
  30115. name: wrstandardid
  30116. type: integer
  30117. - description: 仓单要素id
  30118. in: query
  30119. name: wrfactortypeid
  30120. type: integer
  30121. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30122. in: query
  30123. name: dgitemname
  30124. type: string
  30125. produces:
  30126. - application/json
  30127. responses:
  30128. "200":
  30129. description: OK
  30130. schema:
  30131. items:
  30132. $ref: '#/definitions/models.WrHoldLB'
  30133. type: array
  30134. "500":
  30135. description: Internal Server Error
  30136. schema:
  30137. $ref: '#/definitions/app.Response'
  30138. security:
  30139. - ApiKeyAuth: []
  30140. summary: 查询仓单持有记录
  30141. tags:
  30142. - 仓单贸易v2
  30143. /WrTrade2/QueryOrderQuote:
  30144. get:
  30145. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30146. 唯一确定1条记录
  30147. parameters:
  30148. - description: 页码
  30149. in: query
  30150. name: page
  30151. type: integer
  30152. - description: 每页条数
  30153. in: query
  30154. name: pagesize
  30155. type: integer
  30156. - description: 仓单贸易市场id
  30157. in: query
  30158. name: marketid
  30159. type: integer
  30160. - description: 价格方式 - 1:固定价 2-浮动价
  30161. in: query
  30162. name: wrpricetype
  30163. required: true
  30164. type: integer
  30165. - description: 0:仓单预售 1:仓单贸易
  30166. in: query
  30167. name: haswr
  30168. type: integer
  30169. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30170. in: query
  30171. name: dgitemname
  30172. type: string
  30173. - description: 仓库id(筛选条件)
  30174. in: query
  30175. name: warehouseid
  30176. type: integer
  30177. - description: 品种id
  30178. in: query
  30179. name: deliverygoodsid
  30180. type: integer
  30181. - description: 品类id
  30182. in: query
  30183. name: wrstandardid
  30184. type: integer
  30185. - description: 品牌id(dgfactoryitemid)
  30186. in: query
  30187. name: brandid
  30188. type: integer
  30189. - description: 年份id(dgfactoryitemid)
  30190. in: query
  30191. name: yearsid
  30192. type: integer
  30193. - description: 仓单要素id
  30194. in: query
  30195. name: wrfactortypeid
  30196. type: integer
  30197. - description: 交收月(yyyy-mm) 仓单预售填写
  30198. in: query
  30199. name: deliverymonth
  30200. type: string
  30201. produces:
  30202. - application/json
  30203. responses:
  30204. "200":
  30205. description: OK
  30206. schema:
  30207. items:
  30208. $ref: '#/definitions/models.WrOrderQuote'
  30209. type: array
  30210. "500":
  30211. description: Internal Server Error
  30212. schema:
  30213. $ref: '#/definitions/app.Response'
  30214. security:
  30215. - ApiKeyAuth: []
  30216. summary: 查询大厅行情列表
  30217. tags:
  30218. - 仓单贸易v2
  30219. /WrTrade2/QueryOrderQuoteDetail:
  30220. get:
  30221. parameters:
  30222. - description: 页码
  30223. in: query
  30224. name: page
  30225. type: integer
  30226. - description: 每页条数
  30227. in: query
  30228. name: pagesize
  30229. type: integer
  30230. - description: 仓单贸易市场id
  30231. in: query
  30232. name: marketid
  30233. type: integer
  30234. - description: 价格方式 - 1:固定价 2-浮动价
  30235. in: query
  30236. name: wrpricetype
  30237. required: true
  30238. type: integer
  30239. - description: 0:仓单预售 1:仓单贸易
  30240. in: query
  30241. name: haswr
  30242. type: integer
  30243. - description: 仓单要素id
  30244. in: query
  30245. name: wrfactortypeid
  30246. required: true
  30247. type: integer
  30248. - description: 期货商品id(浮动价方式时填)
  30249. in: query
  30250. name: goodsid
  30251. type: integer
  30252. - description: 买卖方向 0-买 1-卖
  30253. in: query
  30254. name: buyorsell
  30255. required: true
  30256. type: integer
  30257. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30258. in: query
  30259. name: deliverymonth
  30260. type: string
  30261. produces:
  30262. - application/json
  30263. responses:
  30264. "200":
  30265. description: OK
  30266. schema:
  30267. items:
  30268. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30269. type: array
  30270. "500":
  30271. description: Internal Server Error
  30272. schema:
  30273. $ref: '#/definitions/app.Response'
  30274. security:
  30275. - ApiKeyAuth: []
  30276. summary: 查询买卖大厅
  30277. tags:
  30278. - 仓单贸易v2
  30279. /WrTrade2/QueryOrderQuoteMyq:
  30280. get:
  30281. parameters:
  30282. - description: 页码
  30283. in: query
  30284. name: page
  30285. type: integer
  30286. - description: 每页条数
  30287. in: query
  30288. name: pagesize
  30289. type: integer
  30290. - description: 用户id
  30291. in: query
  30292. name: userid
  30293. required: true
  30294. type: integer
  30295. - description: 仓单贸易市场id
  30296. in: query
  30297. name: marketid
  30298. type: integer
  30299. - description: 0:仓单预售 1:仓单贸易
  30300. in: query
  30301. name: haswr
  30302. type: integer
  30303. - description: 买卖方向 0-买 1-卖
  30304. in: query
  30305. name: buyorsell
  30306. required: true
  30307. type: integer
  30308. - description: 品种id
  30309. in: query
  30310. name: deliverygoodsid
  30311. type: integer
  30312. - description: 品类id
  30313. in: query
  30314. name: wrstandardid
  30315. type: integer
  30316. - description: 交收月(yyyy-mm) 仓单预售填写
  30317. in: query
  30318. name: deliverymonth
  30319. type: string
  30320. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30321. in: query
  30322. name: dgitemname
  30323. type: string
  30324. produces:
  30325. - application/json
  30326. responses:
  30327. "200":
  30328. description: OK
  30329. schema:
  30330. items:
  30331. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30332. type: array
  30333. "500":
  30334. description: Internal Server Error
  30335. schema:
  30336. $ref: '#/definitions/app.Response'
  30337. security:
  30338. - ApiKeyAuth: []
  30339. summary: 查询贸易圈挂牌大厅
  30340. tags:
  30341. - 仓单贸易v2
  30342. /WrTrade2/QueryPerformancePlan:
  30343. get:
  30344. parameters:
  30345. - description: 用户id
  30346. in: query
  30347. name: userid
  30348. required: true
  30349. type: integer
  30350. - description: 买卖方向 0-买 1-卖
  30351. in: query
  30352. name: buyorsell
  30353. required: true
  30354. type: integer
  30355. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30356. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30357. in: query
  30358. name: status
  30359. type: string
  30360. - description: 开始交易日(yyyymmdd)
  30361. in: query
  30362. name: begindate
  30363. type: string
  30364. - description: 结束交易日(yyyymmdd)
  30365. in: query
  30366. name: enddate
  30367. type: string
  30368. produces:
  30369. - application/json
  30370. responses:
  30371. "200":
  30372. description: OK
  30373. schema:
  30374. items:
  30375. $ref: '#/definitions/models.WrPerformancePlan'
  30376. type: array
  30377. "500":
  30378. description: Internal Server Error
  30379. schema:
  30380. $ref: '#/definitions/app.Response'
  30381. security:
  30382. - ApiKeyAuth: []
  30383. summary: 查询履约信息
  30384. tags:
  30385. - 仓单贸易v2
  30386. /WrTrade2/QueryPermancePlanTmp:
  30387. get:
  30388. description: |-
  30389. 返回指定用户的模板和公共模板(用户id为空)
  30390. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30391. parameters:
  30392. - description: 用户id
  30393. in: query
  30394. name: userid
  30395. type: integer
  30396. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30397. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30398. in: query
  30399. name: tmptype
  30400. type: string
  30401. - description: 是否包含公共模板(用户id为空的) 1-包含
  30402. in: query
  30403. name: includepub
  30404. type: integer
  30405. - description: 市场id(天津麦顿指定此参数,其它不用)
  30406. in: query
  30407. name: marketid
  30408. type: integer
  30409. produces:
  30410. - application/json
  30411. responses:
  30412. "200":
  30413. description: OK
  30414. schema:
  30415. items:
  30416. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30417. type: array
  30418. "500":
  30419. description: Internal Server Error
  30420. schema:
  30421. $ref: '#/definitions/app.Response'
  30422. security:
  30423. - ApiKeyAuth: []
  30424. summary: 查询履约模板
  30425. tags:
  30426. - 仓单贸易v2
  30427. /WrTrade2/QuerySiteColumnDetail:
  30428. get:
  30429. parameters:
  30430. - description: 页码
  30431. in: query
  30432. name: page
  30433. type: integer
  30434. - description: 每页条数
  30435. in: query
  30436. name: pagesize
  30437. type: integer
  30438. - description: 所属栏目id
  30439. in: query
  30440. name: columnid
  30441. type: integer
  30442. produces:
  30443. - application/json
  30444. responses:
  30445. "200":
  30446. description: OK
  30447. schema:
  30448. items:
  30449. $ref: '#/definitions/models.WrSiteColumnDetail'
  30450. type: array
  30451. "500":
  30452. description: Internal Server Error
  30453. schema:
  30454. $ref: '#/definitions/app.Response'
  30455. security:
  30456. - ApiKeyAuth: []
  30457. summary: 查询资讯
  30458. tags:
  30459. - 仓单贸易v2
  30460. /WrTrade2/QuerySpotGroupTradeSum:
  30461. get:
  30462. produces:
  30463. - application/json
  30464. responses:
  30465. "200":
  30466. description: OK
  30467. schema:
  30468. items:
  30469. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30470. type: array
  30471. "500":
  30472. description: Internal Server Error
  30473. schema:
  30474. $ref: '#/definitions/app.Response'
  30475. security:
  30476. - ApiKeyAuth: []
  30477. summary: 查询指数
  30478. tags:
  30479. - 仓单贸易v2
  30480. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30481. get:
  30482. description: 查询的结果将会按日期 从小到大 排序
  30483. parameters:
  30484. - description: 现货商品id
  30485. in: query
  30486. name: deliverygoodsid
  30487. required: true
  30488. type: integer
  30489. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30490. in: query
  30491. name: lastnum
  30492. type: integer
  30493. produces:
  30494. - application/json
  30495. responses:
  30496. "200":
  30497. description: OK
  30498. schema:
  30499. items:
  30500. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30501. type: array
  30502. "500":
  30503. description: Internal Server Error
  30504. schema:
  30505. $ref: '#/definitions/app.Response'
  30506. security:
  30507. - ApiKeyAuth: []
  30508. summary: 查询指数详细(价格走势图)
  30509. tags:
  30510. - 仓单贸易v2
  30511. /WrTrade2/QueryWrAverageTradePrice:
  30512. get:
  30513. parameters:
  30514. - description: 页码
  30515. in: query
  30516. name: page
  30517. type: integer
  30518. - description: 每页条数
  30519. in: query
  30520. name: pagesize
  30521. type: integer
  30522. - description: 0:仓单预售 1:仓单贸易
  30523. in: query
  30524. name: haswr
  30525. required: true
  30526. type: integer
  30527. - description: 仓单要素id
  30528. in: query
  30529. name: wrfactortypeid
  30530. required: true
  30531. type: integer
  30532. produces:
  30533. - application/json
  30534. responses:
  30535. "200":
  30536. description: OK
  30537. schema:
  30538. items:
  30539. $ref: '#/definitions/models.WrAverageTradePrice'
  30540. type: array
  30541. "500":
  30542. description: Internal Server Error
  30543. schema:
  30544. $ref: '#/definitions/app.Response'
  30545. security:
  30546. - ApiKeyAuth: []
  30547. summary: 查询成交价(历史走势)
  30548. tags:
  30549. - 仓单贸易v2
  30550. /WrTrade2/QueryWrBrandAndYears:
  30551. get:
  30552. produces:
  30553. - application/json
  30554. responses:
  30555. "200":
  30556. description: OK
  30557. schema:
  30558. items:
  30559. $ref: '#/definitions/models.WrBrandAndYears'
  30560. type: array
  30561. "500":
  30562. description: Internal Server Error
  30563. schema:
  30564. $ref: '#/definitions/app.Response'
  30565. security:
  30566. - ApiKeyAuth: []
  30567. summary: 查询品牌和年份
  30568. tags:
  30569. - 仓单贸易v2
  30570. /WrTrade2/QueryWrBsGoodsInfo:
  30571. get:
  30572. description: 合约交易/买卖大厅/详情
  30573. parameters:
  30574. - description: 商品id
  30575. in: query
  30576. name: goodsid
  30577. required: true
  30578. type: integer
  30579. produces:
  30580. - application/json
  30581. responses:
  30582. "200":
  30583. description: OK
  30584. schema:
  30585. items:
  30586. $ref: '#/definitions/models.WrBsGoodsInfo'
  30587. type: array
  30588. "500":
  30589. description: Internal Server Error
  30590. schema:
  30591. $ref: '#/definitions/app.Response'
  30592. security:
  30593. - ApiKeyAuth: []
  30594. summary: 查询合约交易买卖大厅详情
  30595. tags:
  30596. - 仓单贸易v2
  30597. /WrTrade2/QueryWrBuybackDetail:
  30598. get:
  30599. parameters:
  30600. - description: 融资合同id
  30601. in: query
  30602. name: scfcontractid
  30603. type: integer
  30604. produces:
  30605. - application/json
  30606. responses:
  30607. "200":
  30608. description: OK
  30609. schema:
  30610. items:
  30611. $ref: '#/definitions/models.WrBuybackDetail'
  30612. type: array
  30613. "500":
  30614. description: Internal Server Error
  30615. schema:
  30616. $ref: '#/definitions/app.Response'
  30617. security:
  30618. - ApiKeyAuth: []
  30619. summary: 查询仓单回购明细
  30620. tags:
  30621. - 仓单贸易v2
  30622. /WrTrade2/QueryWrClientAdSpaceConfig:
  30623. get:
  30624. produces:
  30625. - application/json
  30626. responses:
  30627. "200":
  30628. description: OK
  30629. schema:
  30630. items:
  30631. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30632. type: array
  30633. "500":
  30634. description: Internal Server Error
  30635. schema:
  30636. $ref: '#/definitions/app.Response'
  30637. security:
  30638. - ApiKeyAuth: []
  30639. summary: 查询固定广告配置
  30640. tags:
  30641. - 仓单贸易v2
  30642. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30643. get:
  30644. parameters:
  30645. - description: 资金账号
  30646. in: query
  30647. name: accountid
  30648. required: true
  30649. type: integer
  30650. - description: 商品id
  30651. in: query
  30652. name: goodsid
  30653. required: true
  30654. type: integer
  30655. produces:
  30656. - application/json
  30657. responses:
  30658. "200":
  30659. description: OK
  30660. schema:
  30661. items:
  30662. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30663. type: array
  30664. "500":
  30665. description: Internal Server Error
  30666. schema:
  30667. $ref: '#/definitions/app.Response'
  30668. security:
  30669. - ApiKeyAuth: []
  30670. summary: 查询合约交收可点选仓单
  30671. tags:
  30672. - 仓单贸易v2
  30673. /WrTrade2/QueryWrDeliveryDetail:
  30674. get:
  30675. parameters:
  30676. - description: 用户id
  30677. in: query
  30678. name: userid
  30679. required: true
  30680. type: integer
  30681. - description: 资金账号id
  30682. in: query
  30683. name: accountid
  30684. type: integer
  30685. - description: 开始交易日(yyyymmdd)
  30686. in: query
  30687. name: begindate
  30688. type: string
  30689. - description: 结束交易日(yyyymmdd)
  30690. in: query
  30691. name: enddate
  30692. type: string
  30693. produces:
  30694. - application/json
  30695. responses:
  30696. "200":
  30697. description: OK
  30698. schema:
  30699. items:
  30700. $ref: '#/definitions/models.WrDeliveryDetail'
  30701. type: array
  30702. "500":
  30703. description: Internal Server Error
  30704. schema:
  30705. $ref: '#/definitions/app.Response'
  30706. security:
  30707. - ApiKeyAuth: []
  30708. summary: 查询交收
  30709. tags:
  30710. - 仓单贸易v2
  30711. /WrTrade2/QueryWrDraftUserInfo:
  30712. get:
  30713. parameters:
  30714. - description: 用户ID
  30715. in: query
  30716. name: userid
  30717. required: true
  30718. type: integer
  30719. - description: 用户状态 1:正常 2:注销
  30720. in: query
  30721. name: userstatus
  30722. type: integer
  30723. produces:
  30724. - application/json
  30725. responses:
  30726. "200":
  30727. description: OK
  30728. schema:
  30729. items:
  30730. $ref: '#/definitions/models.WrDraftUserInfo'
  30731. type: array
  30732. "500":
  30733. description: Internal Server Error
  30734. schema:
  30735. $ref: '#/definitions/app.Response'
  30736. security:
  30737. - ApiKeyAuth: []
  30738. summary: 查询实名认证信息
  30739. tags:
  30740. - 仓单贸易v2
  30741. /WrTrade2/QueryWrFactorTypeInfo:
  30742. get:
  30743. parameters:
  30744. - description: 仓单要素id
  30745. in: query
  30746. name: wrfactortypeid
  30747. required: true
  30748. type: integer
  30749. produces:
  30750. - application/json
  30751. responses:
  30752. "200":
  30753. description: OK
  30754. schema:
  30755. items:
  30756. $ref: '#/definitions/models.WrFactorTypeInfo'
  30757. type: array
  30758. "500":
  30759. description: Internal Server Error
  30760. schema:
  30761. $ref: '#/definitions/app.Response'
  30762. security:
  30763. - ApiKeyAuth: []
  30764. summary: 查询仓单要素详细信息
  30765. tags:
  30766. - 仓单贸易v2
  30767. /WrTrade2/QueryWrFactorTypeInfoEx:
  30768. get:
  30769. parameters:
  30770. - description: 仓单要素id
  30771. in: query
  30772. name: wrfactortypeid
  30773. required: true
  30774. type: integer
  30775. produces:
  30776. - application/json
  30777. responses:
  30778. "200":
  30779. description: OK
  30780. schema:
  30781. items:
  30782. $ref: '#/definitions/models.WrTypeItem'
  30783. type: array
  30784. "500":
  30785. description: Internal Server Error
  30786. schema:
  30787. $ref: '#/definitions/app.Response'
  30788. security:
  30789. - ApiKeyAuth: []
  30790. summary: 查询仓单要素详细信息列表项
  30791. tags:
  30792. - 仓单贸易v2
  30793. /WrTrade2/QueryWrFinanceBuyApply:
  30794. get:
  30795. description: 页面 融资信息+ / 申请单
  30796. parameters:
  30797. - description: 用户id
  30798. in: query
  30799. name: userid
  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.WrFinanceBuyApply'
  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/QueryWrFriendApply:
  30821. get:
  30822. parameters:
  30823. - description: 用户id
  30824. in: query
  30825. name: userid
  30826. required: true
  30827. type: integer
  30828. produces:
  30829. - application/json
  30830. responses:
  30831. "200":
  30832. description: OK
  30833. schema:
  30834. items:
  30835. $ref: '#/definitions/models.WrFriendApply'
  30836. type: array
  30837. "500":
  30838. description: Internal Server Error
  30839. schema:
  30840. $ref: '#/definitions/app.Response'
  30841. security:
  30842. - ApiKeyAuth: []
  30843. summary: 查询好友申请记录
  30844. tags:
  30845. - 仓单贸易v2
  30846. /WrTrade2/QueryWrGoodsInfo:
  30847. get:
  30848. parameters:
  30849. - description: 仓单贸易市场id
  30850. in: query
  30851. name: marketid
  30852. type: integer
  30853. - description: 0:仓单预售 1:仓单贸易
  30854. in: query
  30855. name: haswr
  30856. required: true
  30857. type: integer
  30858. - description: 仓单要素id
  30859. in: query
  30860. name: wrfactortypeid
  30861. required: true
  30862. type: integer
  30863. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  30864. in: query
  30865. name: tmplateid
  30866. type: integer
  30867. produces:
  30868. - application/json
  30869. responses:
  30870. "200":
  30871. description: OK
  30872. schema:
  30873. items:
  30874. $ref: '#/definitions/models.WrGoodsInfo'
  30875. type: array
  30876. "500":
  30877. description: Internal Server Error
  30878. schema:
  30879. $ref: '#/definitions/app.Response'
  30880. security:
  30881. - ApiKeyAuth: []
  30882. summary: 查询仓单商品信息
  30883. tags:
  30884. - 仓单贸易v2
  30885. /WrTrade2/QueryWrMarketTradeConfig:
  30886. get:
  30887. parameters:
  30888. - description: 市场id
  30889. in: query
  30890. name: marketid
  30891. type: integer
  30892. produces:
  30893. - application/json
  30894. responses:
  30895. "200":
  30896. description: OK
  30897. schema:
  30898. items:
  30899. $ref: '#/definitions/models.WrMarketTradeConfig'
  30900. type: array
  30901. "500":
  30902. description: Internal Server Error
  30903. schema:
  30904. $ref: '#/definitions/app.Response'
  30905. security:
  30906. - ApiKeyAuth: []
  30907. summary: 查询市场交易参数配置
  30908. tags:
  30909. - 仓单贸易v2
  30910. /WrTrade2/QueryWrOrderDetail:
  30911. get:
  30912. description: 页面 现货仓单 | 预售仓单 -> 委托单
  30913. parameters:
  30914. - description: 页码
  30915. in: query
  30916. name: page
  30917. type: integer
  30918. - description: 每页条数
  30919. in: query
  30920. name: pagesize
  30921. type: integer
  30922. - description: 用户id
  30923. in: query
  30924. name: userid
  30925. required: true
  30926. type: integer
  30927. - description: 仓单贸易市场id
  30928. in: query
  30929. name: marketid
  30930. type: integer
  30931. - description: 0:仓单预售 1:仓单贸易
  30932. in: query
  30933. name: haswr
  30934. required: true
  30935. type: integer
  30936. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  30937. in: query
  30938. name: bcancel
  30939. type: integer
  30940. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  30941. in: query
  30942. name: wrtradetype
  30943. type: integer
  30944. - description: 开始交易日(yyyymmdd)
  30945. in: query
  30946. name: begindate
  30947. type: string
  30948. - description: 结束交易日(yyyymmdd)
  30949. in: query
  30950. name: enddate
  30951. type: string
  30952. produces:
  30953. - application/json
  30954. responses:
  30955. "200":
  30956. description: OK
  30957. schema:
  30958. items:
  30959. $ref: '#/definitions/models.WrOrderDetail'
  30960. type: array
  30961. "500":
  30962. description: Internal Server Error
  30963. schema:
  30964. $ref: '#/definitions/app.Response'
  30965. security:
  30966. - ApiKeyAuth: []
  30967. summary: 查询仓单委托单
  30968. tags:
  30969. - 仓单贸易v2
  30970. /WrTrade2/QueryWrOutInApply:
  30971. get:
  30972. parameters:
  30973. - description: 用户id
  30974. in: query
  30975. name: userid
  30976. required: true
  30977. type: integer
  30978. - description: 开始交易日(yyyymmdd)
  30979. in: query
  30980. name: begindate
  30981. type: string
  30982. - description: 结束交易日(yyyymmdd)
  30983. in: query
  30984. name: enddate
  30985. type: string
  30986. produces:
  30987. - application/json
  30988. responses:
  30989. "200":
  30990. description: OK
  30991. schema:
  30992. items:
  30993. $ref: '#/definitions/models.WrOutInApply'
  30994. type: array
  30995. "500":
  30996. description: Internal Server Error
  30997. schema:
  30998. $ref: '#/definitions/app.Response'
  30999. security:
  31000. - ApiKeyAuth: []
  31001. summary: 查询提货申请
  31002. tags:
  31003. - 仓单贸易v2
  31004. /WrTrade2/QueryWrPerformancePlanStep:
  31005. get:
  31006. parameters:
  31007. - description: 履约计划id(performanceplanid)
  31008. in: query
  31009. name: planid
  31010. required: true
  31011. type: integer
  31012. - description: 当前步骤id
  31013. in: query
  31014. name: curstepid
  31015. type: integer
  31016. produces:
  31017. - application/json
  31018. responses:
  31019. "200":
  31020. description: OK
  31021. schema:
  31022. items:
  31023. $ref: '#/definitions/models.WrPerformancePlanStep'
  31024. type: array
  31025. "500":
  31026. description: Internal Server Error
  31027. schema:
  31028. $ref: '#/definitions/app.Response'
  31029. security:
  31030. - ApiKeyAuth: []
  31031. summary: 查询履约信息详情
  31032. tags:
  31033. - 仓单贸易v2
  31034. /WrTrade2/QueryWrPerformanceStepType:
  31035. get:
  31036. produces:
  31037. - application/json
  31038. responses:
  31039. "200":
  31040. description: OK
  31041. schema:
  31042. items:
  31043. $ref: '#/definitions/models.WrPerformanceStepType'
  31044. type: array
  31045. "500":
  31046. description: Internal Server Error
  31047. schema:
  31048. $ref: '#/definitions/app.Response'
  31049. security:
  31050. - ApiKeyAuth: []
  31051. summary: 查询履约步骤枚举
  31052. tags:
  31053. - 仓单贸易v2
  31054. /WrTrade2/QueryWrPosition:
  31055. get:
  31056. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  31057. parameters:
  31058. - description: 用户id
  31059. in: query
  31060. name: userid
  31061. required: true
  31062. type: integer
  31063. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  31064. in: query
  31065. name: querytype
  31066. required: true
  31067. type: integer
  31068. - description: 0:仓单预售 1:仓单贸易
  31069. in: query
  31070. name: haswr
  31071. required: true
  31072. type: integer
  31073. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31074. in: query
  31075. name: dgitemname
  31076. type: string
  31077. - description: 仓库id(筛选条件)
  31078. in: query
  31079. name: warehouseid
  31080. type: integer
  31081. - description: 品种id
  31082. in: query
  31083. name: deliverygoodsid
  31084. type: integer
  31085. - description: 品类id
  31086. in: query
  31087. name: wrstandardid
  31088. type: integer
  31089. produces:
  31090. - application/json
  31091. responses:
  31092. "200":
  31093. description: OK
  31094. schema:
  31095. items:
  31096. $ref: '#/definitions/models.WrPosition'
  31097. type: array
  31098. "500":
  31099. description: Internal Server Error
  31100. schema:
  31101. $ref: '#/definitions/app.Response'
  31102. security:
  31103. - ApiKeyAuth: []
  31104. summary: 查询现货(预售)仓单持仓
  31105. tags:
  31106. - 仓单贸易v2
  31107. /WrTrade2/QueryWrPreSaleInfo:
  31108. get:
  31109. parameters:
  31110. - description: 市场id
  31111. in: query
  31112. name: marketid
  31113. type: integer
  31114. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31115. in: query
  31116. name: presalestatus
  31117. type: string
  31118. - description: 摇号标识 - 0:未摇号 1:已摇号
  31119. in: query
  31120. name: lotteryflag
  31121. type: integer
  31122. - description: 最近多少条记录(按创建时间倒序)
  31123. in: query
  31124. name: lastnum
  31125. type: integer
  31126. produces:
  31127. - application/json
  31128. responses:
  31129. "200":
  31130. description: OK
  31131. schema:
  31132. items:
  31133. $ref: '#/definitions/models.WrPreSaleInfo'
  31134. type: array
  31135. "500":
  31136. description: Internal Server Error
  31137. schema:
  31138. $ref: '#/definitions/app.Response'
  31139. security:
  31140. - ApiKeyAuth: []
  31141. summary: 查询新品发布
  31142. tags:
  31143. - 仓单贸易v2
  31144. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31145. get:
  31146. parameters:
  31147. - description: 市场id
  31148. in: query
  31149. name: marketid
  31150. required: true
  31151. type: integer
  31152. - description: 现货商品id
  31153. in: query
  31154. name: wrstandardid
  31155. required: true
  31156. type: integer
  31157. - description: 开始交易日(yyyymmdd)
  31158. in: query
  31159. name: begindate
  31160. type: string
  31161. - description: 结束交易日(yyyymmdd)
  31162. in: query
  31163. name: enddate
  31164. type: string
  31165. - description: 最近多少条记录(按交易日倒序)
  31166. in: query
  31167. name: lastnum
  31168. type: integer
  31169. - description: 是否今日
  31170. in: query
  31171. name: istoday
  31172. type: boolean
  31173. produces:
  31174. - application/json
  31175. responses:
  31176. "200":
  31177. description: OK
  31178. schema:
  31179. items:
  31180. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31181. type: array
  31182. "500":
  31183. description: Internal Server Error
  31184. schema:
  31185. $ref: '#/definitions/app.Response'
  31186. security:
  31187. - ApiKeyAuth: []
  31188. summary: 查询价格走势
  31189. tags:
  31190. - 仓单贸易v2
  31191. /WrTrade2/QueryWrScfContract:
  31192. get:
  31193. parameters:
  31194. - description: 用户id
  31195. in: query
  31196. name: userid
  31197. required: true
  31198. type: integer
  31199. - description: 融资合同id
  31200. in: query
  31201. name: scfcontractid
  31202. type: integer
  31203. produces:
  31204. - application/json
  31205. responses:
  31206. "200":
  31207. description: OK
  31208. schema:
  31209. items:
  31210. $ref: '#/definitions/models.WrScfContract'
  31211. type: array
  31212. "500":
  31213. description: Internal Server Error
  31214. schema:
  31215. $ref: '#/definitions/app.Response'
  31216. security:
  31217. - ApiKeyAuth: []
  31218. summary: 查询仓单贸易融资合同
  31219. tags:
  31220. - 仓单贸易v2
  31221. /WrTrade2/QueryWrScfContractInterest:
  31222. get:
  31223. parameters:
  31224. - description: 融资合同id
  31225. in: query
  31226. name: scfcontractid
  31227. type: integer
  31228. produces:
  31229. - application/json
  31230. responses:
  31231. "200":
  31232. description: OK
  31233. schema:
  31234. items:
  31235. $ref: '#/definitions/models.WrScfContractInterest'
  31236. type: array
  31237. "500":
  31238. description: Internal Server Error
  31239. schema:
  31240. $ref: '#/definitions/app.Response'
  31241. security:
  31242. - ApiKeyAuth: []
  31243. summary: 查询融资合同费用明细
  31244. tags:
  31245. - 仓单贸易v2
  31246. /WrTrade2/QueryWrSearchUser:
  31247. get:
  31248. parameters:
  31249. - description: 用户名称(模糊匹配)
  31250. in: query
  31251. name: username
  31252. required: true
  31253. type: string
  31254. produces:
  31255. - application/json
  31256. responses:
  31257. "200":
  31258. description: OK
  31259. schema:
  31260. items:
  31261. $ref: '#/definitions/models.WrSearchUser'
  31262. type: array
  31263. "500":
  31264. description: Internal Server Error
  31265. schema:
  31266. $ref: '#/definitions/app.Response'
  31267. security:
  31268. - ApiKeyAuth: []
  31269. summary: 查询用户
  31270. tags:
  31271. - 仓单贸易v2
  31272. /WrTrade2/QueryWrSpecialMatchOrder:
  31273. get:
  31274. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31275. parameters:
  31276. - description: 页码
  31277. in: query
  31278. name: page
  31279. type: integer
  31280. - description: 每页条数
  31281. in: query
  31282. name: pagesize
  31283. type: integer
  31284. - description: 用户id
  31285. in: query
  31286. name: userid
  31287. required: true
  31288. type: integer
  31289. - description: 仓单贸易市场id
  31290. in: query
  31291. name: marketid
  31292. type: integer
  31293. - description: 0:仓单预售 1:仓单贸易
  31294. in: query
  31295. name: haswr
  31296. required: true
  31297. type: integer
  31298. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31299. in: query
  31300. name: isspecified
  31301. type: integer
  31302. produces:
  31303. - application/json
  31304. responses:
  31305. "200":
  31306. description: OK
  31307. schema:
  31308. items:
  31309. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31310. type: array
  31311. "500":
  31312. description: Internal Server Error
  31313. schema:
  31314. $ref: '#/definitions/app.Response'
  31315. security:
  31316. - ApiKeyAuth: []
  31317. summary: 查询指定成交
  31318. tags:
  31319. - 仓单贸易v2
  31320. /WrTrade2/QueryWrStandardFactoryItem:
  31321. get:
  31322. parameters:
  31323. - description: 品类id
  31324. in: query
  31325. name: wrstandardid
  31326. required: true
  31327. type: integer
  31328. produces:
  31329. - application/json
  31330. responses:
  31331. "200":
  31332. description: OK
  31333. schema:
  31334. items:
  31335. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31336. type: array
  31337. "500":
  31338. description: Internal Server Error
  31339. schema:
  31340. $ref: '#/definitions/app.Response'
  31341. security:
  31342. - ApiKeyAuth: []
  31343. summary: 查询品类要素定义项
  31344. tags:
  31345. - 仓单贸易v2
  31346. /WrTrade2/QueryWrTradeBargainApply:
  31347. get:
  31348. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31349. 议价->对方议价 填写matchuserid=登录用户id
  31350. parameters:
  31351. - description: 议价人id(摘牌方)
  31352. in: query
  31353. name: userid
  31354. type: integer
  31355. - description: 挂牌方id(查对方议价时,填写此项)
  31356. in: query
  31357. name: matchuserid
  31358. type: integer
  31359. - description: 关联委托单id
  31360. in: query
  31361. name: wrtradeorderid
  31362. type: integer
  31363. - description: 0:仓单预售 1:仓单贸易
  31364. in: query
  31365. name: haswr
  31366. required: true
  31367. type: integer
  31368. - description: 开始交易日(yyyymmdd)
  31369. in: query
  31370. name: begindate
  31371. type: string
  31372. - description: 结束交易日(yyyymmdd)
  31373. in: query
  31374. name: enddate
  31375. type: string
  31376. produces:
  31377. - application/json
  31378. responses:
  31379. "200":
  31380. description: OK
  31381. schema:
  31382. items:
  31383. $ref: '#/definitions/models.WRTradeBargainApply'
  31384. type: array
  31385. "500":
  31386. description: Internal Server Error
  31387. schema:
  31388. $ref: '#/definitions/app.Response'
  31389. security:
  31390. - ApiKeyAuth: []
  31391. summary: 查询议价单
  31392. tags:
  31393. - 仓单贸易v2
  31394. /WrTrade2/QueryWrTradeDetail:
  31395. get:
  31396. parameters:
  31397. - description: 页码
  31398. in: query
  31399. name: page
  31400. type: integer
  31401. - description: 每页条数
  31402. in: query
  31403. name: pagesize
  31404. type: integer
  31405. - description: 用户id
  31406. in: query
  31407. name: userid
  31408. required: true
  31409. type: integer
  31410. - description: 仓单贸易市场id
  31411. in: query
  31412. name: marketid
  31413. type: integer
  31414. - description: 0:仓单预售 1:仓单贸易
  31415. in: query
  31416. name: haswr
  31417. required: true
  31418. type: integer
  31419. - description: 开始交易日(yyyymmdd)
  31420. in: query
  31421. name: begindate
  31422. type: string
  31423. - description: 结束交易日(yyyymmdd)
  31424. in: query
  31425. name: enddate
  31426. type: string
  31427. produces:
  31428. - application/json
  31429. responses:
  31430. "200":
  31431. description: OK
  31432. schema:
  31433. items:
  31434. $ref: '#/definitions/models.WrTradeDetail'
  31435. type: array
  31436. "500":
  31437. description: Internal Server Error
  31438. schema:
  31439. $ref: '#/definitions/app.Response'
  31440. security:
  31441. - ApiKeyAuth: []
  31442. summary: 查询仓单成交明细
  31443. tags:
  31444. - 仓单贸易v2
  31445. /WrTrade2/QueryWrTradeOrderDetail:
  31446. get:
  31447. parameters:
  31448. - description: 页码
  31449. in: query
  31450. name: page
  31451. type: integer
  31452. - description: 每页条数
  31453. in: query
  31454. name: pagesize
  31455. type: integer
  31456. - description: 商品id
  31457. in: query
  31458. name: goodsid
  31459. required: true
  31460. type: integer
  31461. - description: 买卖方向 0-买 1-卖
  31462. in: query
  31463. name: buyorsell
  31464. required: true
  31465. type: integer
  31466. produces:
  31467. - application/json
  31468. responses:
  31469. "200":
  31470. description: OK
  31471. schema:
  31472. items:
  31473. $ref: '#/definitions/models.WrTradeOrderDetail'
  31474. type: array
  31475. "500":
  31476. description: Internal Server Error
  31477. schema:
  31478. $ref: '#/definitions/app.Response'
  31479. security:
  31480. - ApiKeyAuth: []
  31481. summary: 查询合约交易买卖大厅
  31482. tags:
  31483. - 仓单贸易v2
  31484. /WrTrade2/QueryWrTradeQuote:
  31485. get:
  31486. parameters:
  31487. - description: 现货商品id
  31488. in: query
  31489. name: wrstandardid
  31490. required: true
  31491. type: integer
  31492. - description: 开始日期(yyyymmdd)
  31493. in: query
  31494. name: begindate
  31495. required: true
  31496. type: string
  31497. - description: 结束日期(yyyymmdd)
  31498. in: query
  31499. name: enddate
  31500. required: true
  31501. type: string
  31502. - description: 市场id
  31503. in: query
  31504. name: marketid
  31505. type: integer
  31506. produces:
  31507. - application/json
  31508. responses:
  31509. "200":
  31510. description: OK
  31511. schema:
  31512. items:
  31513. $ref: '#/definitions/models.Wrtradetradequote'
  31514. type: array
  31515. "500":
  31516. description: Internal Server Error
  31517. schema:
  31518. $ref: '#/definitions/app.Response'
  31519. security:
  31520. - ApiKeyAuth: []
  31521. summary: 查询仓单贸易成交行情
  31522. tags:
  31523. - 仓单贸易v2
  31524. /WrTrade2/QueryWrUserFriend:
  31525. get:
  31526. parameters:
  31527. - description: 用户id
  31528. in: query
  31529. name: userid
  31530. required: true
  31531. type: integer
  31532. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31533. in: query
  31534. name: newuserid
  31535. type: integer
  31536. produces:
  31537. - application/json
  31538. responses:
  31539. "200":
  31540. description: OK
  31541. schema:
  31542. items:
  31543. $ref: '#/definitions/models.WrUserFriend'
  31544. type: array
  31545. "500":
  31546. description: Internal Server Error
  31547. schema:
  31548. $ref: '#/definitions/app.Response'
  31549. security:
  31550. - ApiKeyAuth: []
  31551. summary: 查询我的朋友
  31552. tags:
  31553. - 仓单贸易v2
  31554. /WrTrade2/QueryWrUserReceiptInfo:
  31555. get:
  31556. parameters:
  31557. - description: 用户id
  31558. in: query
  31559. name: userid
  31560. type: integer
  31561. - description: 发票类型 - 1:个人 2:企业
  31562. in: query
  31563. name: receipttype
  31564. type: integer
  31565. produces:
  31566. - application/json
  31567. responses:
  31568. "200":
  31569. description: OK
  31570. schema:
  31571. items:
  31572. $ref: '#/definitions/models.WrUserReceiptInfo'
  31573. type: array
  31574. "500":
  31575. description: Internal Server Error
  31576. schema:
  31577. $ref: '#/definitions/app.Response'
  31578. security:
  31579. - ApiKeyAuth: []
  31580. summary: 查询发票信息
  31581. tags:
  31582. - 仓单贸易v2
  31583. /WrTrade2/QueryXhcpSellBackApply:
  31584. get:
  31585. parameters:
  31586. - description: 用户ID
  31587. in: query
  31588. name: userid
  31589. required: true
  31590. type: integer
  31591. produces:
  31592. - application/json
  31593. responses:
  31594. "200":
  31595. description: OK
  31596. schema:
  31597. items:
  31598. $ref: '#/definitions/models.Xhcpsellbackapply'
  31599. type: array
  31600. "500":
  31601. description: Internal Server Error
  31602. schema:
  31603. $ref: '#/definitions/app.Response'
  31604. security:
  31605. - ApiKeyAuth: []
  31606. summary: 查询我的回收申请(新会陈皮)
  31607. tags:
  31608. - 仓单贸易v2
  31609. /ZJ/GetBankTip:
  31610. get:
  31611. produces:
  31612. - application/json
  31613. responses:
  31614. "200":
  31615. description: OK
  31616. schema:
  31617. type: string
  31618. "500":
  31619. description: Internal Server Error
  31620. schema:
  31621. $ref: '#/definitions/app.Response'
  31622. summary: 获取中江网银端出入金提示信息
  31623. tags:
  31624. - 中江
  31625. /ZJ/GetCusBankChannels:
  31626. get:
  31627. produces:
  31628. - application/json
  31629. responses:
  31630. "200":
  31631. description: OK
  31632. schema:
  31633. items:
  31634. type: string
  31635. type: array
  31636. "500":
  31637. description: Internal Server Error
  31638. schema:
  31639. $ref: '#/definitions/app.Response'
  31640. summary: 获取中江出入金渠道显示列表
  31641. tags:
  31642. - 中江
  31643. securityDefinitions:
  31644. ApiKeyAuth:
  31645. in: header
  31646. name: Authorization
  31647. type: apiKey
  31648. swagger: "2.0"